[Bug 93412] hang in xcb_wait_for_reply / vl_dri2_get_flush_reply

2015-12-16 Thread bugzilla-dae...@freedesktop.org
pointed to the most appropriate component of the two. -- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151216/73627

[Bug 93412] hang in xcb_wait_for_reply / vl_dri2_get_flush_reply

2015-12-16 Thread bugzilla-dae...@freedesktop.org
aphics-drivers ppa) xserver-xorg-video-radeon 1:7.5.99+git1508070731.3791fc~gd~t (same ppa) -- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel

[PATCH v4 2/2] drm: panel: simple: add QiaoDian qd43003c0-40

2015-12-16 Thread Alexandre Belloni
Hi, On 16/12/2015 at 18:14:06 +0100, Thierry Reding wrote : > Also, please use "drm/panel: " as the prefix (instead of "drm: panel: ") > to make it easier for me to pick up things. I was about to send out a > pull request for drm/panel when I noticed that there was this patch. The > v4 wasn't Cc:

[PATCH igt v6 6/6] tests: Add prime_mmap_coherency for cache coherency tests

2015-12-16 Thread Tiago Vignatti
Different than kms_mmap_write_crc that captures the coherency issues within the scanout mapped buffer, this one is meant for test dma-buf mmap on !llc platforms mostly and provoke coherency bugs so we know where we need the sync ioctls. I tested this with !llc and llc platforms, BTY and IVY respec

[PATCH igt v6 5/6] tests: Add kms_mmap_write_crc for cache coherency tests

2015-12-16 Thread Tiago Vignatti
This program can be used to detect when CPU writes in the dma-buf mapped object don't land in scanout due cache incoherency. Although this seems a problem inherently of non-LCC machines ("Atom"), this particular test catches a cache dirt on scanout on LLC machines as well. It's inspired in Ville's

[PATCH igt v6 4/6] lib: Add prime_sync_start and prime_sync_end helpers

2015-12-16 Thread Tiago Vignatti
This patch adds dma-buf mmap synchronization ioctls that can be used by tests for cache coherency management e.g. when CPU and GPU domains are being accessed through dma-buf at the same time. Signed-off-by: Tiago Vignatti --- lib/ioctl_wrappers.c | 26 ++ lib/ioctl_wrappe

[PATCH igt v6 3/6] prime_mmap: Add basic tests to write in a bo using CPU

2015-12-16 Thread Tiago Vignatti
This patch adds test_correct_cpu_write, which maps the texture buffer through a prime fd and then writes directly to it using the CPU. It stresses the driver to guarantee cache synchronization among the different domains. This test also adds test_forked_cpu_write, which creates the GEM bo in one p

[PATCH igt v6 2/6] prime_mmap: Add new test for calling mmap() on dma-buf fds

2015-12-16 Thread Tiago Vignatti
From: Rob Bradford This test has the following subtests: - test_correct for correctness of the data - test_map_unmap checks for mapping idempotency - test_reprime checks for dma-buf creation idempotency - test_forked checks for multiprocess access - test_refcounting checks for buffer referen

[PATCH igt v6 1/6] lib: Add gem_userptr and __gem_userptr helpers

2015-12-16 Thread Tiago Vignatti
This patch moves userptr definitions and helpers implementation that were locally in gem_userptr_benchmark and gem_userptr_blits to the library, so other tests can make use of them as well. There's no functional changes. v2: added __ function to differentiate when errors want to be handled back in

[PATCH v6 5/5] drm/i915: Use CPU mapping for userspace dma-buf mmap()

2015-12-16 Thread Tiago Vignatti
Userspace is the one in charge of flush CPU by wrapping mmap with begin{,end}_cpu_access. v2: Remove LLC check cause we have dma-buf sync providers now. Also, fix return before transferring ownership when mmap fails. v3: Fix return values. v4: !obj->base.filp is user triggerable, so removed the WA

[PATCH v6 4/5] drm/i915: Implement end_cpu_access

2015-12-16 Thread Tiago Vignatti
This function is meant to be used with dma-buf mmap, when finishing the CPU access of the mapped pointer. The error case should be rare to happen though, requiring the buffer become active during the sync period and for the end_cpu_access to be interrupted. So we use a uninterruptible mutex_lock t

[PATCH v6 3/5] dma-buf: Add ioctls to allow userspace to flush

