Re: linux-next: build failure after merge of the drm-misc tree

2017-04-21 Thread Logan Gunthorpe
Thanks Stephen. Looks good to me. Logan On 20/04/17 08:10 PM, Stephen Rothwell wrote: > Hi all, > > After merging the drm-misc tree, today's linux-next build (x86_64 > allmodconfig) failed like this: > > drivers/tee/tee_shm.c:87:2: error: unknown field 'kmap_atomic' specified in > initializer

[PATCH v7 4/4] drm/dp: Track MST link bandwidth

2017-04-21 Thread Dhinakaran Pandiyan
From: "Pandiyan, Dhinakaran" Use the added helpers to track MST link bandwidth for atomic modesets. Link bw is acquired in the ->atomic_check() phase when CRTCs are being enabled with drm_atomic_find_vcpi_slots() instead of drm_find_vcpi_slots(). Similarly, link bw is released during ->atomic_che

Re: [PATCH v4 06/11] drm/sun4i: add support for Allwinner DE2 mixers

2017-04-21 Thread icenowy
于 2017年4月20日 GMT+08:00 下午4:37:07, Maxime Ripard 写到: On Tue, Apr 18, 2017 at 06:47:56PM +0800, Icenowy Zheng wrote: >> + /* Get the physical address of the buffer in memory */ >> + gem = drm_fb_cma_get_gem_obj(fb, 0); >> + >> + DRM_DEBUG_DRIVER("Using GEM @ %pad\n", &gem->paddr)

[PATCH v2 7/9] drm/sun4i: tcon: Copy ID from associated backend

2017-04-21 Thread Chen-Yu Tsai
The tcons and backends have a one-to-one relationship. Their IDs, or indexes in the documentation, are also the same. Copy the ID from the associated backend and save it in the tcon structure. This will later be used when we add support for the output data path muxes. Signed-off-by: Chen-Yu Tsai

Re: [PATCH RFC 7/7] ARM: dts: samsung: Switch to dedicated Odroid sound card binding

2017-04-21 Thread Krzysztof Kozlowski
On Fri, Apr 21, 2017 at 07:19:51PM +0200, Sylwester Nawrocki wrote: > The new sound card DT binding is used for Odroid XU3 in order > to properly support the HDMI audio path. > Clocks configuration is changed so the I2S controller is now the bit > and the frame clock master with EPLL as the root cl

[PATCH v7 3/4] drm/dp: Add DP MST helpers to atomically find and release vcpi slots

2017-04-21 Thread Dhinakaran Pandiyan
From: "Pandiyan, Dhinakaran" drm_dp_atomic_find_vcpi_slots() should be called from ->atomic_check() to check there are sufficient vcpi slots for a mode and to add that to the state. This should be followed by a call to drm_dp_mst_allocate_vcpi() in ->atomic_commit() to initialize a struct vcpi fo

Re: [PATCH 05/28] drm/bridge: fix include notation and remove -Iinclude/drm flag

2017-04-21 Thread Masahiro Yamada
2017-04-21 14:51 GMT+09:00 Andrzej Hajda : > Hi Masahiro, > > On 20.04.2017 11:56, Masahiro Yamada wrote: >> Include instead of relative path from include/drm, then >> remove the -Iinclude/drm compiler flag. >> >> Signed-off-by: Masahiro Yamada >> --- >> >> drivers/gpu/drm/bridge/Makefile

[PATCH v2 3/9] drm/sun4i: backend: Drop trailing 0 from backend in error message

2017-04-21 Thread Chen-Yu Tsai
Now that we support multiple instances of backends, the trailing 0 implying only one backend no longer makes sense. Signed-off-by: Chen-Yu Tsai --- drivers/gpu/drm/sun4i/sun4i_backend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/sun4i/sun4i_backend.c b/d

Re: Applied "ASoC: Add Odroid sound DT bindings documentation" to the asoc tree

2017-04-21 Thread Krzysztof Kozlowski
On Fri, Apr 21, 2017 at 7:28 PM, Mark Brown wrote: > The patch > >ASoC: Add Odroid sound DT bindings documentation > > has been applied to the asoc tree at > >git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git > > All being well this means that it will be integrated into the l

[PATCH v2 9/9] ARM: dts: sun6i: Enable tcon0 by default

2017-04-21 Thread Chen-Yu Tsai
tcon0 contains a muxing register used to mux tcon output to downstream hdmi or mipi dsi encoders. tcon0 must be available for the mux to be configured. Whether the display subsystem is enabled or not is now solely controlled by the display-engine node. Signed-off-by: Chen-Yu Tsai --- arch/arm/b

Re: Probing modes and validating them

2017-04-21 Thread Jose Abreu
++ Daniel ++ Dave On 21-04-2017 13:59, Jose Abreu wrote: > Hi All, > > > Is there any callback available, at the crtc level, that can > validate the probed modes before making them available for > userspace? I mean: I know that there is connector->mode_valid(), > but I couldn't find any equivale

Re: [PATCH v5 0/2] crypto: hw_random - Add new Exynos RNG driver

2017-04-21 Thread Herbert Xu
On Tue, Apr 11, 2017 at 08:08:33PM +0200, Krzysztof Kozlowski wrote: > Hi, > > This is a follow up of my questions around exynos-rng [1]. > > Changes since v4: > = > 1. Patch 2/2: Use "stdrng" name, as suggested by Herbert. > 2. Patch 2/2: Add Bartlomiej's reviewed-by. All applie

