[PATCH v2 7/7] arm64: dts: exynos: configure TV path clocks for Ultra HD modes

2017-01-22 Thread Andrzej Hajda
Ultra HD modes requires clock ticking at increased rate. Signed-off-by: Andrzej Hajda --- arch/arm64/boot/dts/exynos/exynos5433.dtsi | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/exynos5433.dtsi

Re: [Intel-gfx] [RESEND PATCH v14 2/2] drm/i915: Put "cooked" vlank counters in frame CRC lines

2017-01-22 Thread Daniel Vetter
On Mon, Jan 16, 2017 at 10:12:36AM +0100, Tomeu Vizoso wrote: > On 10 January 2017 at 17:31, Daniel Vetter wrote: > > On Tue, Jan 10, 2017 at 05:54:57PM +0200, Ville Syrjälä wrote: > >> On Tue, Jan 10, 2017 at 02:43:05PM +0100, Tomeu Vizoso wrote: > >> > Use

Re: [PATCH v4 1/3] DRM: add help to get ELD speaker allocation

2017-01-22 Thread Daniel Vetter
On Thu, Jan 19, 2017 at 10:29:01AM +, Mark Brown wrote: > On Wed, Jan 18, 2017 at 07:38:53AM +1100, Eric Anholt wrote: > > Mark Brown writes: > > > > You don't appear to have sent this to any of the DRM maintainers - it > > > does need review from them. > > > It was sent

Re: [Intel-gfx] [PATCH 2/4] drm/i915: Fix POWER_DOMAIN_AUDIO refcounting.

2017-01-22 Thread Daniel Vetter
On Mon, Jan 16, 2017 at 12:00:46PM +0100, Maarten Lankhorst wrote: > Op 11-01-17 om 17:13 schreef Daniel Vetter: > > On Thu, Dec 15, 2016 at 03:29:43PM +0100, Maarten Lankhorst wrote: > >> If the crtc was brought up with audio before the driver loads, > >> then crtc_disable will remove a refcount

Re: [PATCH v2 0/7] Host1x IOMMU support + VIC support

2017-01-22 Thread Daniel Vetter
On Tue, Jan 17, 2017 at 06:22:36PM +0200, Mikko Perttunen wrote: > On 12/14/2016 04:11 PM, Daniel Vetter wrote: > > On Wed, Dec 14, 2016 at 03:32:16PM +0200, Mikko Perttunen wrote: > > > On 14.12.2016 15:05, Daniel Vetter wrote: > > > > On Wed, Dec 14, 2016 at 02:41:28PM +0200, Mikko Perttunen

Re: Unix Device Memory Allocation project

2017-01-22 Thread Daniel Vetter
On Mon, Jan 16, 2017 at 11:54:14PM +0100, Marek Olšák wrote: > Thanks for all the feedback. Things are much clearer now. > > Yeah, we can use the BO modifiers for simple 2D images / planes if > that's the general direction. I think we can even stuff the > compression data buffer offset into those

[PULL] drm-misc-next

2017-01-22 Thread Daniel Vetter
Hi Dave, Bunch of things collected by other people why I was enjoying lca. Group maintainership ftw! - cleanups for dw-hdmi bride driver (Laurent) - updates for adv bridge driver (John Stultz) for nexus - drm_crtc_from_index helper rollout (Shawn Guo) - removing

Re: [PATCH v2 22/26] drm/rockchip: vop: test for P{H,V}SYNC

2017-01-22 Thread Mark yao
On 2017年01月22日 00:31, John Keeping wrote: When connected to the MIPI DSI output, we need to use N{H,V}SYNC for the internal connection but these flags are meaningless for DSI panels. Switch the test so that we do not set the P{H,V}SYNC bits unless the mode requires it. Signed-off-by: John

Re: [PATCH v2 25/26] drm/rockchip: dw-mipi-dsi: add reset control

2017-01-22 Thread Chris Zhong
Reviewed-by: Chris Zhong On 01/22/2017 12:31 AM, John Keeping wrote: In order to fully reset the state of the MIPI controller we must assert this reset. This is slightly more complicated than it could be in order to maintain compatibility with device trees that do not

Re: [PATCH v2 24/26] drm/rockchip: dw-mipi-dsi: support non-burst modes

2017-01-22 Thread Chris Zhong
Reviewed-by: Chris Zhong On 01/22/2017 12:31 AM, John Keeping wrote: Signed-off-by: John Keeping --- Unchanged in v2 --- drivers/gpu/drm/rockchip/dw-mipi-dsi.c | 16 +--- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git

[Bug 99499] [REGRESSION, bisected] KMS hard-freezes around fbcon initialization on NV1A

2017-01-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=99499 --- Comment #3 from Bruno --- In all cases nouveau is built as a module and loaded as follows to enable debugging output (via netconsole) and make use of proper EDID (edid obtained from monitor with another system on its HDMI

[Bug 99499] [REGRESSION, bisected] KMS hard-freezes around fbcon initialization on NV1A

2017-01-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=99499 --- Comment #2 from Bruno --- Created attachment 129103 --> https://bugs.freedesktop.org/attachment.cgi?id=129103=edit Freezing kernel log (@c85ee6ca79590cd51356bf24fb8936bc352138cf) -- You are receiving this mail

[Bug 99499] [REGRESSION, bisected] KMS hard-freezes around fbcon initialization on NV1A

2017-01-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=99499 --- Comment #1 from Bruno --- Created attachment 129102 --> https://bugs.freedesktop.org/attachment.cgi?id=129102=edit Successful kernel log (@13de7f462902d1a452d501cdb2d06ef02cabbfff) -- You are receiving this mail

[Bug 99499] [REGRESSION, bisected] KMS hard-freezes around fbcon initialization on NV1A

2017-01-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=99499 Bug ID: 99499 Summary: [REGRESSION, bisected] KMS hard-freezes around fbcon initialization on NV1A Product: DRI Version: unspecified Hardware: x86 (IA32)

Re: [PATCH 10/10] drm/msm/dsi: Add PHY/PLL for 8x96

