diff options
author | 2018-04-09 09:11:10 +0530 | |
---|---|---|
committer | 2018-04-09 13:40:23 +0200 | |
commit | 8ed30ab6acede16996ac140c45271f6b61a753a8 (patch) | |
tree | 1e4751e48f1f8fc03cf7ffb672e0af2c36039e0d /lib/test_overflow.c | |
parent | drm/i915: Display WA 827 (diff) | |
download | linux-dev-8ed30ab6acede16996ac140c45271f6b61a753a8.tar.xz linux-dev-8ed30ab6acede16996ac140c45271f6b61a753a8.zip |
drm/i915: Enable YUV to RGB for Gen10 in Plane Ctrl Reg
If the fb format is YUV, enable the plane CSC mode bits
for the conversion.
v2: Addressed review comments from Shashank Sharma
Alignment issue fixed in i915_reg.h
v3: Adding Reviewed By from Shashank Sharma
v4: Rebased the patch. As part of rebasing, re-using
the color series defines which are already merged.
plane_state->base.color_encoding might not be set for
NV12. For now, just using PLANE_COLOR_CSC_MODE_YUV709_TO_RGB709
in glk_plane_color_ctl if format is NV12.
v5: Added reviewed by from Juha-Pekka Heikkila
v6: Rebased the series
Reviewed-by: Shashank Sharma <shashank.sharma@intel.com>
Reviewed-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Signed-off-by: Vidya Srinivas <vidya.srinivas@intel.com>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1523245273-30264-12-git-send-email-vidya.srinivas@intel.com
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions