[PATCH 1/4] drm: add generic zpos property

2016-05-12 Thread Ville Syrjälä
On Thu, May 12, 2016 at 11:15:42PM +0300, Laurent Pinchart wrote: > Hi Ville, > > On Thursday 12 May 2016 22:46:05 Ville Syrjälä wrote: > > On Thu, May 12, 2016 at 10:20:12PM +0300, Laurent Pinchart wrote: > > > On Thursday 12 May 2016 14:51:55 Ville Syrjälä wrote: > > >> On Thu, May 12, 2016

[PATCH 1/4] drm: add generic zpos property

2016-05-12 Thread Laurent Pinchart
Hi Ville, On Thursday 12 May 2016 22:46:05 Ville Syrjälä wrote: > On Thu, May 12, 2016 at 10:20:12PM +0300, Laurent Pinchart wrote: > > On Thursday 12 May 2016 14:51:55 Ville Syrjälä wrote: > >> On Thu, May 12, 2016 at 12:28:19PM +0200, Benjamin Gaignard wrote: > >>> From: Marek Szyprowski >

[RFC 1/3] dt-bindings: drm/mediatek: Add display binding for Mediatek SoC MT2701

2016-05-12 Thread Yingjoe Chen
On Thu, 2016-05-12 at 19:49 +0800, yt.shen at mediatek.com wrote: > From: YT Shen > > Add device tree binding documentation for the display subsystem in > Mediatek SoC MT2701 > > Signed-off-by: YT Shen > --- > .../bindings/display/mediatek/mediatek,disp.txt|1 + > 1 file changed, 1 ins

[patch] drm/exynos/hdmi: add a missing tab

2016-05-12 Thread Dan Carpenter
Smatch warns that the if statement isn't indented. Signed-off-by: Dan Carpenter diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers/gpu/drm/exynos/exynos_hdmi.c index 0f87acb..748e62f 100644 --- a/drivers/gpu/drm/exynos/exynos_hdmi.c +++ b/drivers/gpu/drm/exynos/exynos_hdmi.c @@ -1612,7

[PATCH 1/4] drm: add generic zpos property

2016-05-12 Thread Ville Syrjälä
On Thu, May 12, 2016 at 10:20:12PM +0300, Laurent Pinchart wrote: > Hi Ville, > > On Thursday 12 May 2016 14:51:55 Ville Syrjälä wrote: > > On Thu, May 12, 2016 at 12:28:19PM +0200, Benjamin Gaignard wrote: > > > From: Marek Szyprowski > > > > > > This patch adds support for generic plane's zp

[PATCH 3/5] drm/dp/mst: change MST detection scheme

2016-05-12 Thread Grodzovsky, Andrey
Hi Dave, Have you had a chance to see if Mykola's latest patch addresses the issue you observed with tiled MST display ? Thanks. -Original Message- From: Lysenko, Mykola Sent: Monday, February 22, 2016 10:09 PM To: Dave Airlie; Wentland, Harry Cc: dri-devel Subject: RE: [PATCH 3/5] drm/

[PATCH 1/4] drm: add generic zpos property

2016-05-12 Thread Laurent Pinchart
Hi Ville, On Thursday 12 May 2016 14:51:55 Ville Syrjälä wrote: > On Thu, May 12, 2016 at 12:28:19PM +0200, Benjamin Gaignard wrote: > > From: Marek Szyprowski > > > > This patch adds support for generic plane's zpos property property with > > well-defined semantics: > > - added zpos propertie

[Bug 92258] [regression] Opening menu in Steam running via DRI_PRIME with enabled DRI3 could lead to radeon kernel module crash

2016-05-12 Thread bugzilla-dae...@freedesktop.org
ri-devel/attachments/20160512/fa2bddb4/attachment-0001.html>

[PATCH 1/4] drm: add generic zpos property

2016-05-12 Thread Laurent Pinchart
On Thursday 12 May 2016 15:36:07 Daniel Vetter wrote: > On Thu, May 12, 2016 at 12:28:19PM +0200, Benjamin Gaignard wrote: > > From: Marek Szyprowski > > > > This patch adds support for generic plane's zpos property property with > > well-defined semantics: > > - added zpos properties to plane an

[PATCH v4 0/3] drm: Add various helpers for simple drivers

2016-05-12 Thread Laurent Pinchart
Hi Noralf, Thank you for the patches. For 1/3 and 2/3, Reviewed-by: Laurent Pinchart On Thursday 12 May 2016 20:25:20 Noralf Trønnes wrote: > This patchset adds various helpers that was originally part of the > tinydrm patchset. > > Essentially it adds 2 functions: > - drm_fb_cma_create_with

[PATCH v4 3/3] drm: Add helper for simple display pipeline

2016-05-12 Thread Ville Syrjälä
On Thu, May 12, 2016 at 08:25:23PM +0200, Noralf Trønnes wrote: > Provides helper functions for drivers that have a simple display > pipeline. Plane, crtc and encoder are collapsed into one entity. > > Cc: jsarha at ti.com > Signed-off-by: Noralf Trønnes > --- > > Changes since v3: > - (struct

[Bug 87682] Horizontal lines in radeon driver on kernel 3.15 and upwards

2016-05-12 Thread bugzilla-dae...@freedesktop.org
for quite a while with testing. Don't close this bug yetwork in progress :-) -- 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/a

[PATCH v4 3/3] drm: Add helper for simple display pipeline

2016-05-12 Thread Noralf Trønnes
Provides helper functions for drivers that have a simple display pipeline. Plane, crtc and encoder are collapsed into one entity. Cc: jsarha at ti.com Signed-off-by: Noralf Trønnes --- Changes since v3: - (struct drm_simple_display_pipe *)->funcs should be const Changes since v2: - Drop Kconfi

[PATCH v4 2/3] drm/fb-cma-helper: Add function drm_fb_cma_create_with_funcs()

2016-05-12 Thread Noralf Trønnes
Add drm_fb_cma_create_with_funcs() for drivers that need to set the dirty() callback. Signed-off-by: Noralf Trønnes Acked-by: Laurent Pinchart --- Changes since v3: - funcs argument should be const Changes since v1: - Expand docs drivers/gpu/drm/drm_fb_cma_helper.c | 31

[PATCH v4 1/3] drm/fb-cma-helper: Use const for drm_framebuffer_funcs argument

2016-05-12 Thread Noralf Trønnes
drm_framebuffer_init() uses const for the drm_framebuffer_funcs argument so use that on drm_fb_cma_alloc() and drm_fbdev_cma_create_with_funcs() as well. Cc: laurent.pinchart at ideasonboard.com Signed-off-by: Noralf Trønnes --- drivers/gpu/drm/drm_fb_cma_helper.c | 4 ++-- include/drm/drm_fb_c

[PATCH v4 0/3] drm: Add various helpers for simple drivers

2016-05-12 Thread Noralf Trønnes
This patchset adds various helpers that was originally part of the tinydrm patchset. Essentially it adds 2 functions: - drm_fb_cma_create_with_funcs() CMA backed framebuffer supporting a dirty() callback. - drm_simple_display_pipe_init() Plane, crtc and encoder are collapsed into one entity.

[RFC 3/3] arm: dts: mt2701: Add display subsystem related nodes for MT2701

2016-05-12 Thread yt.s...@mediatek.com
From: YT Shen This patch adds the device nodes for the DISP function blocks for MT2701 Signed-off-by: YT Shen --- arch/arm/boot/dts/mt2701.dtsi | 117 + 1 file changed, 117 insertions(+) diff --git a/arch/arm/boot/dts/mt2701.dtsi b/arch/arm/boot/dts/mt

[RFC 2/3] drm/mediatek: add support for Mediatek SoC MT2701

2016-05-12 Thread yt.s...@mediatek.com
From: YT Shen This patch add support for the Mediatek MT2701 DISP subsystem. There is only one OVL engine in MT2701, and we have shadow register support here. Signed-off-by: YT Shen --- drivers/gpu/drm/mediatek/mtk_disp_ovl.c | 49 ++--- drivers/gpu/drm/mediatek/mtk_disp_rdma.c|

[RFC 1/3] dt-bindings: drm/mediatek: Add display binding for Mediatek SoC MT2701

2016-05-12 Thread yt.s...@mediatek.com
From: YT Shen Add device tree binding documentation for the display subsystem in Mediatek SoC MT2701 Signed-off-by: YT Shen --- .../bindings/display/mediatek/mediatek,disp.txt|1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/display/mediatek/mediatek

[RFC 0/3] MT2701 DRM support

2016-05-12 Thread yt.s...@mediatek.com
From: YT Shen This is MT2701 DRM support RFC, based on MT8173 DRM patch v16. Most codes are the same, except some register changed. For example: - DISP_OVL address offset changed, color format definition changed. - DISP_RDMA fifo size changed. - DISP_COLOR offset changed. We add a new compon

[PATCH] qxl: catch qxlfb_create_pinned_object failures

2016-05-12 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/qxl/qxl_fb.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/qxl/qxl_fb.c b/drivers/gpu/drm/qxl/qxl_fb.c index 7136e52..17c1ef0 100644 --- a/drivers/gpu/drm/qxl/qxl_fb.c +++ b/drivers/gpu/drm/qxl/qxl_fb.c @@ -360,6 +360,9 @@

EDID/DP color precision fixes on Intel hw for stable

2016-05-12 Thread Mario Kleiner
On 05/07/2016 08:15 PM, Ville Syrjälä wrote: > On Fri, May 06, 2016 at 10:03:06PM +0200, Mario Kleiner wrote: >> On 05/06/2016 08:27 PM, Ville Syrjälä wrote: >>> On Mon, Mar 28, 2016 at 01:52:44AM +0200, Mario Kleiner wrote: Bugzilla https://bugzilla.kernel.org/show_bug.cgi?id=105331

[PATCH] drm/i915/dp: Try to find proper bpc for DP->legacy converters. (v2)

2016-05-12 Thread Mario Kleiner
This fixes a regression in output precision for DVI and VGA video sinks connected to Intel hw via active DisplayPort->DVI/VGA converters. The regression was indirectly introduced by commit 013dd9e03872 ("drm/i915/dp: fall back to 18 bpp when sink capability is unknown"). Our current drm edid 1.3

[PATCH v2 1/3] drm: Tune up error message for incorrect plane/format combinations

2016-05-12 Thread Imre Deak
Returning 0 from these functions isn't ever valid. In many cases it can also lead to a div-by-zero possibly at some later point in time, so make sure we catch such errors as soon as possible via louder error reporting. v2: - Print the same WARN whenever we check for the same condition (Ville) - Do

[Bug 93826] 144Hz graphic glitches and bad refresh rate

2016-05-12 Thread bugzilla-dae...@freedesktop.org
attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160512/f80eafb2/attachment.html>

[nexus7-flo] backlight brightness

2016-05-12 Thread John Stultz
On Mon, May 2, 2016 at 9:56 PM, Vinay Simha wrote: > Here does the parent also should be jdi->dsi->dev ? because the > backlight is not mapped to fb of android ( android-> > settings->brightness) , even though i can change the brightness value > from sysfs and it works only when the display is off

[2/3] drm/mst: Fix error handling during MST sideband message reception

2016-05-12 Thread Lyude Paul
On Thu, 2016-05-12 at 16:00 +0300, Imre Deak wrote: > Handle any error due to partial reads, timeouts etc. to avoid parsing > uninitialized data subsequently. Also bail out if the parsing itself > fails. > > CC: Dave Airlie > Signed-off-by: Imre Deak > --- >  drivers/gpu/drm/drm_dp_mst_topology

[PATCH V5 3/3] soc/tegra: pmc: Add support for IO pads power state and voltage

2016-05-12 Thread Laxman Dewangan
The IO pins of Tegra SoCs are grouped for common control of IO interface like setting voltage signal levels and power state of the interface. The group is generally referred as IO pads. The power state and voltage control of IO pins can be done at IO pads level. Tegra generation SoC supports the p

[PATCH V5 2/3] soc/tegra: pmc: Correct type of variable for tegra_pmc_readl()

2016-05-12 Thread Laxman Dewangan
The function tegra_pmc_readl() returns the u32 type data and hence change the data type of variable where this data is stored to u32 type. Signed-off-by: Laxman Dewangan Reviewed-by: Jon Hunter --- Changes from V1: -This is new in series as per discussion on V1 series to use u32 for tegra_pmc_r

[PATCH V5 1/3] soc/tegra: pmc: Use BIT macro for register field definition

2016-05-12 Thread Laxman Dewangan
Use BIT macro for register field definition and make constant as U when using in shift operator like (3 << 30) to (3U << 30) Signed-off-by: Laxman Dewangan Acked-by: Jon Hunter --- Changes from V1: - Remove the indenting of line which is not for BIT macro usage. Changes from V2: - None Changes

[PATCH V5 0/3] soc/tegra: Add support for IO pads power and voltage control

2016-05-12 Thread Laxman Dewangan
The IO pins of Tegra SoCs are grouped for common control of IO interface like setting voltage signal levels and power state of the interface. The group is generally referred as IO pads. The power state and voltage control of IO pins can be done at IO pads level. Tegra124 onwards IO pads support t

[PATCH v3 2/2] drm: Add helper for simple display pipeline

2016-05-12 Thread Daniel Vetter
On Thu, May 12, 2016 at 02:53:26PM +0200, Noralf Trønnes wrote: > +/** > + * struct drm_simple_display_pipe - simple display pipeline > + * @crtc: CRTC control structure > + * @plane: Plane control structure > + * @encoder: Encoder control structure > + * @connector: Connector control structure >

[PATCH 1/3] drm: Tune up error message during format->bpp/cpp conversion

2016-05-12 Thread Imre Deak
On Thu, 2016-05-12 at 16:52 +0300, Ville Syrjälä wrote: > On Thu, May 12, 2016 at 04:43:05PM +0300, Imre Deak wrote: > > On Thu, 2016-05-12 at 16:10 +0300, Ville Syrjälä wrote: > > > On Thu, May 12, 2016 at 04:00:38PM +0300, Imre Deak wrote: > > > > Returning a 0 bpp/cpp value from these functi

[PATCH] MAINTAINERS: add entry for the Sync File Framework

2016-05-12 Thread Emil Velikov
Hi Gustavo, On 11 May 2016 at 14:45, Gustavo Padovan wrote: > From: Gustavo Padovan > > Add Gustavo as maintainer for the Sync File Framework. Sumit is > co-maintainer as he maintains drivers/dma-buf/. It also uses Sumit's > tree as base. > > Cc: Sumit Semwal > Signed-off-by: Gustavo Padovan >

[PATCH 1/3] drm: Tune up error message during format->bpp/cpp conversion

2016-05-12 Thread Ville Syrjälä
On Thu, May 12, 2016 at 04:43:05PM +0300, Imre Deak wrote: > On Thu, 2016-05-12 at 16:10 +0300, Ville Syrjälä wrote: > > On Thu, May 12, 2016 at 04:00:38PM +0300, Imre Deak wrote: > > > Returning a 0 bpp/cpp value from these functions isn't ever valid. > > > In > > > many cases it can also lead t

[PATCH v3 1/2] drm/fb-cma-helper: Add function drm_fb_cma_create_with_funcs()

2016-05-12 Thread Laurent Pinchart
Hi Noralf, Thank you for the patch. On Thursday 12 May 2016 14:53:25 Noralf Trønnes wrote: > Add drm_fb_cma_create_with_funcs() for drivers that need to set the > dirty() callback. > > Cc: laurent.pinchart at ideasonboard.com > Signed-off-by: Noralf Trønnes > --- > > Changes since v1: > - Ex

[PATCH v3 1/2] drm/fb-cma-helper: Add function drm_fb_cma_create_with_funcs()

2016-05-12 Thread Noralf Trønnes
Den 12.05.2016 15:47, skrev Laurent Pinchart: > Hi Noralf, > > Thank you for the patch. > > On Thursday 12 May 2016 14:53:25 Noralf Trønnes wrote: >> Add drm_fb_cma_create_with_funcs() for drivers that need to set the >> dirty() callback. >> >> Cc: laurent.pinchart at ideasonboard.com >> Signed-o

[PATCH 1/3] drm: Tune up error message during format->bpp/cpp conversion

2016-05-12 Thread Imre Deak
On Thu, 2016-05-12 at 16:10 +0300, Ville Syrjälä wrote: > On Thu, May 12, 2016 at 04:00:38PM +0300, Imre Deak wrote: > > Returning a 0 bpp/cpp value from these functions isn't ever valid. > > In > > many cases it can also lead to a div-by-zero possibly at some later > > point in time, so make sur

[PATCH v3 2/2] PM / Domains: Remove redundant wrapper functions for system PM

2016-05-12 Thread Ulf Hansson
Due to the previous changes to genpd, which removed the suspend_power_off flag, several of the system PM callbacks is no longer doing any additional checks but only invoking a corresponding pm_generic_* helper function. To clean up the code let's remove these wrapper functions as they have become

[PATCH v3 1/2] PM / Domains: Allow genpd to power on during the system PM phases

2016-05-12 Thread Ulf Hansson
If the PM domain is powered off when the first device starts its system PM prepare phase, genpd prevents any further attempts to power on the PM domain during the following system PM phases. Not until the system PM complete phase is finalized for all devices in the PM domain, genpd again allows it

[PATCH v3 0/2] PM / Domains: Second step in improving system PM code in genpd

2016-05-12 Thread Ulf Hansson
Changes in v3: - Changelog of patch 1/2. Changes in v2: - Updated changelogs for both patches according to comments from Kevin. - Updated patch 1/2, as I realized one genpd client driver, (ab)uses genpd's suspend_power_off flag. This is the second step in improving

[PATCH 1/3] drm: Tune up error message during format->bpp/cpp conversion

2016-05-12 Thread Ville Syrjälä
On Thu, May 12, 2016 at 04:00:38PM +0300, Imre Deak wrote: > Returning a 0 bpp/cpp value from these functions isn't ever valid. In > many cases it can also lead to a div-by-zero possibly at some later > point in time, so make sure we catch such errors as soon as possible via > louder error reportin

[PATCH] drm/imx: Match imx-ipuv3-crtc components using device node in platform data

2016-05-12 Thread Philipp Zabel
The component master driver imx-drm-core matches component devices using their of_node. Since commit 950b410dd1ab ("gpu: ipu-v3: Fix imx-ipuv3-crtc module autoloading"), the imx-ipuv3-crtc dev->of_node is not set during probing. Before that, of_node was set and caused an of: modalias to be used ins

[PATCH 1/3] drm: Tune up error message during format->bpp/cpp conversion

2016-05-12 Thread Daniel Vetter
On Thu, May 12, 2016 at 05:00:06PM +0300, Imre Deak wrote: > On Thu, 2016-05-12 at 16:52 +0300, Ville Syrjälä wrote: > > On Thu, May 12, 2016 at 04:43:05PM +0300, Imre Deak wrote: > > > On Thu, 2016-05-12 at 16:10 +0300, Ville Syrjälä wrote: > > > > On Thu, May 12, 2016 at 04:00:38PM +0300, Imr

[PATCH 3/3] drm: Avoid dereferencing a NULL mstb in drm_dp_mst_handle_up_req()

2016-05-12 Thread Imre Deak
In case of an unknown broadcast message is sent mstb will remain unset, so check for this. CC: Dave Airlie Signed-off-by: Imre Deak --- drivers/gpu/drm/drm_dp_mst_topology.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/drm_dp_mst_topology.c b/drivers/g

[PATCH 2/3] drm/mst: Fix error handling during MST sideband message reception

2016-05-12 Thread Imre Deak
Handle any error due to partial reads, timeouts etc. to avoid parsing uninitialized data subsequently. Also bail out if the parsing itself fails. CC: Dave Airlie Signed-off-by: Imre Deak --- drivers/gpu/drm/drm_dp_mst_topology.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-

[PATCH 1/3] drm: Tune up error message during format->bpp/cpp conversion

2016-05-12 Thread Imre Deak
Returning a 0 bpp/cpp value from these functions isn't ever valid. In many cases it can also lead to a div-by-zero possibly at some later point in time, so make sure we catch such errors as soon as possible via louder error reporting. CC: Dave Airlie Signed-off-by: Imre Deak --- drivers/gpu/drm

[PATCH 0/3] drm: Fix/annotate better a few error paths

2016-05-12 Thread Imre Deak
Fix a few minor issues durring error handling, all of these were pointed at by Coverity reports. Imre Deak (3): drm: Tune up error message during format->bpp/cpp conversion drm/mst: Fix error handling during MST sideband message reception drm: Avoid dereferencing a NULL mstb in drm_dp_mst_ha

[PATCH] radeon and amdgpu drm-fixes-4.6

2016-05-12 Thread Alex Deucher
Hi Dave, One more small fix for a DP regression in 4.6 The following changes since commit 58a6e2e5794d2aeacf6a84afeaed46e3a5e0fbb0: Merge branch 'drm-fixes-4.6' of git://people.freedesktop.org/~agd5f/linux into drm-fixes (2016-05-12 10:05:36 +1000) are available in the git repository at:

[PATCH] drm: expand cea861 mode timing table

2016-05-12 Thread Eric Yang
This patch expand the cea861 mode timing table to include vic 65 to 107. This allows more modes to be reported on newer displays, including 4k at 60Hz on HDMI, which was previously only reported if the display edid has a detailed timing descriptor block specifying the exact timing Signed-off-by: E

[PATCH 1/4] drm: add generic zpos property

2016-05-12 Thread Daniel Vetter
On Thu, May 12, 2016 at 12:28:19PM +0200, Benjamin Gaignard wrote: > From: Marek Szyprowski > > This patch adds support for generic plane's zpos property property with > well-defined semantics: > - added zpos properties to plane and plane state structures > - added helpers for normalizing zpos pr

[PATCH 1/4] drm: add generic zpos property

2016-05-12 Thread Javier Martinez Canillas
> > And please update the subject as well to include the version number. You can > use > > $ git format-patch --cover --subject-prefix 'PATCH vX' > And git even has a -v option now, so this could just be: $ git format-patch --cover -vX Best regards, Javier

[Bug 118131] New: it is an error in drm for radeon

2016-05-12 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=118131 Bug ID: 118131 Summary: it is an error in drm for radeon Product: Drivers Version: 2.5 Kernel Version: 4.5.4 Hardware: All OS: Linux Tree: Mainline

[PATCH v2 1/2] PM / Domains: Allow genpd to power on during the system PM phase

2016-05-12 Thread Ulf Hansson
On 11 May 2016 at 23:25, Rafael J. Wysocki wrote: > On Wed, May 11, 2016 at 10:00 AM, Ulf Hansson > wrote: >> If the PM domain is powered off when the first device in the domain starts >> its system PM prepare phase, genpd prevents any further attempts to power >> on the PM domain during the sys

[PATCH v3 2/2] drm: Add helper for simple display pipeline

2016-05-12 Thread Noralf Trønnes
Provides helper functions for drivers that have a simple display pipeline. Plane, crtc and encoder are collapsed into one entity. Cc: jsarha at ti.com Signed-off-by: Noralf Trønnes --- Changes since v2: - Drop Kconfig knob DRM_KMS_HELPER - Expand documentation Changes since v1: - Add DOC heade

[PATCH v3 1/2] drm/fb-cma-helper: Add function drm_fb_cma_create_with_funcs()

2016-05-12 Thread Noralf Trønnes
Add drm_fb_cma_create_with_funcs() for drivers that need to set the dirty() callback. Cc: laurent.pinchart at ideasonboard.com Signed-off-by: Noralf Trønnes --- Changes since v1: - Expand docs drivers/gpu/drm/drm_fb_cma_helper.c | 31 +-- include/drm/drm_fb_cma_hel

[PATCH v3 0/2] drm: Add various helpers for simple drivers

2016-05-12 Thread Noralf Trønnes
This patchset adds various helpers that was originally part of the tinydrm patchset. 4 patches from the previous version have been applied and 2 are now left. Essentially it adds 2 functions: - drm_fb_cma_create_with_funcs() CMA backed framebuffer supporting a dirty() callback. - drm_simple_dis

[PATCH 1/4] drm: add generic zpos property

2016-05-12 Thread Ville Syrjälä
On Thu, May 12, 2016 at 12:28:19PM +0200, Benjamin Gaignard wrote: > From: Marek Szyprowski > > This patch adds support for generic plane's zpos property property with > well-defined semantics: > - added zpos properties to plane and plane state structures > - added helpers for normalizing zpos pr

[linux-sunxi] Re: [PATCH v4 01/11] clk: sunxi: Add display and TCON0 clocks driver

2016-05-12 Thread Stephen Boyd
On 05/12, Maxime Ripard wrote: > > diff --git a/drivers/clk/sunxi/clk-sun4i-display.c > b/drivers/clk/sunxi/clk-sun4i-display.c > index 70803aa7028c..9780fac6d029 100644 > --- a/drivers/clk/sunxi/clk-sun4i-display.c > +++ b/drivers/clk/sunxi/clk-sun4i-display.c > @@ -128,8 +128,8 @@ static void _

[PATCH] MAINTAINERS: add entry for the Sync File Framework

2016-05-12 Thread Maarten Lankhorst
Op 11-05-16 om 15:45 schreef Gustavo Padovan: > From: Gustavo Padovan > > Add Gustavo as maintainer for the Sync File Framework. Sumit is > co-maintainer as he maintains drivers/dma-buf/. It also uses Sumit's > tree as base. > > Cc: Sumit Semwal > Signed-off-by: Gustavo Padovan Acked-by: Maarten

drm: sun4i: Add composite output

2016-05-12 Thread Dan Carpenter
Hello Maxime Ripard, The patch 03c4c71d25b4: "drm: sun4i: Add composite output" from Oct 29, 2015, leads to the following static checker warning: drivers/gpu/drm/sun4i/sun4i_tv.c:513 sun4i_tv_comp_get_modes() error: potential null dereference 'mode'. (drm_mode_create returns nul

[PATCH] drm/amd/powerplay: use ARRAY_SIZE() for size of array

2016-05-12 Thread Jani Nikula
On Wed, 11 May 2016, Muhammad Falak R Wani wrote: > Use ARRAY_SIZE() for the size calculation of the array. Also move the > condition evaulation function out of the for loop. > Although, any respectable c-compiler would optimize this and evaluate > the function only once outside the loop, but the

[PATCH] drm: mediatek: remove IOMMU_DMA select

2016-05-12 Thread Philipp Zabel
Am Mittwoch, den 11.05.2016, 22:11 +0200 schrieb Arnd Bergmann: > We get a harmless build warning when trying to use the mediatek > DRM driver with IOMMU support disabled: > > warning: (DRM_MEDIATEK) selects IOMMU_DMA which has unmet direct dependencies > (IOMMU_SUPPORT) > > However, the IOMMU_D

[PATCH v2 6/6] drm: Add helper for simple display pipeline

2016-05-12 Thread Daniel Vetter
On Thu, May 12, 2016 at 12:18 PM, Noralf Trønnes wrote: > Den 12.05.2016 10:11, skrev Daniel Vetter: >> >> On Wed, May 11, 2016 at 07:09:10PM +0200, Daniel Vetter wrote: >>> >>> On Wed, May 11, 2016 at 06:09:22PM +0200, Noralf Trønnes wrote: +/** + * drm_simple_display_pipe_init -

[PATCH 4/4] drm: rcar: use generic code for managing zpos plane property

2016-05-12 Thread Benjamin Gaignard
This patch replaces zpos property handling custom code in rcar DRM driver with calls to generic DRM code. Signed-off-by: Benjamin Gaignard Cc: Daniel Vetter Cc: Ville Syrjala Cc: Laurent Pinchart Cc: Marek Szyprowski --- drivers/gpu/drm/rcar-du/rcar_du_crtc.c | 2 +- drivers/gpu/drm/rcar-d

[PATCH 3/4] drm/exynos: use generic code for managing zpos plane property

2016-05-12 Thread Benjamin Gaignard
From: Marek Szyprowski This patch replaces zpos property handling custom code in Exynos DRM driver with calls to generic DRM code. Signed-off-by: Marek Szyprowski Signed-off-by: Benjamin Gaignard Cc: Inki Dae Cc: Daniel Vetter Cc: Ville Syrjala Cc: Joonyoung Shim Cc: Seung-Woo Kim Cc: An

[PATCH 2/4] drm: sti: use generic zpos for plane

2016-05-12 Thread Benjamin Gaignard
remove private zpos property and use instead the generic new. zpos range is now fixed per plane type and normalized before being using in mixer. Signed-off-by: Benjamin Gaignard Cc: Inki Dae Cc: Daniel Vetter Cc: Ville Syrjala Cc: Joonyoung Shim Cc: Seung-Woo Kim Cc: Andrzej Hajda Cc: Krzy

[PATCH 1/4] drm: add generic zpos property

2016-05-12 Thread Benjamin Gaignard
From: Marek Szyprowski This patch adds support for generic plane's zpos property property with well-defined semantics: - added zpos properties to plane and plane state structures - added helpers for normalizing zpos properties of given set of planes - well defined semantics: planes are sorted by

[PATCH v2 6/6] drm: Add helper for simple display pipeline

2016-05-12 Thread Noralf Trønnes
Den 12.05.2016 10:11, skrev Daniel Vetter: > On Wed, May 11, 2016 at 07:09:10PM +0200, Daniel Vetter wrote: >> On Wed, May 11, 2016 at 06:09:22PM +0200, Noralf Trønnes wrote: >>> +/** >>> + * drm_simple_display_pipe_init - Initialize a simple display pipeline >>> + * @dev: DRM device >>> + * @pipe

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

2016-05-12 Thread Thierry Reding
Hi Dave, The following changes since commit 95306975e9dd38ba2775dd96cb29987ecc7d9360: Merge tag 'drm/tegra/for-4.7-rc1' of git://anongit.freedesktop.org/tegra/linux into drm-next (2016-05-12 11:15:18 +1000) are available in the git repository at: git://anongit.freedesktop.org/tegra/linux

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

2016-05-12 Thread Dave Airlie
On 11 May 2016 at 00:58, Thierry Reding wrote: > Hi Dave, > > The following changes since commit f55532a0c0b8bb6148f4e07853b876ef73bc69ca: > > Linux 4.6-rc1 (2016-03-26 16:03:24 -0700) > > are available in the git repository at: > > git://anongit.freedesktop.org/tegra/linux tags/drm/panel/for-

[Bug 95206] Display port bandwidth regression

2016-05-12 Thread bugzilla-dae...@freedesktop.org
-- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160512/b68e30da/attachment.html>

[PATCH] drm/amd/powerplay: use ARRAY_SIZE() for size of array

2016-05-12 Thread Eric Engestrom
On Wed, May 11, 2016 at 11:18:43PM +0530, Muhammad Falak R Wani wrote: > Use ARRAY_SIZE() for the size calculation of the array. Also move the > condition evaulation function out of the for loop. > Although, any respectable c-compiler would optimize this and evaluate > the function only once outsid

[linux-sunxi] Re: [PATCH v4 01/11] clk: sunxi: Add display and TCON0 clocks driver

2016-05-12 Thread Maxime Ripard
sunxi/clk-sun4i-display.c @@ -128,8 +128,8 @@ static void __init sun4i_a10_display_init(struct device_node *node, return; } - ret = of_clk_parent_fill(node, parents, ARRAY_SIZE(parents)); - if (ret != ARRAY_SIZE(parents)) { + ret = of_clk_parent_fill(node, parents, data->parents); + if (ret != data->parents) { pr_err("%s: Could not retrieve the parents\n", clk_name); goto unmap; } Thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160512/bea383f2/attachment.sig>

[PATCH] drm: mediatek: remove IOMMU_DMA select

2016-05-12 Thread Robin Murphy
On 11/05/16 21:11, Arnd Bergmann wrote: > We get a harmless build warning when trying to use the mediatek > DRM driver with IOMMU support disabled: > > warning: (DRM_MEDIATEK) selects IOMMU_DMA which has unmet direct dependencies > (IOMMU_SUPPORT) > > However, the IOMMU_DMA symbol is not meant to

[PATCH v2 6/6] drm: Add helper for simple display pipeline

2016-05-12 Thread Daniel Vetter
On Wed, May 11, 2016 at 07:09:10PM +0200, Daniel Vetter wrote: > On Wed, May 11, 2016 at 06:09:22PM +0200, Noralf Trønnes wrote: > > +/** > > + * drm_simple_display_pipe_init - Initialize a simple display pipeline > > + * @dev: DRM device > > + * @pipe: simple display pipe object to initialize > >

[PATCH 2/2] drm/amdgpu: fix DP mode validation

2016-05-12 Thread Alex Deucher
Switch the order of the loops to walk the rates on the top so we exhaust all DP 1.1 rate/lane combinations before trying DP 1.2 rate/lane combos. This avoids selecting rates that are supported by the monitor, but not the connector leading to valid modes getting rejected. bug: https://bugs.freedes

[PATCH 1/2] drm/radeon: fix DP mode validation

2016-05-12 Thread Alex Deucher
Switch the order of the loops to walk the rates on the top so we exhaust all DP 1.1 rate/lane combinations before trying DP 1.2 rate/lane combos. This avoids selecting rates that are supported by the monitor, but not the connector leading to valid modes getting rejected. bug: https://bugs.freedes

[linux-sunxi] Re: [PATCH v4 01/11] clk: sunxi: Add display and TCON0 clocks driver

2016-05-12 Thread Maxime Ripard
d not retrieve the parents\n", clk_name); >         goto unmap; >     } > > of_clk_parent_fill returns 3 for de_be/de_fe nodes, and > ARRAY_SIZE(parents) is 4. Replacing both ARRAY_SIZE(parents) by data->parents would work though. Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160512/443d58bd/attachment.sig>

[linux-sunxi] Re: [PATCH v4 01/11] clk: sunxi: Add display and TCON0 clocks driver

2016-05-12 Thread Priit Laes
On Wed, 2016-05-11 at 15:15 -0700, Stephen Boyd wrote: > On 05/10, Priit Laes wrote: > > > > On Mon, 2016-05-09 at 15:39 -0700, Stephen Boyd wrote: > > > > > > On 05/09, Stephen Boyd wrote: > > > > > > > > > > > > > > > > Ok I applied this one to clk-next. > > > > > > > And I squashed this in

[Bug 95247] System hangs after ~10 minutes when using Radeon R9 390

2016-05-12 Thread bugzilla-dae...@freedesktop.org
the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160512/891e2c8d/attachment.html>

[Bug 93341] GPU lockups on RadeonHD 7770 (radeonsi driver) when running OpenGL games or after extended periods of time

2016-05-12 Thread bugzilla-dae...@freedesktop.org
nts/20160512/61b604a6/attachment.html>

[Bug 93341] GPU lockups on RadeonHD 7770 (radeonsi driver) when running OpenGL games or after extended periods of time

2016-05-12 Thread bugzilla-dae...@freedesktop.org
en on some browsers). -- 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/20160512/3bbb2a76/attachment.html>

[Bug 92258] [regression] Opening menu in Steam running via DRI_PRIME with enabled DRI3 could lead to radeon kernel module crash

2016-05-12 Thread bugzilla-dae...@freedesktop.org
- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160512/a40b9100/attachment.html>

[PATCH] drm/nouveau/bios: remove unused variable.

2016-05-12 Thread Muhammad Falak R Wani
Remove unused vairable, return 0 explicitly. Signed-off-by: Muhammad Falak R Wani --- drivers/gpu/drm/nouveau/nouveau_bios.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/nouveau/nouveau_bios.c b/drivers/gpu/drm/nouveau/nouveau_bios.c index 4dca65a..54498