drm/amdgpu: fix VCE buffer placement restrictions v2
authorChristian König <christian.koenig@amd.com>
Fri, 17 Nov 2017 10:09:43 +0000 (11:09 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Dec 2017 17:47:58 +0000 (12:47 -0500)
commit235943189db8ce05b888f48a04ded4448eebc408
tree72ed48bf642a3da0b029c91f8f79a8a60c667245
parentb98f1b9e5e71b636036cc6c0e1a3b428acd216cb
drm/amdgpu: fix VCE buffer placement restrictions v2

Turned out that VCE still has a placement restriction that BOs can't
cross a 4GB boundary.

Fix this by adding a command submission parser prepass to correctly
place the buffers.

v2: add function description

Signed-off-by: Christian König <christian.koenig@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c