Skip to content

Commit 696fa00

Browse files
swatish2-linuxmlankhorst
authored andcommitted
drm/i915/icl: Add Y2xx and Y4xx (xx:10/12/16) plane control definitions
Added needed plane control flag definitions for Y2xx and Y4xx (10, 12 and 16 bits) Signed-off-by: Swati Sharma <swati2.sharma@intel.com> Signed-off-by: Vidya Srinivas <vidya.srinivas@intel.com> Reviewed-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.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/1551700595-21481-6-git-send-email-swati2.sharma@intel.com Acked-by: Jani Nikula <jani.nikula@intel.com>
1 parent 50bf5d7 commit 696fa00

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

drivers/gpu/drm/i915/i915_reg.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6567,6 +6567,12 @@ enum {
65676567
#define PLANE_CTL_FORMAT_RGB_565 (14 << 24)
65686568
#define ICL_PLANE_CTL_FORMAT_MASK (0x1f << 23)
65696569
#define PLANE_CTL_PIPE_CSC_ENABLE (1 << 23) /* Pre-GLK */
6570+
#define PLANE_CTL_FORMAT_Y210 (1 << 23)
6571+
#define PLANE_CTL_FORMAT_Y212 (3 << 23)
6572+
#define PLANE_CTL_FORMAT_Y216 (5 << 23)
6573+
#define PLANE_CTL_FORMAT_Y410 (7 << 23)
6574+
#define PLANE_CTL_FORMAT_Y412 (9 << 23)
6575+
#define PLANE_CTL_FORMAT_Y416 (0xb << 23)
65706576
#define PLANE_CTL_KEY_ENABLE_MASK (0x3 << 21)
65716577
#define PLANE_CTL_KEY_ENABLE_SOURCE (1 << 21)
65726578
#define PLANE_CTL_KEY_ENABLE_DESTINATION (2 << 21)

0 commit comments

Comments
 (0)