Fix hardware accelerated video playback with amdgpu on 32Bit system

From: Jan Burgmeier
Date: Wed Mar 29 2017 - 05:24:06 EST


Hi,

on 32Bit systems hardware accelerated video playback with amdgpu always errors
out with the following message:
"[drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* IB va_start+ib_bytes is invalid."

Attached you find a patch witch fixes the problem. The patch was made against the staging-next branch.

The used hardware is:
HP T630 Thin Client
CPU: AMD Embedded G-Series GX-420GI Radeon R7E
GPU: Advanced Micro Devices, Inc. [AMD/ATI] Carrizo (rev 88)

Regards,
Jan Burgmeier