drm/i915: treat src w & h as fixed point in sprite handling code
Subsystems (2)
PATCH 1/1 drm/i915: treat src w & h as fixed point in sprite handling code
This was missed when we converted the source values to 16.16 fixed point.
Signed-off-by Jesse Barnes <[email protected]>
--- drivers/gpu/drm/i915/intel_sprite.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
drivers/gpu/drm/i915/intel_sprite.c +3 -0
@@ -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 ;
Signature · 1 line
1.7.5.4
Quoted 4 lines · Jesse Barnes
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]>
-Chris
Signature · 1 line
Chris Wilson, Intel Open Source Technology Centre