Skip to content
Commit 06668916 authored by A. Wilcox's avatar A. Wilcox Committed by Alex Deucher
Browse files

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: default avatarA. Wilcox <AWilcox@Wilcox-Tech.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent ddaf5013
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment