This is a note to let you know that I've just added the patch titled
drm/i915: treat src w & h as fixed point in sprite handling code
to the 3.3-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
drm-i915-treat-src-w-h-as-fixed-point-in-sprite-handling-code.patch
and it can be found in the queue-3.3 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.
>From b4db1e35ac59c144965f517bc575a0d75b60b03f Mon Sep 17 00:00:00 2001
From: Jesse Barnes <[email protected]>
Date: Tue, 20 Mar 2012 10:59:09 -0700
Subject: drm/i915: treat src w & h as fixed point in sprite handling code
From: Jesse Barnes <[email protected]>
commit b4db1e35ac59c144965f517bc575a0d75b60b03f upstream.
This was missed when we converted the source values to 16.16 fixed point.
Signed-off-by: Jesse Barnes <[email protected]>
Tested-by: Chris Wilson <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
drivers/gpu/drm/i915/intel_sprite.c | 3 +++
1 file changed, 3 insertions(+)
--- a/drivers/gpu/drm/i915/intel_sprite.c
+++ b/drivers/gpu/drm/i915/intel_sprite.c
@@ -411,6 +411,9 @@ intel_update_plane(struct drm_plane *pla
old_obj = intel_plane->obj;
+ src_w = src_w >> 16;
+ src_h = src_h >> 16;
+
/* Pipe must be running... */
if (!(I915_READ(PIPECONF(pipe)) & PIPECONF_ENABLE))
return -EINVAL;
Patches currently in stable-queue which might be from [email protected]
are
queue-3.3/drm-i915-treat-src-w-h-as-fixed-point-in-sprite-handling-code.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html