diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2016-08-23 10:44:16 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-08-24 16:25:03 -0400 |
commit | a22f803cd22c3aac780757df712aebb79e1778c1 (patch) | |
tree | 16d88dd419912ba3b34bdb1721266ad819eeead3 /drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | |
parent | c4795ca642b8bd76b5b6ffba41ba909543273d43 (diff) | |
download | lwn-a22f803cd22c3aac780757df712aebb79e1778c1.tar.gz lwn-a22f803cd22c3aac780757df712aebb79e1778c1.zip |
drm/amdgpu: fix VCE ib alignment value
The VCE rings only require single dword alignment.
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c')
-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 eab8d7313244..b78e74048f3d 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c @@ -299,7 +299,7 @@ static int amdgpu_info_ioctl(struct drm_device *dev, void *data, struct drm_file for (i = 0; i < AMDGPU_MAX_VCE_RINGS; i++) ring_mask |= ((adev->vce.ring[i].ready ? 1 : 0) << i); ib_start_alignment = AMDGPU_GPU_PAGE_SIZE; - ib_size_alignment = 8; + ib_size_alignment = 1; break; default: return -EINVAL; |