summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/nv.h
diff options
context:
space:
mode:
authorWenhui Sheng <Wenhui.Sheng@amd.com>2020-06-23 11:35:05 +0800
committerAlex Deucher <alexander.deucher@amd.com>2020-07-02 12:02:50 -0400
commitc1299461b7d68eed457478ddf3e93bbd89e5c3ca (patch)
tree2b260fc0942bff3730c35dcbbaa1b06dedfee17f /drivers/gpu/drm/amd/amdgpu/nv.h
parent81659b2022cbdd7491f9480ab15afd38b91281d5 (diff)
drm/amdgpu: request init data in virt detection
Move request init data to virt detection func, so we can insert request full access between request init data and set ip blocks. Signed-off-by: Wenhui Sheng <Wenhui.Sheng@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/nv.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/nv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/nv.h b/drivers/gpu/drm/amd/amdgpu/nv.h
index b6a95f0122fb..aeef50a6a54b 100644
--- a/drivers/gpu/drm/amd/amdgpu/nv.h
+++ b/drivers/gpu/drm/amd/amdgpu/nv.h
@@ -28,6 +28,7 @@
void nv_grbm_select(struct amdgpu_device *adev,
u32 me, u32 pipe, u32 queue, u32 vmid);
+void nv_set_virt_ops(struct amdgpu_device *adev);
int nv_set_ip_blocks(struct amdgpu_device *adev);
int navi10_reg_base_init(struct amdgpu_device *adev);
int navi14_reg_base_init(struct amdgpu_device *adev);