amdgpu/uvd: get ring reference from rq scheduler

[ Upstream commit 47f402a3e0 ]

base.sched may not be set for each instance and should not
be used for cases such as non-IB tests.

Fixes: 2320c9e6a7 ("drm/sched: memset() 'job' in drm_sched_job_init()")
Signed-off-by: David (Ming Qiang) Wu <David.Wu3@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
David (Ming Qiang) Wu 2024-12-04 11:30:01 -05:00 • committed by Greg Kroah-Hartman
commit cc9b20ddc2