summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2017-06-07 15:27:52 -0400
committerAlex Deucher <alexander.deucher@amd.com>2017-06-07 18:20:59 -0400
commitb9683c21f69b3d8d7b6741d31a0e3cbf26c7191b (patch)
treecf9769257a65a6cfb5a8cd500d605fbd091ef895 /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h
parent4853bbb6fbb9429b84ddd3562c7f2967ca880d03 (diff)
downloadop-kernel-dev-b9683c21f69b3d8d7b6741d31a0e3cbf26c7191b.zip
op-kernel-dev-b9683c21f69b3d8d7b6741d31a0e3cbf26c7191b.tar.gz
drm/amdgpu/gfx: consolidate mqd buffer setup code
It was duplicated across multiple generations. Reviewed-by: Alex Xie <AlexBin.Xie@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h
index b1766fa..1f27905 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h
@@ -43,6 +43,10 @@ void amdgpu_gfx_kiq_fini(struct amdgpu_device *adev);
int amdgpu_gfx_kiq_init(struct amdgpu_device *adev,
unsigned hpd_size);
+int amdgpu_gfx_compute_mqd_sw_init(struct amdgpu_device *adev,
+ unsigned mqd_size);
+void amdgpu_gfx_compute_mqd_sw_fini(struct amdgpu_device *adev);
+
/**
* amdgpu_gfx_create_bitmask - create a bitmask
*
OpenPOWER on IntegriCloud