[PATCH] drm/nouveau/gr/gk20a: delete unneeded second newline

2016-06-20 Thread Ben Skeggs
i-devel > -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160620/84b6721c/attachment.sig>

[Bug 120591] BUG() in dmesg after loading nouveau module

2016-06-20 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=120591 --- Comment #6 from Ilia Mirkin --- Dmitrii, you should mail that patch (as a proper commit) to bskeggs at redhat.com and/or nouveau at lists.freedesktop.org . If you're not sure how to do that, I can take care of that for you. -- You are rec

[PATCH -next] drm/hisilicon: Fix return value check in ade_dts_parse()

2016-06-20 Thread Xinliang Liu
Hi, On 18 June 2016 at 02:29, wrote: > From: Wei Yongjun > > In case of error, the function devm_clk_get() returns ERR_PTR() > and never returns NULL. The NULL test in the return value check > should be replaced with IS_ERR(). > > Signed-off-by: Wei Yongjun Applied to drm-hisilicon-next. Than

[Bug 96580] GPU lockup on AMD 7970M when playing games

2016-06-20 Thread bugzilla-dae...@freedesktop.org
|| -- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160620/b18d6ab8/attachment.html>

[Bug 119631] RadeonSI get a huge performance dip with used with the nine state tracker

2016-06-20 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=119631 --- Comment #13 from Mathieu Belanger --- Tested Axel patch. It making it better. Instead of loosing about half of the fps, I lose about 10 337 -> 331 175 -> 165 But still have a "small" loss, I don't know if it's normal with DRM_MODE_PAGE_FLI

[Bug 119631] RadeonSI get a huge performance dip with used with the nine state tracker

2016-06-20 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=119631 --- Comment #14 from Michel Dänzer --- The DRM_MODE_PAGE_FLIP_ASYNC change can't have any effect with Axel's patch, because it explicitly forces the Present operations to be executed as copies instead of flips. The difference you're seeing must

[PATCH 4/7] drm/hisilicon: Remove redundant calls to drm_connector_register_all()

2016-06-20 Thread Xinliang Liu
Hi, On 17 June 2016 at 16:25, Chris Wilson wrote: > Up to now, the recommendation was for drivers to call drm_dev_register() > followed by drm_connector_register_all(). Now that > drm_connector_register() is safe against multiple invocations, we can > move drm_connector_register_all() to drm_dev_

[PATCH] drm/hisilicon: add select HISI_KIRIN_DW_DSI

2016-06-20 Thread Xinliang Liu
From: Guodong Xu Add select HISI_KIRIN_DW_DSI to Kconfig. The DRM driver depends on dsi sub-driver. Signed-off-by: Zoltan Kuscsik --- drivers/gpu/drm/hisilicon/kirin/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/hisilicon/kirin/Kconfig b/drivers/gpu/drm/hisilicon

[PATCH -next] drm/msm/dsi: Fix return value check in msm_dsi_host_set_display_mode()

2016-06-20 Thread Archit Taneja
Hi, On 06/18/2016 10:56 PM, weiyj_lk at 163.com wrote: > From: Wei Yongjun > > In case of error, the function drm_mode_duplicate() returns NULL > pointer not ERR_PTR(). The IS_ERR() test in the return value check > should be replaced with NULL test. Thanks for the fix. Reviewed-by: Archit Tanej

[PATCH 23/27] drm: Replace fb_helper->atomic with mode_config->atomic_commit

2016-06-20 Thread Ying Liu
On Mon, Jun 13, 2016 at 10:01 PM, Daniel Vetter wrote: > On Mon, Jun 13, 2016 at 05:26:28PM +0800, Ying Liu wrote: >> On Mon, Jun 13, 2016 at 3:58 PM, Daniel Vetter wrote: >> > On Sun, Jun 12, 2016 at 05:01:27PM +0800, Ying Liu wrote: >> >> On Wed, Jun 8, 2016 at 8:19 PM, Daniel Vetter >> >> wr

[RFC PATCH 02/13] drm/tegra: Add helper functions for setting up DPAUX pads

2016-06-20 Thread Jon Hunter
On 17/06/16 17:11, Thierry Reding wrote: > * PGP Signed by an unknown key > > On Fri, Jun 17, 2016 at 01:03:36PM +0100, Jon Hunter wrote: >> In preparation for adding pinctrl support for the DPAUX pads, add >> helpers functions for configuring the pads and controlling the power >> for the pads. >

[RFC PATCH 03/13] dt-bindings: drm/tegra: Update DPAUX documentation

2016-06-20 Thread Jon Hunter
On 17/06/16 17:13, Thierry Reding wrote: > * PGP Signed by an unknown key > > On Fri, Jun 17, 2016 at 01:03:37PM +0100, Jon Hunter wrote: >> Update the DPAUX compatibility string information for Tegra124, Tegra132 >> and Tegra210. For Tegra210 an additional clock, 'sor-safe' is also >> required f

[Intel-gfx] Bad flicker on skylake HQD due to code in the 4.7 merge window

2016-06-20 Thread Jani Nikula
Cc: Ville On Mon, 20 Jun 2016, James Bottomley wrote: > OK, my candidate bad commit is this one: > > commit a05628195a0d9f3173dd9aa76f482aef692e46ee > Author: Ville Syrjälä > Date: Mon Apr 11 10:23:51 2016 +0300 > > drm/i915: Get panel_type from OpRegion panel details > > After being m

[Mesa-dev] [RFC] New dma_buf -> EGLImage EGL extension - Final spec published!

2016-06-20 Thread Pekka Paalanen
nd mali are doing the same thing. No idea if that is the > same thing that i965 does. Thanks, pq > > BR, > -R > > > After all, using GL with windows and FBOs and stuff you very often find > > yourself upside down, and I suspect people have got the habit of just > > flipping it if it does not look right the first time. See e.g. the > > row-order of data going into glTexImage2D... > > > > If the answer is "oops, well, dmabuf import is semantically y-flipping > > when it should not, but we cannot fix it because that would break > > everyone", I would be happy with that. I just want confirmation before > > flipping the flip flag. :-) > > > > > > Thanks, > > pq -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 811 bytes Desc: OpenPGP digital signature URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160620/36fa23e5/attachment.sig>

[RFC PATCH 04/13] drm/tegra: Add sor-safe clock for DPAUX on Tegra210

2016-06-20 Thread Jon Hunter
On 17/06/16 17:18, Thierry Reding wrote: > * PGP Signed by an unknown key > > On Fri, Jun 17, 2016 at 01:03:38PM +0100, Jon Hunter wrote: >> For Tegra210 the 'sor-safe' clock needs to be enabled when using DPAUX. >> Add support to the DPAUX driver for enabling this clock on Tegra210. >> >> Signed

[PATCH 01/20] clk: fixed-factor: Pass clk rates change to the parent

2016-06-20 Thread Maxime Ripard
the new framework, but I need reviews to get it merged ;) 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/20160620/b3e1e565/attachment-0001.sig>

[RFC PATCH 08/13] i2c: core: Add support for 'i2c-bus' subnode

2016-06-20 Thread Jon Hunter
On 17/06/16 17:24, Thierry Reding wrote: > * PGP Signed by an unknown key > > On Fri, Jun 17, 2016 at 01:03:42PM +0100, Jon Hunter wrote: >> If the 'i2c-bus' device-tree node is present for an I2C adapter then >> parse this subnode for I2C slaves. >> >> Signed-off-by: Jon Hunter >> --- >> drive

[GIT PULL] Allwinner sun4i DRM fixes for 4.7

2016-06-20 Thread Maxime Ripard
ktop.org/archives/dri-devel/attachments/20160620/4826954f/attachment.sig>

[Bug 96588] [regression] [amdgpu] Errors scheduling IBs

2016-06-20 Thread bugzilla-dae...@freedesktop.org
tps://lists.freedesktop.org/archives/dri-devel/attachments/20160620/bad93429/attachment.html>

[RFC PATCH 09/13] dt-bindings: drm/tegra: Add DPAUX pinctrl documentation

2016-06-20 Thread Jon Hunter
On 17/06/16 17:31, Thierry Reding wrote: > * PGP Signed by an unknown key > > On Fri, Jun 17, 2016 at 01:03:43PM +0100, Jon Hunter wrote: >> On Tegra124, Tegra132 and Tegra210 devices the pads used by the Display >> Port Auxiliary (DPAUX) channel are multiplexed such that they can also >> be used

[RFC PATCH 11/13] arm64: tegra: Add SOR power-domain node

2016-06-20 Thread Jon Hunter
On 17/06/16 17:42, Thierry Reding wrote: > * PGP Signed by an unknown key > > On Fri, Jun 17, 2016 at 01:03:45PM +0100, Jon Hunter wrote: >> Add node for SOR power-domain for Tegra210 and populate the SOR >> power-domain phandle for SOR and DPAUX nodes that are dependent >> on this power-domain.

[RFC PATCH 11/13] arm64: tegra: Add SOR power-domain node

2016-06-20 Thread Jon Hunter
On 17/06/16 17:44, Thierry Reding wrote: > * PGP Signed by an unknown key > > On Fri, Jun 17, 2016 at 01:03:45PM +0100, Jon Hunter wrote: >> Add node for SOR power-domain for Tegra210 and populate the SOR >> power-domain phandle for SOR and DPAUX nodes that are dependent >> on this power-domain.

[RFC v3 4/5] drm/mediatek: add support for Mediatek SoC MT2701

2016-06-20 Thread YT Shen
Hi CK, Thanks for your comments. On Mon, 2016-06-13 at 13:56 +0800, CK Hu wrote: > Hi, YT: > > Some comments inline. > > On Thu, 2016-06-09 at 00:03 +0800, YT Shen wrote: > > This patch add support for the Mediatek MT2701 DISP subsystem. > > There is only one OVL engine in MT2701. > > > > Sign

[RFC PATCH 12/13] arm64: tegra: Add sor-safe clock to DPAUX binding

2016-06-20 Thread Jon Hunter
On 17/06/16 17:47, Thierry Reding wrote: > * PGP Signed by an unknown key > > On Fri, Jun 17, 2016 at 01:03:46PM +0100, Jon Hunter wrote: >> Populate the 'sor-safe' clock for DPAUX devices on Tegra210 that require >> this clock for operation. Update the compatability string for the DPAUX >> insta

[RFC PATCH 06/13] pinctrl: pinconf: Add generic helper function for freeing mappings

2016-06-20 Thread Jon Hunter
On 18/06/16 10:04, Linus Walleij wrote: > On Fri, Jun 17, 2016 at 2:03 PM, Jon Hunter wrote: > >> The pinconf-generic.h file exposes functions for creating generic mappings >> but it does not expose a function for freeing the mappings. Add a function >> for freeing generic mappings. >> >> Signed

[Bug 96588] [regression] [amdgpu] Errors scheduling IBs

2016-06-20 Thread bugzilla-dae...@freedesktop.org
with DRI_PRIME=1 -- 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/20160620/4d8720db/attachment.html>

[RFC v3 3/5] drm/mediatek: add shadow register support

2016-06-20 Thread YT Shen
Hi CK, On Mon, 2016-06-13 at 14:43 +0800, CK Hu wrote: > Hi, YT: > > One comment inline. > > On Thu, 2016-06-09 at 00:03 +0800, YT Shen wrote: > > We need to acquire mutex before using the resources, > > and need to release it after finished. > > So we don't need to write registers in the blanki

[Bug 96588] [regression] [amdgpu] Errors scheduling IBs

2016-06-20 Thread bugzilla-dae...@freedesktop.org
. Give me a second to hack together a patch. -- 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/20160620/ab66faeb/attachment.html>

[PATCH 1/2] drm/sun4i: Report proper vblank

2016-06-20 Thread Maxime Ripard
The sun4i display engine doesn't have any vblank counter. Use the proper helper for that. Signed-off-by: Maxime Ripard --- drivers/gpu/drm/sun4i/sun4i_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/sun4i/sun4i_drv.c b/drivers/gpu/drm/sun4i/sun4i_drv.c

[PATCH 2/2] drm/sun4i: Send vblank event when the CRTC is disabled

2016-06-20 Thread Maxime Ripard
So far, we were missing to send the vblank event when disabling the CRTC, making us never report the last vblank event. This was causing a time out on the page flip, which should be solved now. Signed-off-by: Maxime Ripard --- drivers/gpu/drm/sun4i/sun4i_crtc.c | 8 1 file changed, 8 i

[RFC PATCH 10/13] drm/tegra: Add pinctrl support for DPAUX

2016-06-20 Thread Jon Hunter
On 17/06/16 17:37, Thierry Reding wrote: > * PGP Signed by an unknown key > > On Fri, Jun 17, 2016 at 01:03:44PM +0100, Jon Hunter wrote: >> The DPAUX pins are shared with an internal I2C controller. To allow >> these pins to be muxed to the I2C controller, register a pinctrl device >> for the DP

[PATCH 1/2] drm/etnaviv: improve error reporting in GPU init path

2016-06-20 Thread Christian Gmeiner
2016-06-17 12:42 GMT+02:00 Lucas Stach : > Print error messages that mention the exact cause of the failure on > all paths which may fail the GPU init. > > Signed-off-by: Lucas Stach Reviewed-by: Christian Gmeiner > --- > drivers/gpu/drm/etnaviv/etnaviv_gpu.c | 10 -- > 1 file changed,

[PATCH 2/2] drm/etnaviv: remove generic GPU init failure reporting

2016-06-20 Thread Christian Gmeiner
2016-06-17 12:42 GMT+02:00 Lucas Stach : > The GPU init path now reports any errors which might occur more accurately > than what is possible with the generic "something failed" message. > > Remove the generic reporting, so we don't log an error into dmesg anymore > if any of the GPU cores are igno

[RFC PATCH 07/13] dt-bindings: i2c: Add support for 'i2c-bus' subnode

2016-06-20 Thread Jon Hunter
On 17/06/16 17:45, Thierry Reding wrote: > * PGP Signed by an unknown key > > On Fri, Jun 17, 2016 at 05:30:54PM +0100, Mark Rutland wrote: >> On Fri, Jun 17, 2016 at 01:03:41PM +0100, Jon Hunter wrote: >>> The I2C driver core for boards using device-tree assumes any subnode of >>> an I2C adapter

[Bug 96588] [regression] [amdgpu] Errors scheduling IBs

2016-06-20 Thread bugzilla-dae...@freedesktop.org
-- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160620/a42735c2/attachment.html>

[Bug 120591] BUG() in dmesg after loading nouveau module

2016-06-20 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=120591 --- Comment #7 from Dmitrii Tcvetkov --- Thank you for advice, I've sent the patch, mail awaits moderation. -- You are receiving this mail because: You are watching the assignee of the bug.

[PATCH 09/16] drm/vgem: Stop calling drm_drv_set_unique

2016-06-20 Thread Chris Wilson
On Fri, Jun 17, 2016 at 09:33:27AM +0200, Daniel Vetter wrote: > With the previous patch this is now redudant, the core always > sets a reasonable dev->unique string. > > Cc: Sean Paul > Signed-off-by: Daniel Vetter Will this fix: [ 4442.886507] ===

[Bug 96588] [regression] [amdgpu] Errors scheduling IBs

2016-06-20 Thread bugzilla-dae...@freedesktop.org
. URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160620/e572dabb/attachment.html>

[GIT PULL v2] drm/mediatek: MT8173 HDMI support

2016-06-20 Thread Philipp Zabel
Hi Dave, please consider merging this tag, which contains the v16 MT8173 HDMI patches I sent on 2016-05-26, rebased onto v4.7-rc2, with two warnings fixed. regards Philipp The following changes since commit af8c34ce6ae32addda3788d54a7e340cad22516b: Linux 4.7-rc2 (2016-06-05 14:31:26 -0700) a

[PATCH 5/5] drm/imx: don't destroy mode objects manually on driver unbind

2016-06-20 Thread Philipp Zabel
Am Freitag, den 17.06.2016, 12:13 +0200 schrieb Lucas Stach: > Instead let drm_mode_config_cleanup() do the work when taking down > the master device. This requires all cleanup functions to be > properly hooked up to the mode object .destroy callback. > > Signed-off-by: Lucas Stach > --- > drive

