[PATCH 1/5] drm/i915/dsi: fix PIX_FMT_MASK width
Jani Nikula
jani.nikula at intel.com
Thu Dec 5 14:45:35 UTC 2024
It's really bits 18:16 not 17:16.
Signed-off-by: Jani Nikula <jani.nikula at intel.com>
---
drivers/gpu/drm/i915/display/icl_dsi_regs.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/display/icl_dsi_regs.h b/drivers/gpu/drm/i915/display/icl_dsi_regs.h
index d4845ac65acc..0cb9a5f714d2 100644
--- a/drivers/gpu/drm/i915/display/icl_dsi_regs.h
+++ b/drivers/gpu/drm/i915/display/icl_dsi_regs.h
@@ -203,7 +203,7 @@
#define VIDEO_MODE_SYNC_PULSE (0x3 << 28)
#define TE_SOURCE_GPIO (1 << 27)
#define LINK_READY (1 << 20)
-#define PIX_FMT_MASK (0x3 << 16)
+#define PIX_FMT_MASK (0x7 << 16)
#define PIX_FMT_SHIFT 16
#define PIX_FMT_RGB565 (0x0 << 16)
#define PIX_FMT_RGB666_PACKED (0x1 << 16)
--
2.39.5
More information about the Intel-gfx
mailing list