OSDN Git Service

drm/amdgpu: share scheduler score on VCN3 instances
authorChristian König <christian.koenig@amd.com>
Tue, 2 Feb 2021 12:13:29 +0000 (13:13 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Apr 2021 20:45:03 +0000 (16:45 -0400)
commitc62dfdbbf7109592d6aa6fc59fb954dba12743d7
tree6d86d590e213a9fce30941b7ce5658a862c271e5
parentc107171b8d3241d872807c04917e7e8fb70e8b71
drm/amdgpu: share scheduler score on VCN3 instances

The VCN3 instances can do both decode as well as encode.

Share the scheduler load balancing score and remove fixing encode to
only the second instance.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-and-Tested-by: Leo Liu <leo.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h
drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c