2015-12-16 Thread Tiago Vignatti
From: Daniel Vetter The userspace might need some sort of cache coherency management e.g. when CPU and GPU domains are being accessed through dma-buf at the same time. To circumvent this problem there are begin/end coherency markers, that forward directly to existing dma-buf device drivers vfunc

[PATCH v6 2/5] dma-buf: Remove range-based flush

2015-12-16 Thread Tiago Vignatti
This patch removes range-based information used for optimizations in begin_cpu_access and end_cpu_access. We don't have any user nor implementation using range-based flush. It seems a consensus that if we ever want something like that again (or even more robust using 2D, 3D sub-range regions) we c

[PATCH v6 1/5] drm: prime: Honour O_RDWR during prime-handle-to-fd

2015-12-16 Thread Tiago Vignatti
From: Daniel Thompson Currently DRM_IOCTL_PRIME_HANDLE_TO_FD rejects all flags except (DRM|O)_CLOEXEC making it difficult (maybe impossible) for userspace to mmap() the resulting dma-buf even when this is supported by the DRM driver. It is trivial to relax the restriction and permit read/write a

Direct userspace dma-buf mmap (v6)

2015-12-16 Thread Tiago Vignatti
Hi all, The last version of this work was sent a while ago here: http://lists.freedesktop.org/archives/dri-devel/2015-August/089263.html So let's recap this series: 1. it adds a vendor-independent client interface for mapping gem objects through prime, IOW it implements userspace mma

[PATCH 08/15] drm: omapdrm: gem: Mask out private flags passed from userspace

2015-12-16 Thread Rob Clark
On Wed, Dec 16, 2015 at 12:33 PM, Emil Velikov wrote: > Hi Laurent, > > On 14 December 2015 at 20:33, Laurent Pinchart > wrote: >> Hi Emil, >> >> On Monday 07 December 2015 14:13:43 Emil Velikov wrote: >>> On 4 December 2015 at 22:27, Laurent Pinchart wrote: >>> > The 8 high order bits of the bu

[GIT PULL] drm/tegra: Changes for v4.5-rc1

2015-12-16 Thread Thierry Reding
Hi Dave, The following changes since commit 663a233eef643b38f36c05535cb5c9a4972edcc1: Merge branch 'drm-header-fixes' of https://github.com/GabrielL/linux into drm-next (2015-12-11 13:46:05 +1000) are available in the git repository at: git://anongit.freedesktop.org/tegra/linux tags/drm/te

[GIT PULL] drm/panel: Changes for v4.5-rc1

2015-12-16 Thread Thierry Reding
Hi Dave, The following changes since commit 8005c49d9aea74d382f474ce11afbbc7d7130bec: Linux 4.4-rc1 (2015-11-15 17:00:27 -0800) are available in the git repository at: git://anongit.freedesktop.org/tegra/linux tags/drm/panel/for-4.5-rc1 for you to fetch changes up to d2a6f0f5597696ebf5bb34

[PATCH] drm/docs: more leftovers from the big vtable documentation pile

2015-12-16 Thread Daniel Vetter
Another pile of vfuncs from the old gpu.tmpl xml documentation that I've forgotten to delete. I spotted a few more things to clarify/extend in the new kerneldoc while going through this once more. Cc: Laurent Pinchart Cc: Thierry Reding Signed-off-by: Daniel Vetter --- Documentation/DocBook/gp

[PATCH v2 00/16] omapdrm: Implement dma_buf import

2015-12-16 Thread Tomi Valkeinen
ytes Desc: OpenPGP digital signature URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151216/47e45066/attachment.sig>

[Bug 109481] Radeon Module crashing/freezing on ATI/AMD Evergreen (Radeon HD6250, Wrestler)

2015-12-16 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=109481 Alex Deucher changed: What|Removed |Added CC||alexdeucher at gmail.com --- Comment #1 f

[PATCH v4 2/2] drm: panel: simple: add QiaoDian qd43003c0-40

2015-12-16 Thread Thierry Reding
og it seems like that's okay, though. Thierry -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151216/426f0996/attachment.sig>

[PATCH v6 4/6] drm: rockchip: Support Synopsys DW MIPI DSI

