Skip to content

Commit f33277c

Browse files
mwallegregkh
authored andcommitted
drm/panel-simple: fix the warnings for the Evervision VGG644804
[ Upstream commit 5dc1ea9 ] The panel lacked the connector type which causes a warning. Adding the connector type reveals wrong bus_flags and bits per pixel. Fix all of it. Fixes: 1319f21 ("drm/panel-simple: add Evervision VGG644804 panel entry") Signed-off-by: Michael Walle <mwalle@kernel.org> Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org> Link: https://lore.kernel.org/r/20250520074110.655114-1-mwalle@kernel.org Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent a0319c9 commit f33277c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

drivers/gpu/drm/panel/panel-simple.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2141,13 +2141,14 @@ static const struct display_timing evervision_vgg644804_timing = {
21412141
static const struct panel_desc evervision_vgg644804 = {
21422142
.timings = &evervision_vgg644804_timing,
21432143
.num_timings = 1,
2144-
.bpc = 8,
2144+
.bpc = 6,
21452145
.size = {
21462146
.width = 115,
21472147
.height = 86,
21482148
},
21492149
.bus_format = MEDIA_BUS_FMT_RGB666_1X7X3_SPWG,
2150-
.bus_flags = DRM_BUS_FLAG_DE_HIGH | DRM_BUS_FLAG_PIXDATA_SAMPLE_NEGEDGE,
2150+
.bus_flags = DRM_BUS_FLAG_DE_HIGH,
2151+
.connector_type = DRM_MODE_CONNECTOR_LVDS,
21512152
};
21522153

21532154
static const struct display_timing evervision_vgg804821_timing = {

0 commit comments

Comments
 (0)