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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Tvrtko Ursulin <tvrtko.ursulin@xxxxxxxxx>

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

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx





[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux