[PATCH 5/6] drm/radeon/atpx: hybrid platforms use d3cold

2016-06-02 Thread Alex Deucher
The platform d3 cold is used to power down the dGPU. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_drv.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/radeon/radeon_drv.c b/drivers/gpu/drm/radeon/radeon_drv.c index af52f10..f453450 100644

[Intel-gfx] [PATCH 07/38] drm/exynos: Use for_each_crtc_in_state

2016-06-02 Thread Maarten Lankhorst
Op 02-06-16 om 00:06 schreef Daniel Vetter: > We want to hide drm_atomic_state internals better. > > Cc: Inki Dae > Acked-by: Inki Dae > Signed-off-by: Daniel Vetter > --- > drivers/gpu/drm/exynos/exynos_drm_drv.c | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/

[RFC PATCH v2 3/3] drm/rockchip: analogix_dp: add PSR support

2016-06-02 Thread Yakir Yang
Hi Daniel, Thanks for your fast respond. On 06/02/2016 09:18 PM, Daniel Vetter wrote: > On Thu, Jun 02, 2016 at 08:57:38PM +0800, Yakir Yang wrote: >> Let VOP vblank status decide whether panle should enter into or >> exit from PSR status. Before eDP start to change PSR status, it >> need to wait

[PATCH 02/38] drm/i915: Use drm_atomic_get_existing_plane_state

2016-06-02 Thread Daniel Vetter
On Thu, Jun 02, 2016 at 01:25:46PM +0200, Maarten Lankhorst wrote: > Op 02-06-16 om 00:06 schreef Daniel Vetter: > > We want to encapsulate the drm_atomic_state internals. > > > > Signed-off-by: Daniel Vetter > > --- > > drivers/gpu/drm/i915/intel_atomic.c | 4 +++- > > 1 file changed, 3 insertio

[RFC PATCH v2 1/3] drm: bridge/analogix_dp: add the PSR function support

2016-06-02 Thread Yakir Yang
Hi all, Sorry about the CC list, I lose some guys here, just add them back. On 06/02/2016 08:57 PM, Yakir Yang wrote: > The full name of PSR is Panel Self Refresh, panel device could refresh > itself with the hardware framebuffer in panel, this would make lots of > sense to save the power consump

[PATCH 04/38] drm/rcar-du: Use for_each_*_in_state

2016-06-02 Thread Daniel Vetter
On Thu, Jun 02, 2016 at 03:14:30PM +0200, Maarten Lankhorst wrote: > Op 02-06-16 om 00:06 schreef Daniel Vetter: > > We want to hide drm_atomic_state internals better. > > > > Cc: Laurent Pinchart > > Signed-off-by: Daniel Vetter > > --- > > drivers/gpu/drm/rcar-du/rcar_du_kms.c | 8

[Intel-gfx] [PATCH 06/38] drm/omap: Use for_each_plane_in_state

2016-06-02 Thread Daniel Vetter
On Thu, Jun 02, 2016 at 03:23:18PM +0200, Maarten Lankhorst wrote: > Op 02-06-16 om 00:06 schreef Daniel Vetter: > > We want to hide drm_atomic_stat internals a bit better. > > > > Cc: Laurent Pinchart > > Cc: Tomi Valkeinen > > Signed-off-by: Daniel Vetter > > --- > > drivers/gpu/drm/omapdrm/o

[Intel-gfx] [PATCH 08/38] drm/atomic: Add __drm_atomic_get_current_plane_state

2016-06-02 Thread Maarten Lankhorst
Op 02-06-16 om 00:06 schreef Daniel Vetter: > ... and use it in msm&vc4. Again just want to encapsulate > drm_atomic_state internals a bit. > > The const threading is a bit awkward in vc4 since C sucks, but I still > think it's worth to enforce this. Eventually I want to make all the > obj->state p

[PATCH 4/6] drm/gpu.tmpl: Don't forget to rename the include directives, too

2016-06-02 Thread Jani Nikula
On Wed, 01 Jun 2016, Daniel Vetter wrote: > We need to get folks to run > > $ make htmldocs > > more often and actually check the output. With the fancy new sphinx > stuff there's hopefully no more excuses. I think we should make kernel-doc return non-zero exit code if you specify a function or d

[PATCH 1/6] drm/doc: Update kerneldoc for drm_crtc.h

2016-06-02 Thread Jani Nikula
I didn't check that everything is in place, it's the job for the tool itself. But everything here looks sane. On the series, Acked-by: Jani Nikula On Wed, 01 Jun 2016, Daniel Vetter wrote: > Apparently not everyone has been super dutiful with updating this > stuff. > > I still decided to lea

[RFC PATCH v1 0/2]

2016-06-02 Thread Daniel Vetter
On Wed, Jun 01, 2016 at 10:54:09AM +0800, Yakir Yang wrote: > Hi Daniel, > > On 05/31/2016 10:38 PM, Daniel Vetter wrote: > > On Tue, May 31, 2016 at 09:37:36PM +0800, Yakir Yang wrote: > > > The full name of PSR is Panel Self Refresh, panel device could refresh > > > itself with the hardware fram

[PATCH 1/6] drm/amdgpu/atpx: track whether if this is a hybrid graphics platform

2016-06-02 Thread Christian König
Am 02.06.2016 um 15:33 schrieb Alex Deucher: > hybrid graphics in this case refers to systems which use the new > platform d3 cold ACPI methods as opposed to ATPX for dGPU power > control. > > Signed-off-by: Alex Deucher Acked-by: Christian König I'm wondering if I should get deeper into this?

[PATCH] drm/exynos: don't use HW trigger for Exynos5420/5422/5800

2016-06-02 Thread Javier Martinez Canillas
Commit a6f75aa161c5 ("drm/exynos: fimd: add HW trigger support") added hardware trigger support to the FIMD controller driver. But this broke the display in at least the Exynos5800 Peach Pi Chromebook. So until the issue is fixed, avoid using HW trigger for the Exynos5420 based boards and use SW t

[PATCH] drm/atomic: Add __drm_atomic_get_current_plane_state

2016-06-02 Thread Daniel Vetter
... and use it in msm&vc4. Again just want to encapsulate drm_atomic_state internals a bit. The const threading is a bit awkward in vc4 since C sucks, but I still think it's worth to enforce this. Eventually I want to make all the obj->state pointers const too, but that's a lot more work ... v2:

[PATCH] drm/amdgpu: add pipeline sync while vmid switch in same ctx

2016-06-02 Thread Alex Deucher
From: Chunming Zhou Since vmid-mgr supports vmid sharing in one vm, the same ctx could get different vmids for two emits without vm flush, vm_flush could be done in another ring. Signed-off-by: Chunming Zhou Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu

[PATCH 1/3] drm/amd/amdgpu: Convert ring debugfs entries to binary

2016-06-02 Thread Alex Deucher
From: Tom St Denis They now emit ring data in binary which will be read/written by the userspace tool umr shortly. Signed-off-by: Tom St Denis Reviewed-by: Christian König Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c | 127 +++ 1 file

[PATCH 2/3] drm/amd/amdgpu: ring debugfs is read in increments of 4 bytes

2016-06-02 Thread Alex Deucher
From: Tom St Denis If a user tries to read a non-multiple of 4 bytes it would have read until the end of the ring potentially crashing the user task. Signed-off-by: Tom St Denis Reviewed-by: Christian König Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c | 2 +- 1 f

[PATCH 3/3] drm/amdgpu: fix ring debugfs bug

2016-06-02 Thread Alex Deucher
From: Monk Liu debugfs file added but not released after driver unloaded Signed-off-by: Monk Liu Reviewed-by: Chunming Zhou Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 3 +++ drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c | 10 ++ 2 files changed, 13 inserti

[PATCH] drm/amdgpu: vBIOS post only call when mem_size zero

2016-06-02 Thread Alex Deucher
From: Monk Liu Signed-off-by: Monk Liu Reviewed-by: Alex Deucher Reviewed-by: Christian König Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/driver

[PATCH 1/6] drm/doc: Update kerneldoc for drm_crtc.h

2016-06-02 Thread Liviu Dudau
Hi Daniel, Some review comments: On Tue, May 31, 2016 at 11:11:10PM +0200, Daniel Vetter wrote: > Apparently not everyone has been super dutiful with updating this > stuff. > > I still decided to leave out the documentation for all the *_property > pointers we have in drm_mode_config. > > Signe

[PATCH 4/6] drm/gpu.tmpl: Don't forget to rename the include directives, too

2016-06-02 Thread Daniel Vetter
On Thu, Jun 02, 2016 at 04:52:08PM +0300, Jani Nikula wrote: > On Wed, 01 Jun 2016, Daniel Vetter wrote: > > We need to get folks to run > > > > $ make htmldocs > > > > more often and actually check the output. With the fancy new sphinx > > stuff there's hopefully no more excuses. > > I think we

[PATCH] drm/amdgpu: add gpu reset to timeout handler

2016-06-02 Thread Alex Deucher
From: Chunming Zhou so that we could actually reset the GPU when it hangs. Signed-off-by: Chunming Zhou Reviewed-by: Junwei Zhang Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu_job.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_job.

[PATCH] drm/doc: Switch to sphinx/rst fixed-width quoting

2016-06-02 Thread Daniel Vetter
Just fallout from switching from asciidoc to sphinx/rst. v2: Found more. Also s/\//#/ in the vgpu ascii-art - sphinx treats those as comments and switch to variable-width, which wreaks the layout. v3: Undo some of the hacks, rebasing onto latest version of Jani's series fixed it. Signed-off-by:

[PATCH 3/6] drm/doc: Improve kernel-doc for drm_fb_cma_helper.c

2016-06-02 Thread Liviu Dudau
On Tue, May 31, 2016 at 11:11:12PM +0200, Daniel Vetter wrote: > kernel-doc was unhappy, appease it. > > Cc: Noralf Trønnes > Cc: laurent.pinchart at ideasonboard.com > Signed-off-by: Daniel Vetter On this one: s/metadat/metadata/g I know we are just appeasing the gods of kernel-doc here, bu

[PATCH 01/20] drm/atomic: Fix remaining places where !funcs->best_encoder is valid

2016-06-02 Thread Boris Brezillon
Adapt drm_pick_crtcs() and update_connector_routing() to fallback to drm_atomic_helper_best_encoder() if funcs->best_encoder() is NULL so that DRM drivers can leave this hook unassigned if they know they want to use drm_atomic_helper_best_encoder(). Signed-off-by: Boris Brezillon --- drivers/gpu

[PATCH 11/20] drm: sti: Rely on the default ->best_encoder() behavior

2016-06-02 Thread Boris Brezillon
All outputs have a 1:1 relationship between connectors and encoders and the driver is relying on the atomic helpers: we can drop the custom ->best_encoder() implementations and let the core call drm_atomic_helper_best_encoder() for us. Signed-off-by: Boris Brezillon --- drivers/gpu/drm/sti/sti_d

[PATCH 13/20] drm: tegra: Rely on the default ->best_encoder() behavior

2016-06-02 Thread Boris Brezillon
All outputs have a 1:1 relationship between connectors and encoders and the driver is relying on the atomic helpers: we can drop the custom ->best_encoder() implementation and let the core call drm_atomic_helper_best_encoder() for us. Signed-off-by: Boris Brezillon --- drivers/gpu/drm/tegra/drm.

[PATCH v4] drm: Only create a cmdline mode if no probed modes match

2016-06-02 Thread Radek Dostál
On 06/01/2016 11:50 AM, Chris Wilson wrote: > Fixes regression from > > commit eaf99c749d43ae74ac7ffece5512f3c73f01dfd2 > Author: Chris Wilson > Date: Wed Aug 6 10:08:32 2014 +0200 > > drm: Perform cmdline mode parsing during connector initialisation > > that breaks HDMI output on BeagleBone

[PATCH 1/2 v16] Documentation: bridge: Add documentation for ps8640 DT properties

2016-06-02 Thread Jitao Shi
Add documentation for DT properties supported by ps8640 DSI-eDP converter. Signed-off-by: Jitao Shi Acked-by: Rob Herring Reviewed-by: Philipp Zabel --- Changes since v15: - No change. Changes since v14: - change mode-sel-gpios as optional. --- .../devicetree/bindings/display/bridge/ps8640.

[PATCH 2/2 v16] drm/bridge: Add I2C based driver for ps8640 bridge

2016-06-02 Thread Jitao Shi
This patch adds drm_bridge driver for parade DSI to eDP bridge chip. Signed-off-by: Jitao Shi Reviewed-by: Daniel Kurtz --- Changes since v15: - Drop drm_connector_(un)register calls from parade ps8640. The main DRM driver mtk_drm_drv now calls drm_connector_register_all() after drm_dev_r

[PATCH v4] drm: Only create a cmdline mode if no probed modes match

2016-06-02 Thread Radek Dostál
On 06/02/2016 01:30 PM, Ville Syrjälä wrote: > IMO the patch makes total sense even if it's not needed for this > particular bug. Feel free to add I agree and additionally can confirm, that with this patch BBB still works as expected with LG 19LS4R-ZA. Thanks, Radek

[PATCH 02/20] drm: arc: Rely on the default ->best_encoder() behavior

2016-06-02 Thread Boris Brezillon
We have a 1:1 relationship between connectors and encoders and the driver is relying on the atomic helpers: we can drop the custom ->best_encoder(), and let the core call drm_atomic_helper_best_encoder() for us. Signed-off-by: Boris Brezillon --- drivers/gpu/drm/arc/arcpgu_hdmi.c | 18 --

[PATCH 03/20] drm: atmel-hlcdc: Rely on the default ->best_encoder() behavior

2016-06-02 Thread Boris Brezillon
We have a 1:1 relationship between connectors and encoders and the driver is relying on the atomic helpers: we can drop the custom ->best_encoder() and let the core call drm_atomic_helper_best_encoder() for us. Signed-off-by: Boris Brezillon --- drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_output.c |

[PATCH 04/20] drm: exynos: Rely on the default ->best_encoder() behavior

2016-06-02 Thread Boris Brezillon
We have 1:1 relationship between connectors and encoders and the driver is relying on the atomic helpers: we can drop the custom ->best_encoder() implementations and let the core call drm_atomic_helper_best_encoder() for us. Signed-off-by: Boris Brezillon --- drivers/gpu/drm/exynos/exynos_drm_dp

[PATCH 05/20] drm: fsl-dcu: Rely on the default ->best_encoder() behavior

2016-06-02 Thread Boris Brezillon
We have a 1:1 relationship between connectors and encoders and the driver is relying on the atomic helpers: we can drop the custom ->best_encoder() and let the core call drm_atomic_helper_best_encoder() for us. Signed-off-by: Boris Brezillon --- drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_rgb.c | 9

[PATCH 06/20] drm: i915: Rely on the default ->best_encoder() behavior where appropriate

2016-06-02 Thread Boris Brezillon
For all outputs except dp_mst, we have a 1:1 relationship between connectors and encoders and the driver is relying on the atomic helpers: we can drop the custom ->best_encoder() implementation and let the core call drm_atomic_helper_best_encoder() for us. Signed-off-by: Boris Brezillon --- driv

[PATCH 07/20] drm: mediatek: Rely on the default ->best_encoder() behavior

2016-06-02 Thread Boris Brezillon
We have a 1:1 relationship between connectors and encoders and the driver is relying on the atomic helpers: we can drop the custom ->best_encoder() implementation and let the core call drm_atomic_helper_best_encoder() for us. Signed-off-by: Boris Brezillon --- drivers/gpu/drm/mediatek/mtk_dsi.c

[PATCH 08/20] drm: msm: Rely on the default ->best_encoder() behavior where appropriate

2016-06-02 Thread Boris Brezillon
For all outputs except DSI we have a 1:1 relationship between connectors and encoders and the driver is relying on the atomic helpers: we can drop the custom ->best_encoder() and let the core call drm_atomic_helper_best_encoder() for us. Signed-off-by: Boris Brezillon --- drivers/gpu/drm/msm/edp

[PATCH 09/20] drm: rcar-du: Rely on the default ->best_encoder() behavior

2016-06-02 Thread Boris Brezillon
All outputs have a 1:1 relationship between connectors and encoders, and the driver is relying on the atomic helpers: we can drop the custom ->best_encoder() implementations and let the core call drm_atomic_helper_best_encoder() for us. Signed-off-by: Boris Brezillon --- drivers/gpu/drm/rcar-du/

[PATCH 10/20] drm: rockchip: Rely on the default ->best_encoder() behavior

2016-06-02 Thread Boris Brezillon
All outputss have a 1:1 relationship between connectors and encoders and the driver is relying on the atomic helpers: we can drop the custom ->best_encoder() implementations and let the core call drm_atomic_helper_best_encoder() for us. Signed-off-by: Boris Brezillon --- drivers/gpu/drm/rockchi

[PATCH 12/20] drm: sun4i: Rely on the default ->best_encoder() behavior

2016-06-02 Thread Boris Brezillon
All outputs have a 1:1 relationship between connectors and encoders and the driver is relying on the atomic helpers: we can drop the custom ->best_encoder() implementations and let the core call drm_atomic_helper_best_encoder() for us. Signed-off-by: Boris Brezillon --- drivers/gpu/drm/sun4i/sun

[PATCH 14/20] drm: vc4: Rely on the default ->best_encoder() behavior

2016-06-02 Thread Boris Brezillon
All outputs have a 1:1 relationship between connectors and encoders and the driver is relying on the atomic helpers: we can drop the custom ->best_encoder() implementations and let the core call drm_atomic_helper_best_encoder() for us. Signed-off-by: Boris Brezillon --- drivers/gpu/drm/vc4/vc4_d

[PATCH 15/20] drm: virtgpu: Rely on the default ->best_encoder() behavior

2016-06-02 Thread Boris Brezillon
The virtgpu output exposes a 1:1 relationship between connectors and encoders and the driver is relying on the atomic helpers: we can drop the custom ->best_encoder() implementation and let the core call drm_atomic_helper_best_encoder() for us. Signed-off-by: Boris Brezillon --- drivers/gpu/drm/

[PATCH 16/20] drm: omap: Rely on the default ->best_encoder() behavior

2016-06-02 Thread Boris Brezillon
We have a 1:1 relationship between connectors and encoders and the driver is relying on the atomic helpers: we can drop the custom ->best_encoder() implementation and let the core call drm_atomic_helper_best_encoder() for us. Signed-off-by: Boris Brezillon --- drivers/gpu/drm/omapdrm/omap_connec

[PATCH 17/20] drm/bridge: anx78xx: Rely on the default ->best_encoder() behavior

2016-06-02 Thread Boris Brezillon
We have a 1:1 relationship between connectors and encoders, and the driver is relying on the atomic helpers: we can drop the custom ->best_encoder(), and let the core call drm_atomic_helper_best_encoder() for us. Signed-off-by: Boris Brezillon --- drivers/gpu/drm/bridge/analogix-anx78xx.c | 8 --

[PATCH 19/20] drm/bridge: ps8622: Rely on the default ->best_encoder() behavior

2016-06-02 Thread Boris Brezillon
We have a 1:1 relationship between connectors and encoders, and the driver is relying on the atomic helpers: we can drop the custom ->best_encoder(), and let the core call drm_atomic_helper_best_encoder() for us. Signed-off-by: Boris Brezillon --- drivers/gpu/drm/bridge/parade-ps8622.c | 10

[PATCH 20/20] drm/bridge: dw-hdmi: Use drm_atomic_helper_best_encoder()

2016-06-02 Thread Boris Brezillon
We have a 1:1 relationship between connectors and encoders, which means we can rely on the drm_atomic_helper_best_encoder() behavior. We still have to explicitly assign ->best_encoder() to drm_atomic_helper_best_encoder(), because the automated fallback to drm_atomic_helper_best_encoder() when ->b

[PATCH 18/20] drm/bridge: ptn3460: Rely on the default ->best_encoder() behavior

2016-06-02 Thread Boris Brezillon
We have a 1:1 relationship between connectors and encoders, and the driver is relying on the atomic helpers: we can drop the custom ->best_encoder(), and let the core call drm_atomic_helper_best_encoder() for us. Signed-off-by: Boris Brezillon --- drivers/gpu/drm/bridge/nxp-ptn3460.c | 8 ---

[PATCH 00/20] drm/atomic: Provide default ->best_encoder() behavior

