]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/amd/amdgpu: fix BANK_SELECT on Vega10 (v2)
authorRoger He <Hongbo.He@amd.com>
Thu, 24 Aug 2017 06:57:57 +0000 (14:57 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 29 Aug 2017 19:27:48 +0000 (15:27 -0400)
commita3ce364558faa12c4f25466dfc89eb3146b8063c
tree03ce375ec292111b53f676ede19d5affe9e1b2bb
parent1cacc86a63abda5ff94a405765ca06b1c3a4031d
drm/amd/amdgpu: fix BANK_SELECT on Vega10 (v2)

BANK_SELECT should always be FRAGMENT_SIZE + 3 due to 8-entry (2^3)
per cache line in L2 TLB for Vega10.

v2: agd: fix warning

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Roger He <Hongbo.He@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c
drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c