[PATCH 2/2] drm: Remove legacy drm_wait_one_vblank(dev, pipe).

2016-08-03 Thread Rodrigo Vivi
Now that this is not used anywhere else anymore we can go ahead and remove the legacy version. Signed-off-by: Rodrigo Vivi --- drivers/gpu/drm/drm_irq.c | 35 +++ include/drm/drm_irq.h | 1 - 2 files changed, 11 insertions(+), 25 deletions(-) diff --git a/dr

[PATCH 0/6] Allow DC state to reset the counter on screen enabled.

2016-08-03 Thread Rodrigo Vivi
For now DC is only helping on screen off scenarios since PSR is disabled. But if we want to enable PSR first we need to make DC reliable with screen on. Biggest challenge is to deal with vblank counters since frame counter register is read only and can be reset in DC state. This series is one of

[PATCH 1/6] drm: Add vblank prepare and unprepare hooks.

2016-08-03 Thread Rodrigo Vivi
This will allow drivers to control specific power saving feature and power domains when dealing with vblanks. Vblanks code are protected by spin_locks where we can't have anything that can sleep. While power saving features and power domain code have mutexes to control the states. Mutex can sleep

[PATCH 2/6] drm/i915: Move drm_crtc_vblank_get out of disabled pre-emption area.

2016-08-03 Thread Rodrigo Vivi
drm_crtc_vblank_get call the drm_vblank_prepare that will be used soon to control power saving states or anything else that needs a mutex before the vblank happens. local_irq_disable disables kernel preemption so we won't be able to use mutex inside drm_crtc_vblank_get. For this reason we need to

[PATCH 3/6] drm/i915: Split gen 9 irq hooks definitions.

2016-08-03 Thread Rodrigo Vivi
No functional change. This is just a reorg that aims to allow a cleaner introduction of new vblank hooks for gen9+. Signed-off-by: Rodrigo Vivi --- drivers/gpu/drm/i915/i915_irq.c | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/i915/i915_irq.c b/d

[PATCH 4/6] drm/i915: Introduce vblank power domain to avoid DC entry when waiting for vblank.

2016-08-03 Thread Rodrigo Vivi
Vblank counters are not restored by DMC when exiting deep DC states because frame counter register is read-only. So it is better to avoid Deep DC states when waiting for Vblanks. At least we don't mess with the counters when already waiting for vblank. Signed-off-by: Rodrigo Vivi --- drivers/gpu

[PATCH 5/6] drm: Introduce drm_crtc_vblank_sanitize_counter.

2016-08-03 Thread Rodrigo Vivi
In modern systems there are situations that you can let the screen enabled and sleep or shut off a most of the display controler. In situations like this the vblank hw counter can be reset. When this happens everything in the system gets crazy by the big count. So, the right approach is to make s

[PATCH 6/6] drm/i915: Sanitize drm crtc vblank counter after DC reset frame count.

2016-08-03 Thread Rodrigo Vivi
DC state reset the frame counter that is a read-only register. So, besides blocking DC state on vblank let's restore the drm crtc vblank counter to a place we know it is reliable. Signed-off-by: Rodrigo Vivi --- drivers/gpu/drm/i915/i915_irq.c | 2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH v6 6/6] drm/i915/skl: Update DDB values atomically with wms/plane attrs

2016-08-03 Thread Lyude Paul
On Wed, 2016-08-03 at 18:00 +0300, Ville Syrjälä wrote: > On Tue, Aug 02, 2016 at 06:37:37PM -0400, Lyude wrote: > > > > Now that we can hook into update_crtcs and control the order in which we > > update CRTCs at each modeset, we can finish the final step of fixing > > Skylake's watermark handl

[PATCH v6 6/6] drm/i915/skl: Update DDB values atomically with wms/plane attrs

