mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-02 18:48:28 +02:00
winsys, amdgpu, drm: add VPE submission handle
Signed-off-by: Peyton Lee <peytolee@amd.com> Reviewed-by: Leo Liu <leo.liu@amd.com> Acked-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25713>
This commit is contained in:
parent
a212e9bdbf
commit
95c933c8b7
1 changed files with 4 additions and 0 deletions
|
|
@ -1017,6 +1017,10 @@ static bool amdgpu_init_cs_context(struct amdgpu_winsys *ws,
|
|||
cs->ib[IB_MAIN].ip_type = AMDGPU_HW_IP_VCN_JPEG;
|
||||
break;
|
||||
|
||||
case AMD_IP_VPE:
|
||||
cs->ib[IB_MAIN].ip_type = AMDGPU_HW_IP_VPE;
|
||||
break;
|
||||
|
||||
case AMD_IP_COMPUTE:
|
||||
case AMD_IP_GFX:
|
||||
cs->ib[IB_MAIN].ip_type = ip_type == AMD_IP_GFX ? AMDGPU_HW_IP_GFX :
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue