[PATCH] drm/exynos: use drm_plane_force_disable

2015-04-10 Thread Inki Dae
On 2015년 04월 10일 05:25, Gustavo Padovan wrote: > Hi Joonyoung, > > 2015-04-09 Joonyoung Shim : > >> Don't call directly disable callback of plane helper, we need to >> disconnect the plane from the fb and crtc after disable callback. >> >> Signed-off-by: Joonyoung Shim >> --- >> drivers/g

[PATCH v5 00/12] Add drivers for Exynos5433 display

2015-04-10 Thread Hyungwon Hwang
This patchset is based on the git(branch name: exynos-drm-next) which is maintained by Inki Dae. https://kernel.googlesource.com/pub/scm/linux/kernel/git/... This patchset adds 2 new device drivers, decon and mic, and adds support for Exynos5433 mipi dsi. To enable display in a Exynos5433 board, d

[PATCH v5 03/12] drm/exynos: mic: add MIC driver

2015-04-10 Thread Hyungwon Hwang
MIC(Mobile image compressor) is newly added IP in Exynos5433. MIC resides between decon and mipi dsim, and compresses frame data by 50%. With dsi, not display port, to send frame data to the panel, the bandwidth is not enough. That is why this compressor is introduced. Signed-off-by: Hyungwon Hwan

[PATCH v5 04/12] drm/exynos: dsi: rename pll_clk to sclk_clk

2015-04-10 Thread Hyungwon Hwang
This patch renames pll_clk to sclk_clk. The clock referenced by pll_clk is actually not the pll input clock for dsi. The pll input clock comes from the board's oscillator directly. Signed-off-by: Hyungwon Hwang --- Changes for v3: - Newly added Changes for v4: - None Changes for v5: - None ...

[PATCH v5 02/12] of: add helper for getting endpoint node of specific identifiers

2015-04-10 Thread Hyungwon Hwang
When there are multiple ports or multiple endpoints in a port, they have to be distinguished by the value of reg property. It is common. The drivers can get the specific endpoint in the specific port via this function. Now the drivers have to implement this code in themselves or have to force the o

[PATCH v5 06/12] drm/exynos: dsi: make use of driver data for static values

2015-04-10 Thread Hyungwon Hwang
Exynos MIPI DSI driver uses some static values such as address offsets, register setting values, and etc. This patch makes the driver get those values from the driver data. Signed-off-by: Hyungwon Hwang --- Changes for v5: - Newly added drivers/gpu/drm/exynos/exynos_drm_dsi.c | 196 +

[PATCH v5 11/12] drm/exynos: dsi: do not set TE GPIO direction by input

2015-04-10 Thread Hyungwon Hwang
On some board, TE GPIO should be configured properly thoughout pinctrl driver as an wakeup interrupt. So this gpio should be configurable in the board's DT, not being requested as a input pin. Signed-off-by: Hyungwon Hwang --- Changes for v2: - None Changes for v3: - None Changes for v4: - None

[PATCH v5 01/12] drm/exynos: add Exynos5433 decon driver

2015-04-10 Thread Hyungwon Hwang
From: Joonyoung Shim DECON(Display and Enhancement Controller) is new IP replacing FIMD in Exynos5433. This patch adds Exynos5433 decon driver. Signed-off-by: Joonyoung Shim Signed-off-by: Hyungwon Hwang --- Changes for v2: - change file names and variable names of decon to represnt exynos5433

[PATCH v5 10/12] drm/exynos: dsi: add support for MIC driver as a bridge

2015-04-10 Thread Hyungwon Hwang
MIC must be initilized by MIPI DSI when it is being bound. Signed-off-by: Hyungwon Hwang --- Changes for v2: - None Changes for v3: - None Changes for v4: - None Changes for v5: - None .../devicetree/bindings/video/exynos_dsim.txt | 23 ++--- drivers/gpu/drm/exynos/exynos

[PATCH v5 05/12] drm/exynos: dsi: add macros for register access

2015-04-10 Thread Hyungwon Hwang
This patch adds macros for register writing/reading. This is needed for adding support Exynos5433 MIPI DSI driver, not by using if statement, but by using driver data. Signed-off-by: Hyungwon Hwang --- Changes for v5: - Newly added drivers/gpu/drm/exynos/exynos_drm_dsi.c | 98 +--