2015-12-16 Thread Chris Zhong
Add support for Synopsys DesignWare MIPI DSI controller which is embedded in the rk3288 SoCs. Signed-off-by: Chris Zhong --- Changes in v6: - Do not use bridge driver (Thierry Reding) - Optimization the phy init sequence Changes in v5: None Changes in v4: None Changes in v3: None drivers/gpu/

[PATCH v6 2/6] drm/dsi: Add a helper to get bits per pixel of MIPI DSI pixel format

2015-12-16 Thread Chris Zhong
From: Liu Ying Signed-off-by: Liu Ying Acked-by: Thierry Reding Signed-off-by: Chris Zhong --- Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None include/drm/drm_mipi_dsi.h | 14 ++ 1 file changed, 14 insertions(+) diff --git a/include/drm/drm_mipi_

[PATCH v6 1/6] drm/rockchip: return a true clock rate to adjusted_mode

2015-12-16 Thread Chris Zhong
Since the mipi dsi driver need to use the clock of vop to make the calculation of Blanking. But sometimes the clock driver can not set a accurate clock_rate for vop, get it by clk_round_rate before mode_set, so we can get the true value. Signed-off-by: Chris Zhong Acked-by: Mark Yao --- Change

[PATCH v6 0/6] Add mipi dsi support for rk3288

2015-12-16 Thread Chris Zhong
The rk3288 MIPI DSI is a Synopsys DesignWare MIPI DSI host controller IP. This series adds support for a Synopsys DesignWare MIPI DSI host controller DRM driver. The MIPI DSI feature is tested on rk3288 evb board, backport them to chrome os kernel chrome_v3.14, and it can display normally. This

[PATCH RFC 0/9] omapdrm/omapfb/omapdss split

2015-12-16 Thread Tomi Valkeinen
map2/omapfb/dss/hdmi4_core.c > create mode 100644 drivers/video/fbdev/omap2/omapfb/dss/hdmi4_core.h > create mode 100644 drivers/video/fbdev/omap2/omapfb/dss/hdmi5.c > create mode 100644 drivers/video/fbdev/omap2/omapfb/dss/hdmi5_core.c > create mode 100644 drivers/video/fbdev/oma

[PATCH 1/7] drm/omap: ensure all displays have been probed

2015-12-16 Thread Tomi Valkeinen
ts framework, but that would be more complex to > implement. Well, even with this patch aliases are optional. The difference is that if you don't have any aliases, and omapdrm starts, and one of the multiple displays has not been probed yet, that display will be unavailable. If you do have aliases, omapdrm ensures that the displays with an alias are probed. But... You are probably right, travelling the graph is better. Tomi -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151216/45c91328/attachment.sig>

[PATCH 08/15] drm: omapdrm: gem: Mask out private flags passed from userspace

2015-12-16 Thread Emil Velikov
Hi Laurent, On 14 December 2015 at 20:33, Laurent Pinchart wrote: > Hi Emil, > > On Monday 07 December 2015 14:13:43 Emil Velikov wrote: >> On 4 December 2015 at 22:27, Laurent Pinchart wrote: >> > The 8 high order bits of the buffer flags are reserved for internal use. >> > Mask them out from th

[Bug 109481] New: Radeon Module crashing/freezing on ATI/AMD Evergreen (Radeon HD6250, Wrestler)

2015-12-16 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=109481 Bug ID: 109481 Summary: Radeon Module crashing/freezing on ATI/AMD Evergreen (Radeon HD6250, Wrestler) Product: Drivers Version: 2.5 Kernel Version: 4.3.3 Hardware: All

[PATCH RFC 0/9] omapdrm/omapfb/omapdss split

2015-12-16 Thread Rob Clark
On Wed, Dec 16, 2015 at 10:52 AM, Tomi Valkeinen wrote: > Hi Dave, > > On 10/12/15 16:25, Tomi Valkeinen wrote: >> Hi, >> >> Here's an RFC series to fix the mess we have at the moment with >> omapdrm/omapfb/omapdss. > > There hasn't been any NACKs for this series, so I'd like to get this in > for

linux-next: Tree for Dec 16 (gpu/drm/vc4)

2015-12-16 Thread Eric Anholt
--- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 818 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151216/73148cb6/attachment.sig>

[GIT PULL] drm/panel: Changes for v4.5-rc1

2015-12-16 Thread Rob Herring
On Wed, Dec 16, 2015 at 11:19 AM, Thierry Reding wrote: > Hi Dave, > > The following changes since commit 8005c49d9aea74d382f474ce11afbbc7d7130bec: > > Linux 4.4-rc1 (2015-11-15 17:00:27 -0800) > > are available in the git repository at: > > git://anongit.freedesktop.org/tegra/linux tags/drm/p

[PATCH] android: fix warning when releasing active sync point

2015-12-16 Thread Daniel Vetter
On Tue, Dec 15, 2015 at 09:22:56AM -0800, Dmitry Torokhov wrote: > On Tue, Dec 15, 2015 at 5:30 AM, Gustavo Padovan > wrote: > > 2015-12-14 Dmitry Torokhov : > > > >> Userspace can close the sync device while there are still active fence > >> points, in which case kernel produces the following wa

[PATCH] android: fix warning when releasing active sync point

2015-12-16 Thread Daniel Vetter
On Tue, Dec 15, 2015 at 11:08:01AM -0800, Dmitry Torokhov wrote: > On Tue, Dec 15, 2015 at 11:00 AM, Gustavo Padovan > wrote: > > 2015-12-15 Daniel Vetter : > > > >> On Mon, Dec 14, 2015 at 05:29:55PM -0800, Dmitry Torokhov wrote: > >> > Userspace can close the sync device while there are still a

[PATCH] drm/panel: add kernel doc for size attributes in panel_desc

2015-12-16 Thread Thierry Reding
*/ Thanks, Thierry -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151216/1bf1b104/attachment.sig>

[PATCH 1/2] devicetree: add vendor prefix for Kyocera Corporation

2015-12-16 Thread Thierry Reding
, thanks. Thierry -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151216/3ab716e7/attachment.sig>

i915 + DRM: *ERROR* too many voltage retries, give up + *ERROR* failed to train DP, aborting

2015-12-16 Thread Toralf Förster
There's a regression in the stable 4.2.x series. With 4.2.7 I get the following within kern.log: Dec 16 14:58:41 t44 kernel: [111050.930350] dvb-usb: found a 'Terratec Cinergy T USB XXS (HD)/ T3' in cold state, will try to load a firmware Dec 16 14:58:41 t44 kernel: [111050.930436] dvb-usb: down

[PATCH v3 2/7] drm/exynos: make zpos property configurable

2015-12-16 Thread Ville Syrjälä
On Wed, Dec 16, 2015 at 02:28:36PM +0100, Daniel Vetter wrote: > On Wed, Dec 16, 2015 at 01:21:43PM +0100, Marek Szyprowski wrote: > > This patch adds all infrastructure to make zpos plane property > > configurable from userspace. > > > > Signed-off-by: Marek Szyprowski > > Imo zpos should be a

[PATCH] drm/radeon: Update radeon_get_vblank_counter_kms()

2015-12-16 Thread Christian König
On 16.12.2015 15:31, Thierry Reding wrote: > From: Thierry Reding > > Commit 88e72717c2de ("drm/irq: Use unsigned int pipe in public API") > updated the prototype of this function but not the implementation. This > wasn't noticed even through compile tests because the prototype is part > of the so

[PATCH] drm/radeon: Update radeon_get_vblank_counter_kms()

2015-12-16 Thread Thierry Reding
From: Thierry Reding Commit 88e72717c2de ("drm/irq: Use unsigned int pipe in public API") updated the prototype of this function but not the implementation. This wasn't noticed even through compile tests because the prototype is part of the source file that uses it and hence the compiler won't kn

[PATCH v3 2/7] drm/exynos: make zpos property configurable

2015-12-16 Thread Marek Szyprowski
Hello, On 2015-12-16 15:21, Daniel Vetter wrote: > On Wed, Dec 16, 2015 at 02:54:04PM +0100, Marek Szyprowski wrote: >> On 2015-12-16 14:28, Daniel Vetter wrote: >>> On Wed, Dec 16, 2015 at 01:21:43PM +0100, Marek Szyprowski wrote: This patch adds all infrastructure to make zpos plane propert

[PATCH v3 2/7] drm/exynos: make zpos property configurable

2015-12-16 Thread Daniel Vetter
On Wed, Dec 16, 2015 at 02:54:04PM +0100, Marek Szyprowski wrote: > Hello, > > On 2015-12-16 14:28, Daniel Vetter wrote: > >On Wed, Dec 16, 2015 at 01:21:43PM +0100, Marek Szyprowski wrote: > >>This patch adds all infrastructure to make zpos plane property > >>configurable from userspace. > >> > >

