]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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 17:09:15 +0000 (13:09 -0400)
commit45cc6586b7a73e84a8806881122b6ec306cdc9e7
treecb34095ce9a4acb41a20505b8c67851bcf944afc
parent5ed02dbb497422bf225783f46e6eadd237d23d6b
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