2017-01-22 Thread Archit Taneja
On 01/20/2017 01:47 AM, Stephen Boyd wrote: On 01/07, Archit Taneja wrote: + +static struct clk *pll_14nm_postdiv_register(struct dsi_pll_14nm *pll_14nm, +const char *name, +const char *parent_name, +

[Bug 99486] AMDGPU/Iceland Kernel 4.9.5 lock-up while playing ETS2

2017-01-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=99486 Michel Dänzer changed: What|Removed |Added Product|DRI |Mesa QA

Re: [PATCH v2 19/26] drm/rockchip: dw-mipi-dsi: improve PLL configuration

2017-01-22 Thread Chris Zhong
Hi John On 01/22/2017 12:31 AM, John Keeping wrote: The multiplication ratio for the PLL is required to be even due to the use of a "by 2 pre-scaler". Currently we are likely to end up with an odd multiplier even though there is an equivalent set of parameters with an even multiplier. For

Re: [PATCH 4/5] dt: add bindings for ZTE tvenc device

2017-01-22 Thread Shawn Guo
On Thu, Jan 19, 2017 at 06:11:17PM +0100, Lucas Stach wrote: > Am Freitag, den 20.01.2017, 00:24 +0800 schrieb Shawn Guo: > > From: Shawn Guo > > > > It adds bindings doc for ZTE VOU TV Encoder device. > > > > Signed-off-by: Shawn Guo > > --- > >

Re: Warning at drivers/gpu/drm/drm_atomic_helper.c

2017-01-22 Thread Fabio Estevam
On Sun, Jan 22, 2017 at 12:26 PM, Fabio Estevam wrote: > On Sat, Jan 21, 2017 at 2:40 PM, Fabio Estevam wrote: >> Hi, >> >> Stopping kmscube application on mx6q through CTRL + C sometimes leads >> to the following kernel warning: >> >> ^C[ 3939.785516]

Re: [PATCH v2 20/26] drm/rockchip: dw-mipi-dsi: use specific poll helper

2017-01-22 Thread Chris Zhong
Reviewed-by: Chris Zhong On 01/22/2017 12:31 AM, John Keeping wrote: As the documentation for readx_poll_timeout says, we want to use the specialized macro for readl rather than using the generic version directly. Signed-off-by: John Keeping ---

[git pull] drm fixes for 4.10-rc6 (just missed rc5 tagging :-)

2017-01-22 Thread Dave Airlie
Hi Linus, Okay holidays and LCA kinda caught up with me, I thought I'd get some of this dequeued last week, but Hobart was sunny and warm and not all gloomy and rainy as usual. This is a bit large, but not too much considering it's two weeks stuff from AMD and Intel. core: one locking fix that

[Bug 90481] Radeonsi driver, X crash while playing "Spec ops: the line"

2017-01-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=90481 --- Comment #26 from theamazingja...@googlemail.com --- Tested with recent mesa git, Ubuntu 16.04 Padoka PPA, kernel 4.8.11, no gpu lockup with ~2 hour play. Probably fixed by same commit that fixed Arkham Origins in Wine and XCOM:EU. -- You

[PATCH libdrm 2/3] amdgpu: don't mess with shared_handle if amdgpu_bo_import() fails

2017-01-22 Thread Emil Velikov
Do not close the handle if someone else has created it. Afaict there's no change of ownership implied if the function fails. Thus the caller is responsible to doing the right thing - trying again, closing the handle and/or other. Cc: amd-...@lists.freedesktop.org Signed-off-by: Emil Velikov

[PATCH libdrm 3/3] amdgpu: rework and remove amdgpu_get_auth()

2017-01-22 Thread Emil Velikov
All one needs is to establish if dev->fd is the flink (primary/card) node, rather than use DRM_IOCTL_GET_CLIENT to query the auth status. The latter is [somewhat] deprecated and incorrect. We need to know [and store] the primary node FD, since we're going to use it [at a later stage] for buffer

[PATCH libdrm 1/3] amdgpu: add missing unlock on drmPrimeFDToHandle() failure

2017-01-22 Thread Emil Velikov
Cc: amd-...@lists.freedesktop.org Signed-off-by: Emil Velikov --- amdgpu/amdgpu_bo.c | 1 + 1 file changed, 1 insertion(+) diff --git a/amdgpu/amdgpu_bo.c b/amdgpu/amdgpu_bo.c index d30fd1e7..c9f31587 100644 --- a/amdgpu/amdgpu_bo.c +++ b/amdgpu/amdgpu_bo.c @@ -302,6

[PATCH libdrm 5/5] android: silence ~550 warnings

2017-01-22 Thread Emil Velikov
Analogous to the autoconf build add the following to the build -Wno-unused-parameter -Wno-missing-field-initializers Cc: Chih-Wei Huang Cc: Rob Herring Signed-off-by: Emil Velikov --- According to Rob's jenkins build

[PATCH libdrm 3/5] android: add HAVE_VISIBILITY to Android.common.mk

2017-01-22 Thread Emil Velikov
Currently only libdrm.so properly annotates its internal/private symbols. By setting the macro every binary produced will be in the same boat. This should give is smaller and more secure files Cc: Chih-Wei Huang Cc: Rob Herring Signed-off-by: Emil

[PATCH libdrm 4/5] android: add note about command line defines and config.h

2017-01-22 Thread Emil Velikov
Cc: Chih-Wei Huang Cc: Rob Herring Signed-off-by: Emil Velikov --- Android.common.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/Android.common.mk b/Android.common.mk index ffe92198..71f14ec3 100644 ---

[PATCH libdrm 1/5] android: remove LOCAL_MODULE_TAGS := optional tag

2017-01-22 Thread Emil Velikov
Seems to be the default option. Fleshed out from a larger commit in the AOSP repo/fork. Cc: Dan Willemsen Cc: Chih-Wei Huang Cc: Rob Herring Signed-off-by: Emil Velikov --- Dan a couple of humble

[PATCH libdrm 2/5] android: introduce Android.common.mk to reduce boilerplate

2017-01-22 Thread Emil Velikov
... across the makefiles. Currently this isn't much but that will change shortly. As an added bonus this fixes all present and future cases where we've forgotten to strip out the headers from LOCAL_SRC_FILES. In a couple of cases (the tests) we start setting LOCAL_EXPORT_C_INCLUDE_DIRS, which

[PATCH 8/9] dt-bindings: Add Multi-Inno MI0283QT binding

2017-01-22 Thread Noralf Trønnes
Add device-tree binding documentation for the MI0283QT display panel. Signed-off-by: Noralf Trønnes --- Datasheet: https://cdn-shop.adafruit.com/datasheets/MI0283QT-11+V1.1.PDF .../bindings/display/multi-inno,mi0283qt.txt | 27 ++ 1 file changed,

[PATCH 1/9] drm/fb-cma-helper: Add drm_fbdev_cma_set_suspend_unlocked()

2017-01-22 Thread Noralf Trønnes
Add a CMA version of drm_fb_helper_set_suspend_unlocked(). Cc: laurent.pinch...@ideasonboard.com Signed-off-by: Noralf Trønnes --- drivers/gpu/drm/drm_fb_cma_helper.c | 18 ++ include/drm/drm_fb_cma_helper.h | 2 ++ 2 files changed, 20 insertions(+)

[PATCH 4/9] drm: Add DRM support for tiny LCD displays

2017-01-22 Thread Noralf Trønnes
tinydrm provides helpers for very simple displays that can use CMA backed framebuffers and need flushing on changes. Signed-off-by: Noralf Trønnes --- Documentation/gpu/drm-kms-helpers.rst | 15 ++ MAINTAINERS | 7 +

[PATCH 6/9] drm/tinydrm: Add MIPI DBI support

2017-01-22 Thread Noralf Trønnes
Add support for MIPI DBI compatible controllers. Interface type C option 1 and 3 are supported (SPI). Signed-off-by: Noralf Trønnes --- Documentation/gpu/drm-kms-helpers.rst | 12 + drivers/gpu/drm/tinydrm/Kconfig |3 + drivers/gpu/drm/tinydrm/Makefile |

[PATCH 2/9] drm: debugfs: Remove all files automatically on cleanup

2017-01-22 Thread Noralf Trønnes
Instead of having the drivers call drm_debugfs_remove_files() in their drm_driver->debugfs_cleanup hook, do it automatically by traversing minor->debugfs_list. Also use debugfs_remove_recursive() so drivers who add their own debugfs files don't have to keep track of them for removal.

[PATCH 7/9] of: Add vendor prefix for Multi-Inno

2017-01-22 Thread Noralf Trønnes
Multi-Inno Technology Co.,Ltd is a Hong Kong based company offering LCD, LCD module products and complete panel solutions. Signed-off-by: Noralf Trønnes --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH 5/9] drm/tinydrm: Add helper functions

