Mobility Radeon HD 4530/4570/545v: flicker in 1920x1080

2015-11-04 Thread Pavel Machek
Hi! > index dac78ad..b86f06a 100644 > --- a/drivers/gpu/drm/radeon/atombios_crtc.c > +++ b/drivers/gpu/drm/radeon/atombios_crtc.c > @@ -569,6 +569,8 @@ static u32 atombios_adjust_pll(struct drm_crtc *crtc, > radeon_crtc->pll_flags = 0; > > if (ASIC_IS

[RFC v5 12/12] dt-bindings: hdmi-connector: add DDC I2C bus phandle documentation

2015-11-04 Thread Rob Herring
On Wed, Nov 04, 2015 at 12:45:09PM +0100, Philipp Zabel wrote: > Add an optional ddc-i2c-bus phandle property that points to > an I2C master controller that handles the connector DDC pins. > > Signed-off-by: Philipp Zabel > --- > Documentation/devicetree/bindings/video/hdmi-connector.txt | 1 +

[RFC v5 05/12] dt-bindings: drm/mediatek: Add Mediatek HDMI dts binding

2015-11-04 Thread Rob Herring
On Wed, Nov 04, 2015 at 12:45:02PM +0100, Philipp Zabel wrote: > Add the device tree binding documentation for Mediatek HDMI, > HDMI PHY and HDMI DDC devices. > > Signed-off-by: Philipp Zabel Acked-by: Rob Herring > --- > Changes since v4: > - Remove mediatek,cec and ddc-i2c-bus from hdmi nod

[RFC v5 01/12] dt-bindings: drm/mediatek: Add Mediatek display subsystem dts binding

2015-11-04 Thread Rob Herring
On Wed, Nov 04, 2015 at 12:44:58PM +0100, Philipp Zabel wrote: > From: CK Hu > > Add device tree binding documentation for the display subsystem in > Mediatek MT8173 SoCs. > > Signed-off-by: CK Hu > Signed-off-by: Philipp Zabel If this wasn't an RFC, I'd ack it. :) One thing you missed below

[Bug 92806] 1 second freezes during new effects UT4

2015-11-04 Thread bugzilla-dae...@freedesktop.org
e the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151104/a582e37a/attachment.html>

[Bug 92806] 1 second freezes during new effects UT4

2015-11-04 Thread bugzilla-dae...@freedesktop.org
the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151104/e32e9c46/attachment.html>

[PATCH v2 0/7] drm/exynos: add pm runtime support

2015-11-04 Thread Inki Dae
2015년 11월 04일 19:13에 Andrzej Hajda 이(가) 쓴 글: > On 11/04/2015 08:56 AM, Inki Dae wrote: >> >> 2015년 11월 04일 16:24에 Andrzej Hajda 이(가) 쓴 글: >>> On 11/03/2015 04:38 PM, Inki Dae wrote: 2015-11-03 22:24 GMT+09:00 Andrzej Hajda >>>

[Bug 92086] AMD Trinity No screen at HDMI after S3 wakeup

2015-11-04 Thread bugzilla-dae...@freedesktop.org
the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151104/dc270533/attachment.html>

[Bug 92086] AMD Trinity No screen at HDMI after S3 wakeup

2015-11-04 Thread bugzilla-dae...@freedesktop.org
the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151104/2407d558/attachment.html>

[Bug 92086] AMD Trinity No screen at HDMI after S3 wakeup

2015-11-04 Thread bugzilla-dae...@freedesktop.org
scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151104/859ab11c/attachment.html>

[PATCH] OCL20: Add svm support.

2015-11-04 Thread Yang Rong
Enable CL_DEVICE_SVM_COARSE_GRAIN_BUFFER svm support, use userptr and softpin to implement it. Use userptr to share the page between cpu and gpu, and softpin to unify the cpu and gpu's address. Now it works on i386 system. x86_64 depends on backend support. This patch base on DRM library and DRM k

[PATCH 2/2] drm/imx: Remove the primary plane created by create_primary_plane()

2015-11-04 Thread Liu Ying
Since we are using ipu_plane_init() to add one primary plane for each IPU CRTC, it's unnecessary to create the safe one by using the helper create_primary_plane(). Furthermore, the safe one is attached to crtc->primary, which actually carries a framebuffer(crtc->primary->fb) created by the fbdev h

[PATCH 1/2] drm/imx: ipuv3-crtc: Return error if ipu_plane_init() fails for primary plane

2015-11-04 Thread Liu Ying
For primary plane initialization failure cases, ipu_plane_init() may return a pointer encoded by ERR_PTR(). So, we should bailout instead of use that pointer blindly. Signed-off-by: Liu Ying --- drivers/gpu/drm/imx/ipuv3-crtc.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/gpu/

[patch] drm/vc4: checking for NULL instead of IS_ERR

2015-11-04 Thread Eric Anholt
Pulled this patch, should get it into 4.4. Thanks! -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 818 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151104/eb490d97/attachment.sig>

Mobility Radeon HD 4530/4570/545v: flicker in 1920x1080

2015-11-04 Thread Alex Deucher
On Wed, Nov 4, 2015 at 5:10 PM, Pavel Machek wrote: > Hi! > >> index dac78ad..b86f06a 100644 >> --- a/drivers/gpu/drm/radeon/atombios_crtc.c >> +++ b/drivers/gpu/drm/radeon/atombios_crtc.c >> @@ -569,6 +569,8 @@ static u32 atombios_adjust_pll(struct drm_crtc *crtc, >>

[pull] amdgpu fixes for drm-next-4.4

2015-11-04 Thread Alex Deucher
Hi Dave, Some additional fixes for 4.4: - Warning fix - More fence cleanup - oops fix - Fiji fixes The following changes since commit 6ef68c17d40e1e7e291ca513627a0d2a13ae095f: drm/amdgpu: remove amdgpu_fence_ref/unref (2015-10-30 01:58:22 -0400) are available in the git repository at: git:

[PATCH v2 0/7] drm/exynos: add pm runtime support

2015-11-04 Thread Inki Dae
2015년 11월 04일 16:24에 Andrzej Hajda 이(가) 쓴 글: > On 11/03/2015 04:38 PM, Inki Dae wrote: >> >> 2015-11-03 22:24 GMT+09:00 Andrzej Hajda > >: >>> Hi Inki, >>> >>> On 11/03/2015 11:47 AM, Inki Dae wrote: This patch series adds pm runtime support f

[patch] drm/amdgpu: cleanup on error in amdgpu_cs_ioctl()

2015-11-04 Thread Dan Carpenter
We recently changed the locking in this function and now there is a missing unlock on error. Also there are some other resources that we should probably release as well... Fixes: f48b2659f521 ('drm/amdgpu: fix the broken vm->mutex V2') Signed-off-by: Dan Carpenter --- I'm not terribly familiar w

[patch] drm/vc4: checking for NULL instead of IS_ERR

2015-11-04 Thread Dan Carpenter
vc4_plane_init() returns an ERR_PTR on error, it doesn't return NULL. This was obviously intended because the next lines call PTR_ERR(primary_plane) already. Fixes: c8b75bca92cb ('Eric Anholt ') Signed-off-by: Dan Carpenter diff --git a/drivers/gpu/drm/vc4/vc4_crtc.c b/drivers/gpu/drm/vc4/vc4_cr

[PATCH] drm/mgag200/mgag200_mode.c: fix wrong do_div() usage

2015-11-04 Thread Nicolas Pitre
do_div() is meant to be used with an unsigned dividend. Signed-off-by: Nicolas Pitre diff --git a/drivers/gpu/drm/mgag200/mgag200_mode.c b/drivers/gpu/drm/mgag200/mgag200_mode.c index c99d3fe128..1d4c480f5c 100644 --- a/drivers/gpu/drm/mgag200/mgag200_mode.c +++ b/drivers/gpu/drm/mgag200/mgag2

[patch] drm/amdgpu: cleanup on error in amdgpu_cs_ioctl()

2015-11-04 Thread Christian König
On 04.11.2015 14:25, Dan Carpenter wrote: > We recently changed the locking in this function and now there is a > missing unlock on error. Also there are some other resources that we > should probably release as well... > > Fixes: f48b2659f521 ('drm/amdgpu: fix the broken vm->mutex V2') > Signed-o

[RFC v5 12/12] dt-bindings: hdmi-connector: add DDC I2C bus phandle documentation

2015-11-04 Thread Philipp Zabel
Add an optional ddc-i2c-bus phandle property that points to an I2C master controller that handles the connector DDC pins. Signed-off-by: Philipp Zabel --- Documentation/devicetree/bindings/video/hdmi-connector.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindi

[RFC v5 11/12] clk: mediatek: Add hdmi_ref HDMI PHY PLL reference clock output

2015-11-04 Thread Philipp Zabel
The configurable hdmi_ref output of the PLL block is derived from the tvdpll_594m clock signal via a configurable PLL post-divider. It is used as the PLL reference input to the HDMI PHY module. Signed-off-by: Philipp Zabel --- drivers/clk/mediatek/clk-mt8173.c | 5 + include/dt-bindings

[RFC v5 10/12] clk: mediatek: make dpi0_sel and hdmi_sel not propagate rate changes

2015-11-04 Thread Philipp Zabel
These muxes are supposed to select a fitting divider after the PLL is already set to the correct rate. Signed-off-by: Philipp Zabel --- drivers/clk/mediatek/clk-mt8173.c | 4 ++-- drivers/clk/mediatek/clk-mtk.h| 7 +-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/driver

[RFC v5 09/12] arm64: dts: mt8173: Add HDMI related nodes

2015-11-04 Thread Philipp Zabel
From: CK Hu This patch adds the device nodes for the HDMI encoder, HDMI PHY, and HDMI CEC modules. Signed-off-by: CK Hu Signed-off-by: Cawa Cheng Signed-off-by: Jie Qiu Signed-off-by: Daniel Kurtz Signed-off-by: Philipp Zabel --- Changes since v4: - Drop mediatek,cec DT property - Add med

[RFC v5 08/12] arm64: dts: mt8173: Add display subsystem related nodes

2015-11-04 Thread Philipp Zabel
From: CK Hu This patch adds the device nodes for the DISP function blocks comprising the display subsystem. --- TODO: - The power-domain property should be added to all blocks that are in the MM power domain. - The iommus property should be removed from the mmsys node. Signed-off-by: CK Hu

[RFC v5 07/12] drm/mediatek: enable hdmi output control bit

2015-11-04 Thread Philipp Zabel
From: Jie Qiu MT8173 HDMI hardware has a output control bit to enable/disable HDMI output. Because of security reason, so this bit can ONLY be controlled in ARM supervisor mode. Now the only way to enter ARM supervisor is the ARM trusted firmware. So atf provides a API for HDMI driver to call to

[RFC v5 06/12] drm/mediatek: Add HDMI support

2015-11-04 Thread Philipp Zabel
From: Jie Qiu This patch adds drivers for the HDMI bridge connected to the DPI0 display subsystem function block, for the HDMI DDC block, and for the HDMI PHY to support HDMI output. Signed-off-by: Jie Qiu Signed-off-by: Philipp Zabel --- Changes since v4: - Always set mode during bridge enab

[RFC v5 05/12] dt-bindings: drm/mediatek: Add Mediatek HDMI dts binding

2015-11-04 Thread Philipp Zabel
Add the device tree binding documentation for Mediatek HDMI, HDMI PHY and HDMI DDC devices. Signed-off-by: Philipp Zabel --- Changes since v4: - Remove mediatek,cec and ddc-i2c-bus from hdmi node - Make output port required - Add mediatek, prefix to phy node current bias properties --- ...

[RFC v5 04/12] drm/mediatek: Add DPI sub driver

2015-11-04 Thread Philipp Zabel
From: Jie Qiu Add DPI connector/encoder to support HDMI output via the attached HDMI bridge. Signed-off-by: Jie Qiu Signed-off-by: Philipp Zabel --- drivers/gpu/drm/mediatek/Makefile | 3 +- drivers/gpu/drm/mediatek/mtk_dpi.c | 683 drivers/gpu/dr

[RFC v5 03/12] drm/mediatek: Add DSI sub driver

2015-11-04 Thread Philipp Zabel
From: CK Hu This patch add a drm encoder/connector driver for the MIPI DSI function block of the Mediatek display subsystem and a phy driver for the MIPI TX D-PHY control module. Signed-off-by: Jitao Shi Signed-off-by: Philipp Zabel --- drivers/gpu/drm/mediatek/Makefile | 4 +- drivers

[RFC v5 02/12] drm/mediatek: Add DRM Driver for Mediatek SoC MT8173.

2015-11-04 Thread Philipp Zabel
From: CK Hu This patch adds an initial DRM driver for the Mediatek MT8173 DISP subsystem. It currently supports two fixed output streams from the OVL0/OVL1 sources to the DSI0/DPI0 sinks, respectively. Signed-off-by: CK Hu Signed-off-by: YT Shen Signed-off-by: Philipp Zabel --- Changes since

[RFC v5 01/12] dt-bindings: drm/mediatek: Add Mediatek display subsystem dts binding

2015-11-04 Thread Philipp Zabel
From: CK Hu Add device tree binding documentation for the display subsystem in Mediatek MT8173 SoCs. Signed-off-by: CK Hu Signed-off-by: Philipp Zabel --- Changes since v4: - Move device tree binding documentation to Documentation/devicetree/bindings/display/mediatek - Clarified display f

[RFC v5 00/12] MT8173 DRM support

2015-11-04 Thread Philipp Zabel
Hi, another update to the MT8173 DRM support RFC. Changes since v4: - Fixed author for the HDMI driver patch - Moved device tree binding documentation to Documentation/devicetree/bindings/display/mediatek - Added mtk_crtc_state to keep pending state, made mtk_drm_crtc private - Now using d

[patch] drm/amdgpu: cleanup on error in amdgpu_cs_ioctl()

2015-11-04 Thread Alex Deucher
On Wed, Nov 4, 2015 at 9:10 AM, Christian König wrote: > On 04.11.2015 14:25, Dan Carpenter wrote: >> >> We recently changed the locking in this function and now there is a >> missing unlock on error. Also there are some other resources that we >> should probably release as well... >> >> Fixes:

[PATCH v2 0/7] drm/exynos: add pm runtime support

2015-11-04 Thread Andrzej Hajda
On 11/04/2015 08:56 AM, Inki Dae wrote: > > 2015년 11월 04일 16:24에 Andrzej Hajda 이(가) 쓴 글: >> On 11/03/2015 04:38 PM, Inki Dae wrote: >>> >>> 2015-11-03 22:24 GMT+09:00 Andrzej Hajda >> >: Hi Inki, On 11/03/2015 11:47 AM, Inki Dae wrote:

[Bug 92709] "LLVM triggered Diagnostic Handler: unsupported call to function ldexpf in main" when starting race in stuntrally

2015-11-04 Thread bugzilla-dae...@freedesktop.org
ignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151104/66913a66/attachment-0001.html>

[Intel-gfx] [PATCH v6 2/2] drm/i915: Add soft-pinning API for execbuffer

2015-11-04 Thread Daniel, Thomas
> -Original Message- > From: Intel-gfx [mailto:intel-gfx-bounces at lists.freedesktop.org] On Behalf > Of > Yang, Rong R > Sent: Wednesday, November 4, 2015 10:32 AM > To: Chris Wilson; Winiarski, Michal > Cc: intel-gfx at lists.freedesktop.org; Kristian H?gsberg; dri- > devel at lists.fre

[Intel-gfx] [PATCH v6 2/2] drm/i915: Add soft-pinning API for execbuffer

2015-11-04 Thread Yang, Rong R
> -Original Message- > From: Intel-gfx [mailto:intel-gfx-bounces at lists.freedesktop.org] On Behalf > Of Chris Wilson > Sent: Wednesday, September 9, 2015 22:25 > To: Winiarski, Michal > Cc: intel-gfx at lists.freedesktop.org; Kristian Høgsberg; dri- > devel at lists.freedesktop.org; Go

[PATCH v3 0/3] drm: fb emulation: Remove remaining driver level fb emulation configs

2015-11-04 Thread Archit Taneja
On 10/30/2015 03:57 PM, Daniel Vetter wrote: > On Tue, Oct 27, 2015 at 01:40:56PM +0530, Archit Taneja wrote: >> Instead of using a custom legacy fbdev emulation config option, use the >> top level DRM_FBDEV_EMULATION config option. >> >> There are 3 drivers which use custom config options: imx,

[Bug 91375] [radeonsi] [drm:si_dpm_set_power_state [radeon]] *ERROR* si_restrict_performance_levels_before_switch failed

2015-11-04 Thread bugzilla-dae...@freedesktop.org
Kernel 4.3 -- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151104/bd01f9cc/attachment.html>

[PATCH] drm/sti: load HQVDP firmware the first time HQVDP's plane is used

2015-11-04 Thread Vincent ABRIOU
Hi Emil, On 11/03/2015 03:55 PM, Emil Velikov wrote: > Hi Vincent, > > On 2 November 2015 at 10:05, Vincent Abriou wrote: >> @@ -754,6 +901,9 @@ static void sti_hqvdp_atomic_update(struct drm_plane >> *drm_plane, >> sti_hqvdp_update_hvsrc(HVSRC_VERT, scale_v, &cmd->hvsrc); >> >>

[Bug 92806] 1 second freezes during new effects UT4

2015-11-04 Thread bugzilla-dae...@freedesktop.org
which of the graphs show spikes corresponding to the freezes. -- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151104/714f7

[PATCH v9 10/17] phy: Add driver for rockchip Display Port PHY

2015-11-04 Thread Yakir Yang
Hi Brain, On 11/03/2015 12:38 PM, Brian Norris wrote: > Hi Yakir, > > On Thu, Oct 29, 2015 at 09:58:38AM +0800, Yakir Yang wrote: >> Add phy driver for the Rockchip DisplayPort PHY module. This >> is required to get DisplayPort working in Rockchip SoCs. >> >> Reviewed-by: Heiko Stuebner >> Signed-

Mobility Radeon HD 4530/4570/545v: flicker in 1920x1080

2015-11-04 Thread Christian König
On 04.11.2015 00:03, Pavel Machek wrote: > Hi! > > >>> Any ideas? >> Alex probably knows more about this, but it sounds like problems with >> switching the memory clocks on 3D load. >> Try to disable power management completely with radeon.dpm=0 on the >> kernel >> command

[PATCH v2 0/7] drm/exynos: add pm runtime support

2015-11-04 Thread Andrzej Hajda
On 11/03/2015 04:38 PM, Inki Dae wrote: > > 2015-11-03 22:24 GMT+09:00 Andrzej Hajda >: > > Hi Inki, > > > > On 11/03/2015 11:47 AM, Inki Dae wrote: > >> This patch series adds pm runtime support for Exynos drm. > >> > >> Originally, this patch was posted by Gustav

[Bug 92806] 1 second freezes during new effects UT4

2015-11-04 Thread bugzilla-dae...@freedesktop.org
ubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151104/8dd28183/attachment.html>

[Bug 92806] 1 second freezes during new effects UT4

2015-11-04 Thread bugzilla-dae...@freedesktop.org
educed the freeze time to about 1 second. It's still pretty horrible. -- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151104/936ac855/attachment.html>

[Bug 92709] "LLVM triggered Diagnostic Handler: unsupported call to function ldexpf in main" when starting race in stuntrally

2015-11-04 Thread bugzilla-dae...@freedesktop.org
scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151104/8eb220e4/attachment.html>

[Bug 92709] "LLVM triggered Diagnostic Handler: unsupported call to function ldexpf in main" when starting race in stuntrally

2015-11-04 Thread bugzilla-dae...@freedesktop.org
ing this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151104/51cae9da/attachment.html>

[Bug 92790] Radeon.mst error

2015-11-04 Thread bugzilla-dae...@freedesktop.org
this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151104/dbf3bd62/attachment.html>

[Bug 92518] Radeon 7870 XT Stalling Between Ring 0 and Ring 3

2015-11-04 Thread bugzilla-dae...@freedesktop.org
or the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151104/853781a6/attachment.html>

[Bug 92804] Fiji XT [Radeon R9 FURY X] hesitates/fails to resume from display sleep

2015-11-04 Thread bugzilla-dae...@freedesktop.org
ttp://lists.freedesktop.org/archives/dri-devel/attachments/20151104/7a903fb3/attachment.html>

[Bug 92804] Fury X hesitates or fails to resume from display sleep

2015-11-04 Thread bugzilla-dae...@freedesktop.org
"model name" /proc/cpuinfo | head -1 model name: AMD FX-8370 Eight-Core Processor -- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives

[PATCH v2 0/7] drm/exynos: add pm runtime support

2015-11-04 Thread Inki Dae
ynos_dp_core.h | 1 + >> drivers/gpu/drm/exynos/exynos_drm_fimd.c | 91 ++ >> drivers/gpu/drm/exynos/exynos_hdmi.c | 56 ++--- >> drivers/gpu/drm/exynos/exynos_mixer.c | 125 ++- >> 7 files changed, 352 insertions(+), 265 deletions(-) >> > >

Mobility Radeon HD 4530/4570/545v: flicker in 1920x1080

2015-11-04 Thread Pavel Machek
Hi! > >> Unfortunately, it can't be applied as is because we had a similar > >> patch which was reverted because it regressed a bunch of other > >> systems. The actual pll limits probably need to be tweaked. > > > > Any ideas how to tweak the pll limits? > > Adjust the the algorithm in radeon_co

Mobility Radeon HD 4530/4570/545v: flicker in 1920x1080

2015-11-04 Thread Pavel Machek
Hi! > >> >> >Any ideas? > >> >> > >> >> Alex probably knows more about this, but it sounds like problems with > >> >> switching the memory clocks on 3D load. > >> > > >> >> Try to disable power management completely with radeon.dpm=0 on the > >> >> kernel > >> >> command line or nailing the hard