drm/panel-simple: fix the warnings for the Evervision VGG644804
[ Upstream commit 5dc1ea903588a73fb03b3a3e5a041a7c63a4bccd ]
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: 1319f2178b ("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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
a0319c9b16
commit
f33277cda6
@@ -2141,13 +2141,14 @@ static const struct display_timing evervision_vgg644804_timing = {
|
|||||||
static const struct panel_desc evervision_vgg644804 = {
|
static const struct panel_desc evervision_vgg644804 = {
|
||||||
.timings = &evervision_vgg644804_timing,
|
.timings = &evervision_vgg644804_timing,
|
||||||
.num_timings = 1,
|
.num_timings = 1,
|
||||||
.bpc = 8,
|
.bpc = 6,
|
||||||
.size = {
|
.size = {
|
||||||
.width = 115,
|
.width = 115,
|
||||||
.height = 86,
|
.height = 86,
|
||||||
},
|
},
|
||||||
.bus_format = MEDIA_BUS_FMT_RGB666_1X7X3_SPWG,
|
.bus_format = MEDIA_BUS_FMT_RGB666_1X7X3_SPWG,
|
||||||
.bus_flags = DRM_BUS_FLAG_DE_HIGH | DRM_BUS_FLAG_PIXDATA_SAMPLE_NEGEDGE,
|
.bus_flags = DRM_BUS_FLAG_DE_HIGH,
|
||||||
|
.connector_type = DRM_MODE_CONNECTOR_LVDS,
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct display_timing evervision_vgg804821_timing = {
|
static const struct display_timing evervision_vgg804821_timing = {
|
||||||
|
|||||||
Reference in New Issue
Block a user