diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2016-08-22 16:31:36 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-08-24 16:25:02 -0400 |
commit | c4795ca642b8bd76b5b6ffba41ba909543273d43 (patch) | |
tree | 89aab658073fea03c5d2ae1c2a5a34d07dca8103 | |
parent | 1b5836492de6a753f6bb420f500848761c6f84f3 (diff) |
drm/amdgpu: fix IB alignment for UVD
According to the hw team, it should be 16, not 8.
Cc: Peter Fang <peter.fang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c index 4c8e68a82c47..eab8d7313244 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | |||
@@ -292,7 +292,7 @@ static int amdgpu_info_ioctl(struct drm_device *dev, void *data, struct drm_file | |||
292 | type = AMD_IP_BLOCK_TYPE_UVD; | 292 | type = AMD_IP_BLOCK_TYPE_UVD; |
293 | ring_mask = adev->uvd.ring.ready ? 1 : 0; | 293 | ring_mask = adev->uvd.ring.ready ? 1 : 0; |
294 | ib_start_alignment = AMDGPU_GPU_PAGE_SIZE; | 294 | ib_start_alignment = AMDGPU_GPU_PAGE_SIZE; |
295 | ib_size_alignment = 8; | 295 | ib_size_alignment = 16; |
296 | break; | 296 | break; |
297 | case AMDGPU_HW_IP_VCE: | 297 | case AMDGPU_HW_IP_VCE: |
298 | type = AMD_IP_BLOCK_TYPE_VCE; | 298 | type = AMD_IP_BLOCK_TYPE_VCE; |