Re: [PATCH v6 2/3] v4l: Add 10/16-bits per channel YUV pixel formats

2017-04-21 Thread ayaka
On 04/18/2017 03:33 AM, Mauro Carvalho Chehab wrote: Em Sun, 5 Mar 2017 18:00:32 +0800 Randy Li escreveu: The formats added by this patch are: V4L2_PIX_FMT_P010 V4L2_PIX_FMT_P010M V4L2_PIX_FMT_P016 V4L2_PIX_FMT_P016M Currently, none of driver uses those forma

Re: [linux-sunxi] [PATCH 13/15] drm/sun4i: Add HDMI support

2017-04-21 Thread Chen-Yu Tsai
Hi, On Tue, Mar 7, 2017 at 4:56 PM, Maxime Ripard wrote: > The earlier Allwinner SoCs (A10, A10s, A20, A31) have an embedded HDMI > controller. > > That HDMI controller is able to do audio and CEC, but those have been left > out for now. > > Signed-off-by: Maxime Ripard > --- > drivers/gpu/drm/

[PATCH v7 1/4] drm: Add driver-private objects to atomic state

2017-04-21 Thread Dhinakaran Pandiyan
From: "Pandiyan, Dhinakaran" It is necessary to track states for objects other than connector, crtc and plane for atomic modesets. But adding objects like DP MST link bandwidth to drm_atomic_state would mean that a non-core object will be modified by the core helper functions for swapping and cle

Re: Applied "ASoC: Add Odroid sound DT bindings documentation" to the asoc tree

2017-04-21 Thread Krzysztof Kozlowski
On Fri, Apr 21, 2017 at 06:58:00PM +0100, Mark Brown wrote: > On Fri, Apr 21, 2017 at 07:31:42PM +0200, Krzysztof Kozlowski wrote: > > > Although Sylwester is known of writing good quality code and can be > > trusted but he posted it just 9 minutes ago. Isn't it a little bit too > > fast to apply?

[PATCH v2 2/9] drm/sun4i: Use lists to track registered display backends and TCONs

2017-04-21 Thread Chen-Yu Tsai
To support multiple display pipelines, we need to keep track of the multiple display backends and TCONs registered with the driver. Switch to lists to track registered components. Components are only appended to their respective lists if the bind process was successful. The TCON bind function now

[PATCH v2 1/9] dt-bindings: display: sun4i: Add component endpoint ID numbering scheme

2017-04-21 Thread Chen-Yu Tsai
The Allwinner display pipeline contains many hardware components, some of which can consume data from one of multiple upstream components. The numbering scheme of these components must be encoded into the device tree so the driver can figure out which component out of two or more of the same type i

[PATCH v7 0/4] Adding driver-private objects to atomic state

2017-04-21 Thread Dhinakaran Pandiyan
Changes in this version: Used connector->atomic_check() to release vcpi slots instead of the atomic_release() callback. This series introduces void * type driver-private objects in core and adds helper functions that operate on these private objects. Drivers need to implement object-specific funct

Re: Applied "ASoC: Add Odroid sound DT bindings documentation" to the asoc tree

2017-04-21 Thread Krzysztof Kozlowski
On Fri, Apr 21, 2017 at 06:58:00PM +0100, Mark Brown wrote: > On Fri, Apr 21, 2017 at 07:31:42PM +0200, Krzysztof Kozlowski wrote: > > > Although Sylwester is known of writing good quality code and can be > > trusted but he posted it just 9 minutes ago. Isn't it a little bit too > > fast to apply?

[PATCH v2 4/9] drm/sun4i: backend: Fetch backend ID from device tree

2017-04-21 Thread Chen-Yu Tsai
Some Allwinner SoCs have 2 display pipelines, as in 2 of each components, including the frontend, backend, TCON, and any other extras. As the backend and TCON are always paired together and form the CRTC, we need to know which backend or TCON we are currently probing, so we can pair them when init

[PATCH v2 6/9] drm/sun4i: tcon: Find matching display backend by device node matching

2017-04-21 Thread Chen-Yu Tsai
With Allwinner's Display Engine 1.0, each TCON's input is tied to a specific display backend, and the 2 comprise what is known as a crtc in DRM KMS land: The layer, framebuffer, and compositing functions are provided by the backend, while the TCON provides the display timing signals and vblank inte

[PATCH v7 2/4] drm/dp: Introduce MST topology state to track available link bandwidth

2017-04-21 Thread Dhinakaran Pandiyan
From: "Pandiyan, Dhinakaran" Link bandwidth is shared between multiple display streams in DP MST configurations. The DP MST topology manager structure maintains the shared link bandwidth for a primary link directly connected to the GPU. For atomic modesetting drivers, checking if there is suffici

[PATCH v2 8/9] ARM: dts: sun6i: Add second display pipeline device nodes

2017-04-21 Thread Chen-Yu Tsai
The Allwinner A31/A31s SoCs have 2 display pipelines, as in 2 display frontends, backends, and tcons each. The relationship between the backends and tcons are 1:1, but the frontends can feed either backend. Add device nodes and of graph nodes describing this relationship. Signed-off-by: Chen-Yu T

Probing modes and validating them

