From: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx> While reviewing the COLOR_ENCODING/COLOR_RANGE props I decided that I might as well implement them in i915. And here is the result. With this the user can now select between BT.601 vs. BT.709, and limited vs. full range on every platform where we currently have YCbCr framebuffer support. I had to fix up GLK a bit more since it wasn't actually doing the YCbCr->RGB conversion at all. In order to unblock this further I also hacked together some userspace support in the form of the XV_COLORSPACE port attribute in the intel ddx. For that I needed to hack off the atomic requirement for these properties. I don't think there's much point in restricting these to atomic anyway. I've pushed the entire series (including Jyri's stuff with my hack) here: git://github.com/vsyrjala/linux.git color_encoding_prop And the intel ddx xv stuff is available here: git://github.com/vsyrjala/xf86-video-intel.git xv_colorspace Cc: Jyri Sarha <jsarha@xxxxxx> Ville Syrjälä (5): drm/i915: Correctly handle limited range YCbCr data on VLV/CHV drm/i915: Fix plane YCbCr->RGB conversion for GLK drm/i915: Add support for the YCbCr COLOR_ENCODING property drm/i915: Change the COLOR_ENCODING prop default value to BT.709 drm/i915: Add support for the YCbCr COLOR_RANGE property drivers/gpu/drm/i915/i915_reg.h | 22 ++++++ drivers/gpu/drm/i915/intel_display.c | 41 ++++++++++- drivers/gpu/drm/i915/intel_drv.h | 2 + drivers/gpu/drm/i915/intel_sprite.c | 130 +++++++++++++++++++++++++++-------- 4 files changed, 164 insertions(+), 31 deletions(-) -- 2.13.0 _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx