Hi everybody, Here's a new DRM driver for the Renesas SH Mobile display controller (a.k.a. LCDC). The hardware is pretty simple and consists of a single CRTC and four (non-scalable) planes that can be alpha-blended (first two planes only), overlayed or composed using ROP3. The first two patches will go through the fbdev tree, but I've included them here in case someone woud like to compile the code. The third patch just defines two new formats and could already go in, unless we have a policy not to define formats until a driver uses them. As this is my first attempt at writing a DRM driver I'm pretty sure I've made many mistakes. Review will as usual be very appreciated. I've modified the modetest application from the libdrm repository to test this driver, I will submit patches for it right after cleaning them up. Laurent Pinchart (4): fbdev: sh_mobile_meram: Add MERAM operations wrappers fbdev: sh_mobile_lcdc: Use MERAM operations wrappers drm: Add NV24 and NV42 pixel formats drm: Renesas SH Mobile DRM driver drivers/gpu/drm/Kconfig | 2 + drivers/gpu/drm/Makefile | 1 + drivers/gpu/drm/shmobile/Kconfig | 8 + drivers/gpu/drm/shmobile/Makefile | 8 + drivers/gpu/drm/shmobile/shmob_drm_backlight.c | 89 +++ drivers/gpu/drm/shmobile/shmob_drm_backlight.h | 23 + drivers/gpu/drm/shmobile/shmob_drm_crtc.c | 746 ++++++++++++++++++++++++ drivers/gpu/drm/shmobile/shmob_drm_crtc.h | 59 ++ drivers/gpu/drm/shmobile/shmob_drm_drv.c | 365 ++++++++++++ drivers/gpu/drm/shmobile/shmob_drm_drv.h | 52 ++ drivers/gpu/drm/shmobile/shmob_drm_gem.c | 195 ++++++ drivers/gpu/drm/shmobile/shmob_drm_gem.h | 46 ++ drivers/gpu/drm/shmobile/shmob_drm_kms.c | 211 +++++++ drivers/gpu/drm/shmobile/shmob_drm_kms.h | 44 ++ drivers/gpu/drm/shmobile/shmob_drm_plane.c | 240 ++++++++ drivers/gpu/drm/shmobile/shmob_drm_plane.h | 22 + drivers/gpu/drm/shmobile/shmob_drm_regs.h | 304 ++++++++++ drivers/video/sh_mobile_lcdcfb.c | 18 +- drivers/video/sh_mobile_meram.c | 24 +- include/drm/drm_fourcc.h | 2 + include/drm/shmob_drm.h | 99 ++++ include/video/sh_mobile_meram.h | 28 + 22 files changed, 2563 insertions(+), 23 deletions(-) create mode 100644 drivers/gpu/drm/shmobile/Kconfig create mode 100644 drivers/gpu/drm/shmobile/Makefile create mode 100644 drivers/gpu/drm/shmobile/shmob_drm_backlight.c create mode 100644 drivers/gpu/drm/shmobile/shmob_drm_backlight.h create mode 100644 drivers/gpu/drm/shmobile/shmob_drm_crtc.c create mode 100644 drivers/gpu/drm/shmobile/shmob_drm_crtc.h create mode 100644 drivers/gpu/drm/shmobile/shmob_drm_drv.c create mode 100644 drivers/gpu/drm/shmobile/shmob_drm_drv.h create mode 100644 drivers/gpu/drm/shmobile/shmob_drm_gem.c create mode 100644 drivers/gpu/drm/shmobile/shmob_drm_gem.h create mode 100644 drivers/gpu/drm/shmobile/shmob_drm_kms.c create mode 100644 drivers/gpu/drm/shmobile/shmob_drm_kms.h create mode 100644 drivers/gpu/drm/shmobile/shmob_drm_plane.c create mode 100644 drivers/gpu/drm/shmobile/shmob_drm_plane.h create mode 100644 drivers/gpu/drm/shmobile/shmob_drm_regs.h create mode 100644 include/drm/shmob_drm.h -- Regards, Laurent Pinchart _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/dri-devel