[RFC v3 0/4] Use framebuffer modifiers for tiled display

Tvrtko Ursulin
2015-02-05T14:42:27Z

From: Tvrtko Ursulin <tvrtko.ursulin@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.

v2:
* Refactor the series to use fb->modifier[0] directly at call sites
interested in tiling. (Daniel Vetter)

v3:
* Completey split obj and fb modifier tiling namespaces.

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

Tvrtko Ursulin (3):
drm/i915: Add tiled framebuffer modifiers
drm/i915: Use frame buffer modifiers for tiled display
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 | 152 +++++++++++++++++++++++------------
drivers/gpu/drm/i915/intel_drv.h | 9 ++-
drivers/gpu/drm/i915/intel_pm.c | 7 +-
drivers/gpu/drm/i915/intel_sprite.c | 34 ++++----
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 | 15 ++++
12 files changed, 204 insertions(+), 77 deletions(-)

--
2.2.2