--- /dev/null
+From bae651dbd7ade3c5d6518f89599ae680a2fe2b85 Mon Sep 17 00:00:00 2001
+From: Christian König <christian.koenig@amd.com>
+Date: Fri, 20 Dec 2013 17:48:54 +0100
+Subject: drm/radeon: fix UVD 256MB check
+
+From: Christian König <christian.koenig@amd.com>
+
+commit bae651dbd7ade3c5d6518f89599ae680a2fe2b85 upstream.
+
+Otherwise the kernel might reject our decoding requests.
+
+Signed-off-by: Christian König <christian.koenig@amd.com>
+Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ drivers/gpu/drm/radeon/radeon_uvd.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/drivers/gpu/drm/radeon/radeon_uvd.c
++++ b/drivers/gpu/drm/radeon/radeon_uvd.c
+@@ -460,7 +460,7 @@ static int radeon_uvd_cs_reloc(struct ra
+ 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;
drm-i915-don-t-update-the-dri1-breadcrumb-with-modesetting.patch
drm-radeon-fix-asic-gfx-values-for-scrapper-asics.patch
drm-i915-use-the-correct-gmch_ctrl-register-for-sandybridge.patch
+drm-radeon-fix-uvd-256mb-check.patch