All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] drm/komeda - Add legacy FB support so VT's work as expected
@ 2022-06-06 11:47 carsten.haitzler
  2022-06-06 11:47 ` [PATCH 2/3] drm/komeda - At init write GCU control block to handle already on DPU carsten.haitzler
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: carsten.haitzler @ 2022-06-06 11:47 UTC (permalink / raw)
  To: dri-devel; +Cc: liviu.dudau, steven.price

From: Carsten Haitzler <carsten.haitzler@arm.com>

The komeda driver doesn't come up with a visible text (FB) mode VT by
default as it was missing legacy FB support. It's useful to have a
working text VT on a system for debug and general usability, so enable
it. You can always toggle CONFIG_FRAMEBUFFER_CONSOLE.

Signed-off-by: Carsten Haitzler <carsten.haitzler@arm.com>
---
 drivers/gpu/drm/arm/display/komeda/komeda_drv.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/gpu/drm/arm/display/komeda/komeda_drv.c b/drivers/gpu/drm/arm/display/komeda/komeda_drv.c
index e7933930a657..c0c7933a9631 100644
--- a/drivers/gpu/drm/arm/display/komeda/komeda_drv.c
+++ b/drivers/gpu/drm/arm/display/komeda/komeda_drv.c
@@ -9,6 +9,7 @@
 #include <linux/platform_device.h>
 #include <linux/component.h>
 #include <linux/pm_runtime.h>
+#include <drm/drm_fb_helper.h>
 #include <drm/drm_of.h>
 #include "komeda_dev.h"
 #include "komeda_kms.h"
@@ -71,6 +72,7 @@ static int komeda_bind(struct device *dev)
 	}
 
 	dev_set_drvdata(dev, mdrv);
+	drm_fbdev_generic_setup(&mdrv->kms->base, 32);
 
 	return 0;
 
-- 
2.32.0


^ permalink raw reply related	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2022-07-16 14:39 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-06 11:47 [PATCH 1/3] drm/komeda - Add legacy FB support so VT's work as expected carsten.haitzler
2022-06-06 11:47 ` [PATCH 2/3] drm/komeda - At init write GCU control block to handle already on DPU carsten.haitzler
2022-07-08 16:07   ` Liviu Dudau
2022-07-08 16:55     ` Carsten Haitzler
2022-07-15 16:00     ` Carsten Haitzler
2022-06-06 11:47 ` [PATCH 3/3] drm/komeda - Fix handling of pending crtc state commit to avoid lock-up carsten.haitzler
2022-07-08 16:02   ` Liviu Dudau
2022-07-08 18:03     ` Carsten Haitzler
2022-07-11 10:13       ` Liviu Dudau
2022-07-14 12:20         ` Robin Murphy
2022-07-15 15:50           ` Carsten Haitzler
2022-07-15 15:59         ` Carsten Haitzler
2022-07-08 16:03 ` [PATCH 1/3] drm/komeda - Add legacy FB support so VT's work as expected Liviu Dudau

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.