2017-04-21 Thread Jose Abreu
Hi All, Is there any callback available, at the crtc level, that can validate the probed modes before making them available for userspace? I mean: I know that there is connector->mode_valid(), but I couldn't find any equivalent crtc->mode_valid(). I found mode_fixup() but this is called after giv

[PATCH] arcpgu: Simplify driver name

2017-04-21 Thread Alexey Brodkin
This very minor change is still useful because it aligns ARC PGU driver name with other DRM drivers and makes usage of that driver name a bit easier. For example in libdrm's test app we'll use "arcpgu" instead of a bit more ugly "drm-arcpgu". Signed-off-by: Alexey Brodkin Cc: Daniel Vetter ---

[PATCH v2 0/9] drm/sun4i: Support multiple display pipelines

2017-04-21 Thread Chen-Yu Tsai
Hi, This is v2 of the series previously named "drm/sun4i: Support two display pipelines". As the name change suggests, the driver now supports any number of pipelines, though the hardware only has 2 or 3. Changes since v1: - Add component endpoint ID numbering scheme to device tree binding.

[PATCH v2 5/9] drm/sun4i: backend: Save pointer to device tree node

2017-04-21 Thread Chen-Yu Tsai
Save a pointer to the backend's underlying device tree node in its data structure. This will be used later for downstream tcons to find and match their respective upstream backends. Signed-off-by: Chen-Yu Tsai --- drivers/gpu/drm/sun4i/sun4i_backend.c | 1 + drivers/gpu/drm/sun4i/sun4i_backend.h

Re: [PATCH] drm: fourcc byteorder: brings header file comments in line with reality.