[PATCH v3 2/7] drm/exynos: make zpos property configurable

2015-12-16 Thread Marek Szyprowski
Hello, On 2015-12-16 14:28, Daniel Vetter wrote: > On Wed, Dec 16, 2015 at 01:21:43PM +0100, Marek Szyprowski wrote: >> This patch adds all infrastructure to make zpos plane property >> configurable from userspace. >> >> Signed-off-by: Marek Szyprowski > Imo zpos should be a generic atomic proper

[PATCH v3 2/7] drm/exynos: make zpos property configurable

2015-12-16 Thread Daniel Vetter
On Wed, Dec 16, 2015 at 01:21:43PM +0100, Marek Szyprowski wrote: > This patch adds all infrastructure to make zpos plane property > configurable from userspace. > > Signed-off-by: Marek Szyprowski Imo zpos should be a generic atomic property with well-defined semantics shared across drivers. So

[Bug 93404] radeon fail when creating a new session with the same user

2015-12-16 Thread bugzilla-dae...@freedesktop.org
rnel: ---[ end trace 33afaf6a1bc49614 ]--- -- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151216/02016a81/attachment-0001.html>

[PATCH v3 7/7] drm/exynos: mixer: unify a check for video-processor window

2015-12-16 Thread Marek Szyprowski
Always use macro instead of hard-coded '2' value in conditions related to video processor window. Additional checks are not needed, because video layer is registered only when video processor is available. Signed-off-by: Marek Szyprowski --- drivers/gpu/drm/exynos/exynos_mixer.c | 4 ++-- 1 file

[PATCH v3 6/7] drm/exynos: mixer: also allow ARGB1555 and ARGB4444

2015-12-16 Thread Marek Szyprowski
From: Tobias Jakobi Allow the remaining alpha formats now that blending is properly setup. Signed-off-by: Tobias Jakobi Signed-off-by: Marek Szyprowski --- drivers/gpu/drm/exynos/exynos_mixer.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/gpu/drm/exynos/exynos_mixer.c b/

[PATCH v3 5/7] drm/exynos: mixer: refactor layer setup

2015-12-16 Thread Marek Szyprowski
Properly configure blending properties of given hardware layer based on the selected pixel format. Currently only per-pixel-based alpha is possible when respective pixel format has been selected. Configuration of global, per-plane alpha value, color key and background color will be added later. Th

[PATCH v3 4/7] drm/exynos: mixer: remove all static blending setup

2015-12-16 Thread Marek Szyprowski
From: Tobias Jakobi Previously blending setup was static and most of it was done in mixer_win_reset(). Signed-off-by: Tobias Jakobi --- drivers/gpu/drm/exynos/exynos_mixer.c | 23 --- 1 file changed, 23 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_mixer.c b/dri

[PATCH v3 3/7] drm/exynos: mixer: set window priority based on zpos

2015-12-16 Thread Marek Szyprowski
'zpos' plane property is configurable, so adjust hardware layers priority based on the zpos value. 'zpos' value shifted by one can be used directly as hw priority value and stored to the registers, because mixer accepts priority values from 1 to 15 (0 means that layer is disabled). This patch also

[PATCH v3 2/7] drm/exynos: make zpos property configurable

2015-12-16 Thread Marek Szyprowski
This patch adds all infrastructure to make zpos plane property configurable from userspace. Signed-off-by: Marek Szyprowski --- drivers/gpu/drm/exynos/exynos_drm_drv.h | 4 ++- drivers/gpu/drm/exynos/exynos_drm_plane.c | 51 --- 2 files changed, 49 insertions(+), 6

[PATCH v3 1/7] drm/exynos: rename zpos to index

2015-12-16 Thread Marek Szyprowski
This patch renames zpos entry to index, because in most places it is used as index for selecting hardware layer/window instead of configurable layer position. This will later enable to make the zpos property configurable. Signed-off-by: Marek Szyprowski --- drivers/gpu/drm/exynos/exynos5433_drm_

[PATCH v3 0/7] drm/exynos: rework layer blending

2015-12-16 Thread Marek Szyprowski
Hello all, This is a continuation of the work started by Tobias Jakobi. The goal of this patch set is to remove hardcoded blending setup from Exynos Mixer driver. This patch also enables other Exynos DRM CRTC drivers to use the configurable plane zpos feature, however patches for FIMD or Decon are

[Nouveau] nouveau sync DMA memory not allocated

2015-12-16 Thread poma
On 12.11.2015 14:48, Thierry Reding wrote: > On Wed, Nov 11, 2015 at 09:12:33PM +0100, poma wrote: >> On 10.11.2015 17:25, Mario Kleiner wrote: >>> On 11/10/2015 05:00 PM, Thierry Reding wrote: On Tue, Nov 10, 2015 at 03:54:52PM +0100, Mario Kleiner wrote: > From: Daniel Vetter >

[PATCH v11 19/19] drm: bridge: analogix/dp: Fix the possible dead lock in bridge disable time

2015-12-16 Thread Yakir Yang
It may caused a dead lock if we flush the hpd work in bridge disable time. The normal flow would like: IN --> DRM IOCTL 1. Acquire crtc_ww_class_mutex (DRM IOCTL) IN --> analogix_dp_bridge 2. Acquire hpd work lock (Flush hpd work) 3. HPD work already in idle, no need to

[PATCH v11 18/19] drm: bridge: analogix/dp: add panel prepare/unprepare in suspend/resume time

2015-12-16 Thread Yakir Yang
Turn off the panel power in suspend time would help to reduce power waste. Signed-off-by: Yakir Yang --- Changes in v11: None Changes in v10: None Changes in v9: None Changes in v8: None Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in

[PATCH v11 17/19] drm: bridge: analogix/dp: expand the look time for waiting AUX CH reply

2015-12-16 Thread Yakir Yang
After test on rockchiop platform, i found sometims driver would failed at reading EDID message. After debugging more, i found that it's okay to read_a byte from i2c, but it would failed at AUX transcation if we try to ready multi-bytes from i2c. Driver just can't received the AUX CH reply command,

[PATCH v11 16/19] drm: bridge: analogix/dp: add edid modes parse in get_modes method

2015-12-16 Thread Yakir Yang
Display Port monitor could support kinds of mode which indicate in monitor edid, not just one single display resolution which defined in panel or devivetree property display timing. Note: Gustavo Padovan try to remove the controller and phy power on function in bind time at bellow commit:

[PATCH v11 15/19] drm: bridge: analogix/dp: move hpd detect to connector detect function

2015-12-16 Thread Yakir Yang
This change just make a little clean to make code more like drm core expect, move hdp detect code from bridge->enable(), and place them into connector->detect(). Note: Gustavo Padovan try to remove the controller and phy power on function in bind time at bellow commit: drm/exynos: do not s

[PATCH v11 14/19] drm: bridge: analogix/dp: try force hpd after plug in lookup failed

2015-12-16 Thread Yakir Yang
Some edp screen do not have hpd signal, so we can't just return failed when hpd plug in detect failed. This is an hardware property, so we need add a devicetree property "analogix,need-force-hpd" to indicate this sutiation. Signed-off-by: Yakir Yang Acked-by: Rob Herring Tested-by: Javier Marti

[PATCH v11 13/19] drm: bridge: analogix/dp: add max link rate and lane count limit for RK3288

2015-12-16 Thread Yakir Yang
There are some IP limit on rk3288 that only support 4 physical lanes of 2.7/1.6 Gbps/lane, so seprate them out by device_type flag. Signed-off-by: Yakir Yang Tested-by: Javier Martinez Canillas --- Changes in v11: None Changes in v10: - Remove the surplus "plat_data" check. (Heiko) - switc

[PATCH v11 12/19] drm: bridge: analogix/dp: add some rk3288 special registers setting

2015-12-16 Thread Yakir Yang
RK3288 need some special registers setting, we can separate them out by the dev_type of plat_data. Signed-off-by: Yakir Yang Tested-by: Javier Martinez Canillas --- Changes in v11: None Changes in v10: None Changes in v9: None Changes in v8: None Changes in v7: None Changes in v6: None Changes i

[PATCH v11 11/19] drm: rockchip: vop: add bpc and color mode setting

2015-12-16 Thread Yakir Yang
From: Mark Yao Add bpc and color mode setting in rockchip_drm_vop driver, so connector could try to use the edid drm_display_info to config vop output mode. Signed-off-by: Mark Yao Signed-off-by: Yakir Yang --- Changes in v11: None Changes in v10: None Changes in v9: None Changes in v8: None C

[PATCH v11 10/19] dt-bindings: add document for rockchip dp phy

2015-12-16 Thread Yakir Yang
Add dt binding documentation for rockchip display port PHY. Signed-off-by: Yakir Yang Acked-by: Rob Herring Reviewed-by: Heiko Stuebner --- Changes in v11: - Correct the title of this rockchip dp phy document(Rob) - Add the ack from Rob Herring Changes in v10: None Changes in v9: None Changes

[PATCH v11 09/19] phy: Add driver for rockchip Display Port PHY

2015-12-16 Thread Yakir Yang
Add phy driver for the Rockchip DisplayPort PHY module. This is required to get DisplayPort working in Rockchip SoCs. Signed-off-by: Yakir Yang Reviewed-by: Heiko Stuebner --- Changes in v11: None Changes in v10: - Fix the wrong macro value of GRF_EDP_REF_CLK_SEL_INTER_HIWORD_MASK BIT(4) ->

[PATCH v11 08/19] dt-bindings: add document for rockchip variant of analogix_dp

2015-12-16 Thread Yakir Yang
Rockchip DP driver is a helper driver of analogix_dp coder driver, so most of the DT property should be descriped in analogix_dp document. Signed-off-by: Yakir Yang Acked-by: Rob Herring Reviewed-by: Heiko Stuebner --- Changes in v11: None Changes in v10: - Add the ack from Rob Herring Changes

linux-next: manual merge of the drm-misc tree with Linus' tree

2015-12-16 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the drm-misc tree got conflicts in: drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c between commit: 8fbf9d92a7bc ("drm/vmwgfx: Implement the cursor_set2 callback v2") from Linus' tree and

[PATCH v11 07/19] drm: rockchip: dp: add rockchip platform dp driver

2015-12-16 Thread Yakir Yang
Rockchip have three clocks for dp controller, we leave pclk_edp to analogix_dp driver control, and keep the sclk_edp_24m and sclk_edp in platform driver. Signed-off-by: Yakir Yang Tested-by: Javier Martinez Canillas --- Changes in v11: None Changes in v10: - Correct the ROCKCHIP_ANALOGIX_DP inde

[PATCH v11 06/19] ARM: dts: exynos/dp: remove some properties that deprecated by analogix_dp driver

2015-12-16 Thread Yakir Yang
After exynos_dp have been split the common IP code into analogix_dp driver, the analogix_dp driver have deprecated some Samsung platform properties which could be dynamically parsed from EDID/MODE/DPCD message, so this is an update for Exynos DTS file for dp-controller. Beside the backward compati

[PATCH v11 05/19] dt-bindings: add document for analogix display port driver

2015-12-16 Thread Yakir Yang
Analogix dp driver is split from exynos dp driver, so we just make an copy of exynos_dp.txt, and then simplify exynos_dp.txt Beside update some exynos dtsi file with the latest change according to the devicetree binding documents. Signed-off-by: Yakir Yang Acked-by: Rob Herring Tested-by: Javie

[PATCH v11 04/19] drm: bridge: analogix/dp: dynamic parse sync_pol & interlace & dynamic_range

2015-12-16 Thread Yakir Yang
Both hsync/vsync polarity and interlace mode can be parsed from drm display mode, and dynamic_range and ycbcr_coeff can be judge by the video code. But presumably Exynos still relies on the DT properties, so take good use of mode_fixup() in to achieve the compatibility hacks. Signed-off-by: Yakir

[PATCH v11 03/19] drm: bridge: analogix/dp: remove duplicate configuration of link rate and link count

2015-12-16 Thread Yakir Yang
link_rate and lane_count already configured in analogix_dp_set_link_train(), so we don't need to config those repeatly after training finished, just remove them out. Beside Display Port 1.2 already support 5.4Gbps link rate, the maximum sets would change from {1.62Gbps, 2.7Gbps} to {1.62Gbps, 2.7G

linux-next: Tree for Dec 16 (gpu/drm/vc4)

2015-12-16 Thread Randy Dunlap
On 12/15/15 21:43, Stephen Rothwell wrote: > Hi all, > > Changes since 20151215: > on i386, when CONFIG_PM_SLEEP is not enabled: ../drivers/gpu/drm/vc4/vc4_v3d.c: In function 'vc4_v3d_set_power': ../drivers/gpu/drm/vc4/vc4_v3d.c:157:29: error: called object is not a function or function pointe