2017-01-22 Thread Noralf Trønnes
Add common functionality needed by many tinydrm drivers. Signed-off-by: Noralf Trønnes --- Documentation/gpu/drm-kms-helpers.rst | 6 + drivers/gpu/drm/tinydrm/core/Makefile | 2 +- drivers/gpu/drm/tinydrm/core/tinydrm-helpers.c | 490

[PATCH 9/9] drm/tinydrm: Add support for Multi-Inno MI0283QT display

2017-01-22 Thread Noralf Trønnes
Add driver to support the Multi-Inno MI0283QT display panel. It has an ILI9341 MIPI DBI compatible display controller. Signed-off-by: Noralf Trønnes --- MAINTAINERS| 6 + drivers/gpu/drm/tinydrm/Kconfig| 8 ++ drivers/gpu/drm/tinydrm/Makefile

[PATCH 0/9] drm: Add support for tiny LCD displays

2017-01-22 Thread Noralf Trønnes
This is an attempt at providing a DRM version of drivers/staging/fbtft. The tinydrm library provides a very simplified view of DRM in particular for tiny displays that has onboard video memory and is connected through a slow bus like SPI/I2C. Main changes since the RFCv2 in April last year: - No

[PATCH 3/9] drm/simple-helpers: Add missing includes

2017-01-22 Thread Noralf Trønnes
Add missing includes to pull in definitions for drm_crtc, drm_plane and drm_encoder. Signed-off-by: Noralf Trønnes --- include/drm/drm_simple_kms_helper.h | 4 1 file changed, 4 insertions(+) diff --git a/include/drm/drm_simple_kms_helper.h

