OSDN Git Service

drm/amdgpu: move adjust adjust_mc_addr into the GFX9 vm_flush functions
authorChristian König <christian.koenig@amd.com>
Fri, 12 May 2017 12:46:23 +0000 (14:46 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 24 May 2017 22:19:49 +0000 (18:19 -0400)
commit9a94f5a593c05c08ee309a55f618973427c5e074
tree0c63210330f69f51301ec12df2c4e038f4b904f2
parent60bfcd313ce4fab84756fc10f4565a0cd4a737b4
drm/amdgpu: move adjust adjust_mc_addr into the GFX9 vm_flush functions

That GFX9 needs a PDE in the registers is entirely GFX9 specific.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c
drivers/gpu/drm/amd/amdgpu/vce_v4_0.c