OSDN Git Service

drm/amdgpu: Program ring for vce instance 1 at its register space
authorLeo Liu <leo.liu@amd.com>
Mon, 29 May 2017 17:13:59 +0000 (13:13 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 31 May 2017 18:16:37 +0000 (14:16 -0400)
commit1410f64651e35411b4bb7a10f32eb6225925110a
tree843e36f62c3e857259a4e4f03007ee6deb0215a6
parentcc28c4ed7e735fc09043054b22370202583f69c3
drm/amdgpu: Program ring for vce instance 1 at its register space

We need program ring buffer on instance 1 register space domain,
when only if instance 1 available, with two instances or instance 0,
and we need only program instance 0 regsiter space domain for ring.

Signed-off-by: Leo Liu <leo.liu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/vce_v3_0.c