[PATCH v5 12/12] ARM: dts: rename the clock of MIPI DSI 'pll_clk' to 'sclk_mipi'

2015-04-10 Thread Hyungwon Hwang
The clock which was named as 'pll_clk' is actually not the clock source of PLL in MIPI DSI. This patch fixes this disagreement. Signed-off-by: Hyungwon Hwang --- Changes for v5: - Newly added arch/arm/boot/dts/exynos4.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/

[PATCH v5 07/12] drm/exynos: dsi: make use of array for clock access

2015-04-10 Thread Hyungwon Hwang
This patch make the driver to use an array for clock access. The number of clocks are different from the existing MIPI DSI driver and Exynos5433 MIPI DSI driver. So this patch is needed before adding support for Exynos5433 MIPI DSI driver. Signed-off-by: Hyungwon Hwang --- Changes for v5: - Newly

[PATCH v5 09/12] drm/exynos: dsi: add the backward compatibility for the renamed clock

2015-04-10 Thread Hyungwon Hwang
>From the commit a45abd04a46048a4956408543cdbdd8bdedd3215 ("drm/exynos: dsi: rename pll_clk to sclk_clk'), the compiled dtb which contains 'pll_clk' becomes not compatible with the current DSI driver. This patch adds the backward compatibility for this issue. Signed-off-by: Hyungwon Hwang --- Cha

[PATCH v5 08/12] drm/exynos: dsi: add support for Exynos5433

2015-04-10 Thread Hyungwon Hwang
This patch adds support for Exynos5433 mipi dsi. Signed-off-by: Hyungwon Hwang --- Changes for v2: - change the author of "drm/exynos: dsi: add support for Exynos5433 SoC" to Hyungwon Hwang by the previous author's will Changes for v3: - Separated from the patch "drm/exynos: dsi: add support for

libva decoding performance regression with kernel 4.0-rc

2015-04-10 Thread Chris Wilson
On Thu, Apr 09, 2015 at 09:00:43PM -0400, Olivier Crête wrote: > Hello, > > Using an Atom E3845 board, we had a pretty bad performance regression > when upgrading to 4.0-rc6 from 3.19. With the help of git bisect, I > traced it back to commit 78a42377. Reverting this commit and subsequent > relat

[PATCH v6] drm/exynos: add Exynos5433 decon driver

2015-04-10 Thread Hyungwon Hwang
From: Joonyoung Shim DECON(Display and Enhancement Controller) is new IP replacing FIMD in Exynos5433. This patch adds Exynos5433 decon driver. Signed-off-by: Joonyoung Shim Signed-off-by: Hyungwon Hwang --- Changes for v2: - change file names and variable names of decon to represnt exynos5433

[PATCH v5 01/12] drm/exynos: add Exynos5433 decon driver

2015-04-10 Thread Hyungwon Hwang
Dear Varka Bhadram, On Fri, 10 Apr 2015 11:35:02 +0530 Varka Bhadram wrote: > On 04/10/2015 11:25 AM, Hyungwon Hwang wrote: > > > From: Joonyoung Shim > > > > DECON(Display and Enhancement Controller) is new IP replacing FIMD > > in Exynos5433. This patch adds Exynos5433 decon driver. > > > >

[Intel-gfx] [PATCH 01/14] drm: Adding drm helper function drm_plane_from_index().

2015-04-10 Thread Daniel Vetter
On Thu, Apr 09, 2015 at 05:36:21PM -0700, Chandra Konduru wrote: > Adding drm helper function to return plane pointer from index where > index is a returned by drm_plane_index. > > v2: > -avoided nested loop by adding loop count (Daniel) > > v3: > -updated patch header prefix to 'drm' (Matt) > >

drm/msm/mdp5: undefined CONFIG_MSM_BUS_SCALING

2015-04-10 Thread Valentin Rothberg
On Thu, Apr 09, 2015 at 04:20:45PM -0400, Rob Clark wrote: > On Thu, Apr 9, 2015 at 3:44 PM, Valentin Rothberg > wrote: > > On Thu, Apr 09, 2015 at 02:54:29PM -0400, Rob Clark wrote: > >> On Thu, Apr 9, 2015 at 2:12 PM, Paul Bolle wrote: > >> > On Thu, 2015-04-09 at 19:07 +0200, Greg KH wrote: >

[PATCH v5 01/12] drm/exynos: add Exynos5433 decon driver

2015-04-10 Thread Varka Bhadram
On 04/10/2015 11:25 AM, Hyungwon Hwang wrote: > From: Joonyoung Shim > > DECON(Display and Enhancement Controller) is new IP replacing FIMD in > Exynos5433. This patch adds Exynos5433 decon driver. > > Signed-off-by: Joonyoung Shim > Signed-off-by: Hyungwon Hwang > --- > Changes for v2: > - cha

[PATCH 2/6] drm/cache: Implement drm_clflush_*() for ARM

2015-04-10 Thread Russell King - ARM Linux
On Thu, Apr 09, 2015 at 04:34:05PM +0200, Thierry Reding wrote: > From: Thierry Reding > > Add implementations for drm_clflush_*() on ARM by borrowing code from > the DMA mapping API implementation. Unfortunately ARM doesn't export an > API to flush caches on a page by page basis, so this replica

[PATCH 5/6] drm/armada: gem: Use drm_clflush_*() functions

2015-04-10 Thread Russell King - ARM Linux
On Thu, Apr 09, 2015 at 04:34:08PM +0200, Thierry Reding wrote: > diff --git a/drivers/gpu/drm/armada/armada_gem.c > b/drivers/gpu/drm/armada/armada_gem.c > index 580e10acaa3a..c2d4414031ab 100644 > --- a/drivers/gpu/drm/armada/armada_gem.c > +++ b/drivers/gpu/drm/armada/armada_gem.c > @@ -453,19

[PATCH 5/6] drm/armada: gem: Use drm_clflush_*() functions

2015-04-10 Thread Thierry Reding
MSM were using this pattern to make sure that caches are invalidated upon allocation of memory from shmemfs, but I now realize that for the Armada driver this isn't the case. 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/20150410/629c796e/attachment.sig>

[PATCH v2 0/5] i.MX5/6 mem2mem scaler

2015-04-10 Thread Jean-Michel Hautbois
Hi Philipp, Thank you for the series ! 2015-03-18 11:22 GMT+01:00 Philipp Zabel : > Hi, > > this series uses the IPU IC post-processing task, to implement > a mem2mem device for scaling and colorspace conversion. The first > version had a fixup applied to the wrong patch. > > Changes since v1: >

[PATCH 2/6] drm/cache: Implement drm_clflush_*() for ARM

2015-04-10 Thread Thierry Reding
stion on how to fix this? 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/20150410/d26ac0a7/attachment.sig>

[PATCH 4/5] [media] imx-ipu: Add ipu media common code

2015-04-10 Thread Kamil Debski
From: linux-media-ow...@vger.kernel.org [mailto:linux-media- owner at vger.kernel.org] On Behalf Of Philipp Zabel Sent: Tuesday, March 17, 2015 4:48 PM > To: linux-media at vger.kernel.org > Cc: dri-devel at lists.freedesktop.org; David Airlie; Mauro Carvalho > Chehab; Steve Longerbeam; Hans Verkui

[PATCH 5/5] [media] imx-ipu: Add i.MX IPUv3 scaler driver

2015-04-10 Thread Kamil Debski
From: linux-media-ow...@vger.kernel.org [mailto:linux-media- owner at vger.kernel.org] On Behalf Of Philipp Zabel Sent: Tuesday, March 17, 2015 4:48 PM > > From: Sascha Hauer > > This patch adds support for hardware accelerated scaling and color > space conversion between memory buffers using th

[PATCH 3/3] drm/atomic-helper: Don't call atomic_update_plane when it stays off

2015-04-10 Thread Daniel Vetter
It's a silly thing to do and surprises driver writers. Most likely this did already blow up for exynos. It's also a silly thing to change plane state when it's off, but fbdev is silly (it does an unconditional modeset over all planes). And userspace can be evil. So I think we need this. With this

[PATCH 0/5] i.MX5/6 mem2mem scaler

2015-04-10 Thread Kamil Debski
Hi, From: linux-media-ow...@vger.kernel.org [mailto:linux-media- owner at vger.kernel.org] On Behalf Of Philipp Zabel Sent: Tuesday, March 17, 2015 4:48 PM > > Hi, > > this series uses the IPU IC post-processing task, to implement a > mem2mem device for scaling and colorspace conversion. This p

[Intel-gfx] [PATCH 4/9] drm/i915: Add check for corrupt raw EDID header for Displayport compliance testing

2015-04-10 Thread Todd Previte
On 4/8/2015 3:37 PM, Paulo Zanoni wrote: > 2015-04-08 18:43 GMT-03:00 Todd Previte: >> On 4/8/2015 9:51 AM, Paulo Zanoni wrote: >>> 2015-03-31 14:15 GMT-03:00 Todd Previte: Displayport compliance test 4.2.2.6 requires that a source device be capable of detecting a corrupt EDID. To

[Bug 89944] GPU crash in Civilization 5

2015-04-10 Thread bugzilla-dae...@freedesktop.org
R600_DEBUG=ps,gs,vs output from the offending commit and its > parent if you think comparing them is of any use That would be useful. -- 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/20150410/808abbae/attachment-0001.html>

[PATCH 06/11] drm/i915: Add supporting structure for Displayport Link CTS test 4.2.2.6

2015-04-10 Thread Todd Previte
Displayport compliance test 4.2.2.6 requires that a source device be capable of detecting a corrupt EDID. The test specification states that the sink device sets up the EDID with an invalid checksum. To do this, the sink sets up an invalid EDID header, expecting the source device to generate the ch

[PATCH 09/11] drm/i915: Fix for DP CTS test 4.2.2.5 - I2C DEFER handling

2015-04-10 Thread Todd Previte
For test 4.2.2.5 to pass per the Link CTS Core 1.2 rev1.1 spec, the source device must attempt at least 7 times to read the EDID when it receives an I2C defer. The normal DRM code makes only 7 retries, regardless of whether or not the response is a native defer or an I2C defer. Test 4.2.2.5 fails s

[PATCH 11/11] drm: Fix the 'native defer' message in drm_dp_i2c_do_msg()

2015-04-10 Thread Todd Previte
The debug message is missing a newline at the end and it makes the logs hard to read when a device defers a lot. Simple 2-character fix adds the newline at the end. Signed-off-by: Todd Previte Cc: dri-devel at lists.freedesktop.org --- drivers/gpu/drm/drm_dp_helper.c | 2 +- 1 file changed, 1 in

[Bug 38873] [855gm] gnome-shell misrendered

2015-04-10 Thread bugzilla-dae...@freedesktop.org
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/20150410/b4d3b25b/attachment.html>

[Bug 80050] [855GM] Incorrect drop shadow color under windows in Cinnamon persists with MESA 10.1.

2015-04-10 Thread bugzilla-dae...@freedesktop.org
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/20150410/960a3708/attachment.html>

[Bug 89944] GPU crash in Civilization 5

2015-04-10 Thread bugzilla-dae...@freedesktop.org
An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150410/27568790/attachment-0001.html>

[PATCH 11/11] drm: Fix the 'native defer' message in drm_dp_i2c_do_msg()

2015-04-10 Thread Alex Deucher
On Fri, Apr 10, 2015 at 12:12 PM, Todd Previte wrote: > The debug message is missing a newline at the end and it makes the > logs hard to read when a device defers a lot. Simple 2-character fix > adds the newline at the end. > > Signed-off-by: Todd Previte > Cc: dri-devel at lists.freedesktop.org

[Bug 89944] GPU crash in Civilization 5

2015-04-10 Thread bugzilla-dae...@freedesktop.org
0_DEBUG=ps,vs,gs output from last good commit (30f51f1a) -- 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/20150410/61d36fb4/attachment.html>

[Bug 89944] GPU crash in Civilization 5

2015-04-10 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: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150410/91e58a6a/attachment.html>

[PATCH libdrm 11/24] intel: remove the drm_mm* symbol workarounds

2015-04-10 Thread Emil Velikov
On 10/04/15 06:05, Eric Anholt wrote: > Emil Velikov writes: > >> Humble ping. >> >> Eric, can you please confirm if this and the follow up patch look ok. > > Seems reasonable if you've verified the symbols aren't exposed. > Neither the dri modules (i9[16]5_dri.so) nor libdrm_intel exports thes

[PATCH 06/11] drm/i915: Add supporting structure for Displayport Link CTS test 4.2.2.6

2015-04-10 Thread Emil Velikov
Hi Todd On 10/04/15 16:12, Todd Previte wrote: > Displayport compliance test 4.2.2.6 requires that a source device be capable > of > detecting a corrupt EDID. The test specification states that the sink device > sets up the EDID with an invalid checksum. To do this, the sink sets up an > invalid

[PATCH 06/13] drm: Add supporting structure for Displayport Link CTS test 4.2.2.6

2015-04-10 Thread Todd Previte
Displayport compliance test 4.2.2.6 requires that a source device be capable of detecting a corrupt EDID. The test specification states that the sink device sets up the EDID with an invalid checksum. To do this, the sink sets up an invalid EDID header, expecting the source device to generate the ch

[PATCH 06/11] drm/i915: Add supporting structure for Displayport Link CTS test 4.2.2.6

2015-04-10 Thread Todd Previte
Easy enough to do. Tag removed and updated patch posted. Thanks Emil! On 4/10/2015 10:45 AM, Emil Velikov wrote: > Hi Todd > > On 10/04/15 16:12, Todd Previte wrote: >> Displayport compliance test 4.2.2.6 requires that a source device be capable >> of >> detecting a corrupt EDID. The test specifi

[PATCH 09/13] drm: Fix for DP CTS test 4.2.2.5 - I2C DEFER handling

2015-04-10 Thread Todd Previte
For test 4.2.2.5 to pass per the Link CTS Core 1.2 rev1.1 spec, the source device must attempt at least 7 times to read the EDID when it receives an I2C defer. The normal DRM code makes only 7 retries, regardless of whether or not the response is a native defer or an I2C defer. Test 4.2.2.5 fails s

[PATCH] drm/exynos: remove unnecessary calls to disable_plane()

2015-04-10 Thread Gustavo Padovan
From: Gustavo Padovan The planes are already disabled by the drm_atomic_helper_commit() code so we don't need to disable the in these two places. Signed-off-by: Gustavo Padovan --- drivers/gpu/drm/exynos/exynos_drm_crtc.c| 11 --- drivers/gpu/drm/exynos/exynos_drm_encoder.c | 8 --

[PATCH] drm/exynos: use drm_plane_force_disable

2015-04-10 Thread Gustavo Padovan
Hi Inki, 2015-04-10 Inki Dae : > On 2015년 04월 10일 05:25, Gustavo Padovan wrote: > > Hi Joonyoung, > > > > 2015-04-09 Joonyoung Shim : > > > >> Don't call directly disable callback of plane helper, we need to > >> disconnect the plane from the fb and crtc after disable callback. > >> > >>

[Bug 88364] Xorg hangs after videocard switching

2015-04-10 Thread bugzilla-dae...@freedesktop.org
-- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150410/acb4ea50/attachment.html>

[Bug 88364] Xorg hangs after videocard switching

2015-04-10 Thread bugzilla-dae...@freedesktop.org
me with no response even on SysRq keys. -- 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/20150410/fa1ede42/attachment.html>

[Bug 89699] Regression in 10.5.1 causes flickering/artifacting in a particular video game

2015-04-10 Thread bugzilla-dae...@freedesktop.org
://lists.freedesktop.org/archives/dri-devel/2015-April/081045.html -- 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/20150410/ea280

[Intel-gfx] [PATCH 01/14] drm: Adding drm helper function drm_plane_from_index().

2015-04-10 Thread Konduru, Chandra
> -Original Message- > From: Daniel Vetter [mailto:daniel.vetter at ffwll.ch] On Behalf Of Daniel > Vetter > Sent: Friday, April 10, 2015 12:00 AM > To: Konduru, Chandra > Cc: intel-gfx at lists.freedesktop.org; Conselvan De Oliveira, Ander; Vetter, > Daniel; dri-devel at lists.freedeskt

libva decoding performance regression with kernel 4.0-rc

2015-04-10 Thread Olivier Crête
Hello, Thanks for the quick reply! With my real use-cases: 1. 9x 720p60 mpeg2 videos - 4.0-rc6: ~12 frames per second are on time - 4.0-rc6 + reverts: a stable 45 frames per second are on time - 044307a9: 40-45 frames per second are on time - 0a24802a: 45-46 frames per second are on time 2.