Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment