projects
/
sdk
/
emulator
/
emulator-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7bc596
)
drm/radeon: fix endian swapping in vbios fetch for tdp table
author
Alex Deucher
<alexander.deucher@amd.com>
Thu, 13 Nov 2014 00:17:02 +0000
(19:17 -0500)
committer
Alex Deucher
<alexander.deucher@amd.com>
Thu, 20 Nov 2014 16:13:18 +0000
(11:13 -0500)
Value needs to be swapped on BE.
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/radeon/r600_dpm.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/radeon/r600_dpm.c
b/drivers/gpu/drm/radeon/r600_dpm.c
index f6309bd23e0156461f625aa30e8354dbf3a129dd..b5c73df8e202b76c21790eb1b20b12e410a8d696 100644
(file)
--- a/
drivers/gpu/drm/radeon/r600_dpm.c
+++ b/
drivers/gpu/drm/radeon/r600_dpm.c
@@
-1256,7
+1256,7
@@
int r600_parse_extended_power_table(struct radeon_device *rdev)
(mode_info->atom_context->bios + data_offset +
le16_to_cpu(ext_hdr->usPowerTuneTableOffset));
rdev->pm.dpm.dyn_state.cac_tdp_table->maximum_power_delivery_limit =
-
ppt->usMaximumPowerDeliveryLimit
;
+
le16_to_cpu(ppt->usMaximumPowerDeliveryLimit)
;
pt = &ppt->power_tune_table;
} else {
ATOM_PPLIB_POWERTUNE_Table *ppt = (ATOM_PPLIB_POWERTUNE_Table *)