]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb66aeb375da9ae3d82a96c36f150a69c53ad084d
tree4ce918efe8dc085ed5cb213cc8b24d8575c9151c
parentb9b0d577c6b4f017582205e7f8e9dde6985e6262
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