drm/amdgpu/vce: simplify vce instance setup
Set the me instance in early init and use that rather than calculating the instance based on the ring pointer. Reviewed-by: NJames Zhu <James.Zhu@amd.com> Reviewed-by: NLeo Liu <leo.liu@amd.com> Reviewed-by: NChristian König <christian.koenig@amd.com> Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
Showing
想要评论请 注册 或 登录