[PATCH 3/5] drm/imx: imx-ldb: detach panel on unbind

2016-06-20 Thread Philipp Zabel
Am Freitag, den 17.06.2016, 12:13 +0200 schrieb Lucas Stach: > Make sure to leave a clean panel state behind and allow to > properly attach to the panel again on a rebind. > > Signed-off-by: Lucas Stach > --- > drivers/gpu/drm/imx/imx-ldb.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --

[PATCH 10/16] drm: Don't call drm_dev_set_unique from platform drivers

2016-06-20 Thread Philipp Zabel
Am Freitag, den 17.06.2016, 09:33 +0200 schrieb Daniel Vetter: > Since > > commit e112e593b215c394c0303dbf0534db0928e87967 > Author: Nicolas Iooss > Date: Fri Dec 11 11:20:28 2015 +0100 > > drm: use dev_name as default unique name in drm_dev_alloc() > > we're using a reasonable default wh

[Mesa-dev] [RFC] New dma_buf -> EGLImage EGL extension - Final spec published!

2016-06-20 Thread Pekka Paalanen
> gallium and mali are doing the same thing. No idea if that is the > same thing that i965 does. Hi, Quentin did some tests for me, and the results are... not what I would have expected: https://phabricator.freedesktop.org/T7475#88454 RadeonSI works like Intel, but Nouveau does the opposite. I think the Nouveau way is correct by the spec, which makes everyone else (intel, radeonsi, weston-simple-dmabuf-v4l) get it wrong. Unfortunately, two wrongs make a right, so when weston-simple-dmabuf-v4l hardcodes Y_INVERT as set, it'll come out the right way on intel and radeon. And it is wrong for weston-simple-dmabuf-v4l to set Y_INVERT, that I believe is clear. It is only there because of the "oops, it's upside-down" syndrome, AFAIK. > > After all, using GL with windows and FBOs and stuff you very often find > > yourself upside down, and I suspect people have got the habit of just > > flipping it if it does not look right the first time. See e.g. the > > row-order of data going into glTexImage2D... > > > > If the answer is "oops, well, dmabuf import is semantically y-flipping > > when it should not, but we cannot fix it because that would break > > everyone", I would be happy with that. I just want confirmation before > > flipping the flip flag. :-) So many bugs that accidentally counter each other... Thanks, pq -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 811 bytes Desc: OpenPGP digital signature URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160620/4765adc5/attachment.sig>

[PATCH 09/16] drm/vgem: Stop calling drm_drv_set_unique

2016-06-20 Thread Daniel Vetter
On Mon, Jun 20, 2016 at 12:42:55PM +0100, Chris Wilson wrote: > On Fri, Jun 17, 2016 at 09:33:27AM +0200, Daniel Vetter wrote: > > With the previous patch this is now redudant, the core always > > sets a reasonable dev->unique string. > > > > Cc: Sean Paul > > Signed-off-by: Daniel Vetter > > W

[PATCH 18/22] dt-bindings: msm/mdp4: Create a separate binding doc for MDP4

2016-06-20 Thread Rob Herring
On Thu, Jun 16, 2016 at 05:06:43PM +0530, Archit Taneja wrote: > MDP4 and MDP5 vary a bit in terms of device hierarchy and the properties > they require. Rename the binding doc to mdp4.txt and remove MDP5 specific > pieces. A separate document will be created for MDP5 > > Cc: Rob Herring > Cc: de

[PATCH 19/22] dt-bindings: msm/mdp5: Add MDP5 display bindings

2016-06-20 Thread Rob Herring
On Thu, Jun 16, 2016 at 05:06:44PM +0530, Archit Taneja wrote: > Add a new doc for DT bindings for platforms that contain MDP5 display > controller hardware. The doc describes bindings for the top level > MDSS wrapper hardware and MDP5 itself. > > Add an example for the bindings as found in MSM891

[PATCH 20/22] dt-bindings: msm/mdp: Provide details on MDP interface ports

2016-06-20 Thread Rob Herring
On Thu, Jun 16, 2016 at 05:06:45PM +0530, Archit Taneja wrote: > The MDP4/5 DT node now contains a list of ports that describe how it > connects to external encoder interfaces like DSI and HDMI. These follow > the standard of_graph bindings, and allow us to get rid of the 'connectors' > phandle tha

[PATCH 21/22] arm64: dts: msm8916: Add display support

2016-06-20 Thread Rob Herring
On Thu, Jun 16, 2016 at 05:06:46PM +0530, Archit Taneja wrote: > The MSM8916 SoC contains a MDP5 based display block, and one DSI output. > Add the top level MDSS DT node, and the MDP5, DSI and DSI PHY children > sub-blocks. Establish the link between MDP5's INTF1 output port and DSI's > input port

[Intel-gfx] [PATCH 3/3] drm/i915: Enable polling when we don't have hpd

2016-06-20 Thread Daniel Vetter
On Fri, Jun 17, 2016 at 05:58:24PM -0400, Lyude wrote: > Unfortunately, there's two situations where we lose hpd right now: > - Runtime suspend > - When we've shut off all of the power wells on Valleyview/Cherryview > > While it would be nice if this didn't cause issues, this has the > ability to

[PATCH 0/3] Fixes for HPD

2016-06-20 Thread Ville Syrjälä
On Fri, Jun 17, 2016 at 06:04:11PM -0400, Lyude wrote: > Forgot to mention, Ville: if you could get me an example of how to get > vlv into an infinite loop with these patches I'd appreciate that. I > haven't been able to reproduce this at all with the Valleyview machine > I've got here. Whether it

[PATCH 23/27] drm: Replace fb_helper->atomic with mode_config->atomic_commit

2016-06-20 Thread Daniel Vetter
On Mon, Jun 20, 2016 at 01:55:57PM +0800, Ying Liu wrote: > On Mon, Jun 13, 2016 at 10:01 PM, Daniel Vetter wrote: > > On Mon, Jun 13, 2016 at 05:26:28PM +0800, Ying Liu wrote: > >> On Mon, Jun 13, 2016 at 3:58 PM, Daniel Vetter wrote: > >> > On Sun, Jun 12, 2016 at 05:01:27PM +0800, Ying Liu wro

[PATCH 1/3] dma-buf: propagate errors from dma_buf_describe() on debugfs read

2016-06-20 Thread Daniel Vetter
On Sun, Jun 19, 2016 at 02:31:29PM +0200, Mathias Krause wrote: > The callback function dma_buf_describe() returns an int not void so the > function pointer cast in dma_buf_show() is wrong. dma_buf_describe() can > also fail when acquiring the mutex gets interrupted so always returning > 0 in dma_b

[PATCH 3/3] dma-buf: remove dma_buf_debugfs_create_file()

2016-06-20 Thread Daniel Vetter
On Sun, Jun 19, 2016 at 02:31:31PM +0200, Mathias Krause wrote: > There is only a single user of dma_buf_debugfs_create_file() and that > one got the function pointer cast wrong. With that one fixed, there is > no need to have a wrapper for debugfs_create_file(), just call it > directly. > > With

[Mesa-dev] [RFC] New dma_buf -> EGLImage EGL extension - Final spec published!

2016-06-20 Thread Rob Clark
On Mon, Jun 20, 2016 at 8:37 AM, Pekka Paalanen wrote: > On Fri, 17 Jun 2016 11:44:34 -0400 > Rob Clark wrote: > >> On Fri, Jun 17, 2016 at 9:31 AM, Pekka Paalanen >> wrote: >> > On Fri, 17 Jun 2016 08:26:04 -0400 >> > Rob Clark wrote: >> > >> >> On Fri, Jun 17, 2016 at 3:59 AM, Pekka Paalanen

[PATCH 21/22] arm64: dts: msm8916: Add display support

2016-06-20 Thread Archit Taneja
On 6/20/2016 6:34 PM, Rob Herring wrote: > On Thu, Jun 16, 2016 at 05:06:46PM +0530, Archit Taneja wrote: >> The MSM8916 SoC contains a MDP5 based display block, and one DSI output. >> Add the top level MDSS DT node, and the MDP5, DSI and DSI PHY children >> sub-blocks. Establish the link between

[PULL] drm/bridge: sii902x driver

2016-06-20 Thread Boris Brezillon
Hi Dave, This pull request contains 2 patches adding support for the sii902x bridge. Regards, Boris The following changes since commit a0877f52035280370707bdefeddc6faa6478b892: Merge tag 'topic/drm-misc-2016-06-15' of git://anongit.freedesktop.org/drm-intel into drm-next (2016-06-16 05:49:3

[PATCH 12/16] drm: Lobotomize set_busid nonsense for !pci drivers