2016-06-02 Thread Boris Brezillon
Hello, This patch series aims at replacing all dummy ->best_encoder() implementations where we have a 1:1 relationship between encoders and connectors. The core already provides the drm_atomic_helper_best_encoder() function which is taking the first encoder attached to the connector (after making

[PATCH 00/13] Fix memory and firmware leaks

2016-06-02 Thread Alex Deucher
This patch set fixes several memory leaks and cases where we forgot to release the firmware. Monk Liu (13): drm/amdgpu: fix mem leak in smumgr drm/amdgpu: fix mem leak in pplib/hwmgr drm/amdgpu: fix mem leak in atombios drm/amdgpu: fix memleak in pptable_init drm/amdgpu: fix missing free

[PATCH 01/13] drm/amdgpu: fix mem leak in smumgr

2016-06-02 Thread Alex Deucher
From: Monk Liu Signed-off-by: Monk Liu Reviewed-by: Christian König Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/powerplay/smumgr/smumgr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/amd/powerplay/smumgr/smumgr.c b/drivers/gpu/drm/amd/powerplay/smumgr/smumgr.c

[PATCH 04/13] drm/amdgpu: fix memleak in pptable_init

2016-06-02 Thread Alex Deucher
From: Monk Liu Signed-off-by: Monk Liu Acked-by: Christian König Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/powerplay/amd_powerplay.c | 8 +++- .../amd/powerplay/hwmgr/tonga_processpptables.c| 54 ++ 2 files changed, 32 insertions(+), 30 deletions(-) d

[PATCH 06/13] drm/amdgpu: fix gfx8 ucode mem leak

2016-06-02 Thread Alex Deucher
From: Monk Liu Signed-off-by: Monk Liu Reviewed-by: Christian König Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 22 +- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c b/drivers/gpu/drm/amd/am

[PATCH 07/13] drm/amdgpu: fix gfx 7 ucode mem leak

2016-06-02 Thread Alex Deucher
From: Monk Liu Signed-off-by: Monk Liu Reviewed-by: Christian König Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c | 17 + 1 file changed, 17 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c inde

[PATCH 09/13] drm/amdgpu: fix sdma3 ucode mem leak

2016-06-02 Thread Alex Deucher
From: Monk Liu Signed-off-by: Monk Liu Reviewed-by: Christian König Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c b/drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c index 33

[PATCH 02/13] drm/amdgpu: fix mem leak in pplib/hwmgr

2016-06-02 Thread Alex Deucher
From: Monk Liu Signed-off-by: Monk Liu Reviewed-by: Christian König Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c b/drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.

[PATCH 03/13] drm/amdgpu: fix mem leak in atombios

2016-06-02 Thread Alex Deucher
From: Monk Liu Signed-off-by: Monk Liu Reviewed-by: Christian König Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgp

[PATCH 05/13] drm/amdgpu: fix missing free wb for cond_exec

2016-06-02 Thread Alex Deucher
From: Monk Liu Signed-off-by: Monk Liu Reviewed-by: Christian König Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c index a4b3f44.

[PATCH 08/13] drm/amdgpu: fix uvd fini mem leak

2016-06-02 Thread Alex Deucher
From: Monk Liu Signed-off-by: Monk Liu Reviewed-by: Christian König Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c | 19 ++- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c b/drivers/gpu/drm/amd/

[PATCH 11/13] drm/amdgpu: fix cik sdma ucode memleak

2016-06-02 Thread Alex Deucher
From: Monk Liu Signed-off-by: Monk Liu Reviewed-by: Christian König Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/cik_sdma.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/cik_sdma.c b/drivers/gpu/drm/amd/amdgpu/cik_sdma.c index 0079

[PATCH 12/13] drm/amdgpu: fix fiji smu fini mem leak

2016-06-02 Thread Alex Deucher
From: Monk Liu Signed-off-by: Monk Liu Acked-by: Christian König Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c b/drivers/gpu/drm/amd/powerplay/smum

[PATCH 10/13] drm/amdgpu: fix sdma24 ucode mem leak

2016-06-02 Thread Alex Deucher
From: Monk Liu Signed-off-by: Monk Liu Reviewed-by: Christian König Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c b/drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c index f6

[PATCH 13/13] drm/amdgpu: fix tonga smu_fini mem leak

2016-06-02 Thread Alex Deucher
From: Monk Liu Signed-off-by: Monk Liu Acked-by: Christian König Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c b/drivers/gpu/drm/amd/powerplay/s

[Intel-gfx] [PATCH 11/38] drm: Consolidate crtc arrays in drm_atomic_state

2016-06-02 Thread Maarten Lankhorst
Op 02-06-16 om 00:06 schreef Daniel Vetter: > It's silly to have 2 mallocs when we could tie these two together. > > Also, Gustavo adds another one in his per-crtc out-fence patches. And > I want to add more stuff here for nonblocking commit helpers. > > In the future we can use this to store a poi

[PATCH] drm/atomic: Add __drm_atomic_get_current_plane_state

2016-06-02 Thread Maarten Lankhorst
Op 02-06-16 om 16:21 schreef Daniel Vetter: > ... and use it in msm&vc4. Again just want to encapsulate > drm_atomic_state internals a bit. > > The const threading is a bit awkward in vc4 since C sucks, but I still > think it's worth to enforce this. Eventually I want to make all the > obj->state p

[PATCH] drm/atomic: Add __drm_atomic_get_current_plane_state

2016-06-02 Thread Eric Engestrom
On Thu, Jun 02, 2016 at 04:21:44PM +0200, Daniel Vetter wrote: > ... and use it in msm&vc4. Again just want to encapsulate > drm_atomic_state internals a bit. > > The const threading is a bit awkward in vc4 since C sucks, but I still > think it's worth to enforce this. Eventually I want to make al

[Bug 96326] Heavy screen flickering in OpenGL apps on R9 390

2016-06-02 Thread bugzilla-dae...@freedesktop.org
tps://lists.freedesktop.org/archives/dri-devel/attachments/20160602/72465ff4/attachment.html>

[Bug 92302] Unigine Tropics freeze-crashes R390X

2016-06-02 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/20160602/9af6e3f6/attachment.html>

[Bug 91880] Radeonsi on Grenada cards (r9 390) exceptionally unstable and poorly performing

2016-06-02 Thread bugzilla-dae...@freedesktop.org
chment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160602/ccbd67a9/attachment.html>

[PATCH] drm/atomic: Add __drm_atomic_get_current_plane_state

2016-06-02 Thread Daniel Vetter
On Thu, Jun 02, 2016 at 04:43:51PM +0200, Maarten Lankhorst wrote: > Op 02-06-16 om 16:21 schreef Daniel Vetter: > > ... and use it in msm&vc4. Again just want to encapsulate > > drm_atomic_state internals a bit. > > > > The const threading is a bit awkward in vc4 since C sucks, but I still > > thi

[PATCH v5 2/2] drm/bridge: Add sii902x DT bindings doc

2016-06-02 Thread Boris Brezillon
Add Sii9022 DT bindings description. Signed-off-by: Boris Brezillon Acked-by: Rob Herring --- Changes since v1: - rename doc file - s/sil902/sii902/ --- .../devicetree/bindings/display/bridge/sii902x.txt | 35 ++ 1 file changed, 35 insertions(+) create mode 100644 Documenta

[PATCH v5 1/2] drm/bridge: Add sii902x driver

2016-06-02 Thread Boris Brezillon
Add basic support for the sii902x RGB -> HDMI bridge. This driver does not support audio output yet. Signed-off-by: Boris Brezillon Tested-by: Nicolas Ferre --- Hello, This patch is only adding basic support for the sii9022 chip. As stated in the commit log, there's no audio support, but the dr

[Intel-gfx] [PATCH 11/38] drm: Consolidate crtc arrays in drm_atomic_state

2016-06-02 Thread Daniel Vetter
On Thu, Jun 02, 2016 at 04:42:07PM +0200, Maarten Lankhorst wrote: > Op 02-06-16 om 00:06 schreef Daniel Vetter: > > It's silly to have 2 mallocs when we could tie these two together. > > > > Also, Gustavo adds another one in his per-crtc out-fence patches. And > > I want to add more stuff here for

[radeon-alex:drm-next-4.8-wip 63/141] drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c:228:24: warning: unused variable 'adev'

2016-06-02 Thread kbuild test robot
xt part -- A non-text attachment was scrubbed... Name: .config.gz Type: application/octet-stream Size: 25118 bytes Desc: not available URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160602/e72f7894/attachment-0001.obj>

[Bug 88458] The monitor turns off when playing starcraft 2 in wine

2016-06-02 Thread bugzilla-dae...@freedesktop.org
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/20160602/79022c60/attachment.html>

[PATCH] drm/crtc: fix connector reference counting mismatch in drm_crtc_helper_set_config

2016-06-02 Thread Philipp Zabel
Since commit 0955c1250e96 ("drm/crtc: take references to connectors used in a modeset. (v2)"), the reference counts of all connectors in the drm_mode_set given to drm_crtc_helper_set_config are incremented, and then the reference counts of all connectors are decremented on success, but in a tempora

[PATCH] drm/crtc: fix connector reference counting mismatch in drm_crtc_helper_set_config

2016-06-02 Thread Daniel Vetter
On Thu, Jun 02, 2016 at 06:02:12PM +0200, Philipp Zabel wrote: > Since commit 0955c1250e96 ("drm/crtc: take references to connectors used > in a modeset. (v2)"), the reference counts of all connectors in the > drm_mode_set given to drm_crtc_helper_set_config are incremented, and then > the referenc

[Bug 96327] Assertion failure in radeon_drm_cs.c (Shadow of Mordor)

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

[GIT PULL v2] drm/hdlcd: fixes for v4.7

2016-06-02 Thread Liviu Dudau
On Thu, Jun 02, 2016 at 12:31:38PM +0100, Liviu Dudau wrote: Hi Dave, Sorry for screw up on pull #1, I've managed to push part of a patch that was not reviewed when I tried to squash a warning reported by Arnd today. Now the tree should be clean and similar to my v3 patch series, with the additio

[Bug 95131] Scaling mode have no effect

2016-06-02 Thread bugzilla-dae...@freedesktop.org
scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160602/f1215a28/attachment.html>

[PATCH v2 1/2] drm/crtc: fix connector reference counting mismatch in drm_crtc_helper_set_config

2016-06-02 Thread Philipp Zabel
Since commit 0955c1250e96 ("drm/crtc: take references to connectors used in a modeset. (v2)"), the reference counts of all connectors in the drm_mode_set given to drm_crtc_helper_set_config are incremented, and then the reference counts of all connectors are decremented on success, but in a tempora

[PATCH v2 2/2] drm/crtc: only store the necessary data for set_config rollback

2016-06-02 Thread Philipp Zabel
drm_crtc_helper_set_config only potentially touches connector->encoder and encoder->crtc, so we only have to store those for all connectors and encoders, respectively. Suggested-by: Daniel Vetter Signed-off-by: Philipp Zabel --- drivers/gpu/drm/drm_crtc_helper.c | 36 ++-

[PATCH] drm/crtc: fix connector reference counting mismatch in drm_crtc_helper_set_config

2016-06-02 Thread Philipp Zabel
Hi Daniel, Am Donnerstag, den 02.06.2016, 18:21 +0200 schrieb Daniel Vetter: [...] > > Only the reference count of connectors that weren't previously bound to > > an encoder should be incremented after a call to drm_crtc_helper_set_config. > > And only the reference count of connectors that were p

[Bug 96343] oom since st/mesa: implement PBO downloads for ReadPixels

2016-06-02 Thread bugzilla-dae...@freedesktop.org
d... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160602/2280b08c/attachment-0001.html>

[PATCH 12/38] drm/fence: add fence to drm_pending_event

2016-06-02 Thread Sean Paul
On Wed, Jun 1, 2016 at 6:06 PM, Daniel Vetter wrote: > From: Gustavo Padovan > > Now a drm_pending_event can either send a real drm_event or signal a > fence, or both. It allow us to signal via fences when the buffer is > displayed on the screen. Which in turn means that the previous buffer > is

[PATCH 3/6] drm/amdgpu: drop explicit pci D3/D0 setting for ATPX power control

2016-06-02 Thread Lukas Wunner
On Thu, Jun 02, 2016 at 09:33:34AM -0400, Alex Deucher wrote: > The ATPX power control method does this for you. > > Signed-off-by: Alex Deucher > --- > drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/drivers/gpu/drm/amd/a

[PATCH 3/6] drm/amdgpu: drop explicit pci D3/D0 setting for ATPX power control

2016-06-02 Thread Alex Deucher
On Thu, Jun 2, 2016 at 3:23 PM, Lukas Wunner wrote: > On Thu, Jun 02, 2016 at 09:33:34AM -0400, Alex Deucher wrote: >> The ATPX power control method does this for you. >> >> Signed-off-by: Alex Deucher >> --- >> drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 8 >> 1 file changed, 4 insertion

[PATCH 3/6] drm/amdgpu: drop explicit pci D3/D0 setting for ATPX power control

2016-06-02 Thread Lukas Wunner
On Thu, Jun 02, 2016 at 03:26:18PM -0400, Alex Deucher wrote: > On Thu, Jun 2, 2016 at 3:23 PM, Lukas Wunner wrote: > > On Thu, Jun 02, 2016 at 09:33:34AM -0400, Alex Deucher wrote: > >> The ATPX power control method does this for you. > >> > >> Signed-off-by: Alex Deucher > >> --- > >> drivers/

[PATCH 1/7] drm/dp: Add defines for DP SDP types

2016-06-02 Thread ville.syrj...@linux.intel.com
From: Ville Syrjälä Add defines for the secondary data packet (SDP) types from the spec. These are the DP specific ones, and in addition HDMI infoframe types (see enum hdmi_infoframe_type) are also valid SDP types. Cc: dri-devel at lists.freedesktop.org Signed-off-by: Ville Syrjälä --- inc

[PATCH 12/38] drm/fence: add fence to drm_pending_event

2016-06-02 Thread Daniel Vetter
On Thu, Jun 02, 2016 at 02:49:13PM -0400, Sean Paul wrote: > On Wed, Jun 1, 2016 at 6:06 PM, Daniel Vetter > wrote: > > From: Gustavo Padovan > > > > Now a drm_pending_event can either send a real drm_event or signal a > > fence, or both. It allow us to signal via fences when the buffer is > > d

[PATCH] drm/crtc: fix connector reference counting mismatch in drm_crtc_helper_set_config

2016-06-02 Thread Daniel Vetter
On Thu, Jun 02, 2016 at 07:28:30PM +0200, Philipp Zabel wrote: > Hi Daniel, > > Am Donnerstag, den 02.06.2016, 18:21 +0200 schrieb Daniel Vetter: > [...] > > > Only the reference count of connectors that weren't previously bound to > > > an encoder should be incremented after a call to > > > drm_

[PATCH v2 2/2] drm/crtc: only store the necessary data for set_config rollback

2016-06-02 Thread Daniel Vetter
On Thu, Jun 02, 2016 at 07:27:52PM +0200, Philipp Zabel wrote: > drm_crtc_helper_set_config only potentially touches connector->encoder > and encoder->crtc, so we only have to store those for all connectors > and encoders, respectively. > > Suggested-by: Daniel Vetter > Signed-off-by: Philipp Zab

[PATCH v2 1/2] drm/crtc: fix connector reference counting mismatch in drm_crtc_helper_set_config

2016-06-02 Thread Daniel Vetter
On Thu, Jun 02, 2016 at 07:27:51PM +0200, Philipp Zabel wrote: > Since commit 0955c1250e96 ("drm/crtc: take references to connectors used > in a modeset. (v2)"), the reference counts of all connectors in the > drm_mode_set given to drm_crtc_helper_set_config are incremented, and then > the referenc

[Bug 96343] oom since st/mesa: implement PBO downloads for ReadPixels

2016-06-02 Thread bugzilla-dae...@freedesktop.org
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/20160602/65d897bc/attachment-0001.html>

[Bug 116251] radeon 5a427809cd9143bef89ee3110f45e84f37484218 "drm/radeon: disable runtime pm on PX laptop" makes dGPU never stop

2016-06-02 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=116251 Eugene Shalygin changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug 96344] X locks up on start since commit e8b38ca202fbe8c28

