diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2017-06-07 15:27:52 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-06-07 18:20:59 -0400 |
commit | b9683c21f69b3d8d7b6741d31a0e3cbf26c7191b (patch) | |
tree | cf9769257a65a6cfb5a8cd500d605fbd091ef895 /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h | |
parent | 4853bbb6fbb9429b84ddd3562c7f2967ca880d03 (diff) |
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.h | 4 |
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 b1766fa4f29c..1f279050d334 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 * |