aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-03-26drm/nve0/fifo: attempt to recover engines from mmu faultsBen Skeggs1-2/+87
Signed-off-by: Ben Skeggs <[email protected]>
2014-03-26drm/nve0/fifo: allow copy engine channel to be looked up by instanceBen Skeggs1-0/+2
Signed-off-by: Ben Skeggs <[email protected]>
2014-03-26drm/nve0/fifo: use runlist event instead of pollingBen Skeggs1-1/+3
Signed-off-by: Ben Skeggs <[email protected]>
2014-03-26drm/nve0/fifo: allow channels to be marked as unrunnableBen Skeggs1-13/+24
Signed-off-by: Ben Skeggs <[email protected]>
2014-03-26drm/nve0/fifo: single printk for sched error dataBen Skeggs1-4/+10
Signed-off-by: Ben Skeggs <[email protected]>
2014-03-26drm/nve0/fifo: single printk for mmu fault dataBen Skeggs1-72/+92
Signed-off-by: Ben Skeggs <[email protected]>
2014-03-26drm/nve0/fifo: ack pb intr individually after handling each unitBen Skeggs1-66/+63
Signed-off-by: Ben Skeggs <[email protected]>
2014-03-26drm/nve0/fifo: runlist intrBen Skeggs1-10/+17
Signed-off-by: Ben Skeggs <[email protected]>
2014-03-26drm/nve0/fifo: engine intrBen Skeggs1-1/+7
Signed-off-by: Ben Skeggs <[email protected]>
2014-03-26drm/nve0/fifo: mask unhandled intr bits when seen, rather than all intrsBen Skeggs1-2/+2
Signed-off-by: Ben Skeggs <[email protected]>
2014-03-26drm/nvc0/fifo: attempt to recover from engine ctxsw timeoutsBen Skeggs1-0/+34
My test cases don't seem to trigger this on all Fermi boards, not sure if they're broken tests or it didn't work until later versions. GF119 definitely works. Signed-off-by: Ben Skeggs <[email protected]>
2014-03-26drm/nvc0/fifo: attempt to recover engines from mmu faultsBen Skeggs1-2/+103
Signed-off-by: Ben Skeggs <[email protected]>
2014-03-26drm/nvc0/fifo: use subdev identifiers for bar/ifb fault recovery casesBen Skeggs2-18/+16
Signed-off-by: Ben Skeggs <[email protected]>
2014-03-26drm/nvc0/fifo: use runlist event instead of pollingBen Skeggs1-2/+4
Signed-off-by: Ben Skeggs <[email protected]>
2014-03-26drm/nvc0/fifo: allow channels to be marked as unrunnableBen Skeggs1-10/+22
Signed-off-by: Ben Skeggs <[email protected]>
2014-03-26drm/nvc0/fifo: sched intrBen Skeggs1-2/+22
Signed-off-by: Ben Skeggs <[email protected]>
2014-03-26drm/nvc0/fifo: single printk for mmu fault dataBen Skeggs1-33/+52
Signed-off-by: Ben Skeggs <[email protected]>
2014-03-26drm/nvc0/fifo: ack pb intr individually after handling each unitBen Skeggs1-42/+40
Signed-off-by: Ben Skeggs <[email protected]>
2014-03-26drm/nvc0/fifo: runlist intrBen Skeggs1-14/+32
Signed-off-by: Ben Skeggs <[email protected]>
2014-03-26drm/nvc0/fifo: engine intrBen Skeggs1-12/+40
Signed-off-by: Ben Skeggs <[email protected]>
2014-03-26drm/nvc0/fifo: mask unhandled intr bits when seen, rather than all intrsBen Skeggs1-2/+2
Signed-off-by: Ben Skeggs <[email protected]>
2014-03-26drm/nvc0/fifo: rename a couple of unitsBen Skeggs1-22/+22
Signed-off-by: Ben Skeggs <[email protected]>
2014-03-26drm/nvd0/disp: add debugging to show which supervisor actions are takenBen Skeggs1-1/+6
Signed-off-by: Ben Skeggs <[email protected]>
2014-03-26drm/nv50-/disp: dump channel state when update method failsBen Skeggs2-12/+81
Signed-off-by: Ben Skeggs <[email protected]>
2014-03-26drm/nv50-/disp: allow dumping core channel state at first supervisor intrBen Skeggs2-0/+4
Signed-off-by: Ben Skeggs <[email protected]>
2014-03-26drm/nv50-/disp: add method descriptions for debuggingBen Skeggs9-0/+1023
Lists of known methods for the DMA channel classes, and mappings to their priv register addresses (where known). Signed-off-by: Ben Skeggs <[email protected]>
2014-03-26drm/nv50/disp: decode the known error codes to human readable formBen Skeggs1-20/+43
Signed-off-by: Ben Skeggs <[email protected]>
2014-03-26drm/nv50/disp: preparation for storing static class dataBen Skeggs20-121/+181
Signed-off-by: Ben Skeggs <[email protected]>
2014-03-26drm/nouveau/core: extend width of engine mask for namedbBen Skeggs2-2/+2
Signed-off-by: Ben Skeggs <[email protected]>
2014-03-26drm/nouveau/bios: fix INDEX_ADDRESS_LATCHED trace printoutIlia Mirkin1-3/+2
Having a \n in the middle of a format string means that the next line doesn't get the prefixes unlike every other line printed by the trace. Signed-off-by: Ilia Mirkin <[email protected]> Signed-off-by: Ben Skeggs <[email protected]>
2014-03-26drm/nv50/gr: decode texture trap status codeIlia Mirkin1-0/+16
Signed-off-by: Ilia Mirkin <[email protected]> Signed-off-by: Ben Skeggs <[email protected]>
2014-03-26drm/nouveau: use nv_debug for NV_DEBUG, make DRM a separate subflagIlia Mirkin2-4/+3
It's really confusing for NV_DEBUG's printing to be controlled via drm.debug while everything else is controlled via nouveau.debug. These messages can be turned on with nouveau.debug=DRM=debug. Signed-off-by: Ilia Mirkin <[email protected]> Signed-off-by: Ben Skeggs <[email protected]>
2014-03-26drm/nouveau: make hdmi device finding failure prints debug levelIlia Mirkin1-6/+5
The hdmi device is required for runtime pm. However it is not available on many esp older devices, which were all seeing these error messages. Take this opportunity to also convert to nv_debug instead of the DRM_* messages, like the rest of nouveau does. Signed-off-by: Ilia Mirkin <[email protected]> Signed-off-by: Ben Skeggs <[email protected]>
2014-03-26drm/nve0/fifo: allocate usermem as neededAlexandre Courbot1-2/+2
Memory was always allocated for 4096 channels. Change this to allocate what we actually need according to the number of channels we use. Signed-off-by: Alexandre Courbot <[email protected]> Reviewed-by: Thierry Reding <[email protected]> Signed-off-by: Ben Skeggs <[email protected]>
2014-03-26drm/nouveau: handle -EACCES runtime PM return codeAlexandre Courbot3-4/+4
pm_runtime_get*() may return -EACCES to indicate a device does not have runtime PM enabled. This is currently the case with platform devices on Nouveau, and is not an error in that context. Handle this case without failure. Signed-off-by: Alexandre Courbot <[email protected]> Signed-off-by: Ben Skeggs <[email protected]>
2014-03-26drm/nouveau/abi16: fix handles past the 32nd oneIlia Mirkin1-2/+2
abi16->handles is a u64, so make sure to use 1ULL << val when modifying. Signed-off-by: Ilia Mirkin <[email protected]> Signed-off-by: Ben Skeggs <[email protected]>
2014-03-26drm/nouveau: replace ffsll with __ffs64Ilia Mirkin2-3/+3
The ffsll function is a lot slower than the __ffs64 built-in which compiles to a single instruction on 64-bit. It's also nice to avoid custom versions of standard functions. Note that __ffs == ffs - 1. Signed-off-by: Ilia Mirkin <[email protected]> Signed-off-by: Ben Skeggs <[email protected]>
2014-03-26drm/nouveau/hwmon: replace strict_strtol() with kstrtol()Jingoo Han1-2/+3
The usage of strict_strtol() is not preferred, because strict_strtol() is obsolete. Thus, kstrtol() should be used. Signed-off-by: Jingoo Han <[email protected]> Signed-off-by: Ben Skeggs <[email protected]>
2014-03-26drm/nouveau/hwmon: remove some redundant checksDan Carpenter1-8/+4
No need to check "ret" twice in a row. Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Ben Skeggs <[email protected]>
2014-03-26drm/nv50/graph: update status enum namesIlia Mirkin1-14/+15
Signed-off-by: Ilia Mirkin <[email protected]> Signed-off-by: Ben Skeggs <[email protected]>
2014-03-25drm/radeon: set PIPE_CONFIG for 1D and linear tiling modes on CIKMarek Olšák2-4/+26
This fixes fast color clear with 1D-tiled single-sample surfaces and Hyper-Z corruption with 1D-tiled depth surfaces. Even though it seems it is not needed for 1D tiling, CMASK and HTILE are always 2D-tiled, thus the hw needs to know the actual pipe configuration for CMASK and HTILE addressing no matter what the tiling mode of the surface is. Signed-off-by: Marek Olšák <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Signed-off-by: Christian König <[email protected]>
2014-03-25drm/radeon: use drm_dp_dpcd_read_link_status()Alex Deucher1-25/+5
Replace the radeon specific version with the generic version. Signed-off-by: Alex Deucher <[email protected]> Acked-by: Christian König <[email protected]>
2014-03-25drm/radeon: use the new drm helpers for dp auxAlex Deucher3-107/+104
Switch to the new dp helpers. The main difference is that the DP helpers don't allow an adjustable delay in the aux transaction, but I don't know that this is necessary. Signed-off-by: Alex Deucher <[email protected]> Acked-by: Christian König <[email protected]>
2014-03-25drm/dp: make aux retries less chattyAlex Deucher1-2/+2
Switch to debug only to avoid flooding the logs. This mirrors the behavior in some other drivers. Signed-off-by: Alex Deucher <[email protected]> Reviewed-by: Daniel Vetter <[email protected]> Acked-by: Christian König <[email protected]>
2014-03-25drm/radeon: clarify special handling in i2c over auxAlex Deucher1-20/+16
We need a special packet for the start and end of the transaction. Signed-off-by: Alex Deucher <[email protected]> Acked-by: Christian König <[email protected]>
2014-03-25drm/radeon/atom: rework encoder enable/disable sequenceAlex Deucher1-48/+34
This more closely matches what the vbios does and also adds a quirk for travis lvds displays and powers down the sink on DP displays which saves some power and may fix display issues in some cases. Signed-off-by: Alex Deucher <[email protected]> Acked-by: Christian König <[email protected]>
2014-03-25drm/radeon/dp: move sink power control to a separate functionAlex Deucher2-5/+23
This will be used elsewhere. Signed-off-by: Alex Deucher <[email protected]> Acked-by: Christian König <[email protected]>
2014-03-25drm/radeon/dp: use i2c_get_adapdata rather than castingAlex Deucher1-1/+1
Minor code cleanup. Signed-off-by: Alex Deucher <[email protected]> Acked-by: Christian König <[email protected]>
2014-03-24drm/bridge/ptn3460: fix modular buildDave Airlie1-1/+1
This failed to build =m, quick fix. Signed-off-by: Dave Airlie <[email protected]>
2014-03-24Merge branch 'exynos-drm-next' of ↵Dave Airlie40-2331/+2761
git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos into drm-next Highlights ---------- Re-factoring works over the exynos drm framework. - drm_crtc, drm_encoder/drm_connector are implemented by sub drivers directly. - Removing pm interfaces from each sub driver, and implementing them at top level of exynos drm. Add DisplayPort Transmitter driver. - Just moving existing driver from drivers/vides/exynos into drivers/gpu/drm/exynos. Add new LVDS bridge driver, PTN3460. - Placed in drivers/gpu/drm/bridge, and this device is used to transfer image signal from DP(DisplayPort) to LVDS Panel. So this driver will be used with DP driver moved into exynos drm. Add parallel panel support - With the re-factoring patch series, existing parallel panel support was broken by moving exynos_drm_display ops into each real connector driver, DP. So this patch series adds a new parallel panel module, exynos_drm_dpi, for supporting parallel panel, and also adds relevant bindings. Some fixups and cleanups. * 'exynos-drm-next' of git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos: (45 commits) drm/exynos: fimd: remove unused variable ARM: dts: exynos4210-universal: add exynos/fimd node drm/exynos: restore parallel output interface support exynos/fimd: add parallel output related bindings drm/exynos: correct timing porch conversion drm/exynos: init kms poll after creation of connectors drm/exynos: delay fbdev initialization until an output is connected drm/exynos: fix unnecessary resource cleanup drm/exynos: hdmi: use i2c_adapter instead of i2c_client drm/exynos: hdmi: consider APB PHY drm/exynos: Remove the exynos_drm_connector shim drm/exynos: Implement lvds bridge discovery to DP driver drm/bridge: Add PTN3460 bridge driver drm/exynos: Implement drm_connector directly in vidi driver drm/exynos: Implement drm_connector directly in dp driver drm/exynos: Implement drm_connector in hdmi directly drm/exynos: Add create_connector callback drm/exynos: Consolidate suspend/resume in drm_drv drm/exynos: Clean up FIMD power on/off routines drm/exynos: Implement dpms display callback in DP ...