drm/amdgpu/vce2: fix vce bar programming
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 17 Feb 2017 18:50:15 +0000 (13:50 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Mar 2017 03:53:22 +0000 (23:53 -0400)
commitdc3abc16a72776ed1b631d27d2e595cbf34f353e
tree9d839c6cc3e6b12fb35fbd07250d8e75e752ff99
parent98a36749ebecdb4ac7e64815a62d002f8e2b971b
drm/amdgpu/vce2: fix vce bar programming

Program the VCE BAR and offsets properly.  The current code
was carried over from a limitation from older VCE versions.

Reviewed-by: Junwei Zhang <Jerry.Zhang@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/vce_v2_0.c