diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-01 22:44:52 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-09-19 12:37:10 -0500 |
commit | 066689161a481db3940f445b34b9dd543cb8799a (patch) | |
tree | 782882245bb96ae6ca9c4ac15d628e9bff42acf2 /drivers/gpu/drm/radeon | |
parent | ddaf501347e21a19d15977029af1d229cd800379 (diff) | |
download | linux-066689161a481db3940f445b34b9dd543cb8799a.tar.bz2 |
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 <AWilcox@Wilcox-Tech.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon')
0 files changed, 0 insertions, 0 deletions