2017-04-21 Thread Ilia Mirkin
On Fri, Apr 21, 2017 at 12:59 PM, Ville Syrjälä wrote: > On Fri, Apr 21, 2017 at 10:49:49AM -0400, Ilia Mirkin wrote: >> On Fri, Apr 21, 2017 at 3:58 AM, Gerd Hoffmann wrote: >> > While working on graphics support for virtual machines on ppc64 (which >> > exists in both little and big endian vari

[Bug 100745] amdgpu fails to wake up DisplayPort DELL monitors with 'clock recovery failed'

2017-04-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=100745 --- Comment #5 from mr.nuke...@gmail.com --- P2715Q does not have auto-select mode. They're always listening on the same input. -- You are receiving this mail because: You are the assignee for the bug.___

Re: [PATCH RFC 1/7] clk: samsung: Add enable/disable operation for PLL36XX clocks

2017-04-21 Thread Stephen Boyd
On 04/21, Sylwester Nawrocki wrote: > The existing enable/disable ops for PLL35XX are made more generic > and used also for PLL36XX. This fixes issues in the kernel with > PLL36XX PLLs when the PLL has not been already enabled by bootloader. > > Signed-off-by: Sylwester Nawrocki > --- > drivers/

Re: [PATCH v3 4/5] nouveau_hwmon: Add support for auto_point attributes

2017-04-21 Thread kbuild test robot
Hi Oscar, [auto build test WARNING on drm/drm-next] [also build test WARNING on v4.11-rc7 next-20170421] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Oscar-Salvador/replace

[Bug 194949] Amdgpu: RX 460 idle temp is 45C

2017-04-21 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=194949 fin4...@hotmail.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

Re: [PATCH 2/3] drm/vc4: Don't try to initialize FBDEV if we're only bound to V3D.

2017-04-21 Thread Eric Anholt
Daniel Vetter writes: > On Wed, Apr 19, 2017 at 7:55 PM, Eric Anholt wrote: >> Daniel Vetter writes: >>> On Tue, Apr 18, 2017 at 9:11 PM, Eric Anholt wrote: The FBDEV initialization would throw an error in dmesg, when we just want to silently not initialize fbdev on a V3D-only VC4 in

Re: [PATCH] drm: fourcc byteorder: brings header file comments in line with reality.

2017-04-21 Thread Gerd Hoffmann
Hi, > > My personal opinion is that formats in drm_fourcc.h should be > > independent of the CPU byte order and the function > > drm_mode_legacy_fb_format() and drivers depending on that incorrect > > assumption be fixed instead. > > The problem is this isn't a kernel-internal thing any more

Re: Pageflip fixes for the amd dal/dc staging tree.

2017-04-21 Thread Harry Wentland
On 2017-04-21 12:23 PM, Mario Kleiner wrote: Hi These two patches were written and tested against Harry's hwentland amd-staging-dc-drm-next branch from a few days ago. Not sure if that is the right one to base dal/dc patches against, but it looks recent and active enough? Yes, I suggest you us

Re: [RFC 1/7] drm/atomic: initial support for asynchronous plane update

2017-04-21 Thread Gustavo Padovan
2017-04-11 Daniel Vetter : > On Mon, Apr 10, 2017 at 12:55:33PM -0700, Eric Anholt wrote: > > Gustavo Padovan writes: > > > > > From: Gustavo Padovan > > > > > > In some cases, like cursor updates, it is interesting to update the > > > plane in an asynchronous fashion to avoid big delays. > > >

Applied "ASoC: Add Odroid sound DT bindings documentation" to the asoc tree

2017-04-21 Thread Mark Brown
The patch ASoC: Add Odroid sound DT bindings documentation has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent t

Re: [PULL] drm-misc-next-fixes

2017-04-21 Thread Sean Paul
On Thu, Apr 20, 2017 at 11:50:02PM +0200, Daniel Vetter wrote: > On Thu, Apr 20, 2017 at 10:11 PM, Sean Paul wrote: > > Hi Dave, > > A few fixes for you to pick up. The driver changes are trivial, and the > > maintainer change was necessitated by the sti fix. The headliner here is the > > dma_buf_

Applied "ASoC: samsung: Add Odroid ASoC machine driver" to the asoc tree

2017-04-21 Thread Mark Brown
The patch ASoC: samsung: Add Odroid ASoC machine driver has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to L

Re: Applied "ASoC: Add Odroid sound DT bindings documentation" to the asoc tree

2017-04-21 Thread Mark Brown
On Fri, Apr 21, 2017 at 07:31:42PM +0200, Krzysztof Kozlowski wrote: > Although Sylwester is known of writing good quality code and can be > trusted but he posted it just 9 minutes ago. Isn't it a little bit too > fast to apply? I just finished reading cover letter but didn't manage > to start loo

[PATCH RFC 7/7] ARM: dts: samsung: Switch to dedicated Odroid sound card binding

2017-04-21 Thread Sylwester Nawrocki
The new sound card DT binding is used for Odroid XU3 in order to properly support the HDMI audio path. Clocks configuration is changed so the I2S controller is now the bit and the frame clock master with EPLL as the root clock source. Signed-off-by: Sylwester Nawrocki --- arch/arm/boot/dts/exyno

[PATCH RFC 6/7] ASoC: samsung: Add Odroid ASoC machine driver

2017-04-21 Thread Sylwester Nawrocki
This dedicated driver allows to support SoC specific clock settings and helps to ensure proper number of channels gets negotiated in multicodec system configurations. Signed-off-by: Sylwester Nawrocki --- sound/soc/samsung/Kconfig | 8 ++ sound/soc/samsung/Makefile | 2 + sound/soc/samsung/

[PATCH RFC 2/7] clk: samsung: Add definitions of some audio related clocks

2017-04-21 Thread Sylwester Nawrocki
This patch adds missing definitions of mux clocks required for using EPLL as the audio subsystem root clock on exynos5420/exynos5422 SoCs. Signed-off-by: Sylwester Nawrocki --- drivers/clk/samsung/clk-exynos5420.c | 13 - include/dt-bindings/clock/exynos5420.h | 3 +++ 2 files cha

[PATCH RFC 3/7] clk: samsung: exynos542x: Add EPLL rate table

2017-04-21 Thread Sylwester Nawrocki
A specific clock rate table is added for EPLL so it is possible to set frequency of the EPLL output clock as multiple of various audio sampling rates. Signed-off-by: Sylwester Nawrocki --- drivers/clk/samsung/clk-exynos5420.c | 20 ++-- 1 file changed, 18 insertions(+), 2 deletio

[PATCH RFC 5/7] ASoC: Add Odroid sound DT bindings documentation

2017-04-21 Thread Sylwester Nawrocki
This patch adds DT binding documentation for Odroid XU3/4 sound subsystem. Signed-off-by: Sylwester Nawrocki --- .../devicetree/bindings/sound/samsung,odroid.txt | 57 ++ 1 file changed, 57 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/samsung,od

[PATCH RFC 0/7] HDMI audio support for Exynos Odroid boards

2017-04-21 Thread Sylwester Nawrocki
In this series I gathered patches touching various subsystems to make the overall review easier, finally I'm going to post independently patches for each subsystem and the dts patch(es) will be postponed to subsequent merge window. The main purpose of this series is to add audio codec interface t

[PATCH RFC 4/7] drm: exynos: Add driver for HDMI audio interface

2017-04-21 Thread Sylwester Nawrocki
The hdmi-codec interface added in this patch is required to properly support HDMI audio. Currently the audio part of the SoC internal HDMI transmitter is configured with fixed values, which makes HDMI audio working by chance, only on boards equipped with external audio codec connected in parallel w

[PATCH RFC 1/7] clk: samsung: Add enable/disable operation for PLL36XX clocks

2017-04-21 Thread Sylwester Nawrocki
The existing enable/disable ops for PLL35XX are made more generic and used also for PLL36XX. This fixes issues in the kernel with PLL36XX PLLs when the PLL has not been already enabled by bootloader. Signed-off-by: Sylwester Nawrocki --- drivers/clk/samsung/clk-pll.c | 85 +++

[git pull] vmwgfx-next

2017-04-21 Thread Sinclair Yeh
Hi Dave, The following changes since commit 6b1462700b4a6a1244c018cdd2fa97ded43090a0: Merge tag 'drm-misc-next-fixes-2017-04-20' of git://anongit.freedesktop.org/git/drm-misc into drm-next (2017-04-21 13:51:59 +1000) are available in the git repository at: git://people.freedesktop.org/~sy

Re: [PATCH] drm: fourcc byteorder: brings header file comments in line with reality.

2017-04-21 Thread Ville Syrjälä
On Fri, Apr 21, 2017 at 10:49:49AM -0400, Ilia Mirkin wrote: > On Fri, Apr 21, 2017 at 3:58 AM, Gerd Hoffmann wrote: > > While working on graphics support for virtual machines on ppc64 (which > > exists in both little and big endian variants) I've figured the comments > > for various drm fourcc fo

[PATCH v3 4/5] nouveau_hwmon: Add support for auto_point attributes

2017-04-21 Thread Oscar Salvador
This patch creates a special group attributes for attrs like "*auto_point*". We check if we have support for them, and if we do, we gather them all in an attribute_group's structure which is the parameter regarding special groups of hwmon_device_register_with_info. Signed-off-by: Oscar Salvador -

[PATCH v3 0/5] replace hwmon_device_register for hwmon_device_register_with_info

2017-04-21 Thread Oscar Salvador
Hi, this is version v3 with some fix-ups: Versions: v1 -> v2: * Keep temp attrs as read only v2 -> v3: * Code fix-ups: struct and string as const and add return within switch due to fallthrough * Add Signed-off-by to all commits This patchseries replaces the de

[PATCH v3 3/5] nouveau_hwmon: Remove old code, add .write/.read operations

2017-04-21 Thread Oscar Salvador
This patch removes old code related to the old api and transforms the functions for the new api. It also adds the .write and .read operations. Signed-off-by: Oscar Salvador --- drivers/gpu/drm/nouveau/nouveau_hwmon.c | 722 +++- 1 file changed, 249 insertions(+), 473

[PATCH v3 5/5] nouveau_hwmon: Change permissions to numeric

2017-04-21 Thread Oscar Salvador
This patch replaces the symbolic permissions with the numeric ones, and adds me to the authors too. Signed-off-by: Oscar Salvador --- drivers/gpu/drm/nouveau/nouveau_hwmon.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/nouveau/nouveau_hwmon.c

[PATCH v3 2/5] nouveau_hwmon: Add nouveau_hwmon_ops structure with .is_visible/.read_string

2017-04-21 Thread Oscar Salvador
This patch introduces the nouveau_hwmon_ops structure, sets up .is_visible and .read_string operations and adds all the functions for these operations. This is also a preparation for the next patches, where most of the work is being done. This code doesn't interacture with the old one. It's just to

[PATCH v3 1/5] nouveau_hwmon: Add config for all sensors and their settings

2017-04-21 Thread Oscar Salvador
This is a preparation for the next patches. It just adds the sensors with their possible configurable settings and then fills the struct hwmon_channel_info with all this information. Signed-off-by: Oscar Salvador --- drivers/gpu/drm/nouveau/nouveau_hwmon.c | 72 +

Re: [PATCH RFC 3/6] drm: Plane YCbCr to RGB conversion related properties

2017-04-21 Thread Ville Syrjälä
On Fri, Apr 21, 2017 at 04:34:00PM +0100, Brian Starkey wrote: > On Fri, Apr 21, 2017 at 06:21:48PM +0300, Ville Syrjälä wrote: > >On Fri, Apr 21, 2017 at 03:53:42PM +0100, Brian Starkey wrote: > >> Hi, > >> > >> Thanks for picking this up Jyri. > >> > >> On Fri, Apr 21, 2017 at 04:52:03PM +0300, V

Pageflip fixes for the amd dal/dc staging tree.

2017-04-21 Thread Mario Kleiner
Hi These two patches were written and tested against Harry's hwentland amd-staging-dc-drm-next branch from a few days ago. Not sure if that is the right one to base dal/dc patches against, but it looks recent and active enough? They fix pageflip scheduling to always flip at the right target vblan

[PATCH 2/2] drm/amd/display: Prevent premature pageflip when comitting in vblank.

2017-04-21 Thread Mario Kleiner
Make sure we do not program a hw pageflip inside vblank 'n' iff the atomic flip is comitted while inside the same vblank 'n'. We must defer such a flip by one refresh cycle to vblank 'n+1'. Without this, pageflips programmed via X11 GLX_OML_sync_control extensions glXSwapBuffersMscOML(..., target_

[PATCH 1/2] drm/amd/display: Fix race between vblank irq and pageflip irq.

2017-04-21 Thread Mario Kleiner
Since DC now uses CRTC_VERTICAL_INTERRUPT0 as VBLANK irq trigger and vblank interrupts actually happen earliest at start of vblank, instead of a bit before vblank, we no longer need some of the fudging logic to deal with too early vblank irq handling (grep for lb_vblank_lead_lines). This itself fix

Re: [PATCH] drm/edid: Add 10 bpc quirk for LGD 764 panel in HP zBook 17 G2

2017-04-21 Thread Harry Wentland
On 2017-04-21 11:05 AM, Mario Kleiner wrote: The builtin eDP panel in the HP zBook 17 G2 supports 10 bpc, as advertised by the Laptops product specs and verified via injecting a fixed edid + photometer measurements, but edid reports unknown depth, so drivers fall back to 6 bpc. Add a quirk to

Re: [PATCH RFC 3/6] drm: Plane YCbCr to RGB conversion related properties

2017-04-21 Thread Brian Starkey
On Fri, Apr 21, 2017 at 06:21:48PM +0300, Ville Syrjälä wrote: On Fri, Apr 21, 2017 at 03:53:42PM +0100, Brian Starkey wrote: Hi, Thanks for picking this up Jyri. On Fri, Apr 21, 2017 at 04:52:03PM +0300, Ville Syrjälä wrote: >On Fri, Apr 21, 2017 at 04:39:16PM +0300, Jyri Sarha wrote: >> On 0

Re: [PATCHv4 00/12] Ion cleanup in preparation for moving out of staging

2017-04-21 Thread Sumit Semwal
Hi Laura, Thanks much for this series! On 18 April 2017 at 23:57, Laura Abbott wrote: > Hi, > > This is v4 of the series to cleanup to Ion. Greg took some of the patches > that weren't CMA related already. There was a minor bisectability problem > with the CMA APIs so this is a new version to ad

Re: [PULL] drm-misc-next-fixes

2017-04-21 Thread Sumit Semwal
On 21 April 2017 at 03:20, Daniel Vetter wrote: >> - Rename dma_buf_ops->kmap_* to avoid naming collision (Logan) > > This one touches v4l and ion and is acked by the corresponding > maintainers (but Sumit forgot to record that when applying the patch, > and Sean didn't highlight it in the summar

Re: [PATCH RFC 3/6] drm: Plane YCbCr to RGB conversion related properties

2017-04-21 Thread Ville Syrjälä
On Fri, Apr 21, 2017 at 03:53:42PM +0100, Brian Starkey wrote: > Hi, > > Thanks for picking this up Jyri. > > On Fri, Apr 21, 2017 at 04:52:03PM +0300, Ville Syrjälä wrote: > >On Fri, Apr 21, 2017 at 04:39:16PM +0300, Jyri Sarha wrote: > >> On 04/21/17 14:17, Ville Syrjälä wrote: > >> >> +static

Re: [PATCH] drm: fourcc byteorder: brings header file comments in line with reality.

2017-04-21 Thread Harry Wentland
Thanks, Christian for adding me. On 2017-04-21 09:27 AM, Christian König wrote: Adding Harry to this mail thread as well, cause is one of the people really affected by this. Christian. Am 21.04.2017 um 15:21 schrieb Christian König: Am 21.04.2017 um 15:12 schrieb Gerd Hoffmann: Hi, "nat

[PATCH] drm/edid: Add 10 bpc quirk for LGD 764 panel in HP zBook 17 G2

2017-04-21 Thread Mario Kleiner
The builtin eDP panel in the HP zBook 17 G2 supports 10 bpc, as advertised by the Laptops product specs and verified via injecting a fixed edid + photometer measurements, but edid reports unknown depth, so drivers fall back to 6 bpc. Add a quirk to get the full 10 bpc. Cc: sta...@vger.kernel.org

[Bug 195483] radeon: video modes over 1920x1080 not working with DP audio

2017-04-21 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=195483 Michal Suchánek (msucha...@suse.de) changed: What|Removed |Added Attachment #255949|0 |1 is obsolet

[Bug 195483] radeon: video modes over 1920x1080 not working with DP audio

2017-04-21 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=195483 Michal Suchánek (msucha...@suse.de) changed: What|Removed |Added Attachment #255947|0 |1 is obsolet

[Bug 100673] Tonga agd5f drm-next-4.12-wip xorg segfault on startx

2017-04-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=100673 Alex Deucher changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

Re: [PATCH RFC 3/6] drm: Plane YCbCr to RGB conversion related properties

2017-04-21 Thread Brian Starkey
Hi, Thanks for picking this up Jyri. On Fri, Apr 21, 2017 at 04:52:03PM +0300, Ville Syrjälä wrote: On Fri, Apr 21, 2017 at 04:39:16PM +0300, Jyri Sarha wrote: On 04/21/17 14:17, Ville Syrjälä wrote: >> +static char *ycbcr_to_rgb_mode_name[] = { >> + [DRM_PLANE_YCBCR_BT601_LIM_TO_RGB_BT60

Re: [PATCH] drm: fourcc byteorder: brings header file comments in line with reality.

2017-04-21 Thread Ilia Mirkin
On Fri, Apr 21, 2017 at 3:58 AM, Gerd Hoffmann wrote: > While working on graphics support for virtual machines on ppc64 (which > exists in both little and big endian variants) I've figured the comments > for various drm fourcc formats in the header file don't match reality. > > Comments says the R

[Bug 195483] radeon: video modes over 1920x1080 not working with DP audio

2017-04-21 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=195483 --- Comment #2 from Michal Suchánek (msucha...@suse.de) --- Created attachment 255951 --> https://bugzilla.kernel.org/attachment.cgi?id=255951&action=edit radeon card pci id -- You are receiving this mail because: You are watching the assignee

[Bug 195483] radeon: video modes over 1920x1080 not working with DP audio

2017-04-21 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=195483 --- Comment #1 from Michal Suchánek (msucha...@suse.de) --- Created attachment 255949 --> https://bugzilla.kernel.org/attachment.cgi?id=255949&action=edit text representation of edid as decoded by edid-decode -- You are receiving this mail bec

[Bug 195483] New: radeon: video modes over 1920x1080 not working with DP audio

2017-04-21 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=195483 Bug ID: 195483 Summary: radeon: video modes over 1920x1080 not working with DP audio Product: Drivers Version: 2.5 Kernel Version: 4.0 Hardware: All OS:

Re: [PATCH RFC 3/6] drm: Plane YCbCr to RGB conversion related properties

2017-04-21 Thread Ville Syrjälä
On Fri, Apr 21, 2017 at 04:39:16PM +0300, Jyri Sarha wrote: > On 04/21/17 14:17, Ville Syrjälä wrote: > >> +static char *ycbcr_to_rgb_mode_name[] = { > >> + [DRM_PLANE_YCBCR_BT601_LIM_TO_RGB_BT601_FULL] = > >> + "YCbCr BT.601 limited range TO RGB BT.601 full range", > >> + [DRM_PLANE_YCB

Re: [PATCH RFC 0/6] drm: Add properties to control YCbCr to RGB conversion

2017-04-21 Thread Liviu Dudau
Hi Jyri, On Fri, Apr 21, 2017 at 12:51:11PM +0300, Jyri Sarha wrote: > The series adds plane specific atomic properties to control YCbCr to > RGB conversions. My intention was to try to implement the plane > specific (before DEGAMMA) part of the suggestion in this dri-devel > post: > > https://li

Re: [PATCH v2] drm/mediatek: fix a timeout loop

2017-04-21 Thread Philipp Zabel
On Fri, 2017-04-21 at 13:51 +0300, Dan Carpenter wrote: > This code causes a static checker warning because it treats "i == 0" as > a timeout but, because it's a post-op, the loop actually ends with "i" > set to -1. Philipp Zabel points out that it would be cleaner to use > readl_poll_timeout() in

Re: [PATCH RFC 3/6] drm: Plane YCbCr to RGB conversion related properties

2017-04-21 Thread Jyri Sarha
On 04/21/17 14:17, Ville Syrjälä wrote: >> +static char *ycbcr_to_rgb_mode_name[] = { >> +[DRM_PLANE_YCBCR_BT601_LIM_TO_RGB_BT601_FULL] = >> +"YCbCr BT.601 limited range TO RGB BT.601 full range", >> +[DRM_PLANE_YCBCR_BT601_FULL_TO_RGB_BT601_FULL] = >> +"YCbCr BT.601

Re: [PATCH] drm: fourcc byteorder: brings header file comments in line with reality.

2017-04-21 Thread Christian König
Adding Harry to this mail thread as well, cause is one of the people really affected by this. Christian. Am 21.04.2017 um 15:21 schrieb Christian König: Am 21.04.2017 um 15:12 schrieb Gerd Hoffmann: Hi, "native" to me feels more like "native to the GPU" since these things really are tied

Re: [PATCH] drm: fourcc byteorder: brings header file comments in line with reality.

2017-04-21 Thread Christian König
Am 21.04.2017 um 15:12 schrieb Gerd Hoffmann: Hi, "native" to me feels more like "native to the GPU" since these things really are tied to the GPU not the CPU. That's also why I went with the explicit endianness originally so that the driver could properly declare what the GPU supports. And

[Bug 100745] amdgpu fails to wake up DisplayPort DELL monitors with 'clock recovery failed'

2017-04-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=100745 --- Comment #4 from Harry Wentland --- Are the monitors set to DP input or to auto-select? If they are in auto-select will setting input to DP help? I've seen auto-select mode have problems with DP many times, especially with scenarios like com

[Bug 66963] Rv6xx dpm problems

2017-04-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=66963 --- Comment #295 from Alex Deucher --- (In reply to Kyle K from comment #294) > Hello, > > I have been having problem with my HD6870 for some time. I experienced it on > 4.7/4.8/4.9 kernels (haven't tested earlier). My HD6870 works great out of

Re: [PATCH] drm: fourcc byteorder: brings header file comments in line with reality.

2017-04-21 Thread Gerd Hoffmann
Hi, > > "native" to me feels more like "native to the GPU" since these things > > really are tied to the GPU not the CPU. That's also why I went with the > > explicit endianness originally so that the driver could properly declare > > what the GPU supports. > And to be honest I would really pref

Re: [PATCH RFC 3/6] drm: Plane YCbCr to RGB conversion related properties

2017-04-21 Thread Ville Syrjälä
On Fri, Apr 21, 2017 at 03:10:31PM +0300, Laurent Pinchart wrote: > Hello, > > CC'ing Hans Verkuil for his knowledge on colorspace. > > On Friday 21 Apr 2017 14:17:56 Ville Syrjälä wrote: > > On Fri, Apr 21, 2017 at 12:51:14PM +0300, Jyri Sarha wrote: > > > Add standard properties to control YCbC

Re: [PATCH RFC 3/6] drm: Plane YCbCr to RGB conversion related properties

2017-04-21 Thread Sharma, Shashank
Regards Shashank On 4/21/2017 4:47 PM, Ville Syrjälä wrote: On Fri, Apr 21, 2017 at 12:51:14PM +0300, Jyri Sarha wrote: Add standard properties to control YCbCr to RGB conversion in DRM planes. The created properties are stored to drm_plane object to allow different set of supported conversio

Re: [PATCH RFC 0/6] drm: Add properties to control YCbCr to RGB conversion

2017-04-21 Thread Sharma, Shashank
Regards Shashank On 4/21/2017 3:21 PM, Jyri Sarha wrote: The series adds plane specific atomic properties to control YCbCr to RGB conversions. My intention was to try to implement the plane specific (before DEGAMMA) part of the suggestion in this dri-devel post: I would probably extend this se

[Bug 99368] Full aspect scaling introduces interlacing on specific resolutions

2017-04-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=99368 --- Comment #6 from Adam Bolte --- I'm seeing this too. Running a BenQ XL2730Z (2560x1440@144Hz) gaming monitor, but some games (eg. Prototype 2 under Wine, Saints Row 2) only accept resolutions up to 1920x1080. They cause GPU scaling to automati

[Bug 100058] amdgpu/dpm: NULL pointer dereference

2017-04-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=100058 --- Comment #13 from Edward O'Callaghan --- Created attachment 130967 --> https://bugs.freedesktop.org/attachment.cgi?id=130967&action=edit dpm patch @Adam, please try applying the attached patch and let me know if it helps with your issue?

Re: [PATCH] drm: fourcc byteorder: brings header file comments in line with reality.

2017-04-21 Thread Christian König
Am 21.04.2017 um 13:49 schrieb Ville Syrjälä: On Fri, Apr 21, 2017 at 02:40:18PM +0300, Pekka Paalanen wrote: On Fri, 21 Apr 2017 14:08:04 +0300 Ville Syrjälä wrote: On Fri, Apr 21, 2017 at 11:50:18AM +0200, Gerd Hoffmann wrote: On Fr, 2017-04-21 at 12:25 +0300, Ville Syrjälä wrote: On Fri,

Re: [PATCH RFC 3/6] drm: Plane YCbCr to RGB conversion related properties

2017-04-21 Thread Laurent Pinchart
Hello, CC'ing Hans Verkuil for his knowledge on colorspace. On Friday 21 Apr 2017 14:17:56 Ville Syrjälä wrote: > On Fri, Apr 21, 2017 at 12:51:14PM +0300, Jyri Sarha wrote: > > Add standard properties to control YCbCr to RGB conversion in DRM > > planes. The created properties are stored to drm_

Re: [PATCH] drm: fourcc byteorder: brings header file comments in line with reality.

2017-04-21 Thread Christian König
Am 21.04.2017 um 13:08 schrieb Ville Syrjälä: On Fri, Apr 21, 2017 at 11:50:18AM +0200, Gerd Hoffmann wrote: On Fr, 2017-04-21 at 12:25 +0300, Ville Syrjälä wrote: On Fri, Apr 21, 2017 at 09:58:24AM +0200, Gerd Hoffmann wrote: While working on graphics support for virtual machines on ppc64 (wh

Re: [PATCH RFC 5/6] drm/omap: csc full range support

2017-04-21 Thread Laurent Pinchart
Hi Jyri, Thank you for the patch. On Friday 21 Apr 2017 12:51:16 Jyri Sarha wrote: > From: Tomi Valkeinen > > At the moment the driver always uses limited range when doing YUV-RGB > conversions. This patch adds full-range tables, and makes the code to > always use full-range tables. > > In the

Re: [PATCH RFC 4/6] drm/omap: cleanup color space conversion

2017-04-21 Thread Laurent Pinchart
Hi Jyri, Thank you for the patch. On Friday 21 Apr 2017 12:51:15 Jyri Sarha wrote: > From: Tomi Valkeinen > > The setup code for color space conversion is a bit messy. This patch > cleans it up. > > For some reason the TRM uses values in YCrCb order, which is also used > in the current driver,

Re: [PATCH] drm: fourcc byteorder: brings header file comments in line with reality.

2017-04-21 Thread Ville Syrjälä
On Fri, Apr 21, 2017 at 02:40:18PM +0300, Pekka Paalanen wrote: > On Fri, 21 Apr 2017 14:08:04 +0300 > Ville Syrjälä wrote: > > > On Fri, Apr 21, 2017 at 11:50:18AM +0200, Gerd Hoffmann wrote: > > > On Fr, 2017-04-21 at 12:25 +0300, Ville Syrjälä wrote: > > > > On Fri, Apr 21, 2017 at 09:58:24A

[Bug 100058] amdgpu/dpm: NULL pointer dereference

2017-04-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=100058 --- Comment #12 from Edward O'Callaghan --- @Alex Deucher I confirmed with Adam that, even with c10c8f7 he still has the null pointer issue. -- You are receiving this mail because: You are the assignee for the bug._

Re: [PATCH RFC 2/6] drm: Make drm_atomic_replace_property_blob_from_id() more generic

2017-04-21 Thread Laurent Pinchart
Hi Jyri, Thank you for the patch. On Friday 21 Apr 2017 12:51:13 Jyri Sarha wrote: > Change drm_atomic_replace_property_blob_from_id()'s first parameter > from drm_crtc to drm_device, so that the function can be used for other > drm_mode_objects too. > > Signed-off-by: Jyri Sarha Reviewed-by:

Re: [PATCH RFC 1/6] drm: drm_color_mgmt.h needs struct drm_crtc declaration

2017-04-21 Thread Laurent Pinchart
Hi Jyri, Thank you for the patch On Friday 21 Apr 2017 12:51:12 Jyri Sarha wrote: No commit message ? > Signed-off-by: Jyri Sarha Apart from that, Reviewed-by: Laurent Pinchart > --- > include/drm/drm_color_mgmt.h | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/include/drm/drm

Re: [PATCH] drm: fourcc byteorder: brings header file comments in line with reality.

2017-04-21 Thread Gerd Hoffmann
Hi, > > I personally find "native" more intuitive, but at the end of the day I > > don't mind much. If people prefer "host" over "native" I'll change it. > > "native" to me feels more like "native to the GPU" since these things > really are tied to the GPU not the CPU. Ok, then maybe "host" i

  1   2   >