[Intel-gfx] [PATCH 0/4] Enable P010, P012 and P016 formats for GLK/CNL
Juha-Pekka Heikkila
juhapekka.heikkila at gmail.com
Tue May 29 13:28:29 UTC 2018
These patches enable P010, P012 and P016 formats for GLK and CNL.
These formats are similar to NV12 extending from 8 bits per channel
to 10, 12 and 16 bits per channel.
For user space components there is in IGT kms_available_modes_crc test
which can test these new modes, test need to be recompiled with
DRM_FORMAT_Pxxx definitions in place. For VLC media player I've made
KMS video out plugin which will be able to show these new modes. This vout
plugin is still work in progress, first version of my plugin can be seen
here: https://mailman.videolan.org/pipermail/vlc-devel/2018-May/119013.html
Vidya and Maarten here as CC as you guys were doing lot of NV12 stuff
earlier and my patches extend NV12.
/Juha-Pekka
Juha-Pekka Heikkila (4):
drm: Add P010, P012, P016 format definitions and fourcc
drm/i915: Add P010, P012, P016 plane control definitions
drm/i915: preparations for enabling P010, P012, P016 formats
drm/i915: enable P010, P012, P016 formats for primary and sprite
planes
drivers/gpu/drm/drm_fourcc.c | 3 ++
drivers/gpu/drm/i915/i915_reg.h | 3 ++
drivers/gpu/drm/i915/intel_atomic.c | 3 +-
drivers/gpu/drm/i915/intel_atomic_plane.c | 2 +-
drivers/gpu/drm/i915/intel_display.c | 72 +++++++++++++++++++++++++++----
drivers/gpu/drm/i915/intel_drv.h | 1 +
drivers/gpu/drm/i915/intel_pm.c | 19 ++++----
drivers/gpu/drm/i915/intel_sprite.c | 60 +++++++++++++++++++++++++-
include/uapi/drm/drm_fourcc.h | 4 ++
9 files changed, 144 insertions(+), 23 deletions(-)
--
2.7.4
More information about the Intel-gfx
mailing list