linux_dsm_epyc7002/drivers/gpu/drm/mxsfb
Noralf Trønnes 8e93f1028d drm/mxsfb: Use drm_fbdev_generic_setup()
The CMA helper is already using the drm_fb_helper_generic_probe part of
the generic fbdev emulation. This patch makes full use of the generic
fbdev emulation by using its drm_client callbacks. This means that
drm_mode_config_funcs->output_poll_changed and drm_driver->lastclose are
now handled by the emulation code. Additionally fbdev unregister happens
automatically on drm_dev_unregister().

The drm_fbdev_generic_setup() call is put after drm_dev_register() in the
driver. This is done to highlight the fact that fbdev emulation is an
internal client that makes use of the driver, it is not part of the
driver as such. If fbdev setup fails, an error is printed, but the driver
succeeds probing.

Cc: Marek Vasut <marex@denx.de>
Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20181128212713.43500-3-noralf@tronnes.org
2019-01-14 12:35:05 +01:00
..
Kconfig drm: mxsfb: Select DRM_PANEL 2016-12-08 10:25:37 +10:00
Makefile
mxsfb_crtc.c drm/mxsfb: Fix initial corrupt frame when activating display 2018-09-26 22:07:40 +02:00
mxsfb_drv.c drm/mxsfb: Use drm_fbdev_generic_setup() 2019-01-14 12:35:05 +01:00
mxsfb_drv.h drm/mxsfb: Use drm_fbdev_generic_setup() 2019-01-14 12:35:05 +01:00
mxsfb_out.c drm: Nuke drm_atomic_helper_connector_dpms 2017-08-08 14:48:48 +02:00
mxsfb_regs.h drm: mxsfb: use bus_format to determine LCD bus width 2017-03-10 11:10:42 +10:00