[git pull] drm fixes

2016-02-19 Thread Dave Airlie
Hi Linus, Some more fixes trickled in, A bunch of VC4 ones since it's a pretty new driver not much chance of regressions, and it fixes GPU resets. One atomic fix, one set of fixes for a common bug in TTM cleanup, and one i915 hotplug fix. Dave. The following changes since commit 705d43dbe10d6

[Bug 93652] Random crashes/freezing with amdgpu Fury X mesa 11.1

2016-02-19 Thread bugzilla-dae...@freedesktop.org
ecause: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160219/1f8d2f5f/attachment.html>

[Bug 93594] Flickering Shadows in The Talos Principle

2016-02-19 Thread bugzilla-dae...@freedesktop.org
lt;https://lists.freedesktop.org/archives/dri-devel/attachments/20160219/44cc1bf1/attachment.html>

[PATCH 5/5] drm/radeon/pm: adjust display configuration after powerstate

2016-02-19 Thread Alex Deucher
set_power_state defaults to no displays, so we need to update the display configuration after setting up the powerstate on the first call. In most cases this is not an issue since ends up getting called multiple times at any given modeset and the proper order is achieved in the display changed hand

[PATCH 4/5] drm/amdgpu/pm: adjust display configuration after powerstate

2016-02-19 Thread Alex Deucher
set_power_state defaults to no displays, so we need to update the display configuration after setting up the powerstate on the first call. In most cases this is not an issue since ends up getting called multiple times at any given modeset and the proper order is achieved in the display changed hand

[PATCH 3/5] drm/amdgpu/pm: add some checks for PX

2016-02-19 Thread Alex Deucher
I.e., doesn't make sense to change power states or check the temperature when the asic is powered off. Acked-by: Harry Wentland Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | 21 - 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/driver

[PATCH 2/5] drm/amdgpu: fix locking in force performance level

2016-02-19 Thread Alex Deucher
Looks like a copy paste typo when we added powerplay support. Acked-by: Harry Wentland Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c b/drivers/gpu/drm/amd/amdgp

[PATCH 1/5] drm/amdgpu/gfx8: fix priv reg interrupt enable

2016-02-19 Thread Alex Deucher
Looks like a copy/paste typo. Noticed-by: David Panariti Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c index 8f8ec37..1c40bd

[PATCH 1/2] drm/radeon: Don't hang in radeon_flip_work_func on disabled crtc. (v2)

2016-02-19 Thread Alex Deucher
On Thu, Feb 18, 2016 at 8:16 PM, Michel Dänzer wrote: > On 19.02.2016 10:06, Mario Kleiner wrote: >> This fixes a regression introduced in Linux 4.4. >> >> Limit the amount of time radeon_flip_work_func can >> delay programming a page flip, by both limiting the >> maximum amount of time per wait

[Bug 93594] Flickering Shadows in The Talos Principle

2016-02-19 Thread bugzilla-dae...@freedesktop.org
s been implemented and will be part of the next update. -- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160219/fcc41311/attachment-0001.html>

[PATCH v10 2/2] drm/bridge: Add I2C based driver for ps8640 bridge

