OSDN Git Service

drm/amdgpu: fix program vce instance logic error.
authorRex Zhu <Rex.Zhu@amd.com>
Tue, 10 Jan 2017 12:03:59 +0000 (20:03 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Jul 2017 12:40:20 +0000 (14:40 +0200)
commit9f2a36a7504c994f89a1fe8e4d94b8d43423816f
tree32dedddc940575f1fc766d90c5b362c38b1db863
parent0c9626619777f76a4a6761a259dcad263b1902d3
drm/amdgpu: fix program vce instance logic error.

[ Upstream commit 50a1ebc70a2803deb7811fc73fb55d70e353bc34 ]

need to clear bit31-29 in GRBM_GFX_INDEX,
then the program can be valid.

Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/amdgpu/vce_v3_0.c