linux_dsm_epyc7002/drivers/gpu/drm/arm
Noralf Trønnes 9595809896 drm/arm/mali: 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: Liviu Dudau <liviu.dudau@arm.com>
Cc: Brian Starkey <brian.starkey@arm.com>
Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Acked-by: Liviu Dudau <liviu.dudau@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180908134648.2582-10-noralf@tronnes.org
2018-09-25 11:31:29 +02:00
..
hdlcd_crtc.c drm/arm/hdlcd: Reject atomic commits that disable only the plane 2018-07-31 16:31:50 +01:00
hdlcd_drv.c drm/arm/hdlcd: Use drm_fbdev_generic_setup() 2018-09-25 11:30:43 +02:00
hdlcd_drv.h drm/arm/hdlcd: Use drm_fb_cma_fbdev_init/fini() 2018-07-31 16:31:50 +01:00
hdlcd_regs.h
Kconfig drm/arm: make fbdev support really optional 2016-07-18 09:11:42 +02:00
Makefile drm: mali-dp: Add writeback connector 2018-07-05 15:19:03 +01:00
malidp_crtc.c drm: mali-dp: Add writeback connector 2018-07-05 15:19:03 +01:00
malidp_drv.c drm/arm/mali: Use drm_fbdev_generic_setup() 2018-09-25 11:31:29 +02:00
malidp_drv.h drm: mali-dp: Add debugfs file for reporting internal errors 2018-07-05 15:19:05 +01:00
malidp_hw.c drm/arm/malidp: Set the output_depth register in modeset 2018-07-05 15:19:08 +01:00
malidp_hw.h drm/arm/malidp: Set the output_depth register in modeset 2018-07-05 15:19:08 +01:00
malidp_mw.c drm: mali-dp: Report writeback connector as connected 2018-07-23 15:38:46 +01:00
malidp_mw.h drm: mali-dp: Add writeback connector 2018-07-05 15:19:03 +01:00
malidp_planes.c drm: mali-dp: Use __drm_atomic_helper_plane_reset instead of copying the logic 2018-08-06 11:41:34 +01:00
malidp_regs.h drm: mali-dp: Add debugfs file for reporting internal errors 2018-07-05 15:19:05 +01:00