projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4795ca
)
drm/amdgpu: fix VCE ib alignment value
author
Alex Deucher
<
[email protected]
>
Tue, 23 Aug 2016 14:44:16 +0000
(10:44 -0400)
committer
Alex Deucher
<
[email protected]
>
Wed, 24 Aug 2016 20:25:03 +0000
(16:25 -0400)
The VCE rings only require single dword alignment.
Signed-off-by: Alex Deucher <
[email protected]
>
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
index eab8d73132440fc3f00ed030d3c6a7f38fc19abe..b78e74048f3d3d3a915d070cde4b22bf4ba514a3 100644
(file)
--- 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;