2016-06-02 Thread bugzilla-dae...@freedesktop.org
D/ATI] Barts XT [Radeon HD 6870] [1002:6738] If you need any more specific information, just let me know. -- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.o

[Bug 96343] oom since st/mesa: implement PBO downloads for ReadPixels

2016-06-02 Thread bugzilla-dae...@freedesktop.org
ully there's nothing else. That fixes it, thanks. -- 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/20160602/941b9af3/attachment.html>

[PATCH v5 1/2] drm/bridge: Add sii902x driver

2016-06-02 Thread Enric Balletbo Serra
Hi Boris, A few comments below ... 2016-06-02 17:00 GMT+02:00 Boris Brezillon : > Add basic support for the sii902x RGB -> HDMI bridge. > This driver does not support audio output yet. > > Signed-off-by: Boris Brezillon > Tested-by: Nicolas Ferre > --- > Hello, > > This patch is only adding bas

[PATCH 3/5] Documentation/devicetree/bindings: Add b850v3_lvds_dp

2016-06-02 Thread Rob Herring
On Mon, May 30, 2016 at 06:39:43PM +0200, Peter Senna Tschudin wrote: > Devicetree bindings documentation for the GE B850v3 LVDS/DP++ > display bridge. > > Signed-off-by: Peter Senna Tschudin > --- > .../devicetree/bindings/ge/b850v3_lvds_dp.txt | 38 > ++ > 1 file chan

[PATCH] drm/vc4: Make pageflip completion handling more robust.

2016-06-02 Thread Eric Anholt
ubbed... Name: signature.asc Type: application/pgp-signature Size: 818 bytes Desc: not available URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160602/75c8b8e7/attachment.sig>

<    1   2   3   >