Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/komeda: Add legacy FB support so VT's work as expected

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>
Reviewed-by: Liviu Dudau <liviu.dudau@arm.com>
Signed-off-by: Liviu Dudau <liviu.dudau@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220606114714.175499-1-carsten.haitzler@foss.arm.com

authored by

Carsten Haitzler and committed by
Liviu Dudau
000a2f04 f818eac1

+2
+2
drivers/gpu/drm/arm/display/komeda/komeda_drv.c
··· 9 9 #include <linux/platform_device.h> 10 10 #include <linux/component.h> 11 11 #include <linux/pm_runtime.h> 12 + #include <drm/drm_fb_helper.h> 12 13 #include <drm/drm_module.h> 13 14 #include <drm/drm_of.h> 14 15 #include "komeda_dev.h" ··· 73 72 } 74 73 75 74 dev_set_drvdata(dev, mdrv); 75 + drm_fbdev_generic_setup(&mdrv->kms->base, 32); 76 76 77 77 return 0; 78 78