[PATCH v11 02/19] drm: bridge: analogix/dp: fix some obvious code style

2015-12-16 Thread Yakir Yang
Fix some obvious alignment problems, like alignment and line over 80 characters problems, make this easy to be maintained later. Signed-off-by: Yakir Yang Reviewed-by: Krzysztof Kozlowski Tested-by: Javier Martinez Canillas --- Changes in v11: None Changes in v10: None Changes in v9: None Chang

[PATCH v11 01/19] drm: bridge: analogix/dp: split exynos dp driver to bridge directory

2015-12-16 Thread Yakir Yang
Split the dp core driver from exynos directory to bridge directory, and rename the core driver to analogix_dp_*, rename the platform code to exynos_dp. Beside the new analogix_dp driver would export six hooks. "analogix_dp_bind()" and "analogix_dp_unbind()" "analogix_dp_suspned()" and "analogix_dp

[PATCH v11 0/19] Add Analogix Core Display Port Driver

2015-12-16 Thread Yakir Yang
Hi all, The Samsung Exynos eDP controller and Rockchip RK3288 eDP controller share the same IP, so a lot of parts can be re-used. I split the common code into bridge directory, then rk3288 and exynos only need to keep some platform code. Cause I can't find the exact IP name of exynos dp contro

[PATCH v7 02/14] drm/mediatek: Add DRM Driver for Mediatek SoC MT8173.

2015-12-16 Thread Philipp Zabel
Hi Daniel, Am Dienstag, den 15.12.2015, 02:57 +0800 schrieb Daniel Kurtz: > HI Philipp, > > This driver is looking really good. > > But, still some things to think about (mostly small) inline below... Most of my answers below seem to be "ok" or some form thereof, but I have one or two questions

[PATCH 00/12] drm/tilcdc: fixes and added features from TI tree

2015-12-16 Thread Tomi Valkeinen
i -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151216/41ae34c9/attachment.sig>

[PATCH 03/12] drm/tilcdc: verify fb pitch

2015-12-16 Thread Daniel Vetter
On Tue, Dec 15, 2015 at 09:03:14PM +0200, Jyri Sarha wrote: > From: Tomi Valkeinen > > LCDC hardware does not support fb pitch that is different (i.e. larger) > than the screen size. The driver currently does no checks for this, and > the results of too big pitch are are flickering and lower fps.

[PATCH] android: fix warning when releasing active sync point

2015-12-16 Thread Maarten Lankhorst
Op 15-12-15 om 18:19 schreef Dmitry Torokhov: > On Tue, Dec 15, 2015 at 2:01 AM, Maarten Lankhorst > wrote: >> Op 15-12-15 om 02:29 schreef Dmitry Torokhov: >>> Userspace can close the sync device while there are still active fence >>> points, in which case kernel produces the following warning: >

[PATCH v2] drm/i915: Send a hotplug event on resume instead of an IRQ event

2015-12-16 Thread Daniel Vetter
On Tue, Dec 15, 2015 at 05:25:56PM -0500, Lyude wrote: > We currently call drm_helper_hpd_irq_event() to handle reprobing > displays on resume, however drm_helper_hpd_irq_event() only checks the > status of hpd. HPD doesn't update if the displays connected changed > before resuming the system, and

[PATCH v10 0/17] Add Analogix Core Display Port Driver

2015-12-16 Thread Yakir Yang
Hi Heiko, On 12/15/2015 08:06 AM, Heiko Stübner wrote: > Hi Yakir, > > Am Montag, 7. Dezember 2015, 14:37:19 schrieb Yakir Yang: >> The Samsung Exynos eDP controller and Rockchip RK3288 eDP controller >> share the same IP, so a lot of parts can be re-used. I split the common >> code into brid

[Intel-gfx] [RFC libdrm] intel: Add support for softpin

2015-12-16 Thread Song, Ruiling
> -Original Message- > From: Kristian Høgsberg [mailto:hoegsberg at gmail.com] > Sent: Tuesday, December 15, 2015 4:09 AM > To: Song, Ruiling ; krh at bitplanet.net; > Winiarski, > Michal > Cc: intel-gfx at lists.freedesktop.org; mesa-dev at lists.freedesktop.org; Ben > Widawsky ; dri-