OSDN Git Service

drm/amdgpu:schedule vce/vcn encode based on priority
authorSatyajit Sahu <satyajit.sahu@amd.com>
Thu, 26 Aug 2021 06:50:14 +0000 (12:20 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 1 Sep 2021 20:55:11 +0000 (16:55 -0400)
commit7d7630fc6b8850ceae5a708bd37dcc7583658316
tree918a96790a17dfc57f1091be1bf787a3f5446a5f
parent0ad29a4eb13577ff5c7e5d545d4a49c79052ffb0
drm/amdgpu:schedule vce/vcn encode based on priority

Schedule the encode job in VCE/VCN encode ring
based on the priority set by UMD.

Signed-off-by: Satyajit Sahu <satyajit.sahu@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c