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)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 17 Jan 2017 20:25:04 +0000 (15:25 -0500)
commit50a1ebc70a2803deb7811fc73fb55d70e353bc34
tree61e11e720a2b7001df5c43b112cf5e504aef4d34
parente05208ded1905e500cd5b369d624b071951c68b9
drm/amdgpu: fix program vce instance logic error.

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>
drivers/gpu/drm/amd/amdgpu/vce_v3_0.c