[Intel-gfx] [RFC 0/6] Use framebuffer modifiers for tiled display

Tvrtko Ursulin tvrtko.ursulin at linux.intel.com
Fri Jan 30 09:36:52 PST 2015


From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>

Instead of using driver private set tiling ioctl, use the proposed addfb2 ioctl
extension to tell the driver about display buffer special formatting.

Lightly tested only with a hacked up igt/testdisplay. Sending out early so
people can comment on the overall approach over the weekend.

Rob Clark (1):
  RFC: drm: add support for tiled/compressed/etc modifier in addfb2

Tvrtko Ursulin (5):
  drm/i915: Add tiled framebuffer modifiers
  drm/i915: Set up fb modifier on initial takeover
  drm/i915: Use framebuffer tiling mode for display purposes
  drm/i915: Allow fb modifier to set framebuffer tiling
  drm/i915: Announce support for framebuffer modifiers

 drivers/gpu/drm/drm_crtc.c           | 14 +++++-
 drivers/gpu/drm/drm_crtc_helper.c    |  1 +
 drivers/gpu/drm/drm_ioctl.c          |  3 ++
 drivers/gpu/drm/i915/intel_display.c | 91 +++++++++++++++++++++++++-----------
 drivers/gpu/drm/i915/intel_drv.h     |  2 +
 drivers/gpu/drm/i915/intel_pm.c      |  7 ++-
 drivers/gpu/drm/i915/intel_sprite.c  | 26 ++++++-----
 include/drm/drm_crtc.h               |  4 ++
 include/uapi/drm/drm.h               |  1 +
 include/uapi/drm/drm_fourcc.h        | 32 +++++++++++++
 include/uapi/drm/drm_mode.h          |  9 ++++
 include/uapi/drm/i915_drm.h          | 13 ++++++
 12 files changed, 160 insertions(+), 43 deletions(-)

-- 
2.2.2



More information about the Intel-gfx mailing list