drm/radeon: allow unaligned shader loads on CIK
authorMarek Olšák <marek.olsak@amd.com>
Mon, 13 Feb 2017 16:37:05 +0000 (17:37 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Mar 2017 03:53:03 +0000 (23:53 -0400)
commit75cb00dc0c9dbe5e7a971ac729384d8d05f0deb1
tree97a5921be549f23b1070672e5551f11bf36f55bc
parent451bc8eb8fe61ee89ebf44e7ee290ab88bb2b2d5
drm/radeon: allow unaligned shader loads on CIK

Set alignment mode to unaligned on CIK to align with amdgpu.  This is
needed for unaligned loads to work properly in mesa.  The current setting
requires dword alignment.

Signed-off-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/cik.c
drivers/gpu/drm/radeon/radeon_drv.c