summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_irq.c
diff options
context:
space:
mode:
authorMatt Roper2014-11-18 03:10:38 +0100
committerDaniel Vetter2014-11-19 14:56:53 +0100
commit9dc806fc1a9445c721aacf15a141c2758e518e90 (patch)
treed35a6ca1dbd444115ded842f45e43ce2cab91891 /drivers/gpu/drm/i915/i915_irq.c
parentdrm/i915/ddi: set has_infoframe flag on DDI too v2 (diff)
downloadkernel-qcow2-linux-9dc806fc1a9445c721aacf15a141c2758e518e90.tar.gz
kernel-qcow2-linux-9dc806fc1a9445c721aacf15a141c2758e518e90.tar.xz
kernel-qcow2-linux-9dc806fc1a9445c721aacf15a141c2758e518e90.zip
drm/i915: Don't store panning coordinates as 16.16 fixed point
When using the universal plane interface, the source rectangle coordinates define the panning offset for the primary plane, which needs to be stored in crtc->{x,y}. The original universal plane code negelected to set these panning offset fields, which was partially remedied in: commit ccc759dc2a0214fd8b65ed4ebe78050874a67f94 Author: Gustavo Padovan <gustavo.padovan@collabora.co.uk> Date: Wed Sep 24 14:20:22 2014 -0300 drm/i915: Merge of visible and !visible paths for primary planes However the plane source coordinates are provided in 16.16 fixed point format and the above commit forgot to convert back to integer coordinates before saving the values. When we replace intel_pipe_set_base() with plane->funcs->update_plane() in a future patch, this bug becomes visible via the set_config entrypoint as well as update_plane. Cc: Gustavo Padovan <gustavo.padovan@collabora.co.uk> Testcase: igt/kms_plane Signed-off-by: Matt Roper <matthew.d.roper@intel.com> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_irq.c')
0 files changed, 0 insertions, 0 deletions