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:
97effad
)
drm/i915: treat src w & h as fixed point in sprite handling code
author
Jesse Barnes
<
[email protected]
>
Tue, 20 Mar 2012 17:59:09 +0000
(10:59 -0700)
committer
Daniel Vetter
<
[email protected]
>
Tue, 3 Apr 2012 09:33:33 +0000
(11:33 +0200)
This was missed when we converted the source values to 16.16 fixed point.
Cc:
[email protected]
Signed-off-by: Jesse Barnes <
[email protected]
>
Tested-by: Chris Wilson <
[email protected]
>
Signed-off-by: Daniel Vetter <
[email protected]
>
drivers/gpu/drm/i915/intel_sprite.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/intel_sprite.c
b/drivers/gpu/drm/i915/intel_sprite.c
index 7aa0450399a1e9b44379479de41ffac0757f2821..a464771a724070a229e917d7b7e5e249d1058845 100644
(file)
--- 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 *plane, struct drm_crtc *crtc,
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;