2016-08-03 Thread Matt Roper
On Wed, Aug 03, 2016 at 06:00:42PM +0300, Ville Syrjälä wrote: > On Tue, Aug 02, 2016 at 06:37:37PM -0400, Lyude wrote: > > Now that we can hook into update_crtcs and control the order in which we > > update CRTCs at each modeset, we can finish the final step of fixing > > Skylake's watermark han

[Bug 91281] Tonga VCE 2160p encode fails with BO to small for addr

2016-08-03 Thread bugzilla-dae...@freedesktop.org
ent hardware capabilities. -- 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/20160803/1df48515/attachment-0001.html>

[Bug 90481] Radeonsi driver, X crash while playing "Spec ops: the line"

2016-08-03 Thread bugzilla-dae...@freedesktop.org
IUM_DDEBUG. Kernel: 4.7.0-gentoo Mesa: git-6fb6201 LLVM: r277571 -- 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/20160803/0f97d397/attachment.html>

[PATCH 0/4]: Picture aspect ratio support in DRM layer

2016-08-03 Thread Jose Abreu
Hi, On 03-08-2016 12:48, Daniel Vetter wrote: > On Wed, Aug 03, 2016 at 04:26:24PM +0530, Shashank Sharma wrote: >> This patch series adds 4 patches. >> - The first two patches add aspect ratio support in DRM layes >> - Next two patches add new aspect ratios defined in CEA-861-F >> supported fo

libdrm-armada repository

2016-08-03 Thread Joshua Clayton
On 08/02/2016 04:28 PM, Russell King wrote: > On Tue, Aug 02, 2016 at 04:09:58PM -0700, Joshua Clayton wrote: >> Greetings Russell, >> I'm publishing an etnaviv yocto layer on github. >> One of the components is libdrm-armada, which we get from >> git://ftp.arm.linux.org.uk/~rmk/libdrm-armada.git

[PATCH 0/2 v2][resend] DesignWare HDMI I2S suport

2016-08-03 Thread Kuninori Morimoto
Hi Archit, Mark Cc Thierry, Russell These are resend of v2 of DesignWare HDMI I2S support patches. (I added drm-bridge maintainer Archit on To:) It will use ALSA SoC hdmi-codec driver, but we can't use it as-is at this point. 1) patch tidyup hdmi-codec driver to enable dw-hdmi I2S support. 2) pat

libdrm-armada repository

2016-08-03 Thread Joshua Clayton
On 08/02/2016 06:38 PM, Fabio Estevam wrote: > Hi Joshua, > > On Tue, Aug 2, 2016 at 8:09 PM, Joshua Clayton > wrote: >> Greetings Russell, >> I'm publishing an etnaviv yocto layer on github. > Cool! Could you please let us know when this layer becomes available? > > Thanks Sure, Fabio. It is a

[PATCH v2 11/13] gpu: ipu-ic: Add complete image conversion support with tiling

