drm/amdgpu: sync ring type and drm hw_ip type
Use AMDGPU_HW_IP_* to set amdgpu_ring_type enum values Signed-off-by: Nirmoy Das <nirmoy.das@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
04bef61e5d
commit
07e14845d1
|
@ -47,16 +47,16 @@
|
||||||
#define to_amdgpu_ring(s) container_of((s), struct amdgpu_ring, sched)
|
#define to_amdgpu_ring(s) container_of((s), struct amdgpu_ring, sched)
|
||||||
|
|
||||||
enum amdgpu_ring_type {
|
enum amdgpu_ring_type {
|
||||||
AMDGPU_RING_TYPE_GFX,
|
AMDGPU_RING_TYPE_GFX = AMDGPU_HW_IP_GFX,
|
||||||
AMDGPU_RING_TYPE_COMPUTE,
|
AMDGPU_RING_TYPE_COMPUTE = AMDGPU_HW_IP_COMPUTE,
|
||||||
AMDGPU_RING_TYPE_SDMA,
|
AMDGPU_RING_TYPE_SDMA = AMDGPU_HW_IP_DMA,
|
||||||
AMDGPU_RING_TYPE_UVD,
|
AMDGPU_RING_TYPE_UVD = AMDGPU_HW_IP_UVD,
|
||||||
AMDGPU_RING_TYPE_VCE,
|
AMDGPU_RING_TYPE_VCE = AMDGPU_HW_IP_VCE,
|
||||||
AMDGPU_RING_TYPE_KIQ,
|
AMDGPU_RING_TYPE_UVD_ENC = AMDGPU_HW_IP_UVD_ENC,
|
||||||
AMDGPU_RING_TYPE_UVD_ENC,
|
AMDGPU_RING_TYPE_VCN_DEC = AMDGPU_HW_IP_VCN_DEC,
|
||||||
AMDGPU_RING_TYPE_VCN_DEC,
|
AMDGPU_RING_TYPE_VCN_ENC = AMDGPU_HW_IP_VCN_ENC,
|
||||||
AMDGPU_RING_TYPE_VCN_ENC,
|
AMDGPU_RING_TYPE_VCN_JPEG = AMDGPU_HW_IP_VCN_JPEG,
|
||||||
AMDGPU_RING_TYPE_VCN_JPEG
|
AMDGPU_RING_TYPE_KIQ
|
||||||
};
|
};
|
||||||
|
|
||||||
struct amdgpu_device;
|
struct amdgpu_device;
|
||||||
|
|
Loading…
Reference in New Issue