Convert gma500's fbdev code to drm_client. Replace to the current ad-hoc integration. The conversion includes a number of cleanups. Only build fbdev support if the config option has been set. Tested on Cedarview HW. v2: * remove fb_base (Patrik) * use 'static inline' in header files (kernel test robot) * fix many minor issues and typos Thomas Zimmermann (7): drm/gma500: Remove unnecessary include statements drm/gma500: Move fbdev code into separate source file drm/gma500: Remove fbdev vma open and close callbacks drm/gma500: Fix naming in fb_ops drm/gma500: Inline psbfb_create() into psbfb_probe() drm/gma500: Implement client-based fbdev emulation drm/gma500: Pass fb_info to psb_fbdev_vm_fault() drivers/gpu/drm/gma500/Makefile | 1 + drivers/gpu/drm/gma500/fbdev.c | 344 +++++++++++++++++++++++++++ drivers/gpu/drm/gma500/framebuffer.c | 341 +------------------------- drivers/gpu/drm/gma500/psb_drv.c | 5 +- drivers/gpu/drm/gma500/psb_drv.h | 19 +- 5 files changed, 363 insertions(+), 347 deletions(-) create mode 100644 drivers/gpu/drm/gma500/fbdev.c base-commit: b21ced77ae1dbc3d8b01d3aef3c99bba7377a69b -- 2.39.2