Re: Warning at drivers/gpu/drm/drm_atomic_helper.c

2017-01-22 Thread Fabio Estevam
On Sat, Jan 21, 2017 at 2:40 PM, Fabio Estevam wrote: > Hi, > > Stopping kmscube application on mx6q through CTRL + C sometimes leads > to the following kernel warning: > > ^C[ 3939.785516] [ cut here ] > [ 3939.790313] WARNING: CPU: 1 PID: 67 at >

[PATCH 1/1] drm/amd/powerplay: fix misspelling in header guard

2017-01-22 Thread Nicolas Iooss
In smu7_clockpowergating.h, the #ifndef statement which prevents multiple inclusions of the header file uses _SMU7_CLOCK_POWER_GATING_H_ but the following #define statement uses _SMU7_CLOCK__POWER_GATING_H_. Signed-off-by: Nicolas Iooss ---

Re: [PATCH v2 17/26] drm/rockchip: dw-mipi-dsi: don't enable PHY PLL until it's configured

2017-01-22 Thread Chris Zhong
Hi John This patch do the similar thing with https://patchwork.kernel.org/patch/9530405/ They are changing the phy configuration order, my suggestion is to merge them. On 01/22/2017 12:31 AM, John Keeping wrote: Signed-off-by: John Keeping --- Unchanged in v2 ---

Re: [PATCH v2 14/26] drm/rockchip: dw-mipi-dsi: fix escape clock rate

2017-01-22 Thread Chris Zhong
Reviewed-by: Chris Zhong On 01/22/2017 12:31 AM, John Keeping wrote: Use the same calculation as the vendor kernel to derive the escape clock speed. Signed-off-by: John Keeping --- Unchanged in v2 --- drivers/gpu/drm/rockchip/dw-mipi-dsi.c | 4 +++-

Re: [PATCH v2 15/26] drm/rockchip: dw-mipi-dsi: ensure PHY is reset

2017-01-22 Thread Chris Zhong
Reviewed-by: Chris Zhong On 01/22/2017 12:31 AM, John Keeping wrote: Also don't power up the DSI host at this point since this is not necessary in order to configure the PHY and we do so later when selecting video or command mode. Signed-off-by: John Keeping

Re: [PATCH v2 13/26] drm/rockchip: dw-mipi-dsi: allow commands in panel_disable

2017-01-22 Thread Chris Zhong
Hi John On 01/22/2017 12:31 AM, John Keeping wrote: Panel drivers may want to sent commands during the disable function, for example MIPI_DCS_SET_DISPLAY_OFF before the video signal ends. In order to send commands we need to write to registers, so pclk must be enabled. While changing this,

Re: [PATCH v2 12/26] drm/rockchip: dw-mipi-dsi: prepare panel after phy init

2017-01-22 Thread Chris Zhong
Hi John Reviewed-by: Chris Zhong On 01/22/2017 12:31 AM, John Keeping wrote: Some panels need to be configured with commands sent over the MIPI link, which they will do in the prepare hook. Call this after the PHY has been initialized so that we are able to send commands

Re: [PATCH v2 11/26] drm/rockchip: dw-mipi-dsi: don't assume buffer is aligned

2017-01-22 Thread Chris Zhong
Hi John Reviewed-by: Chris Zhong On 01/22/2017 12:31 AM, John Keeping wrote: By dereferencing the MIPI command buffer as a u32* we rely on it being correctly aligned on ARM, but this may not be the case. Copy it into a stack variable that will be correctly aligned.

Re: [PATCH v2 10/26] drm/rockchip: dw-mipi-dsi: only request HS clock when required

2017-01-22 Thread Chris Zhong
Hi John Reviewed-by: Chris Zhong On 01/22/2017 12:31 AM, John Keeping wrote: Requesting the HS clock from the PHY before we initialize it causes an invalid signal to be sent out since the input clock is not yet configured. The PHY databook suggests only asserting this