2016-06-20 Thread Emil Velikov
On 17 June 2016 at 08:33, Daniel Vetter wrote: > --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c > +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c > @@ -522,7 +522,6 @@ static struct drm_driver kms_driver = { > .preclose = amdgpu_driver_preclose_kms, > .postclose = amdgpu_driver_postc

[Mesa-dev] [RFC] New dma_buf -> EGLImage EGL extension - Final spec published!

2016-06-20 Thread Pekka Paalanen
for one or the other. So I guess at least > >> gallium and mali are doing the same thing. No idea if that is the > >> same thing that i965 does. > > > > Hi, > > > > Quentin did some tests for me, and the results are... not what I would > > have expected: > > https://phabricator.freedesktop.org/T7475#88454 > > > > RadeonSI works like Intel, but Nouveau does the opposite. I think the > > Nouveau way is correct by the spec, which makes everyone else (intel, > > radeonsi, weston-simple-dmabuf-v4l) get it wrong. Unfortunately, two > > wrongs make a right, so when weston-simple-dmabuf-v4l hardcodes Y_INVERT > > as set, it'll come out the right way on intel and radeon. > > oh, wow.. that seems quite odd that two different gallium drivers have > different results, since I'd have expected this to be completely > handled by mesa/st.. now I'm somewhat curious. Hi, after a head-scratching session on #dri-devel and a little bit on #wayland too, I'm ready to punt that off as a bad test. It is quite possible the machine running nouveau had a webcam that really produces upside-down images. weston-simple-dmabuf-v4l does not understand that. Apparently mpv OTOH does. How, maybe there is an answer in V4L2 API, but I haven't looked it up yet. If we look at the Vivid tests, the results are consistent and expected. All intel, nouveau and radeon work the same way. > > And it is wrong for weston-simple-dmabuf-v4l to set Y_INVERT, that I > > believe is clear. It is only there because of the "oops, it's > > upside-down" syndrome, AFAIK. > > > >> > After all, using GL with windows and FBOs and stuff you very often find > >> > yourself upside down, and I suspect people have got the habit of just > >> > flipping it if it does not look right the first time. See e.g. the > >> > row-order of data going into glTexImage2D... > >> > > >> > If the answer is "oops, well, dmabuf import is semantically y-flipping > >> > when it should not, but we cannot fix it because that would break > >> > everyone", I would be happy with that. I just want confirmation before > >> > flipping the flip flag. :-) > > > > So many bugs that accidentally counter each other... Seems like we can conclude this by saying that a dmabuf imported via EGL as a GL texture will have the origin at top-left, instead of what the GL spec says. Thanks, pq -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 811 bytes Desc: OpenPGP digital signature URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160620/62207ab8/attachment.sig>

[PATCH] mtip32xx: Remove deprecated create_workqueue

2016-06-20 Thread Tejun Heo
On Sat, Jun 18, 2016 at 01:52:05PM +0530, Bhaktipriya Shridhar wrote: > alloc_workqueue replaces deprecated create_workqueue(). > > A dedicated workqueue has been used since the workqueue isr_workq is > involved in irq handling path of block driver and requires forward > progress under memory pres

[PATCH] mtip32xx: Remove deprecated create_workqueue

2016-06-20 Thread Tejun Heo
On Mon, Jun 20, 2016 at 11:01:44AM -0400, Tejun Heo wrote: > On Sat, Jun 18, 2016 at 01:52:05PM +0530, Bhaktipriya Shridhar wrote: > > alloc_workqueue replaces deprecated create_workqueue(). > > > > A dedicated workqueue has been used since the workqueue isr_workq is > > involved in irq handling p

[PATCH 0/6] Documentation: convert DocBook gpu.tmpl to reStructuredText

2016-06-20 Thread Jani Nikula
Hi all, this series converts the DocBook gpu.tmpl to reStructuredText, now that we have Sphinx support merged to docs-next and drm-next. I haven't really touched the content, this is just a fairly mechanical conversion and split up of the document. I'm sure there are small issues here and there, b

[PATCH 3/6] MAINTAINERS: add Documentation/gpu and Documentation/gpu/i915.rst

2016-06-20 Thread Jani Nikula
We'll want to keep an eye on what's going on in these files. Signed-off-by: Jani Nikula --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index cb88f724e07c..ce9c23dd02c6 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3857,6 +3857,7 @@ F:driv

[PATCH 4/6] Documentation/gpu: use recommended order of heading markers

2016-06-20 Thread Jani Nikula
While splitting the document up, the headings "shifted" from what pandoc generated. Use the following order for headings for consistency: == Document title == First = Second -- Third ~ Leave the lower level headings as they are; I think those are less import

[PATCH 6/6] Documentation/DocBook: remove gpu.tmpl

2016-06-20 Thread Jani Nikula
The gpu documentation has now been converted to reStructuredText files under Documentation/gpu. Remove the obsolete DocBook template. Also remove it from MAINTAINERS. Good riddance. Signed-off-by: Jani Nikula --- Documentation/DocBook/Makefile |2 +- Documentation/DocBook/gpu.tmpl | 3528 --

[PATCH v2] gpu: host1x: hw: intr_hw: Remove create_workqueue

2016-06-20 Thread Tejun Heo
On Sat, Jun 18, 2016 at 02:36:32PM +0530, Bhaktipriya Shridhar wrote: > System workqueues have been able to handle high level of concurrency > for a long time now and there's no reason to use dedicated workqueues > just to gain concurrency. Since the workqueue host->intr_wq is involved > in sync po

[PATCH v2 1/2] drm/dsi: Implement dcs set/get display brightness

2016-06-20 Thread Vinay Simha BN
Provide a small convenience wrapper that set/get the display brightness value Cc: John Stultz Cc: Sumit Semwal Cc: Archit Taneja Cc: Rob Clark Cc: Jani Nikula Cc: Thierry Reding Signed-off-by: Vinay Simha BN --- v1: *tested in nexus7 2nd gen. v2: * implemented jani review comments -fu

[PATCH v2 1/2] drm/fsl-dcu: Add HDMI driver for freescale DCU

2016-06-20 Thread Meng Yi
Hi Stefan, Thank for your reply. > I took a bit more time to understand what it is all about with this patchset > and > the DRM bridge infrastructure in general. > > I agree with Boris Brezillions comment of the first version of this > patchset: You "only" want to add DRM bridge support here, i

[RFC PATCH 2/2] devicetree: Add ANX7688 transmitter binding

2016-06-20 Thread Nicolas Boichat
ANX7688 is a transmitter to support DisplayPort over USB-C for smartphone and tablets. This binding only describes the HDMI to DP component of the chip. Signed-off-by: Nicolas Boichat --- .../devicetree/bindings/video/bridge/anx7688.txt | 32 ++ 1 file changed, 32 insertio

[PATCH 1/6] Documentation/gpu: add new gpu.rst converted from DocBook gpu.tmpl

2016-06-20 Thread Jani Nikula
This is the first step towards converting the DocBook gpu.tmpl to Sphinx and reStructuredText, the new kernel documentation tool and markup. Use Jon's "cheesy conversion script" in Documentation/sphinx/tmplcvt to do the rough conversion. Do the manual edits in follow-up patches. Add a new Document

[RFC PATCH] drm/nouveau/fb/nv50: set DMA mask before mapping scratch page

2016-06-20 Thread Ard Biesheuvel
The 100c08 scratch page is mapped using dma_map_page() before the TTM layer has had a chance to set the DMA mask. This means we are still running with the default of 32 when this code executes, and this causes problems for platforms with no memory below 4 GB (such as AMD Seattle) So move the dma_m

[PATCH 2/6] Documentation/gpu: split up the gpu documentation

2016-06-20 Thread Jani Nikula
Make the gpu documentation easier to manage by splitting to separate files. Again, this is just the split, no real edits. Signed-off-by: Jani Nikula --- Documentation/gpu/drm-internals.rst | 1998 +++ Documentation/gpu/drm-userland-interfaces.rst | 91 + Documentation

[PATCH 5/6] Documentation/gpu: convert the KMS properties table to CSV

2016-06-20 Thread Jani Nikula
Pandoc really did a bad job of converting the big KMS properties table to RST. Instead, put the properties into a separate plain text CSV file, and include it in the RST file. The generated output isn't very pretty, but at least the information is there, and it's stored in a format that's easier to

[PATCH v7 2/2] drm/panel: Add JDI LT070ME05000 WUXGA DSI Panel

2016-06-20 Thread Vinay Simha BN
Add support for the JDI LT070ME05000 WUXGA DSI panel used in Nexus 7 2013 devices. Programming sequence for the panel is was originally found in the android-msm-flo-3.4-lollipop-release branch from: https://android.googlesource.com/kernel/msm.git And video mode setting is from dsi-panel-jdi-d

[RFC PATCH 1/2] drm: bridge: anx7688: Add anx7688 bridge driver support.

2016-06-20 Thread Nicolas Boichat
ANX7688 is a HDMI to DP converter (as well as USB-C port controller), that has an internal microcontroller. The only reason a Linux kernel driver is necessary is to reject resolutions that require more bandwidth than what is available on the DP side. DP bandwidth and lane count are reported by the

[PATCH 0/3] Add callbacks for late registering

2016-06-20 Thread Benjamin Gaignard
late_register() and early_unregister() callbacks have been introduced for connectors, let do the same for encoders, crcts and planes. Like for the previously introduced functions they are called right after drm device registration and before unregistration. Those new callbacks allow to defer actio

[PATCH 1/3] drm: Add callbacks for late registering

2016-06-20 Thread Benjamin Gaignard
Like what has been done for connectors add callbacks on encoder, crtc and plane to let driver do actions after drm device registration. Correspondingly, add callbacks called before unregister drm device. Signed-off-by: Benjamin Gaignard --- drivers/gpu/drm/drm_drv.c | 42 +++

[PATCH 2/3] drm: sti: use late_register and early_unregister callbacks

2016-06-20 Thread Benjamin Gaignard
Make sti driver use register callback to move debugfs initialization out of sub-components creation. This will allow to convert driver .load() to drm_dev_alloc() and drm_dev_register(). Signed-off-by: Benjamin Gaignard --- drivers/gpu/drm/sti/sti_compositor.c | 20 drivers/g

[PATCH 3/3] drm: sti: rework init sequence

2016-06-20 Thread Benjamin Gaignard
Use drm_dev_alloc() and drm_dev_register() instead of .load() To simplify init sequence only create fbdev when requested in output_poll_changed(). Signed-off-by: Benjamin Gaignard --- drivers/gpu/drm/sti/sti_drv.c | 140 + drivers/gpu/drm/sti/sti_drv.h |

[PATCH 1/3] drm: Add callbacks for late registering

2016-06-20 Thread Chris Wilson
On Mon, Jun 20, 2016 at 05:22:55PM +0200, Benjamin Gaignard wrote: > Like what has been done for connectors add callbacks on encoder, > crtc and plane to let driver do actions after drm device registration. > > Correspondingly, add callbacks called before unregister drm device. > > Signed-off-by:

[PATCH 3/3] drm: sti: rework init sequence

2016-06-20 Thread Chris Wilson
On Mon, Jun 20, 2016 at 05:22:57PM +0200, Benjamin Gaignard wrote: > static int sti_bind(struct device *dev) > { > - return drm_platform_init(&sti_driver, to_platform_device(dev)); > + struct drm_device *ddev; > + int ret; > + > + ddev = drm_dev_alloc(&sti_driver, dev); > + if

[PATCH 0/7] de-stage SW_SYNC validation frawework

2016-06-20 Thread Gustavo Padovan
From: Gustavo Padovan Hi Greg, This is the last step in the Sync Framwork de-stage task. It de-stage the SW_SYNC validation framework and the sync_debug info debugfs file. The first 3 patches are clean up and improvements and the rest is preparation to de-stage and then finally the actual de-st

[PATCH 2/7] staging/android: display sync_pt name on debugfs

2016-06-20 Thread Gustavo Padovan
From: Gustavo Padovan When creating a sync_pt the name received wasn't used anywhere. Now we add it to the sync info debug output to make it easier to indetify the userspace name of that sync pt. Signed-off-by: Gustavo Padovan --- drivers/staging/android/sw_sync.c| 16 dri

[PATCH 6/7] dma-buf/sw_sync: de-stage SW_SYNC

2016-06-20 Thread Gustavo Padovan
From: Gustavo Padovan SW_SYNC allows to run tests on the sync_file framework via debugfs on /sync/sw_sync Opening and closing the file triggers creation and release of a sync timeline. To create fences on this timeline the SW_SYNC_IOC_CREATE_FENCE ioctl should be used. To increment the timeline

[PATCH 4/7] staging/android: move trace/sync.h to sync_trace.h

2016-06-20 Thread Gustavo Padovan
From: Gustavo Padovan The common behaviour for trace headers is to have them in the same folder they are used, instead of creating a special trace/ directory. Signed-off-by: Gustavo Padovan --- drivers/staging/android/sw_sync.c | 2 +- drivers/staging/android/{trace/sync.h

[PATCH 5/7] staging/android: prepare sw_sync files for de-staging

2016-06-20 Thread Gustavo Padovan
From: Gustavo Padovan Fix paths in the comments. Signed-off-by: Gustavo Padovan --- drivers/staging/android/sync_debug.c | 2 +- drivers/staging/android/sync_debug.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/android/sync_debug.c b/drivers/staging/a

[PATCH 7/7] staging/android: remove sync framework TODO

2016-06-20 Thread Gustavo Padovan
From: Gustavo Padovan Sync Framework was de-staged to drivers/dma-buf/, so remove it entries in the TODO file. Signed-off-by: Gustavo Padovan --- drivers/staging/android/TODO | 8 1 file changed, 8 deletions(-) diff --git a/drivers/staging/android/TODO b/drivers/staging/android/TODO

[PATCH 1/7] staging/android: remove doc from sw_sync

2016-06-20 Thread Gustavo Padovan
From: Gustavo Padovan SW_SYNC should never be used by other pieces of the kernel apart from sync_debug as it is only a Sync File Validation Framework, so hide any info to avoid confuse this with a standard kernel internal API. Signed-off-by: Gustavo Padovan --- drivers/staging/android/sw_sync.

[PATCH 3/7] staging/android: do not let userspace trigger WARN_ON

2016-06-20 Thread Gustavo Padovan
From: Gustavo Padovan Closing the timeline without waiting all fences to signal is not a critical failure, it is just bad usage from userspace so avoid calling WARN_ON in this case. Signed-off-by: Gustavo Padovan --- drivers/staging/android/sw_sync.c | 2 +- 1 file changed, 1 insertion(+), 1 d

[PATCH 1/3] drm: Add callbacks for late registering

2016-06-20 Thread Ville Syrjälä
On Mon, Jun 20, 2016 at 04:30:36PM +0100, Chris Wilson wrote: > On Mon, Jun 20, 2016 at 05:22:55PM +0200, Benjamin Gaignard wrote: > > Like what has been done for connectors add callbacks on encoder, > > crtc and plane to let driver do actions after drm device registration. > > > > Correspondingly

[Bug 96600] [RV630]: a lot of artifacts appears on a screen playing some videos through VDPAU

2016-06-20 Thread bugzilla-dae...@freedesktop.org
assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160620/eb1ba05b/attachment-0001.html>

[Bug 96600] [RV630]: a lot of artifacts appears on a screen playing some videos through VDPAU

2016-06-20 Thread bugzilla-dae...@freedesktop.org
assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160620/b5ad2084/attachment.html>

[Bug 96600] [RV630]: a lot of artifacts appears on a screen playing some videos through VDPAU

2016-06-20 Thread bugzilla-dae...@freedesktop.org
xt part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160620/fe71f9f8/attachment.html>

[Bug 96600] [RV630]: a lot of artifacts appears on a screen playing some videos through VDPAU

2016-06-20 Thread bugzilla-dae...@freedesktop.org
xt part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160620/209ba5da/attachment.html>

[Bug 96600] [RV630]: a lot of artifacts appears on a screen playing some videos through VDPAU

2016-06-20 Thread bugzilla-dae...@freedesktop.org
xt part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160620/2d9c444d/attachment.html>

[Bug 96600] [RV630]: a lot of artifacts appears on a screen playing some videos through VDPAU

2016-06-20 Thread bugzilla-dae...@freedesktop.org
xt part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160620/5c7c5429/attachment.html>

[Bug 96600] [RV630]: a lot of artifacts appears on a screen playing some videos through VDPAU hardware acceleration

2016-06-20 Thread bugzilla-dae...@freedesktop.org
part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160620/868f22e2/attachment.html>

[Bug 96600] [RV630]: a lot of artifacts appears on a screen playing some videos through VDPAU with hardware acceleration

2016-06-20 Thread bugzilla-dae...@freedesktop.org
. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160620/5a51eb30/attachment-0001.html>

[PATCH 5/7] staging/android: prepare sw_sync files for de-staging

2016-06-20 Thread Gustavo Padovan
2016-06-20 Joe Perches : > On Mon, 2016-06-20 at 12:53 -0300, Gustavo Padovan wrote: > > From: Gustavo Padovan > > > > Fix paths in the comments. > > Why is it useful to have the path or filename embedded > in the file at > all? I just kept it as is. Thinking about this now I don't see this as

[PATCH 5/7] staging/android: prepare sw_sync files for de-staging

2016-06-20 Thread Joe Perches
On Mon, 2016-06-20 at 12:53 -0300, Gustavo Padovan wrote: > From: Gustavo Padovan > > Fix paths in the comments. Why is it useful to have the path or filename embedded in the file at all?

[RFC PATCH 04/13] drm/tegra: Add sor-safe clock for DPAUX on Tegra210

2016-06-20 Thread Thierry Reding
; > { .compatible = "nvidia,tegra124-dpaux", .data = > > &tegra124_dpaux_soc }, > > { }, > > }; > > OK. I wonder if we should call it 'has_safe_clock' because this clock > does not exist for tegra124 AFAICT. #bikeshed ;-) has_safe_clock is fine with me, too. Thierry -- 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/20160620/eb942b43/attachment.sig>

  1   2   >