From patchwork Thu Apr 7 22:14:43 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [Natty,pull-request] DRM driver for OMAP 3 From: Ricardo Salveti de Araujo X-Patchwork-Id: 90239 Message-Id: To: kernel-team Date: Thu, 7 Apr 2011 19:14:43 -0300 Please pull to include the new DRM driver for OMAP 3. This driver supports the framebuffer driver, exports hooks for the PVR driver and also probe and parse the monitor EDID, trying to set the best resolution available. With this driver I'm able to get resolutions up to 1400x900@60-32bit, as it can't go higher because of the pixel clock limitation. The following patches touches mostly just omap related files, and the ones that are more generic are also only related with platform devices. BugLink: https://bugs.launchpad.net/bugs/753071 The following changes since commit 3be40f15181ec49ac96235f746ec651b38015862: staging: rts_pstor: set lun_mode in a different place (2011-04-07 14:43:01 -0600) are available in the git repository at: git://kernel.ubuntu.com/rsalveti/ubuntu-natty.git omap3-drm Jeff McGee (1): drm: Call platform register/unregister for platform drivers. Ricardo Salveti de Araujo (5): drm/omap: add common scaled modes OMAP2: DSS2: Adding i2c_bus_num to panel_generic_dpi_data to probe the eeprom OMAP: DSS2: add get_edid and is_detected support drm/omap: adding MODULE_ALIAS UBUNTU: [Config] enable CONFIG_DRM_OMAP=m and CONFIG_OMAP2_DSS_USE_DSI_PLL=y for omap Rob Clark (10): OMAP: DSS2: Expose API to get edid OMAP: DSS2: Add default get/check timings functions OMAP: DSS2: Add is_detected() driver API OMAP: DSS2: Add hotplug notify events OMAP: DSS2: Add missing color formats drm: psuedocolor support for ARGB modes drm: platform multi-device support fbops support for framebuffers with alpha channel Adding omap_gpu drm display driver omap2+: fix number of omap_vout resources Sebastien Jan (1): OMAP4: DSS: add generic notifier mechanism Sumit Semwal (1): OMAP2, 3: DSS2: Create new file display.c for central dss driver registration. arch/arm/mach-omap2/Makefile | 3 + arch/arm/mach-omap2/board-3430sdp.c | 1 + arch/arm/mach-omap2/board-am3517evm.c | 2 + arch/arm/mach-omap2/board-cm-t35.c | 2 + arch/arm/mach-omap2/board-devkit8000.c | 2 + arch/arm/mach-omap2/board-igep0020.c | 1 + arch/arm/mach-omap2/board-omap3beagle.c | 1 + arch/arm/mach-omap2/board-omap3evm.c | 1 + arch/arm/mach-omap2/board-omap3stalker.c | 2 + arch/arm/mach-omap2/devices.c | 27 +- arch/arm/mach-omap2/display.c | 45 ++ arch/arm/plat-omap/include/plat/display.h | 50 ++ .../arm/plat-omap/include/plat/panel-generic-dpi.h | 2 + debian.master/config/amd64/config.common.amd64 | 5 + debian.master/config/armel/config.flavour.omap | 5 + .../config/armel/config.flavour.versatile | 5 + debian.master/config/config.common.ubuntu | 9 +- debian.master/config/i386/config.common.i386 | 5 + debian.master/config/powerpc/config.common.powerpc | 5 + debian.master/config/ppc64/config.common.ppc64 | 5 + drivers/gpu/drm/Kconfig | 24 + drivers/gpu/drm/Makefile | 1 + drivers/gpu/drm/drm_drv.c | 11 +- drivers/gpu/drm/drm_fb_helper.c | 5 + drivers/gpu/drm/drm_info.c | 4 +- drivers/gpu/drm/drm_ioctl.c | 5 +- drivers/gpu/drm/drm_pci.c | 17 + drivers/gpu/drm/drm_platform.c | 7 +- drivers/gpu/drm/omap/Makefile | 8 + drivers/gpu/drm/omap/omap_connector.c | 504 +++++++++++++ drivers/gpu/drm/omap/omap_crtc.c | 277 +++++++ drivers/gpu/drm/omap/omap_encoder.c | 198 +++++ drivers/gpu/drm/omap/omap_fb.c | 368 ++++++++++ drivers/gpu/drm/omap/omap_fbdev.c | 298 ++++++++ drivers/gpu/drm/omap/omap_gpu.c | 752 ++++++++++++++++++++ drivers/gpu/drm/omap/omap_gpu_priv.h | 80 ++ drivers/video/cfbfillrect.c | 2 +- drivers/video/cfbimgblt.c | 5 +- drivers/video/fb_draw.h | 14 + drivers/video/omap2/displays/panel-generic-dpi.c | 99 +++ drivers/video/omap2/dss/core.c | 9 + drivers/video/omap2/dss/display.c | 75 ++ drivers/video/omap2/dss/dss_features.c | 6 +- drivers/video/omap2/omapfb/Kconfig | 4 +- drivers/video/sysfillrect.c | 2 +- drivers/video/sysimgblt.c | 6 +- include/drm/drmP.h | 4 +- include/linux/Kbuild | 1 + include/linux/omap_gpu.h | 84 +++ 49 files changed, 3016 insertions(+), 32 deletions(-) create mode 100644 arch/arm/mach-omap2/display.c create mode 100644 drivers/gpu/drm/omap/Makefile create mode 100644 drivers/gpu/drm/omap/omap_connector.c create mode 100644 drivers/gpu/drm/omap/omap_crtc.c create mode 100644 drivers/gpu/drm/omap/omap_encoder.c create mode 100644 drivers/gpu/drm/omap/omap_fb.c create mode 100644 drivers/gpu/drm/omap/omap_fbdev.c create mode 100644 drivers/gpu/drm/omap/omap_gpu.c create mode 100644 drivers/gpu/drm/omap/omap_gpu_priv.h create mode 100644 include/linux/omap_gpu.h