[RFC] dpms handling on atomic drivers

2014-11-07 Thread Daniel Vetter
>> 2. Cloned configurations >> >> Currently dpms is set per-connector, and the crtc helpers only shut down >> the specific encoder. Only when all connectors are off will it shut down >> the crtc, too. That pretty much defeats the point of the new helpers of >> always enabling/disabling a given outp

[RFC] dpms handling on atomic drivers

2014-11-07 Thread Daniel Vetter
On Thu, Nov 6, 2014 at 11:35 PM, Sean Paul wrote: >>> Proposal: Only shut down anything (and then the hole output pipe with all >>> cloned outputs) when all connector's dpms property is set to off. And >>> enable it again as soon as one property goes to on. >> >> Well, it isn't quite the behavior

[RFC] dpms handling on atomic drivers

2014-11-07 Thread Daniel Vetter
On Fri, Nov 7, 2014 at 12:33 AM, Daniel Vetter wrote: > All this only matters for cloned configs anyway only, which is about > i915 for gen2, roughly. Well Ville implemented cloning for some more > recent stuff too. Ok, I've grepped: Beside i915 there's only radeon which has a possible_clones set

[RFC] dpms handling on atomic drivers

2014-11-07 Thread Daniel Vetter
On Fri, Nov 7, 2014 at 12:31 AM, Stéphane Marchesin wrote: > On Thu, Nov 6, 2014 at 1:43 AM, Daniel Vetter wrote: >> >> Hi all, >> >> After a few atomic irc chats I've shockingly realized that I've completely >> ignored dpms handling in my helper series. Oops. >> >> But there's a few things whic

[Bug 85866] Desktop environment becomes unresponsive, but mouse can move after distro update

2014-11-07 Thread bugzilla-dae...@freedesktop.org
ttp://lists.freedesktop.org/archives/dri-devel/attachments/20141107/ae17088b/attachment.html>

[PATCH weston 1/1] compositor: Abort on bad page flip timestamps

2014-11-07 Thread Mario Kleiner
On 06/11/14 17:42, Pekka Paalanen wrote: > On Thu, 06 Nov 2014 16:08:56 +0900 > Michel Dänzer wrote: > >> On 06.11.2014 03:06, Frederic Plourde wrote: >>> Many features, like animations, hardly depend on page flip timestamps >>> to work properly, but some DRM drivers do not correctly support page

[PATCH 0/4] drm/exynos: support Exynos4415 SoC

2014-11-07 Thread YoungJun Cho
This patch series adds of_device_id and relevant device nodes for Exynos4415 SoC support. This is based on exynos-drm-next branch for drm/exynos, and is based on for-next branch in linux-samsung git for dts. I think this requires rebase for the patch "drm/exynos: add has_vtsel flag"[1]. [1] http

[PATCH 1/4] drm/exynos: dsi: support Exynos4415 SoC

2014-11-07 Thread YoungJun Cho
This patch supports Exynos4415 SoC. Signed-off-by: YoungJun Cho Acked-by: Kyungmin Park --- Documentation/devicetree/bindings/video/exynos_dsim.txt | 1 + drivers/gpu/drm/exynos/exynos_drm_dsi.c | 7 +++ 2 files changed, 8 insertions(+) diff --git a/Documentation/devicetree

[PATCH 2/4] drm/exynos: fimd: support Exynos4415 SoC

2014-11-07 Thread YoungJun Cho
This patch supports Exynos4415 SoC. Signed-off-by: YoungJun Cho Acked-by: Kyungmin Park --- Documentation/devicetree/bindings/video/samsung-fimd.txt | 1 + drivers/gpu/drm/exynos/exynos_drm_fimd.c | 11 +++ 2 files changed, 12 insertions(+) diff --git a/Documentation/d

[PATCH 3/4] ARM: dts: add fimd device node to exynos4415.dtsi

2014-11-07 Thread YoungJun Cho
This patch adds fimd device node to exynos4415.dtsi. Signed-off-by: YoungJun Cho Acked-by: Kyungmin Park --- arch/arm/boot/dts/exynos4415.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/exynos4415.dtsi b/arch/arm/boot/dts/exynos4415.dtsi index c1c9b37..

[PATCH 4/4] ARM: dts: add mipi dsi device node to exynos4415.dtsi

2014-11-07 Thread YoungJun Cho
This patch adds mipi dsi device node to exynos4415.dtsi. Signed-off-by: YoungJun Cho Acked-by: Kyungmin Park --- arch/arm/boot/dts/exynos4415.dtsi | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/exynos4415.dtsi b/arch/arm/boot/dts/exynos4415.dtsi index 30

[GIT PULL FOR v3.19] R-Car DU changes

2014-11-07 Thread Laurent Pinchart
Hi Dave, Here's a pull request that adds HDMI support to the R-Car DU driver, including a new slave encoder driver for the adv7511. The branch is based on a merge of drm-next and Simon's tags/renesas-dt-du-for- v3.19 available at git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git,

[PATCH] drm/exynos: resolve infinite loop issue on non multi-platform

2014-11-07 Thread Andrzej Hajda
On 11/06/2014 03:10 PM, Inki Dae wrote: > This patch resovles the infinite loop issue incurred > when Exyno drm driver is enabled but all kms drivers > are disabled on Exynos board by returning -EPROBE_DEFER > only in case that there is kms device registered. There are many different cases it can

[Bug 85866] Desktop environment becomes unresponsive, but mouse can move after distro update

2014-11-07 Thread bugzilla-dae...@freedesktop.org
op.org/archives/dri-devel/attachments/20141107/a4716b01/attachment.html>

[PULL] drm-intel-fixes

2014-11-07 Thread Jani Nikula
Hi Dave - Black screen, screen corruption, hardware state corruption fixes. BR, Jani. The following changes since commit 0df1f2487d2f0d04703f142813d53615d62a1da4: Linux 3.18-rc3 (2014-11-02 15:01:51 -0800) are available in the git repository at: git://anongit.freedesktop.org/drm-intel t

[PATCH] drm/panel: simple: Add missing .bpc fields

2014-11-07 Thread Thierry Reding
o the drm/panel/for-next branch. Thierry -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20141107/3a81319f/attachment.sig>

[PATCH] drm: Fix spelling.

2014-11-07 Thread Daniel Vetter
On Thu, Nov 06, 2014 at 07:36:03PM -0500, Alex Pilon wrote: > Fix spelling of 'ioctl'. > > Signed-off-by: Alex Pilon > --- > drivers/gpu/drm/drm_crtc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_crtc.c > index e79c8d

[PATCH 1/3] drm/panel: add support for Innolux G121I1-L01 12.1" TFT LCD panel

2014-11-07 Thread Thierry Reding
ry -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20141107/4a33992f/attachment.sig>

[RFC 1/2] core: Add generic object registry implementation

2014-11-07 Thread Andrzej Hajda
On 11/06/2014 10:48 AM, Thierry Reding wrote: > On Wed, Nov 05, 2014 at 05:00:47PM +0100, Andrzej Hajda wrote: >> On 11/05/2014 03:04 PM, Thierry Reding wrote: >>> On Wed, Nov 05, 2014 at 01:36:24PM +0100, Andrzej Hajda wrote: On 11/04/2014 05:29 PM, Thierry Reding wrote: > From: Thierry R

[GIT PULL FOR v3.19] R-Car DU changes

2014-11-07 Thread Daniel Vetter
On Fri, Nov 07, 2014 at 08:25:32AM +0200, Laurent Pinchart wrote: > Hi Dave, > > Here's a pull request that adds HDMI support to the R-Car DU driver, > including > a new slave encoder driver for the adv7511. > > The branch is based on a merge of drm-next and Simon's tags/renesas-dt-du-for- > v3

[PATCH weston 1/1] compositor: Abort on bad page flip timestamps

2014-11-07 Thread Pekka Paalanen
On Fri, 07 Nov 2014 07:04:16 +0100 Mario Kleiner wrote: > On 06/11/14 17:42, Pekka Paalanen wrote: > > On Thu, 06 Nov 2014 16:08:56 +0900 > > Michel Dänzer wrote: > > > >> On 06.11.2014 03:06, Frederic Plourde wrote: > >>> Many features, like animations, hardly depend on page flip timestamps >

[PATCH weston 1/1] compositor: Abort on bad page flip timestamps

2014-11-07 Thread Michel Dänzer
On 07.11.2014 18:36, Pekka Paalanen wrote: > > If we still feel that exiting Weston on the first timestamp failure > (zero or not increasing) is too harsh, we could simply log a warning > and add again some heuristics on when things are too far wrong to > continue. > > E.g. getting a single timesta

[Bug 85667] GPU lockup when playing H264 video with vlc on Radeon 3850HD and R600_uvd.bin loaded

2014-11-07 Thread bugzilla-dae...@freedesktop.org
because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20141107/1d23d3ea/attachment.html>

[PATCH] drm/exynos: resolve infinite loop issue on non multi-platform

2014-11-07 Thread Andrzej Hajda
On 11/06/2014 06:08 PM, Sjoerd Simons wrote: > On Thu, 2014-11-06 at 23:10 +0900, Inki Dae wrote: >> This patch resovles the infinite loop issue incurred >> when Exyno drm driver is enabled but all kms drivers >> are disabled on Exynos board by returning -EPROBE_DEFER >> only in case that there is

[PATCH] drm/exynos: resolve infinite loop issue on non multi-platform

2014-11-07 Thread Inki Dae
On 2014년 11월 07일 17:29, Andrzej Hajda wrote: > On 11/06/2014 03:10 PM, Inki Dae wrote: >> This patch resovles the infinite loop issue incurred >> when Exyno drm driver is enabled but all kms drivers >> are disabled on Exynos board by returning -EPROBE_DEFER >> only in case that there is kms d

[PATCH] drm/exynos: g2d: fix null pointer dereference

2014-11-07 Thread Inki Dae
This patch fixes a null pointer dereference issue incurred by calling g2d_remove when exynos_drm_platform_probe is failed. cmdlist_pool of g2d is allocated when g2d sub driver is probed. So if exynos_drm_platform_probe is failed, the g2d sub driver is not probed and the cmdlist_pool is still NULL.

[PATCH V4 5/6] dw-hdmi: add support for multi byte register width access

2014-11-07 Thread Lucas Stach
Am Freitag, den 07.11.2014, 19:35 +0800 schrieb Andy Yan: > On rockchip rk3288, only word(32-bit) accesses are > permitted for hdmi registers. Byte width access (writeb, > readb) generates an imprecise external abort. > > Signed-off-by: Andy Yan > --- > drivers/gpu/drm/bridge/dw_hdmi.c | 49 >

[PATCH] drm/panel: update innolux n116bge timings

2014-11-07 Thread Thierry Reding
ss the easiest would be to apply this. > > Thanks! Took me a while longer to test this than I had expected. Turns out the Tegra132 Norrin board that I have works with the timings you provide in this patch too, so I'm going to apply this patch. Thierry ------ next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20141107/43e33dca/attachment-0001.sig>

[PATCH] drm/exynos: fix possible infinite loop issue

2014-11-07 Thread Inki Dae
This patch fixes possible infinite loop issue by postponing registration to non kms drivers after component_master_add_with_match call, which can be incurred in all cases that non kms driver is probed and then component bind is failed This patch should be applied on top of below patches, h

[PATCH v2 1/2] drm/exynos: Fix DSI resuming fail because power domain being off

2014-11-07 Thread Krzysztof Kozlowski
During system resume from suspend to RAM the Exynos DRM driver forced CRTC mode thus turning display on (DPMS_ON). This lead to runtime resuming of DSI which failed because whole LCD power domain was off and it was not allowed to turn on because of system resume in progress. Forcing mode should no

[PATCH v2 0/2] DRM: Add runtime PM to Exynos DSI

2014-11-07 Thread Krzysztof Kozlowski
Hi, Changes since v1 1. Replace patch 1 changing PM core with fix only for DRM exynos driver. Description === The goal of the patch 2 is to add runtime PM to the Exynos DSI driver. This allows LCD power domain to be turned off. However after adding this patch an interesi

[PATCH v2 2/2] drm/exynos/dsi: Add runtime PM so LCD power domain could be turned off

2014-11-07 Thread Krzysztof Kozlowski
Add runtime Power Management to the Exynos DSI driver so the LCD power domain could be turned off. This slightly reduces the energy consumption when screen is completely turned off. On Trats2 board when the system was idle the energy consumption dropped by 1% (from 92.2 mA to 91.1 mA). Before the

[PATCH] drm: Per-plane locking

2014-11-07 Thread Thierry Reding
s gets merged. Thierry -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20141107/80b93820/attachment.sig>

[PATCH] drm/exynos: resolve infinite loop issue on non multi-platform

2014-11-07 Thread Greg Kroah-Hartman
On Fri, Nov 07, 2014 at 12:11:24PM +0100, Andrzej Hajda wrote: > On 11/06/2014 06:08 PM, Sjoerd Simons wrote: > > On Thu, 2014-11-06 at 23:10 +0900, Inki Dae wrote: > >> This patch resovles the infinite loop issue incurred > >> when Exyno drm driver is enabled but all kms drivers > >> are disabled

[RFC 1/2] core: Add generic object registry implementation

