Skip to content

Commit 5dc1ea9

Browse files
mwallesuperna9999
authored andcommitted
drm/panel-simple: fix the warnings for the Evervision VGG644804
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 <[email protected]> Reviewed-by: Neil Armstrong <[email protected]> Signed-off-by: Neil Armstrong <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 4557cc8 commit 5dc1ea9

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
@@ -2199,13 +2199,14 @@ static const struct display_timing evervision_vgg644804_timing = {
21992199
static const struct panel_desc evervision_vgg644804 = {
22002200
.timings = &evervision_vgg644804_timing,
22012201
.num_timings = 1,
2202-
.bpc = 8,
2202+
.bpc = 6,
22032203
.size = {
22042204
.width = 115,
22052205
.height = 86,
22062206
},
22072207
.bus_format = MEDIA_BUS_FMT_RGB666_1X7X3_SPWG,
2208-
.bus_flags = DRM_BUS_FLAG_DE_HIGH | DRM_BUS_FLAG_PIXDATA_SAMPLE_NEGEDGE,
2208+
.bus_flags = DRM_BUS_FLAG_DE_HIGH,
2209+
.connector_type = DRM_MODE_CONNECTOR_LVDS,
22092210
};
22102211

22112212
static const struct display_timing evervision_vgg804821_timing = {

0 commit comments

Comments
 (0)