2016-08-03 Thread Steve Longerbeam
On 08/01/2016 02:29 AM, Philipp Zabel wrote: > Am Donnerstag, den 28.07.2016, 16:09 -0700 schrieb Steve Longerbeam: >>> Now split the frame in half and suddenly pixel x' = 640 is the start of >>> a new tile, so it is sampled at x = 160, and pixel x' = 1279 will be >>> sampled at x = 160 + (1279 - 6

[PATCH 1/3] drm: bridge: add DesignWare HDMI I2S audio support

2016-08-03 Thread Kuninori Morimoto
Hi Daniel > > > > Mark, Thierry, Daniel > > > > I wonder who can be maintainer for this patch ?? > > > > > > It's a DRM patch so I'd expect someone in the DRM subsystem. > > > > OK, I see. > > But, I will keep Cc to you for this patch-set. > > Archit Tajena is the maintainer of last resort for

[PATCH 1/2 v2][resend] ASoC: hdmi-codec: enable multi probe for same device

2016-08-03 Thread Kuninori Morimoto
From: Kuninori Morimoto hdmi-codec driver is common HDMI sound driver, but it doesn't care about multi sound ports. For example, hdmi-codec driver is supporting 1 I2S and 1 SPDIF ports, so, we can't use this driver if HDMI has 2 or more I2S ports. And we would like to use multi detection. For e

[PATCH 2/2 v2][resend] drm: bridge: add DesignWare HDMI I2S audio support

2016-08-03 Thread Kuninori Morimoto
From: Kuninori Morimoto Current dw-hdmi is supporting sound via AHB bus, but it has I2S audio feature too. This patch adds I2S audio support to dw-hdmi. This HDMI I2S is supported by using ALSA SoC common HDMI encoder driver. Tested-by: Jose Abreu Signed-off-by: Kuninori Morimoto --- v1 -> v2

[PATCH v4 6/7] PM / devfreq: rockchip: add devfreq driver for rk3399 dmc

2016-08-03 Thread hl
Hi Chanwoo Choi, On 2016年08月02日 12:21, Chanwoo Choi wrote: > Hi Lin, > > On the next version, I'd like you to add the 'linux-pm at vger.kernel.org' > because devfreq is a subsystem of power management. Sure, will do it next version. > On 2016년 08월 02일 10:03, hl wrote: >> Hi Chanwoo Cho

[bug report] drm/amdgpu/gfx7: set USER_SHADER_ARRAY_CONFIG based on disable_cu parameter

2016-08-03 Thread Nicolai Hähnle
On 03.08.2016 11:09, Dan Carpenter wrote: > Hello Nicolai Hähnle, > > The patch 324c614a819a: "drm/amdgpu/gfx7: set > USER_SHADER_ARRAY_CONFIG based on disable_cu parameter" from Jun 17, > 2016, leads to the following static checker warning: > > drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c:5057 gfx

[PATCH 2/4] drm/i915/dp: Switch to using the DRM function for reading DP link status

2016-08-03 Thread Dhinakaran Pandiyan
Since a DRM function that reads link DP link status is available, let's use that instead of the i915 clone. Signed-off-by: Dhinakaran Pandiyan --- drivers/gpu/drm/i915/intel_dp.c | 15 +++ drivers/gpu/drm/i915/intel_dp_link_training.c | 11 --- drivers/gpu/drm/i

[PATCH 1/4] drm/i915/dp: Add debug messages to print DP link training pattern

2016-08-03 Thread Dhinakaran Pandiyan
Currently we do not print the training pattern used in any of the DP link training stages. Including this piece of information in debug messages will help debugging. Signed-off-by: Dhinakaran Pandiyan --- drivers/gpu/drm/i915/intel_dp.c | 13 +++-- 1 file changed, 7 insertions(+), 6 dele

[PATCH 0/4] Improve logging for DP link training

2016-08-03 Thread Dhinakaran Pandiyan
We do not currently output enough information to help debugging DP link training issues. For e.g., training pattern and link status information. This series aims to correct that by adding debug messages that can help developers. Dhinakaran Pandiyan (4): drm/i915/dp: Add debug messages to print D

[PATCH 4/4] drm/i915/dp: Dump DP link status when link training stages fails

2016-08-03 Thread Dhinakaran Pandiyan
A full dump of link status can be handy in debugging link training failures. Let's add that to the debug messages when link training fails. Signed-off-by: Dhinakaran Pandiyan --- drivers/gpu/drm/i915/intel_dp_link_training.c | 11 +++ drivers/gpu/drm/i915/intel_drv.h | 6 ++

[PATCH 3/4] drm/dp: Clarify clock recovery and channel equalization failures

2016-08-03 Thread Dhinakaran Pandiyan
The causes of clock recovery and channel equalization failures are not explicitly printed in debug messages. Help debugging link training failures by printing why it failed. Doing this in the driver would mean re-implementing some of the drm static functions that decode link status. Let's avoid th

<    1   2