2016-02-19 Thread Jitao Shi
This patch adds drm_bridge driver for parade DSI to eDP bridge chip. Signed-off-by: Jitao Shi --- Changes since v9: - replace dev_kmalloc with devm_kmalloc in ps8640_get_modes - remove ps_bridge->dsi = devm_kzalloc(dev, sizeof(struct mipi_dsi_device), GFP

[PATCH v10 1/2] Documentation: bridge: Add documentation for ps8640 DT properties

2016-02-19 Thread Jitao Shi
Add documentation for DT properties supported by ps8640 DSI-eDP converter. Signed-off-by: Jitao Shi Acked-by: Rob Herring Reviewed-by: Philipp Zabel --- Changes since v9: - No change --- .../devicetree/bindings/display/bridge/ps8640.txt | 43 1 file changed, 43 inserti

[PATCH 1/4] drm: Add support of ARC PGU display controller

2016-02-19 Thread Alexey Brodkin
ev = NULL; + return -ENODEV; + } + + platform_set_drvdata(pdev, arcpgu); + return 0; +} + +int arcpgu_unload(struct drm_device *drm) +{ + struct arcpgu_drm_private *arcpgu = drm->dev_private; + + if (arcpgu->fbdev) { + drm_fbdev_cma_fini(ar

userptr support in drm drivers

2016-02-19 Thread Christian König
> If a minority of users need to opt out from MMU_NOTIFIER, then > DRM_RADEON_USERPTR and friends should default to y and be hidden behind > EXPERT. That way you avoid asking yet more questions to everyone else. > Would that work for you? No, just the other way around. When MMU_NOTIFIER is selecte

[PATCH 5/5] drm/i915: Implement color management on chv

2016-02-19 Thread Lionel Landwerlin
Patch based on a previous series by Shashank Sharma. v2: Update contributors v3: Refactor degamma/gamma LUTs load into a single function Signed-off-by: Shashank Sharma Signed-off-by: Lionel Landwerlin Signed-off-by: Kumar, Kiran S Signed-off-by: Kausal Malladi --- drivers/gpu/drm/i915/i915_

[PATCH 4/5] drm/i915: Implement color management on bdw/skl/bxt/kbl

2016-02-19 Thread Lionel Landwerlin
Patch based on a previous series by Shashank Sharma. v2: Do not read GAMMA_MODE register to figure what mode we're in v3: Program PREC_PAL_GC_MAX to clamp pixel values > 1.0 Add documentation on how the Broadcast RGB property is affected by CTM v4: Update contributors v5: Refactor degamma/

[PATCH 3/5] drm: introduce pipe color correction properties

2016-02-19 Thread Lionel Landwerlin
Patch based on a previous series by Shashank Sharma. This introduces optional properties to enable color correction at the pipe level. It relies on 3 transformations applied to every pixels displayed. First a lookup into a degamma table, then a multiplication of the rgb components by a 3x3 matrix

[PATCH 2/5] drm/i915: Do not read GAMMA_MODE register

2016-02-19 Thread Lionel Landwerlin
Implement Daniel Stone's recommendation to not read registers to infer the hardware's state. Signed-off-by: Lionel Landwerlin --- drivers/gpu/drm/i915/intel_color.c | 7 +-- drivers/gpu/drm/i915/intel_drv.h | 3 +++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/drivers/gpu

[PATCH 1/5] drm/i915: Extract out gamma table and CSC to their own file

2016-02-19 Thread Lionel Landwerlin
The moves a couple of functions programming the gamma LUT and CSC units into their own file. On generations prior to Haswell there is only a gamma LUT. From haswell on there is also a new enhanced color correction unit that isn't used yet. This is why we need to set the GAMMA_MODE register, either

[PATCH 0/5] Pipe level color management V5

2016-02-19 Thread Lionel Landwerlin
This series introduces pipe level color management through a set of properties attached to the CRTC. It also provides an implementation for some Intel platforms. This series is based of a previous set of patches by Shashank Sharma. Cheers, Lionel Lionel Landwerlin (5): drm/i915: Extract out g

userptr support in drm drivers

2016-02-19 Thread Jean Delvare
Hi Christian, On Thu, 18 Feb 2016 10:48:18 +0100, Christian König wrote: > Am 18.02.2016 um 09:59 schrieb Jean Delvare: > > Maybe I was not clear enough in my original post, but I am really > > advocating for FEWER kconfig options, not more. Plus I just explained > > why I think the radeon and am

duplicated patch on drm-intel-nightly

2016-02-19 Thread Rodrigo Vivi
Hi all, We have a duplicated patch on drm-intel-nightly commits d7006964d and cc1de6e80q causing: drivers/gpu/drm//amd/amdgpu/amdgpu_ttm.c:818:6: error: redefinition of ‘amdgpu_ttm_tt_affect_userptr’ bool amdgpu_ttm_tt_affect_userptr(struct ttm_tt *ttm, unsigned long start, ^ drivers

[Bug 94212] wine 3D game window tearing,flicker using dri_prime=1, thinkpad W500 gpu intel GM45 + radeon firegl v5700

2016-02-19 Thread bugzilla-dae...@freedesktop.org
ging 1.9.3 binary deb, also show up the same problem that make games unplayable particularly eating video card games. I'm not sure what cause the problem. Does mesa dri_prime way exists some bugs, or it's wine bugs, or i miss something? Oh, 2D games looks good without the problem. Thanks. -- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160219/9a57b3b7/attachment-0001.html>

[PATCH 2/3] drm/nouveau: use post-decrement in error handling

2016-02-19 Thread Ben Skeggs
-- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160219/4a909235/attachment.sig>

[Intel-gfx] [PATCH] drm/atomic: Allow for holes in connector state.

2016-02-19 Thread Dave Airlie
On 16 February 2016 at 21:37, Ville Syrjälä wrote: > On Mon, Feb 15, 2016 at 02:17:01PM +0100, Maarten Lankhorst wrote: >> Because we record connector_mask using 1 << drm_connector_index now >> the connector_mask should stay the same even when other connectors >> are removed. This was not the ca

[GIT PULL] drm/vc4: changes for drm-fixes

2016-02-19 Thread Dave Airlie
On 18 February 2016 at 15:21, Eric Anholt wrote: > These changes have been on the list for over a week without comment, > so I think it might be an appropriate time to pull (without an active > development community, getting review will probably be hard). I'm > also curious when your window for t

[PATCH 33/33] drm/omap: check if rotation is supported before commit

2016-02-19 Thread Tomi Valkeinen
omapdrm is missing a check on the validity of the rotation property. This leads to omapdrm possibly trying to use rotation on non-rotateable framebuffer, which causes the overlay setup to fail. This patch adds the necessary check to omap_plane_atomic_check(). Signed-off-by: Tomi Valkeinen --- d

[PATCH 32/33] drm/omap: fix crtc->plane property delegation

2016-02-19 Thread Tomi Valkeinen
Before universal planes we had to have plane specific properties for the crtc too, as on the hardware level a crtc uses a plane. In other words, e.g. 'zorder' property was added to both planes and crtcs, and omap_crtc.c would delegate the property set/get to the primary plane. However, the delegat

[PATCH 31/33] drm/omap: EBUSY status handling in omap_gem_fault()

2016-02-19 Thread Tomi Valkeinen
From: Rob Clark Subsequent threads returning EBUSY from vm_insert_pfn() was not handled correctly. As a result concurrent access from new threads to mmapped data caused SIGBUS. See e79e0fe380847493266fba557217e2773c61bd1b ("drm/i915: EBUSY status handling added to i915_gem_fault()"). Signed-off

[PATCH 30/33] drm/omap: verify that fb plane pitches are the same

2016-02-19 Thread Tomi Valkeinen
The DSS hardware uses the same ROW_INC value for both Y and UV planes for NV12 format. This means that the pitches of the Y and UV planes have to match. omapdrm doesn't check this at the moment, and this can lead into a broken NV12 fb on the screen. This patch adds the check. Signed-off-by: Tomi

[PATCH 29/33] drm/omap: verify that display x-res is divisible by 8

2016-02-19 Thread Tomi Valkeinen
DISPC requires the x resolution to be divisible by 8 when stall mode is not used. Add a check to the DPI driver to verify this. Signed-off-by: Tomi Valkeinen --- drivers/gpu/drm/omapdrm/dss/dpi.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/omapdrm/dss/dpi.c b/drivers

[PATCH 28/33] drm/omap: HDMI5: allow interlace

2016-02-19 Thread Tomi Valkeinen
Now that interlace support has been added, we can remove the check that prevents interlace. Signed-off-by: Tomi Valkeinen --- drivers/gpu/drm/omapdrm/dss/hdmi5.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/gpu/drm/omapdrm/dss/hdmi5.c b/drivers/gpu/drm/omapdrm/dss/hdmi5.c inde

[PATCH 27/33] drm/omap: HDMI5: Add interlace support

2016-02-19 Thread Tomi Valkeinen
Add the missing bits for interlace: * Set VBLANK_OSC if the videomode's vblank is fractional * Halve the vertical timings for interlace * Double the horizontal timings for double-pixel mode * Set FC_PRCONF properly for double-pixel mode Signed-off-by: Tomi Valkeinen --- drivers/gpu/drm/omapdrm/

[PATCH 26/33] drm/omap: HDMI5: clean up timings copy

2016-02-19 Thread Tomi Valkeinen
The HDMI driver copies the timing values one by one. Instead we can just copy the whole struct. Signed-off-by: Tomi Valkeinen --- drivers/gpu/drm/omapdrm/dss/hdmi5_core.c | 13 ++--- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/drivers/gpu/drm/omapdrm/dss/hdmi5_core.c

[PATCH 25/33] drm/omap: HDMI5: Fix FC HSW value

2016-02-19 Thread Tomi Valkeinen
For some reason the HDMI FC's HSW value is programmed to hsw-1. There's no indication in the documentation that this would be correct, and no other blanking value needs -1 either. So remove the -1. Signed-off-by: Tomi Valkeinen --- drivers/gpu/drm/omapdrm/dss/hdmi5_core.c | 4 ++-- 1 file chang

[PATCH 24/33] drm/omap: DISPC: Fix field order for HDMI

2016-02-19 Thread Tomi Valkeinen
Interlace field order is different between VENC and HDMI. The driver currently sets the field order for VENC. This patch adds the code to set the field order for HDMI. Signed-off-by: Tomi Valkeinen --- drivers/gpu/drm/omapdrm/dss/dispc.c | 12 1 file changed, 12 insertions(+) diff

[PATCH 23/33] drm/omap: HDMI: fix WP timings for ilace

2016-02-19 Thread Tomi Valkeinen
The HDMI WP timings are not programmed correctly for interlace. We need to halve the vertical timings when interlace is used, and double the horizontal timings when pixel doubling is used. Signed-off-by: Tomi Valkeinen --- drivers/gpu/drm/omapdrm/dss/hdmi_wp.c | 18 -- 1 file ch

[PATCH 22/33] drm/omap: HDMI: Fix HSW value

2016-02-19 Thread Tomi Valkeinen
On OMAP4 and OMAP5 ES1.0 the HDMI_WP_VIDEO_TIMING_H:HSW field is set directly to the HSW value. On later SoCs the field needs to be programmed with the value of HSW-1. Currently the driver always programs the field with the HSW value. Most videomodes seem to work fine with that, but at least low r

[PATCH 21/33] drm/omap: HDMI: support double-pixel pixel clock

2016-02-19 Thread Tomi Valkeinen
We need double-pixel mode (pixel repetition) for interlace modes. This patch adds the necessary support to HDMI to double the pixel clock when double-pixel mode is used. Signed-off-by: Tomi Valkeinen --- drivers/gpu/drm/omapdrm/dss/hdmi4.c | 7 ++- drivers/gpu/drm/omapdrm/dss/hdmi5.c | 7 +++

[PATCH 20/33] drm/omap: support double-pixel

2016-02-19 Thread Tomi Valkeinen
We need double-pixel mode (pixel repetition) for interlace modes. This patch adds the necessary support to omapdrm to output double-pixel mode. Signed-off-by: Tomi Valkeinen --- drivers/gpu/drm/omapdrm/omap_connector.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/gpu/drm/omapd

[PATCH 19/33] drm/omap: DISPC: support double-pixel mode

2016-02-19 Thread Tomi Valkeinen
We need double-pixel mode (pixel repetition) for interlace modes. This patch adds the necessary support to DISPC to output double-pixel mode. Signed-off-by: Tomi Valkeinen --- drivers/gpu/drm/omapdrm/dss/dispc.c | 8 include/video/omapdss.h | 2 ++ 2 files changed, 10 insert

[PATCH 18/33] drm/omap: increase vblank wait timeout

2016-02-19 Thread Tomi Valkeinen
omap_crtc_wait_pending() waits until the config changes have been taken into use, usually at next vblank. The wait-timeout used is 50ms, which usually is enough, but in some rare cases not. As time wait-timeout is just a safety measure for cases where something is broken, we can just as well incre

[PATCH 17/33] drm/omap: remove support for ext mem & sync

2016-02-19 Thread Tomi Valkeinen
We no longer have the omapdrm plugin system for SGX, and we can thus remove the support for external memory and sync objects from omap_gem.c. Signed-off-by: Tomi Valkeinen --- drivers/gpu/drm/omapdrm/omap_gem.c | 91 +++--- 1 file changed, 16 insertions(+), 75 del

[PATCH 16/33] drm/omap: gem: Implement dma_buf import

2016-02-19 Thread Tomi Valkeinen
From: Laurent Pinchart OMAP GEM objects backed by dma_buf reuse the current OMAP GEM object support as much as possible. If the imported buffer is physically contiguous its physical address will be used directly, reusing the OMAP_BO_MEM_DMA_API code paths. Otherwise it will be mapped through the

[PATCH 15/33] drm/omap: gem: Refactor GEM object allocation

2016-02-19 Thread Tomi Valkeinen
From: Laurent Pinchart Split the individual steps of GEM object allocation and initialization clearly. This improves readability and prepares for dma_buf import support. Signed-off-by: Laurent Pinchart Signed-off-by: Tomi Valkeinen --- drivers/gpu/drm/omapdrm/omap_gem.c | 75 +

[PATCH 14/33] drm/omap: gem: Clean up GEM objects memory flags

2016-02-19 Thread Tomi Valkeinen
From: Laurent Pinchart The driver assumes that only objects backed by shmem need to be mapped through DMM. While this is true with the current code, the assumption won't hold with dma_buf import support. Condition the mapping based on whether the buffer has been allocated using the DMA mapping A

[PATCH 13/33] drm/omap: print an error if display enable fails

2016-02-19 Thread Tomi Valkeinen
If the panel's enable fails, omap_encoder silently ignores the failure. omapdrm should really handle the failure, but unfortunately the whole encoder enable codepath is expected to always succeed. So for now, catch the enable failure and print an error. Signed-off-by: Tomi Valkeinen --- drivers

[PATCH 12/33] drm/omap: use dma_mapping_error in omap_gem_dma_sync

2016-02-19 Thread Tomi Valkeinen
omap_gem_dma_sync() calls dma_map_page() but does not check the possible error with dma_mapping_error(). If DMA-API debugging is enabled, the debug layer will give a warning if dma_mapping_error() has not been used. This patch adds proper error handling to omap_gem_dma_sync(). Signed-off-by: Tomi

[PATCH 11/33] drm/omap: use dma_mapping_error in omap_gem_attach_pages

2016-02-19 Thread Tomi Valkeinen
omap_gem_attach_pages() calls dma_map_page() but does not check the possible error with dma_mapping_error(). If DMA-API debugging is enabled, the debug layer will give a warning if dma_mapping_error() has not been used. This patch adds proper error handling to omap_gem_attach_pages(). Signed-off-

[PATCH 10/33] drm/omap: add define for DISPC_IRQ_WBUNCOMPLETEERROR

2016-02-19 Thread Tomi Valkeinen
OMAP4+ DSS has WBUNCOMPLETEERROR irq, which was not defined in the irq list. Add the define. Signed-off-by: Tomi Valkeinen --- include/video/omapdss.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/video/omapdss.h b/include/video/omapdss.h index 295b41e20d8e..86f28a92281a 100644 ---

[PATCH 09/33] drm/omap: tpd12s015: CT_CP_HPD as optional gpio

2016-02-19 Thread Tomi Valkeinen
From: Manisha Agrawal tpd12s015 HW has LS_OE, CT_CP_HPD and HPD gpios. Out of these gpios, driver only handled LS_OE as optional. The CT_CP_HPD gpio should also be treated as optional gpio as it is just a power saving feature. Some boards hardwire this gpio to be always enable. In this patch, all

[PATCH 08/33] drm/omap: tpd12s015: gpio descriptor API

2016-02-19 Thread Tomi Valkeinen
From: Manisha Agrawal Migrated the gpio APIs to descriptor-interface based. Signed-off-by: Manisha Agrawal Acked-by: Tomi Valkeinen Acked-by: Laurent Pinchart --- .../gpu/drm/omapdrm/displays/encoder-tpd12s015.c | 79 -- 1 file changed, 28 insertions(+), 51 deletions(-)

[PATCH 07/33] drm/omap: tpd12s015: remove platform data support

2016-02-19 Thread Tomi Valkeinen
From: Manisha Agrawal All devices using tpd12s015 driver are doing DT boot. No need of further supporting the platform data. This patch removes support for platform data. Signed-off-by: Manisha Agrawal [tomi.valkeinen at ti.com: minor adjustments] Acked-by: Tomi Valkeinen Acked-by: Laurent Pin

[PATCH 06/33] drm/omap: drm_atomic_get_plane_state() may return ERR_PTR

2016-02-19 Thread Tomi Valkeinen
From: Jyri Sarha drm_atomic_get_plane_state() may return ERR_PTR. Handle drm_atomic_get_plane_state() return values right in omap_crtc_atomic_set_property(). Signed-off-by: Jyri Sarha Acked-by: Tomi Valkeinen --- drivers/gpu/drm/omapdrm/omap_crtc.c | 4 ++-- 1 file changed, 2 insertions(+), 2

[PATCH 05/33] drm/omap: partial workaround for DRA7 DMM errata i878

2016-02-19 Thread Tomi Valkeinen
Errata i878 says that MPU should not be used to access RAM and DMM at the same time. As it's not possible to prevent MPU accessing RAM, we need to access DMM via a proxy. This patch changes DMM driver to access DMM registers via sDMA. Instead of doing a normal readl/writel call to read/write a reg

[PATCH 04/33] drm/omap: add dmm_read() and dmm_write() wrappers

2016-02-19 Thread Tomi Valkeinen
This patch adds wrapper functions for readl() and writel(), dmm_read() and dmm_write(), so that we can implement workaround for errata i878. Signed-off-by: Tomi Valkeinen --- drivers/gpu/drm/omapdrm/omap_dmm_tiler.c | 39 1 file changed, 24 insertions(+), 15 dele

[PATCH 03/33] HACK: drm/omap: fix memory barrier bug in DMM driver

2016-02-19 Thread Tomi Valkeinen
A DMM timeout "timed out waiting for done" has been observed on DRA7 devices. The timeout happens rarely, and only when the system is under heavy load. Debugging showed that the timeout can be made to happen much more frequently by optimizing the DMM driver, so that there's almost no code between

[PATCH 02/33] HACK: drm/omap: always use blocking DMM fill

2016-02-19 Thread Tomi Valkeinen
The current driver uses non-blocking DMM fill when releasing memory. This gives us a small performance increase as we don't have to wait for the fill operation to finish. However, the driver does not have any error handling for non-blocking fill. In case of an error, the fill operation may silentl

[PATCH 01/33] drm/omap: HDMI: change enable/disable to avoid sync-losts

2016-02-19 Thread Tomi Valkeinen
We occasionally see DISPC sync-lost errors when enabling and disabling HDMI. Sometimes we get only a few, which get handled (ignored) by the driver, but sometimes there's a flood of the errors which doesn't seem to stop. The HW team has root caused this to the order in which HDMI and DISPC are ena

[PATCH 00/33] drm/omap: patches for v4.6

2016-02-19 Thread Tomi Valkeinen
Hi, Here's a collection of patches for omapdrm. Some of them have been sent for review at some point, most of them haven't. There are two bigger features in the series: dmabuf import support and HDMI interlace output support. Otherwise they are smaller improvements, fixes and cleanups. Tomi Jy

[RFC 3/3] iommu: dma-iommu: use common implementation also on ARM architecture

2016-02-19 Thread Arnd Bergmann
On Friday 19 February 2016 09:22:44 Marek Szyprowski wrote: > This patch replaces ARM-specific IOMMU-based DMA-mapping implementation > with generic IOMMU DMA-mapping code shared with ARM64 architecture. The > side-effect of this change is a switch from bitmap-based IO address space > management to

[Bug 75112] Meta Bug for HyperZ issues on r600g and radeonsi

2016-02-19 Thread bugzilla-dae...@freedesktop.org
was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160219/890ee2fc/attachment.html>

[Bug 66352] GPU lockup in L4D2 on TURKS with HyperZ

2016-02-19 Thread bugzilla-dae...@freedesktop.org
-- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160219/51082fc2/attachment.html>

[GIT PULL] imx-drm crtc and plane fixes, ipu-v3 probe fixes

2016-02-19 Thread Philipp Zabel
Hi Dave, here are a couple of fixes for the imx-drm drivers. With these, the ipu-v3 driver probe doesn't bail out if nodes that are marked as optional are not present in the device tree. The reset is moved before irq initialization, and the DRM core is made aware of the vblank interrupt enable sta

[Bug 93594] Flickering Shadows in The Talos Principle

2016-02-19 Thread bugzilla-dae...@freedesktop.org
>> >> Can you elaborate, please? Looks like there might be an update for The Talos Principle which will address this. -- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160219/b105b7d4/attachment.html>

[PATCH 1/2] drm/radeon: Don't hang in radeon_flip_work_func on disabled crtc. (v2)

2016-02-19 Thread Michel Dänzer
On 19.02.2016 10:06, Mario Kleiner wrote: > This fixes a regression introduced in Linux 4.4. > > Limit the amount of time radeon_flip_work_func can > delay programming a page flip, by both limiting the > maximum amount of time per wait cycle and the maximum > number of wait cycles. Continue the fl

[PATCH v10 1/2] Documentation: bridge: Add documentation for ps8640 DT properties

2016-02-19 Thread Philipp Zabel
Am Freitag, den 19.02.2016, 16:31 +0800 schrieb Jitao Shi: > Add documentation for DT properties supported by > ps8640 DSI-eDP converter. > > Signed-off-by: Jitao Shi > Acked-by: Rob Herring > Reviewed-by: Philipp Zabel > --- > Changes since v9: > - No change > --- > .../devicetree/bindings/d

[PATCH v10 2/2] drm/bridge: Add I2C based driver for ps8640 bridge

2016-02-19 Thread Philipp Zabel
Am Freitag, den 19.02.2016, 16:31 +0800 schrieb Jitao Shi: > This patch adds drm_bridge driver for parade DSI to eDP bridge chip. > > Signed-off-by: Jitao Shi > --- > Changes since v9: > - replace dev_kmalloc with devm_kmalloc in ps8640_get_modes > - remove ps_bridge->dsi = devm_kzalloc(dev, si

[PATCH 4/4] ARC: axs10x: Update defconfigs so that I2S is enabled

2016-02-19 Thread Carlos Palminha
From: Jose Abreu The defconfigs for the AXS boards were updated to enable Designware I2S driver. Signed-off-by: Jose Abreu --- arch/arc/configs/axs101_defconfig | 1 + arch/arc/configs/axs103_defconfig | 1 + arch/arc/configs/axs103_smp_defconfig | 1 + 3 files changed, 3 insertions(+)

[PATCH 3/4] ASoC: dwc: Add I2S HDMI audio support using custom platform driver

2016-02-19 Thread Carlos Palminha
From: Jose Abreu HDMI audio support was added to the AXS board using an I2S cpu driver and a custom platform driver. The platform driver supports two channels @ 16 bits with rates 32k, 44.1k and 48k. ALSA Simple audio card is used to glue the cpu, platform and codec driver (adv7511). Signed-off

[PATCH 2/4] ARC: axs10x: Update defconfigs so that audio is enabled

2016-02-19 Thread Carlos Palminha
From: Jose Abreu The defconfigs for the AXS boards were updated so that ALSA SoC is enabled and also the audio for the ADV7511 HDMI transmitter. Signed-off-by: Jose Abreu --- arch/arc/configs/axs101_defconfig | 3 +++ arch/arc/configs/axs103_defconfig | 5 + arch/arc/configs/axs103

[PATCH 0/4] Add I2S/ADV7511 audio support for ARC AXS10x boards.

2016-02-19 Thread Carlos Palminha
ARC AXS10x platforms consist of a mainboard with several peripherals. One of those peripherals is an HDMI output port controlled by ADV7511 transmitter. This patch set adds audio for the ADV7511 transmitter and I2S audio for the AXS10x platform. Jose Abreu (4): drm/i2c/adv7511: Add audio supp

[RFC 3/3] iommu: dma-iommu: use common implementation also on ARM architecture

2016-02-19 Thread Marek Szyprowski
This patch replaces ARM-specific IOMMU-based DMA-mapping implementation with generic IOMMU DMA-mapping code shared with ARM64 architecture. The side-effect of this change is a switch from bitmap-based IO address space management to tree-based code. There should be no functional changes for drivers,

[RFC 2/3] iommu: dma-iommu: move IOMMU/DMA-mapping code from ARM64 arch to drivers

2016-02-19 Thread Marek Szyprowski
This patch moves all the IOMMU-based DMA-mapping code from arch/arm64/mm to drivers/iommu/dma-iommu-ops.c. This way it can be easily shared with ARM architecture, which will also use them. Signed-off-by: Marek Szyprowski --- arch/arm64/include/asm/dma-mapping.h | 39 ++- arch/arm64/mm/dma-mappi

[RFC 1/3] drm/exynos: rewrite IOMMU support code

2016-02-19 Thread Marek Szyprowski
This patch replaces usage of ARM-specific IOMMU/DMA-mapping related calls with new generic code for managing DMA-IOMMU integration layer. It also removes all the hacks, which were needed to configure common DMA/IO address space on the virtual exynos-drm device. Since moving Exynos GEM code to use o

[RFC 0/3] Unify IOMMU-based DMA-mapping code for ARM and ARM64

2016-02-19 Thread Marek Szyprowski
Dear All, This is an initial RFC on the unification of IOMMU-based DMA-mapping code for ARM and ARM64 architectures. Right now ARM architecture still use my old code for IOMMU-based DMA-mapping glue, initially merged in commit 4ce63fcd919c32d22528e54dcd89506962933719 ("ARM: dma-mapping: add suppo

[Bug 89521] Radeon driver fails to set dpm power state after resume from S3

2016-02-19 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=89521 varikonniemi at hush.com changed: What|Removed |Added CC||varikonniemi at hush.com --- Co

[Bug 93591] [TONGA] ARK Survival Evolved: corruption of main menu textures

2016-02-19 Thread bugzilla-dae...@freedesktop.org
ri-devel/attachments/20160219/795cafbe/attachment.html>

[Bug 94207] [amdgpu][tonga]kernel BUG during X startup in amdgpu_cgs_get_active_displays_info

2016-02-19 Thread bugzilla-dae...@freedesktop.org
e316aa0, mesa git fe14110f, Xorg 1.18 -- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160219/ba4e72b7/attachment.html>

[PATCH 2/2] drm/amdgpu: Don't hang in amdgpu_flip_work_func on disabled crtc.

2016-02-19 Thread Mario Kleiner
This fixes a regression introduced in Linux 4.4. This is a port of the same fix for radeon-kms in the patch "drm/radeon: Don't hang in radeon_flip_work_func on disabled crtc. (v2)" Limit the amount of time amdgpu_flip_work_func can delay programming a page flip, by both limiting the maximum amoun

[PATCH 1/2] drm/radeon: Don't hang in radeon_flip_work_func on disabled crtc. (v2)

2016-02-19 Thread Mario Kleiner
This fixes a regression introduced in Linux 4.4. Limit the amount of time radeon_flip_work_func can delay programming a page flip, by both limiting the maximum amount of time per wait cycle and the maximum number of wait cycles. Continue the flip if the limit is exceeded, even if that may result i

radeon/amdgpu pageflip regression fixes for Linux 4.4+

2016-02-19 Thread Mario Kleiner
Two more patches for radeon-kms/amdgpu-kms to fix some new regression introduced into Linux 4.4 by other fixes for the vblank regressions in 4.4. These fix fdo bug 93746 filed against Linux 4.4. thanks, -mario

[PATCH v5 10/12] drm/i915: Defer probe if gmux is present but its driver isn't

2016-02-19 Thread Daniel Vetter
On Thu, Feb 18, 2016 at 11:20 PM, Lukas Wunner wrote: > Hi, > > On Thu, Feb 18, 2016 at 10:39:05PM +0100, Daniel Vetter wrote: >> On Thu, Feb 18, 2016 at 9:34 PM, Lukas Wunner wrote: >> > >> >> Ok, makes sense. I still think adding the check to the client_register >> >> function would be good, ju