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); | |||
43 | int amdgpu_gfx_kiq_init(struct amdgpu_device *adev, | 43 | int amdgpu_gfx_kiq_init(struct amdgpu_device *adev, |
44 | unsigned hpd_size); | 44 | unsigned hpd_size); |
45 | 45 | ||
46 | int amdgpu_gfx_compute_mqd_sw_init(struct amdgpu_device *adev, | ||
47 | unsigned mqd_size); | ||
48 | void amdgpu_gfx_compute_mqd_sw_fini(struct amdgpu_device *adev); | ||
49 | |||
46 | /** | 50 | /** |
47 | * amdgpu_gfx_create_bitmask - create a bitmask | 51 | * amdgpu_gfx_create_bitmask - create a bitmask |
48 | * | 52 | * |