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:
418cb50
)
drm/radeon: fix UVD 256MB check
author
Christian König
<
[email protected]
>
Fri, 20 Dec 2013 16:48:54 +0000
(17:48 +0100)
committer
Alex Deucher
<
[email protected]
>
Mon, 23 Dec 2013 15:03:41 +0000
(10:03 -0500)
Otherwise the kernel might reject our decoding requests.
Signed-off-by: Christian König <
[email protected]
>
Cc:
[email protected]
Signed-off-by: Alex Deucher <
[email protected]
>
drivers/gpu/drm/radeon/radeon_uvd.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/radeon/radeon_uvd.c
b/drivers/gpu/drm/radeon/radeon_uvd.c
index 373d088bac66db910291045424e075921d39d202..b9c0529b4a2e1e9d8f69e51f6742d023492a0040 100644
(file)
--- a/
drivers/gpu/drm/radeon/radeon_uvd.c
+++ b/
drivers/gpu/drm/radeon/radeon_uvd.c
@@
-473,7
+473,7
@@
static int radeon_uvd_cs_reloc(struct radeon_cs_parser *p,
return -EINVAL;
}
- if ((start >> 28) != (
end
>> 28)) {
+ if ((start >> 28) != (
(end - 1)
>> 28)) {
DRM_ERROR("reloc %LX-%LX crossing 256MB boundary!\n",
start, end);
return -EINVAL;