2014-11-07 Thread Greg Kroah-Hartman
On Thu, Nov 06, 2014 at 05:13:24PM +0100, Thierry Reding wrote: > On Thu, Nov 06, 2014 at 11:25:32AM +0100, Thierry Reding wrote: > > On Wed, Nov 05, 2014 at 06:18:15PM -0800, Greg Kroah-Hartman wrote: > [...] > > > Sure, document it better if you want, but I think something needs to be > > > done

[Bug 73338] Fan speed in idle at 40% with radeonsi and at 18% with catalyst

2014-11-07 Thread bugzilla-dae...@freedesktop.org
g properly. Oh, thanks, Alex, I'll try to figure out what needs to be done on weekend -- 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-dev

[Bug 83461] hdmi screen flicker/unusable

2014-11-07 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=83461 --- Comment #20 from kb at spatium.org --- Hi, unfortunately supplied patch does not fix the issue. Do you need some more debug output? -- You are receiving this mail because: You are watching the assignee of the bug.

[PATCH] Replace mentions of "list_struct" to "list_head"

2014-11-07 Thread Greg KH
On Sat, Nov 08, 2014 at 01:18:48AM +0400, Andrey Utkin wrote: > There's no such thing as "list_struct". > > Signed-off-by: Andrey Utkin > --- > drivers/gpu/drm/radeon/mkregtable.c | 24 > drivers/media/pci/cx18/cx18-driver.h | 2 +- > include/linux/list.h

[PATCH 2/3] drm/msm: Handle register offset differences between a3xx, and a4xx

2014-11-07 Thread Ganesan, Aravind
On 11/6/2014 2:11 PM, Rob Clark wrote: > On Fri, Oct 31, 2014 at 11:08 AM, Ganesan, Aravind > wrote: >> Register offsets have changed between a3xx and a4xx GPUs. >> To be able access these registers in common code, we create >> a lookup table, and set of read-write APIs to access the >> register

[PATCH 3/3] drm/msm: a4xx support for msm-drm

2014-11-07 Thread Ganesan, Aravind
On 11/6/2014 2:13 PM, Rob Clark wrote: > On Fri, Oct 31, 2014 at 11:08 AM, Ganesan, Aravind > wrote: >> Added a4xx GPU support. >> >> Signed-off-by: Aravind Ganesan >> --- >> Resend the patch-set with the same thread-id >> Resend in patch-set format and with dri-devel at lists.freedesktop.org o

[PATCH 1/2] imx-drm: imx-hdmi: split imx soc specific code from imx-hdmi

2014-11-07 Thread Andy Yan
On 2014年11月05日 21:41, Philipp Zabel wrote: > Hi Andy, > > I think separating the core from the SoC specific part is a good step > into the right direction. > > Am Mittwoch, den 05.11.2014, 20:55 +0800 schrieb Andy Yan: >> imx6 and rockchip rk3288 and JZ4780 (Ingenic Xburst/MIPS) >> use the i

[PATCH V2 1/2] imx-drm: imx-hdmi: split imx soc specific code from imx-hdmi

2014-11-07 Thread Andy Yan
On 2014年11月05日 21:30, Zubair Lutfullah Kakakhel wrote: > This one patch does too much to be reviewed easily. > > One patch is supposed to modify/add one thing at a time in the kernel. > > Separating platform specific code from imx-drm/imx-hdmi is one thing. > > Adding support for multi-byte

[PATCH] drm: Fix spelling.

2014-11-07 Thread David Zhou
ok to fix. Regards, David On 2014年11月07日 08:36, Alex Pilon wrote: > Fix spelling of 'ioctl'. > > Signed-off-by: Alex Pilon > --- > drivers/gpu/drm/drm_crtc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_crtc.c >

[PATCH V4 1/6] imx-drm: imx-hdmi: split imx soc specific code from imx-hdmi

2014-11-07 Thread Andy Yan
imx6 and rockchip rk3288 and JZ4780 (Ingenic Xburst/MIPS) use the interface compatible Designware HDMI IP, but they also have some lightly difference, such as phy pll configuration, register width, 4K support, clk useage, and the crtc mux configuration is also platform specific. To reuse the imx h

[PATCH V4 2/6] dw-hdmi: move imx-hdmi to bridge/dw-hdmi

2014-11-07 Thread Andy Yan
the original imx hdmi driver is under staging/imx-drm, which depends on imx-drm, so move the imx hdmi drvier out to drm/bridge and rename imx-hdmi to dw-hdmi Signed-off-by: Andy Yan --- drivers/gpu/drm/bridge/Kconfig | 5 + drivers/gpu/drm/bridge/Makefile

