summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-09-01OMAP: DSS2: DISPC: Fix minimum PCD valuetilt-3.0-nodspvideo1-11-09-01Tomi Valkeinen
The current driver had a hardcoded minimum value of 2 for pixel clock divisor (PCD). This doesn't seem to be right. OMAP4 TRM says that PCD can be 1 when not downscaling, and inverted pixel clock (IPC) is off. OMAP3 TRM says the same, but also in the register descriptions that PCD value 1 is invalid. OMAP2 TRM says PCD 2 is the minimum. OMAP2 is still untested, but for both OMAP3 and OMAP4 PCD of 1 seems to work fine. This patch adds a new DSS feature, FEAT_PARAM_DSS_PCD, which is used to find the minimum and maximum PCD. The minimum is set to 2 for OMAP2, and 1 for OMAP3/4. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2011-09-01OMAP: DSS2: HDMI: change regn definitionTomi Valkeinen
regn divider is currently programmed to the registers without change, but when calculating clock frequencies it is used as regn+1. To make this similar to how DSI handles the dividers this patch changes the regn value to be used as such for calculations, but the value programmed to registers is regn-1. This simplifies the clock frequency calculations, makes it similar to DSI, and also allows us to use regn value 0 as undefined. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2011-09-01OMAP: DSS2: HDMI: use default dividersTomi Valkeinen
Use default regn and regm2 dividers in the hdmi driver if the board file does not define them. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2011-09-01PVR driver is now out of treeXavier Boudet
Signed-off-by: Xavier Boudet <x-boudet@ti.com>
2011-09-01Update config for DRM supportXavier Boudet
Signed-off-by: Xavier Boudet <x-boudet@ti.com>
2011-09-01Add force parameter to is_detectedXavier Boudet
Signed-off-by: Xavier Boudet <x-boudet@ti.com>
2011-09-01Kernel changes for hwmod and omap_device initialization for GPU.Hemant Hariyani
Change-Id: I4bd96e76af31d0991ce9e67b0c499f0d6f39a1a8 Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@canonical.com>
2011-09-01omap2+: add drm deviceRob Clark
Register drm platform device, and a platform device for pvr module in case it is loaded.. Maybe this should be added to a new file?
2011-09-01drm/omap: add common scaled modesRicardo Salveti de Araujo
The idea behind it is just to add more modes, and add them with reduced blanking, so we have more choices while probing the EDID. It tries to identify what would be the native mode for the monitor, and add the scaler modes that would be compatible with it, but with reduced blanking. With that it can get more compatible modes with OMAP pixel clock. Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@canonical.com>
2011-09-01drm/omap: make module unloading workTomi Valkeinen
Uninitialize properly to make module unloading work. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2011-09-01Add omap drm display driverRob Clark
A DSS based DRM display driver, which provides a plugin interface for 3d/2d accelerators to register. The core driver handles construction of CRTC/encoder/connectors to represent the hardware, and support KMS. This driver replaces omapfb. The omap drm driver allocates framebuffer memory and implements (with the help of drm_fb_helper) the legacy fbdev interface. The driver maps CRTCs to overlays, encoders to overlay-managers, and connectors to dssdev's. Signed-off-by: Rob Clark <rob@ti.com> Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@canonical.com>
2011-09-01drm/gem: add functions for mmap offset creationRob Clark
Signed-off-by: Rob Clark <rob@ti.com>
2011-09-01gem: RFC: add support for private objectsAlan Cox
These small changes should allow GEM to be used with non shmem objects as well as shmem objects. In the GMA500 case it allows the base framebuffer to appear as a GEM object and thus acquire a handle and work with KMS. For i915 it ought to be trivial to get back the wasted memory but putting the system fb back into stolen RAM and in general I can imagine it allowing the use of GEM and thus KMS with all the older cards that have their framebuffer firmly placed in video RAM. Signed-off-by: Alan Cox <alan@linux.intel.com>
2011-09-01drm: platform multi-device supportRob Clark
Include the device id in the bus-id to give userspace a way to open the correct "cardN" when there are multiple device instances. Signed-off-by: Rob Clark <rob@ti.com>
2011-09-01OMAP: DSS: HDMI: tame hdmi driverRob Clark
Main change is to avoid automatically picking timings. Now the driver defaults to a safe 640x480, and leaves it to the upper layer (drm driver) to pick the desired resolution based on what the user selects and the drm infrastucture's parsing of the EDID.
2011-09-01DSS2: Adding i2c_bus_num to panel_generic_dpi_data to probe the eeprom for pandaXavier Boudet
This update was missing for Panda. Signed-off-by: Xavier Boudet <x-boudet@ti.com>
2011-08-28smsc95xx: Add module parameter to override MAC addressSebastien Jan
Define a new module parameter 'macaddr' to override the MAC address fetched either from eeprom, or randomly generated. The expected MAC address shall be in the 01:23:45:67:89:AB format. Signed-off-by: Sebastien Jan <s-jan@ti.com>
2011-08-28usb: ehci: fix update qtd->token in qh_append_tdsMing Lei
This patch fixs one performance bug on ARM Cortex A9 dual core platform, which has been reported on quite a few ARM machines(OMAP4, Tegra 2, snowball...), see details from link of https://bugs.launchpad.net/bugs/709245. In fact, one mb() on ARM is enough to flush L2 cache, but 'dummy->hw_token = token;' after mb() is added just for obeying correct mb() usage. The patch has been tested ok on OMAP4 panda A1 board, the performance of 'dd' over usb mass storage can be increased from 4~5MB/sec to 14~16MB/sec after applying this patch. Signed-off-by: Ming Lei <ming.lei@canonical.com>
2011-08-25Subject: drivers:misc: ti-st: reinit completion on ver readPavan Savoy
X-Git-Tag: next-20110823~95^2~5 X-Git-Url: http://git.kernel.org/?p=linux%2Fkernel%2Fgit%2Fnext%2Flinux-next.git;a=commitdiff_plain;h=74a4fcf19eed6550651f455db5741fd216b4f004 drivers:misc: ti-st: reinit completion on ver read After the version information has been read, the completion which assists in wait_for_completion during the firmware send/wait sequence is being re-used and hence this needs to be re-initialised for fool proof firmware download retries. Signed-off-by: Pavan Savoy <pavan_savoy@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-08-25From 78bb9697e2c4b62c426f1a2571c293a2e4463adf Mon Sep 17 00:00:00 2001Vijay Badawadagi
Subject: [PATCH] drivers:misc: ti-st: fail-safe on wrong pkt type Texas Instrument's shared transport driver interpret incoming data from the UART based on the various protocol drivers registered to the driver such as btwilink driver or FM or GPS driver which provide logical channel IDs. In case of bad-behavior from chip such as HCI Event response for a GPS command or a HCI Event (h/w error event) for a FM response & In case of bad-behavior from UART driver such as dropping data bytes a fail-safe is required to avoid kernel panic. Signed-off-by: Pavan Savoy <pavan_savoy@ti.com> Signed-off-by: Vijay Badawadagi <bvijay@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-08-25Remove last 256MB from being listed as "unaccessable"David A. Long
Signed-off-by: David A Long <dave.long@linaro.org>
2011-08-25OMAP4: SGX-KM: Enable SGX initialisationVikram Pandita
Added most of the generic GPU initialisation code to mach-omap2. Change-Id: I90f137c18dcb79aa9b65761147d0aedeed021a27 Signed-off-by: Tony Lofthouse <tony.lofthouse@ti.com> Signed-off-by: Vikram Pandita <vikram.pandita@ti.com> Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@canonical.com> Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@linaro.org>
2011-08-25Kernel changes for hwmod and omap_device initialization for GPU.Hemant Hariyani
Change-Id: I4bd96e76af31d0991ce9e67b0c499f0d6f39a1a8 Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@canonical.com>
2011-08-25config non drm sgxAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-08-25sgx remove HW_RECOVERY only for x buildAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-08-25sgx meddle into lifeAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-08-25debug dssAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-08-25sgx adapt platform driverAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-08-25sgx fix SPIN_LOCK_UNLOCKEDAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-08-25sgx stop pretending we can set sgx clock at the momentAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-08-25sgx fix gpu includeAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-08-25OMAP USB gcc4.6 usb fixKhem Raj
https://lists.yoctoproject.org/pipermail/poky/2011-June/006646.html Signed-off-by: Andy Green <andy.green@linaro.org>
2011-08-25omap4 sgx uplevel pvr drmAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-08-25omap4 sgx fix console lockingAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-08-25Subject: [PATCH 5/5] OMAP4: SGX-KM: Enable DRM support in SGX DriverHemant Hariyani
This patch enables DRM support in SGX driver. Change-Id: I346589d12ef685a4b33b56842d86fcf8c5fdc718 Signed-off-by: Hemant Hariyani <hemanthariyani@ti.com>
2011-08-25Subject: [PATCH 4/5] OMAP4:SGX-KM: Adding DRM support to 3PDDHemant Hariyani
This patch adds DRM support to 3rd party display driver. As a consequence, omaplfb sysfs entries do not work anymore and need to be reworked. Change-Id: I2af145d15138ee441c3708ec40fb8bea7a9a70bd Signed-off-by: Hemant Hariyani <hemanthariyani@ti.com>
2011-08-25Subject: [PATCH 3/5] OMAP4: SGX-KM: Correct device name for Android kernelHemant Hariyani
Currently, Android kernel uses pvrsrvkm device name.This was being set to omap_gpu and hence DRM initialization fails. Setting SYS_SGX_DEV_NAME correctly to pvrsrvkm. If changed in kernel, this should be changed again. Change-Id: I25ab8ce865ecc19df3398ad2dd05a58a063e0686 Signed-off-by: Hemant Hariyani <hemanthariyani@ti.com>
2011-08-25Subject: [PATCH 2/5] OMAP4: SGX-KM: Fix PVR_BUILD_DATEHemant Hariyani
PVR_BUILD_DATE was not being assigned. This patch fixes it. This is required for DRI/DRM based SGX driver. Change-Id: I6df3b1237b223a392b5c91bfffa4897906b997e8 Signed-off-by: Hemant Hariyani <hemanthariyani@ti.com>
2011-08-25Subject: [PATCH 1/5] OMAP4: SGX-KM: Adding PVR DRM files to Android DDK KM ↵Hemant Hariyani
(1.7.17.4403) These files are required for DRI/DRM based implementation of the SGX driver. Change-Id: I513e31ab8d4c6efdcfb56dde8a485f51576ebeca Signed-off-by: Hemant Hariyani <hemanthariyani@ti.com>
2011-08-25sgx defeat clock disableAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-08-25SGX differentiate between android kernel buildAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-08-25SGX uplevel init_MUTEX to sempahore_initAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-08-25SGX fix declare mutex to define semaphoreAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-08-25SGX adapt physical addresses in cache opsAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-08-25SGX add outercache includeAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-08-25SGX null out manual overlay update stuff that has goneAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-08-25SGX fix workqueue allocationAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-08-25SGX adapt console sem to console_lockAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-08-25SGX only use earlysuspend if configuredAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>
2011-08-25SGX remove config.h referenceAndy Green
Signed-off-by: Andy Green <andy.green@linaro.org>