aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
diff options
context:
space:
mode:
authorA. Wilcox <[email protected]>2018-07-02 03:44:52 +0000
committerAlex Deucher <[email protected]>2018-09-19 17:37:10 +0000
commit066689161a481db3940f445b34b9dd543cb8799a (patch)
tree782882245bb96ae6ca9c4ac15d628e9bff42acf2 /drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
parentdrm/amd/amdgpu: Avoid fault when allocating an empty buffer object (diff)
downloadkernel-066689161a481db3940f445b34b9dd543cb8799a.tar.gz
kernel-066689161a481db3940f445b34b9dd543cb8799a.zip
drm/amdgpu: use processed values for counting
adev->gfx.rlc has the values from rlc_hdr already processed by le32_to_cpu. Using the rlc_hdr values on big-endian machines causes a kernel Oops due to writing well outside of the array (0x24000000 instead of 0x24). Signed-off-by: A. Wilcox <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions