]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/amdgpu: Reserve 0-2 invalidation reg sets for none-amdgpu usages
authorShaoyun Liu <Shaoyun.Liu@amd.com>
Fri, 28 Apr 2017 20:14:59 +0000 (16:14 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 2 May 2017 17:18:03 +0000 (13:18 -0400)
commit43b9176faae1543d1a190db8eb098a8284d364f3
tree7351da5a442b02c4379b0ad77a39221a85b01363
parentfca4ce697f304e5d1f739399d97cbfb2b918fa7f
drm/amdgpu: Reserve 0-2 invalidation reg sets for none-amdgpu usages

Firmware used reg set 2 for tlb invalidation. AMDGPU can start from reg
set 3 to avoid the conflict. AMDKFD will use the reg set 0 or 1 when
necesary.

Signed-off-by: Shaoyun Liu <Shaoyun.Liu@amd.com>
Reviewws-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c