r100.c (a48b9b4edb8bb87deb13b9f088a595cf71457b69) | r100.c (79daedc942813c0417ff5e277da6f7f35705cde5) |
---|---|
1/* 2 * Copyright 2008 Advanced Micro Devices, Inc. 3 * Copyright 2008 Red Hat Inc. 4 * Copyright 2009 Jerome Glisse. 5 * 6 * Permission is hereby granted, free of charge, to any person obtaining a 7 * copy of this software and associated documentation files (the "Software"), 8 * to deal in the Software without restriction, including without limitation --- 123 unchanged lines hidden (view full) --- 132 rdev->pm.requested_clock_mode_index = 0; 133 134 DRM_INFO("Requested: e: %d m: %d p: %d\n", 135 rdev->pm.power_state[rdev->pm.requested_power_state_index]. 136 clock_info[rdev->pm.requested_clock_mode_index].sclk, 137 rdev->pm.power_state[rdev->pm.requested_power_state_index]. 138 clock_info[rdev->pm.requested_clock_mode_index].mclk, 139 rdev->pm.power_state[rdev->pm.requested_power_state_index]. | 1/* 2 * Copyright 2008 Advanced Micro Devices, Inc. 3 * Copyright 2008 Red Hat Inc. 4 * Copyright 2009 Jerome Glisse. 5 * 6 * Permission is hereby granted, free of charge, to any person obtaining a 7 * copy of this software and associated documentation files (the "Software"), 8 * to deal in the Software without restriction, including without limitation --- 123 unchanged lines hidden (view full) --- 132 rdev->pm.requested_clock_mode_index = 0; 133 134 DRM_INFO("Requested: e: %d m: %d p: %d\n", 135 rdev->pm.power_state[rdev->pm.requested_power_state_index]. 136 clock_info[rdev->pm.requested_clock_mode_index].sclk, 137 rdev->pm.power_state[rdev->pm.requested_power_state_index]. 138 clock_info[rdev->pm.requested_clock_mode_index].mclk, 139 rdev->pm.power_state[rdev->pm.requested_power_state_index]. |
140 non_clock_info.pcie_lanes); | 140 pcie_lanes); |
141} 142 143void r100_set_power_state(struct radeon_device *rdev) 144{ 145 u32 sclk, mclk; 146 147 if (rdev->pm.current_power_state_index == rdev->pm.requested_power_state_index) 148 return; --- 3601 unchanged lines hidden --- | 141} 142 143void r100_set_power_state(struct radeon_device *rdev) 144{ 145 u32 sclk, mclk; 146 147 if (rdev->pm.current_power_state_index == rdev->pm.requested_power_state_index) 148 return; --- 3601 unchanged lines hidden --- |