Hi everybody, Here's the second version of the 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 three patches will go through the fbdev tree, but I've included them here in case someone woud like to compile the code. The next two are included for convenience as well, they have been posted separately to the dri-devel mailing list. The sixth 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. Last but not least, the last patch is the SH Mobile LCDC DRM driver. I've hopefully incorporated all comments received during review. Major changes since v1 include usage of the new GEM and FB CMA helpers, proper handling of the NV24/NV42 formats in the DRM core, and proper checking and handling of frame buffer pitches and offsets. If time permits (and no issue is found during review) I'd be happy to get this included in v3.6. Lars-Peter Clausen (1): DRM: Add DRM kms/fb cma helper Laurent Pinchart (5): sh_mobile_meram: Rename operations to cache_[alloc|free|update] sh_mobile_meram: Use direct function calls for the public API sh_mobile_meram: Add direct MERAM allocation API drm: Add NV24 and NV42 pixel formats drm: Renesas SH Mobile DRM driver Sascha Hauer (1): DRM: add drm gem CMA helper drivers/gpu/drm/Kconfig | 18 + drivers/gpu/drm/Makefile | 3 + drivers/gpu/drm/drm_crtc.c | 6 + drivers/gpu/drm/drm_fb_cma_helper.c | 406 +++++++++++++ drivers/gpu/drm/drm_gem_cma_helper.c | 251 ++++++++ drivers/gpu/drm/shmobile/Kconfig | 10 + drivers/gpu/drm/shmobile/Makefile | 7 + drivers/gpu/drm/shmobile/shmob_drm_backlight.c | 90 +++ drivers/gpu/drm/shmobile/shmob_drm_backlight.h | 23 + drivers/gpu/drm/shmobile/shmob_drm_crtc.c | 768 ++++++++++++++++++++++++ drivers/gpu/drm/shmobile/shmob_drm_crtc.h | 60 ++ drivers/gpu/drm/shmobile/shmob_drm_drv.c | 360 +++++++++++ drivers/gpu/drm/shmobile/shmob_drm_drv.h | 52 ++ drivers/gpu/drm/shmobile/shmob_drm_kms.c | 160 +++++ drivers/gpu/drm/shmobile/shmob_drm_kms.h | 34 + drivers/gpu/drm/shmobile/shmob_drm_plane.c | 263 ++++++++ drivers/gpu/drm/shmobile/shmob_drm_plane.h | 22 + drivers/gpu/drm/shmobile/shmob_drm_regs.h | 304 ++++++++++ drivers/video/sh_mobile_lcdcfb.c | 47 +- drivers/video/sh_mobile_lcdcfb.h | 2 +- drivers/video/sh_mobile_meram.c | 235 ++++---- include/drm/drm_fb_cma_helper.h | 27 + include/drm/drm_fourcc.h | 2 + include/drm/drm_gem_cma_helper.h | 44 ++ include/drm/shmob_drm.h | 99 +++ include/video/sh_mobile_meram.h | 71 ++- 26 files changed, 3212 insertions(+), 152 deletions(-) create mode 100644 drivers/gpu/drm/drm_fb_cma_helper.c create mode 100644 drivers/gpu/drm/drm_gem_cma_helper.c 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_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/drm_fb_cma_helper.h create mode 100644 include/drm/drm_gem_cma_helper.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