]> git.baikalelectronics.ru Git - kernel.git/commit
drm: Introduce new DRM_FORMAT_XYUV
authorStanislav Lisovskiy <stanislav.lisovskiy@intel.com>
Fri, 9 Nov 2018 09:39:15 +0000 (11:39 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 20 Nov 2018 14:20:13 +0000 (16:20 +0200)
commit5c3cb0a85cdd140645c6dc3c7fe46a1f4d7f03dd
treee8abaab1e5ecf4179bf0bfed2e1230e193a41482
parente27e09400b0fe21b16bff7161ea90e3fadf054e1
drm: Introduce new DRM_FORMAT_XYUV

v5: This is YUV444 packed format same as AYUV, but without alpha,
    as supported by i915.

v6: Removed unneeded initializer for new XYUV format.

v7: Added is_yuv field initialization according to latest
    drm_fourcc format structure initialization changes.

v8: Edited commit message to be more clear about skl+, renamed
    PLANE_CTL_FORMAT_AYUV to PLANE_CTL_FORMAT_XYUV as this format
    doesn't support per-pixel alpha. Fixed minor code issues.

v9: Moved DRM format check to proper place in intel_framebuffer_init.

v10: Changed DRM_FORMAT_XYUV to be DRM_FORMAT_XYUV8888

v11: Fixed rebase conflict, caused by added new formats to drm-tip
     meanwhile.

Reviewed-by: Alexandru Gheorghe <alexandru-cosmin.gheorghe@arm.com>
Signed-off-by: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
[vsyrjala: Removed stray tab and sorted the formats differently]
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181109093916.25858-2-stanislav.lisovskiy@intel.com
drivers/gpu/drm/drm_fourcc.c
include/uapi/drm/drm_fourcc.h