From e6c3250912da6bff5c5bc310e775abc6efa689ce Mon Sep 17 00:00:00 2001 From: Yu-Ping Wu Date: Fri, 19 Dec 2025 15:51:39 +0800 Subject: [PATCH] mipi/panel: Remove pic_width and pic_height from dsc_config The pic_width and pic_height fields of dsc_config are equivalent to edid.mode.ha and edid.mode.va, respectively. To remove duplicate information in panel_serializable_data, remove these two fields from dsc_config. BUG=b:424782827 TEST=emerge-tanjiro coreboot BRANCH=none Change-Id: I7f1dd4b431a610fa928b29da420b0c0e0bef5fcc Signed-off-by: Yu-Ping Wu Reviewed-on: https://review.coreboot.org/c/coreboot/+/90561 Reviewed-by: Yidi Lin Reviewed-by: Chen-Tsung Hsieh Tested-by: build bot (Jenkins) --- src/drivers/mipi/panel-BOE_NS130069_M00.c | 2 -- src/include/mipi/panel.h | 8 -------- 2 files changed, 10 deletions(-) diff --git a/src/drivers/mipi/panel-BOE_NS130069_M00.c b/src/drivers/mipi/panel-BOE_NS130069_M00.c index 2e2accebfa..cf36af8648 100644 --- a/src/drivers/mipi/panel-BOE_NS130069_M00.c +++ b/src/drivers/mipi/panel-BOE_NS130069_M00.c @@ -576,8 +576,6 @@ struct panel_serializable_data BOE_NS130069_M00 = { .convert_rgb = 1, .simple_422 = false, .bits_per_pixel = 8 << 4, - .pic_height = 2190, - .pic_width = 3504, .slice_height = 30, .slice_width = 876, .slice_chunk_size = 876, diff --git a/src/include/mipi/panel.h b/src/include/mipi/panel.h index d306f06fb4..e2123a6e22 100644 --- a/src/include/mipi/panel.h +++ b/src/include/mipi/panel.h @@ -85,14 +85,6 @@ struct dsc_config { * @slice_height: Slice height in pixels */ u16 slice_height; - /* - * @pic_width: Width of the input display frame in pixels - */ - u16 pic_width; - /* - * @pic_height: Vertical height of the input display frame - */ - u16 pic_height; /* * @rc_tgt_offset_high: * Offset to bits/group used by RC to determine QP adjustment