commit | 066689161a481db3940f445b34b9dd543cb8799a | [log] [tgz] |
---|---|---|
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | Sun Jul 01 22:44:52 2018 -0500 |
committer | Alex Deucher <alexander.deucher@amd.com> | Wed Sep 19 12:37:10 2018 -0500 |
tree | 782882245bb96ae6ca9c4ac15d628e9bff42acf2 | |
parent | ddaf501347e21a19d15977029af1d229cd800379 [diff] |
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>