[PATCH V4 4/6] dw-hdmi: return defer if can't get ddc i2c adapter

2014-11-07 Thread Andy Yan
drm driver may probe before the i2c bus, so the driver should defer probing untill it is avaliable Signed-off-by: Andy Yan --- drivers/gpu/drm/bridge/dw_hdmi.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/bridge/dw_hdmi.c b/drivers/gpu/drm/bridge/dw_hdm

[PATCH V3 4/4] dw-hdmi: convert dw-hdmi to drm_bridge mode

2014-11-07 Thread Andy Yan
On 2014年11月06日 23:54, Greg Kroah-Hartman wrote: > On Thu, Nov 06, 2014 at 07:26:16PM +0800, Andy Yan wrote: >> From: ykk > We need a "real" name here, sorry. > >> dw-hdmi is under drm/bridge, so it should be the bridge mode. >> hange off the encoder to dw_hdmi-imx.c, keep the connector & >>

[PATCH v2] drm/i2c: tda998x: Set the CEC I2C address based on the slave I2C address.

2014-11-07 Thread Andrew Jackson
The I2C address for the TDA9989 and TDA19989 is fixed at 0x34 but the two LSBs of the TDA19988's address are set by two configuration pins on the chip. Irrespective of the chip, the associated CEC peripheral's I2C address is based upon the main I2C address. This patch avoids any special handling

[PATCH V4 0/6] dw-hdmi: make imx hdmi publicly used by dw hdmi compatible platform

2014-11-07 Thread Andy Yan
We found freescale imx6 and rockchip rk3288 and Ingenic JZ4780 (Xburst/MIPS) use the interface compatible Designware HDMI IP, but they also have some lightly difference, such as phy pll configuration, register width(imx hdmi register is one byte, but rk3288 is 4 bytes width and can only access by w

[PATCH V4 3/6] dw-hdmi: make checkpatch happy

2014-11-07 Thread Andy Yan
CHECK: Alignment should match open parenthesis + if ((hdmi->vic == 10) || (hdmi->vic == 11) || + (hdmi->vic == 12) || (hdmi->vic == 13) || CHECK: braces {} should be used on all arms of this statement + if (hdmi->hdmi_data.video_mode.mdvi) [...] + else { [...] Sign

[PATCH V4 5/6] dw-hdmi: add support for multi byte register width access

2014-11-07 Thread Andy Yan
On rockchip rk3288, only word(32-bit) accesses are permitted for hdmi registers. Byte width access (writeb, readb) generates an imprecise external abort. Signed-off-by: Andy Yan --- drivers/gpu/drm/bridge/dw_hdmi.c | 49 +--- 1 file changed, 46 insertions(+),

[PATCH V4 6/6] dw-hdmi: convert dw-hdmi to drm_bridge mode

2014-11-07 Thread Andy Yan
From: Yakir Yang dw-hdmi is under drm/bridge, so it should be the bridge mode. hange off the encoder to dw_hdmi-imx.c, keep the connector & birdge in dw_hdmi.c Signed-off-by: Andy Yan Signed-off-by: Yakir Yang --- drivers/gpu/drm/bridge/dw_hdmi.c | 228 +++---

[PATCH] Fix SIGSEGV in libdrm for heigth = 0 and width = 0

2014-11-07 Thread Thomas Meyer
drm_intel_gem_bo_free() crashes because the list bo_gem->vma_list is not yet initialised, but the error path tries to free it. See also https://bugs.freedesktop.org/show_bug.cgi?id=75844 Reviewed-by: Chris Wilson Signed-off-by: Thomas Meyer --- diff --git a/intel/intel_bufmgr_gem.c b/intel/in

[Intel-gfx] 3.18.0-rc3: i915: eDP connected Display stays blank

2014-11-07 Thread Arnd Hannemann
Hi, Am 06.11.2014 um 13:53 schrieb Jani Nikula: >> root at kallisto:~# cat /sys/class/backlight/intel_backlight/bl_power >> 1 >> >>> you echo 0 there? >> >> :-) Works my display comes back, when I echo 0 there. >> >> Is user-space doing something wrong here? > > If the userspace wishes to switch

[PATCH v2 5/8] drm/omap: gem: dumb: pitch is an output

2014-11-07 Thread Tomi Valkeinen
ze){ Acked-by: Tomi Valkeinen Tomi -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20141107/dd3b91a0/attachment.sig>