drm/i915: Add P010, P012, P016 plane control definitions
authorJuha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Mon, 4 Mar 2019 11:56:30 +0000 (17:26 +0530)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Tue, 5 Mar 2019 11:34:25 +0000 (12:34 +0100)
Add needed plane control flag definitions for P010, P012 and
P016 formats.

Signed-off-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Signed-off-by: Swati Sharma <swati2.sharma@intel.com>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Acked-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1551700595-21481-2-git-send-email-swati2.sharma@intel.com
drivers/gpu/drm/i915/i915_reg.h

index 638a586469f97be9fb83bbbcb152c518e7d46e1e..5d4cbe773965b6d1ac9125144022adef89429094 100644 (file)
@@ -6557,8 +6557,11 @@ enum {
 #define   PLANE_CTL_FORMAT_YUV422              (0 << 24)
 #define   PLANE_CTL_FORMAT_NV12                        (1 << 24)
 #define   PLANE_CTL_FORMAT_XRGB_2101010                (2 << 24)
+#define   PLANE_CTL_FORMAT_P010                        (3 << 24)
 #define   PLANE_CTL_FORMAT_XRGB_8888           (4 << 24)
+#define   PLANE_CTL_FORMAT_P012                        (5 << 24)
 #define   PLANE_CTL_FORMAT_XRGB_16161616F      (6 << 24)
+#define   PLANE_CTL_FORMAT_P016                        (7 << 24)
 #define   PLANE_CTL_FORMAT_AYUV                        (8 << 24)
 #define   PLANE_CTL_FORMAT_INDEXED             (12 << 24)
 #define   PLANE_CTL_FORMAT_RGB_565             (14 << 24)