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:
11f55a3
)
drm/amdgpu: fix default UVD context size
author
Christian König
<
[email protected]
>
Tue, 26 Jul 2016 08:51:29 +0000
(10:51 +0200)
committer
Alex Deucher
<
[email protected]
>
Fri, 29 Jul 2016 18:37:10 +0000
(14:37 -0400)
Context buffers should be denied by default, not allowed.
Signed-off-by: Christian König <
[email protected]
>
Reviewed-by: Leo Liu <
[email protected]
>
Reviewed-by: Alex Deucher <
[email protected]
>
Signed-off-by: Alex Deucher <
[email protected]
>
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c
index c3712498c2c272f94e9cedcc16aaceb8d4a6ded7..6c8d16559b0017ef4e08f2a0d765c61e149220f3 100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c
+++ b/
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c
@@
-435,7
+435,7
@@
static int amdgpu_uvd_cs_msg_decode(struct amdgpu_device *adev, uint32_t *msg,
unsigned fs_in_mb = width_in_mb * height_in_mb;
unsigned image_size, tmp, min_dpb_size, num_dpb_buffer;
- unsigned min_ctx_size = 0;
+ unsigned min_ctx_size =
~
0;
image_size = width * height;
image_size += image_size / 2;