From: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx> Here's a pile of cleanups to the cursor code. I think it makes the code quite a bit more pleasant to look at. I wrote most of these probably one or two years ago, so I figured it's about time I try to get them in. I've also included support for the so called cursor "FBC" feature for IVB+, which allows non-square cursors. I think I've posted an earlier version of that (and perhaps some of the other patches too) at least once. Entire series available here: git://github.com/vsyrjala/linux.git cursor_improvements_4 Ville Syrjälä (10): drm/i915: Parametrize cursor/primary pipe select bits drm/i915: Pass intel_plane and intel_crtc to plane hooks drm/i915: Refactor CURBASE calculation drm/i915: Clean up cursor junk from intel_crtc drm/i915: Refactor CURPOS calculation drm/i915: Move cursor position and base handling into the platform specific functions drm/i915: Drop useless posting reads from cursor commit drm/i915: Split cursor check_plane into i845 and i9xx variants drm/i915: Use fb->pitches[0] in cursor code drm/i915: Support variable cursor height on ivb+ drivers/gpu/drm/i915/i915_debugfs.c | 48 +-- drivers/gpu/drm/i915/i915_drv.h | 1 + drivers/gpu/drm/i915/i915_reg.h | 12 +- drivers/gpu/drm/i915/intel_atomic_plane.c | 6 +- drivers/gpu/drm/i915/intel_display.c | 572 +++++++++++++++++------------- drivers/gpu/drm/i915/intel_drv.h | 17 +- drivers/gpu/drm/i915/intel_sprite.c | 102 +++--- 7 files changed, 393 insertions(+), 365 deletions(-) -- 2.10.2 _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx