drm/amdgpu: change SH MEM alignment mode for gfx10
authorLikun Gao <Likun.Gao@amd.com>
Fri, 3 Apr 2020 10:02:42 +0000 (18:02 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 3 Apr 2020 21:23:21 +0000 (17:23 -0400)
commitb74fb888f4927e2079be576ce6dcdbf0c420f1f8
tree4ce918efe8dc085ed5cb213cc8b24d8575c9151c
parentc5207876232649ca5e5ddd6f966d2da75ffded8f
drm/amdgpu: change SH MEM alignment mode for gfx10

Change SH_MEM_CONFIG Alignment mode to Automatic, as:
1)OGL fn_amd_compute_shader will failed with unaligned mode.
2)The default alignment mode was defined to automatic on gfx10
specification.

Signed-off-by: Likun Gao <Likun.Gao@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c