TILCDC driver - Array to keep register values during PM suspend is too small

2015-07-01 Thread Michael Bode
Hi, i currently try to write a LIDD version of the TILCDC driver in driver/gpu/drm. During my investigations I found the function "tilcdc_pm_suspend" in tilcdc_drv.c: #ifdef CONFIG_PM_SLEEP static int tilcdc_pm_suspend(struct device *dev) { . /* Save register state: */ for (i

[PATCH v2 01/12] drm: panel: Add a new private mode flag: DRM_PANEL_FLAG_PREFER_ONE_SHOT

2015-07-01 Thread Mark Zhang
On 07/01/2015 04:54 PM, Daniel Vetter wrote: > On Wed, Jul 01, 2015 at 04:21:44PM +0800, Mark Zhang wrote: >> Normally this flag is set by panel driver so that crtc can enable >> the "one-shot" mode(not scan frames continuously). >> >> Signed-off-by: Mark Zhang >> --- >> include/drm/drm_panel.h |

[PATCH v2 12/12] JUST FOR TEST: Add one-shot trigger to update display

2015-07-01 Thread Mark Zhang
On 07/01/2015 04:46 PM, Daniel Vetter wrote: > On Wed, Jul 01, 2015 at 10:36:17AM +0200, Daniel Vetter wrote: >> On Wed, Jul 01, 2015 at 04:21:55PM +0800, Mark Zhang wrote: >>> This HACK adds a workqueue to refresh the display periodically. >>> This is used just for testing. >> >> ->dirty is the dr

[PATCH v2 12/12] JUST FOR TEST: Add one-shot trigger to update display

2015-07-01 Thread Mark Zhang
On 07/01/2015 06:34 PM, Daniel Vetter wrote: > On Wed, Jul 01, 2015 at 05:01:52PM +0800, Mark Zhang wrote: >> On 07/01/2015 04:36 PM, Daniel Vetter wrote: >>> On Wed, Jul 01, 2015 at 04:21:55PM +0800, Mark Zhang wrote: This HACK adds a workqueue to refresh the display periodically. This i

[PATCH 2/2] drm/exynos: gsc: Handles the combination of rotation and flip

2015-07-01 Thread Hyungwon Hwang
The unique results of all the combination of rotation and flip can be represented by just 8 states. This patch handles all the combination correctly. Signed-off-by: Hyungwon Hwang --- drivers/gpu/drm/exynos/exynos_drm_gsc.c | 16 1 file changed, 16 insertions(+) diff --git a/dr

[PATCH 1/2] drm/exynos: gsc: fix wrong bitwise operation for swap detection

2015-07-01 Thread Hyungwon Hwang
The bits for rotation are not used as exclusively. So GSC_IN_ROT_270 can not be used for swap detection. The definition of it is same with GSC_IN_ROT_MASK. It is enough to check GSC_IN_ROT_90 bit is set or not to check whether width / height size swapping is needed. Signed-off-by: Hyungwon Hwang

[PATCH] drm/nouveau: usif_ioctl: ensure returns are initialized

2015-07-01 Thread Emil Velikov
On 1 July 2015 at 18:37, Ilia Mirkin wrote: > On Wed, Jul 1, 2015 at 1:18 PM, Colin Ian King > wrote: >> On 01/07/15 18:12, Emil Velikov wrote: >>> On 1 July 2015 at 17:56, Ilia Mirkin wrote: On Wed, Jul 1, 2015 at 12:51 PM, Colin King wrote: > From: Colin Ian King > >

[PATCH v2 11/12] ASoC: tegra: register dependency parser for firmware nodes

2015-07-01 Thread Mark Brown
nodes to the core to be changed to support this. -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 473 bytes Desc: Digital signature URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150701/2c5a6bc4/attachment.sig>

[Bug 82186] [r600g] BARTS GPU lockup with minecraft shaders

2015-07-01 Thread bugzilla-dae...@freedesktop.org
freedesktop.org/archives/dri-devel/attachments/20150701/e74622cb/attachment.html>

[Bug 73528] Deferred lighting in Second Life causes system hiccups and screen flickering

2015-07-01 Thread bugzilla-dae...@freedesktop.org
<http://lists.freedesktop.org/archives/dri-devel/attachments/20150701/ae2ab906/attachment-0001.html>

[PATCH] drm/nouveau: usif_ioctl: ensure returns are initialized

2015-07-01 Thread Colin Ian King
On 01/07/15 18:12, Emil Velikov wrote: > On 1 July 2015 at 17:56, Ilia Mirkin wrote: >> On Wed, Jul 1, 2015 at 12:51 PM, Colin King >> wrote: >>> From: Colin Ian King >>> >>> Various usif_ioctl helper functions do not initialize the >>> return variable ret and some of the error handling return

[GIT PULL] drm/rockchip: fixes and new features

2015-07-01 Thread Tomasz Figa
On Wed, Jul 1, 2015 at 6:13 PM, Mark yao wrote: By the way, if we're using window 3 for cursor plane, because the cursor window needs special handling, is it okay to expose the cusor window as an overlay plane to userspace, as we do currently? >>> >>> >>> special handling? what mean

[PATCH] drm/nouveau: usif_ioctl: ensure returns are initialized

2015-07-01 Thread Emil Velikov
On 1 July 2015 at 17:56, Ilia Mirkin wrote: > On Wed, Jul 1, 2015 at 12:51 PM, Colin King > wrote: >> From: Colin Ian King >> >> Various usif_ioctl helper functions do not initialize the >> return variable ret and some of the error handling return >> paths just return garbage values that were o

[PATCH libdrm v2 1/2] intel: Add EXEC_OBJECT_SUPPORTS_48B_ADDRESS flag.

2015-07-01 Thread Emil Velikov
Hi Michel, Although I cannot comment on the exact implementation I can give you general some tips which you might find useful. On 1 July 2015 at 16:28, Michel Thierry wrote: > Gen8+ supports 48-bit virtual addresses, but some objects must always be > allocated inside the 32-bit address range. >

[Bug 82186] [r600g] BARTS GPU lockup with minecraft shaders

2015-07-01 Thread bugzilla-dae...@freedesktop.org
grams that trigger the problem, and see if there are any changes. -- 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/20150701/

[Intel-gfx] [PATCH] drm/i915: Clear pipe's pll hw state in hsw_dp_set_ddi_pll_sel()

2015-07-01 Thread Ander Conselvan De Oliveira
On Tue, 2015-06-30 at 18:41 +0300, Jani Nikula wrote: > On Tue, 30 Jun 2015, Daniel Vetter wrote: > > On Tue, Jun 30, 2015 at 04:47:06PM +0300, Jani Nikula wrote: > >> On Tue, 30 Jun 2015, Ander Conselvan de Oliveira > >> wrote: > >> > Similarly to what is done for SKL, clear the dpll_hw_state o

[PATCH] drm/nouveau: usif_ioctl: ensure returns are initialized

2015-07-01 Thread Colin King
From: Colin Ian King Various usif_ioctl helper functions do not initialize the return variable ret and some of the error handling return paths just return garbage values that were on the stack (or in a register). I believe that in all the cases, the initial ret variable should be set to -EINVAL

[PATCH] drm/rockchip: vop: remove hardware cursor window

2015-07-01 Thread Mark Yao
hardware cursor windows only have some fixed size, and not support width virtual, when move hardware cursor windows outside of left, the display would be wrong, so this window can't for cursor now. And Tag hardware cursor window as a overlay is wrong, will make userspace wrong behaviour. So just

[GIT PULL] drm/rockchip: fixes and new features

2015-07-01 Thread Tomasz Figa
On Wed, Jul 1, 2015 at 5:32 PM, Mark yao wrote: > On 2015年07月01日 16:03, Tomasz Figa wrote: >> >> Hi Mark, >> >> On Tue, Jun 30, 2015 at 3:50 PM, Mark yao wrote: >>> >>> Hi Dave. >>> >>> Some fixes and some new features. I'd like you can pull them. >>> >>> The following changes since co

[GIT PULL] drm/rockchip: fixes and new features

2015-07-01 Thread Tomasz Figa
On Wed, Jul 1, 2015 at 5:20 PM, Daniel Vetter wrote: > On Wed, Jul 01, 2015 at 05:03:39PM +0900, Tomasz Figa wrote: >> Hi Mark, >> >> On Tue, Jun 30, 2015 at 3:50 PM, Mark yao wrote: >> > >> > Hi Dave. >> > >> > Some fixes and some new features. I'd like you can pull them. >> > >> > The follo

[PATCH] drm/ttm: recognize ARM64 arch in ioprot handler

2015-07-01 Thread Alexandre Courbot
Return proper pgprot for ARM64. This is required for objects like Nouveau fences to be mapped with expected coherency. Signed-off-by: Alexandre Courbot --- drivers/gpu/drm/ttm/ttm_bo_util.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/ttm/ttm_bo_util.c b

[pull] radeon and amdgpu drm-next-4.2

2015-07-01 Thread Alex Deucher
Hi Dave, First round of fixes for 4.2 for radeon and amdgpu. Stuff all over the place: - hibernation, suspend fixes for radeon and amdgpu - radeon audio fix - amdgpu ioctl optimzations and fixes - amdgpu VCE cs checker improvements - misc bug fixes The following changes since commit c5fd936e992d

[PATCH v2 08/12] drm: dsi: Add "enter idle" & "exit idle" dcs functions

2015-07-01 Thread Mark Zhang
Oh, yes, if so we need to change most of the functions in drm_mipi_dsi.c. Mark On 07/01/2015 05:08 PM, Varka Bhadram wrote: > On 07/01/2015 01:51 PM, Mark Zhang wrote: >> Signed-off-by: Mark Zhang >> --- >> drivers/gpu/drm/drm_mipi_dsi.c | 36 >> include/d

[GIT PULL] drm/rockchip: fixes and new features

2015-07-01 Thread Mark yao
On 2015年07月01日 16:42, Tomasz Figa wrote: > On Wed, Jul 1, 2015 at 5:32 PM, Mark yao wrote: >> On 2015年07月01日 16:03, Tomasz Figa wrote: >>> Hi Mark, >>> >>> On Tue, Jun 30, 2015 at 3:50 PM, Mark yao >>> wrote: Hi Dave. Some fixes and some new features. I'd like yo

[PATCH 2/2] drm/mgag200: remove unneeded variable

2015-07-01 Thread Sudip Mukherjee
ttm_bo_validate() returns 0 or error. So we can return the value directly and remove the variable 'ret'. Signed-off-by: Sudip Mukherjee --- drivers/gpu/drm/mgag200/mgag200_ttm.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/mgag200/mgag200_ttm.c b/d

[PATCH 1/2] drm/mgag200: remove unused variables

2015-07-01 Thread Sudip Mukherjee
These variables were assigned some values but they were never used. Signed-off-by: Sudip Mukherjee --- drivers/gpu/drm/mgag200/mgag200_fb.c | 2 -- drivers/gpu/drm/mgag200/mgag200_mode.c | 9 +++-- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/drivers/gpu/drm/mgag200/mgag2

[GIT PULL] drm/rockchip: fixes and new features

2015-07-01 Thread Tomasz Figa
Hi Mark, On Tue, Jun 30, 2015 at 3:50 PM, Mark yao wrote: > > Hi Dave. > > Some fixes and some new features. I'd like you can pull them. > > The following changes since commit c5fd936e992dd2829167d2adc63e151675ca6898: > > drm/nouveau: Pause between setting gpu to D3hot and cutting the power

[PATCH v2 10/12] drm/tegra: Suspend dc/dsi/panel in one-shot mode

2015-07-01 Thread Mark Zhang
On 07/01/2015 05:00 PM, Daniel Vetter wrote: > On Wed, Jul 01, 2015 at 04:21:53PM +0800, Mark Zhang wrote: >> @@ -756,7 +752,11 @@ tegra_dsi_connector_duplicate_state(struct >> drm_connector *connector) >> } >> >> static const struct drm_connector_funcs tegra_dsi_connector_funcs = { >> -.d

[Intel-gfx] [PATCH] drm/i915: Clear pipe's pll hw state in hsw_dp_set_ddi_pll_sel()

2015-07-01 Thread Daniel Vetter
On Wed, Jul 01, 2015 at 05:54:06PM +0300, Ander Conselvan De Oliveira wrote: > On Tue, 2015-06-30 at 18:41 +0300, Jani Nikula wrote: > > On Tue, 30 Jun 2015, Daniel Vetter wrote: > > > On Tue, Jun 30, 2015 at 04:47:06PM +0300, Jani Nikula wrote: > > >> On Tue, 30 Jun 2015, Ander Conselvan de Olive

[PATCH v2 12/12] JUST FOR TEST: Add one-shot trigger to update display

2015-07-01 Thread Mark Zhang
On 07/01/2015 04:36 PM, Daniel Vetter wrote: > On Wed, Jul 01, 2015 at 04:21:55PM +0800, Mark Zhang wrote: >> This HACK adds a workqueue to refresh the display periodically. >> This is used just for testing. > > ->dirty is the drm hook you're looking for, it's meant to flush out any > frontbuffer

[GIT PULL] drm/rockchip: fixes and new features

2015-07-01 Thread Mark yao
On 2015年07月01日 16:32, Tomasz Figa wrote: > On Wed, Jul 1, 2015 at 5:20 PM, Daniel Vetter wrote: >> On Wed, Jul 01, 2015 at 05:03:39PM +0900, Tomasz Figa wrote: >>> Hi Mark, >>> >>> On Tue, Jun 30, 2015 at 3:50 PM, Mark yao >>> wrote: Hi Dave. Some fixes and some new fea

[PATCH v2 12/12] JUST FOR TEST: Add one-shot trigger to update display

2015-07-01 Thread Daniel Vetter
On Wed, Jul 01, 2015 at 08:43:01PM +0800, Mark Zhang wrote: > On 07/01/2015 06:34 PM, Daniel Vetter wrote: > > On Wed, Jul 01, 2015 at 05:01:52PM +0800, Mark Zhang wrote: > >> On 07/01/2015 04:36 PM, Daniel Vetter wrote: > >>> On Wed, Jul 01, 2015 at 04:21:55PM +0800, Mark Zhang wrote: > This

[GIT PULL] drm/rockchip: fixes and new features

2015-07-01 Thread Mark yao
On 2015年07月01日 16:32, Mark yao wrote: > On 2015年07月01日 16:03, Tomasz Figa wrote: >> Hi Mark, >> >> On Tue, Jun 30, 2015 at 3:50 PM, Mark yao >> wrote: >>> Hi Dave. >>> >>> Some fixes and some new features. I'd like you can pull them. >>> >>> The following changes since commit >>

[GIT PULL] drm/rockchip: fixes and new features

2015-07-01 Thread Mark yao
On 2015年07月01日 16:03, Tomasz Figa wrote: > Hi Mark, > > On Tue, Jun 30, 2015 at 3:50 PM, Mark yao wrote: >> Hi Dave. >> >> Some fixes and some new features. I'd like you can pull them. >> >> The following changes since commit c5fd936e992dd2829167d2adc63e151675ca6898: >> >>drm/nouvea

[PATCH libdrm v2 2/2] configure.ac: bump version to 2.4.63

2015-07-01 Thread Michel Thierry
Cc: dri-devel at lists.freedesktop.org Signed-off-by: Michel Thierry --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 001fd3d..12b8465 100644 --- a/configure.ac +++ b/configure.ac @@ -20,7 +20,7 @@ AC_PREREQ([2.63]) AC_INIT(

[PATCH libdrm v2 1/2] intel: Add EXEC_OBJECT_SUPPORTS_48B_ADDRESS flag.

2015-07-01 Thread Michel Thierry
Gen8+ supports 48-bit virtual addresses, but some objects must always be allocated inside the 32-bit address range. In specific, any resource used with flat/heapless (0x-0xf000) General State Heap (GSH) or Intruction State Heap (ISH) must be in a 32-bit range, because the General State

[PATCH v2 12/12] JUST FOR TEST: Add one-shot trigger to update display

2015-07-01 Thread Mark Zhang
This HACK adds a workqueue to refresh the display periodically. This is used just for testing. Signed-off-by: Mark Zhang --- drivers/gpu/drm/tegra/dc.c | 37 + drivers/gpu/drm/tegra/drm.h |1 + 2 files changed, 38 insertions(+) diff --git a/drivers/gpu

[PATCH v2 11/12] drm/tegra: dsi: Set connector DPMS state when enable/disable

2015-07-01 Thread Mark Zhang
This patch fixes a bug when drm_helper_connector_dpms tries to switch connector/encoder/crtc DPMS status. Signed-off-by: Mark Zhang --- drivers/gpu/drm/tegra/dsi.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/tegra/dsi.c b/drivers/gpu/drm/tegra/dsi.c index 1d21f149d7

[PATCH v2 10/12] drm/tegra: Suspend dc/dsi/panel in one-shot mode

2015-07-01 Thread Mark Zhang
Signed-off-by: Mark Zhang --- drivers/gpu/drm/tegra/dc.c | 58 + drivers/gpu/drm/tegra/drm.h |3 ++ drivers/gpu/drm/tegra/dsi.c | 76 --- 3 files changed, 132 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/d

[PATCH v2 09/12] drm: panel: Add idle/busy in Sharp lq101r1sx01 driver

2015-07-01 Thread Mark Zhang
Signed-off-by: Mark Zhang --- drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c | 26 +++ 1 file changed, 26 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c b/drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c index e32f1449b067..64eb437ee7b3 100644 -

[PATCH v2 08/12] drm: dsi: Add "enter idle" & "exit idle" dcs functions

2015-07-01 Thread Mark Zhang
Signed-off-by: Mark Zhang --- drivers/gpu/drm/drm_mipi_dsi.c | 36 include/drm/drm_mipi_dsi.h |2 ++ 2 files changed, 38 insertions(+) diff --git a/drivers/gpu/drm/drm_mipi_dsi.c b/drivers/gpu/drm/drm_mipi_dsi.c index 2d5ca8eec13a..9bc6ff75eb8f 1006

[PATCH v2 07/12] drm/panel: Add panel func: idle/busy

2015-07-01 Thread Mark Zhang
The "idle" function of a drm panel is used to tell panel there are no more frames coming in and it should remain the last frame it gets. Normally this only makes sense for smart panels which has internal framebuffer. The "busy" function is opposite to "idle". Signed-off-by: Mark Zhang --- inclu

[PATCH v2 06/12] drm/tegra: Set NC(Non-contiguous) mode to dc for one-shot

2015-07-01 Thread Mark Zhang
If dc is about to work in one-shot mode, we need to set dc's scan mode to NC(Non-contiguous). There are 2 things which can make dc send frame again: - TE signal is received - Driver sets the NC_HOST_TRIG_ENABLE Signed-off-by: Mark Zhang --- drivers/gpu/drm/tegra/dc.c | 33 +

[PATCH v2 05/12] drm: panel: Set TE polarity flag in Sharp lq101r1sx01 driver

2015-07-01 Thread Mark Zhang
Signed-off-by: Mark Zhang --- drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c b/drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c index fd04c419190c..e32f1449b067 100644 --- a/d

[PATCH v2 04/12] drm: panel: Add DRM panel private mode flag: TE polarity

2015-07-01 Thread Mark Zhang
Add 2 DRM panel private mode flag: TE polarity high/low. Signed-off-by: Mark Zhang --- include/drm/drm_panel.h |2 ++ 1 file changed, 2 insertions(+) diff --git a/include/drm/drm_panel.h b/include/drm/drm_panel.h index 4d51cb380c75..e53f48aa070f 100644 --- a/include/drm/drm_panel.h +++ b/in

[PATCH v2 03/12] drm: panel: Turn on TE(Tearing Effect) on Sharp lq101r1sx01

2015-07-01 Thread Mark Zhang
Signed-off-by: Mark Zhang --- drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c |7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c b/drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c index da2cf7ab64c2..fd04c419190c 100644 --- a/drivers/gpu/

[PATCH v2 02/12] drm: panel: Add one-shot flag to Sharp lq101r1sx01 driver

2015-07-01 Thread Mark Zhang
Sharp lq101r1sx01 has internal framebuffer so it doesn't require crtc sending frames to it continuously. Signed-off-by: Mark Zhang --- drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c b/drivers

[PATCH v2 01/12] drm: panel: Add a new private mode flag: DRM_PANEL_FLAG_PREFER_ONE_SHOT

2015-07-01 Thread Mark Zhang
Normally this flag is set by panel driver so that crtc can enable the "one-shot" mode(not scan frames continuously). Signed-off-by: Mark Zhang --- include/drm/drm_panel.h |2 ++ 1 file changed, 2 insertions(+) diff --git a/include/drm/drm_panel.h b/include/drm/drm_panel.h index 13ff44b28893

[PATCH v2 00/12] Tegra: Add DC one-shot support

2015-07-01 Thread Mark Zhang
This patch set adds the Tegra dc one-shot support. The patch set is tested on Dalmore + Sharp lq101r1sx01. Please be noticed that the patch #12 is not part of the feature, it's just used for testing. Changes in v2: - Define one-shot flag in drm_display_mode->private_flags, according to Daniel's

WARNING: CPU: 0 PID: 3634 at drivers/gpu/drm/drm_irq.c:1141 drm_wait_one_vblank

2015-07-01 Thread Jani Nikula
+intel-gfx and Matt On Wed, 01 Jul 2015, Michal Hocko wrote: > On Wed 01-07-15 10:26:39, Daniel Vetter wrote: >> On Tue, Jun 30, 2015 at 10:13:35PM +0200, Michal Hocko wrote: >> > On Tue 30-06-15 18:59:29, Daniel Vetter wrote: > [...] >> > > Also it might be time to start bisecting this if you c

[PATCH v2 08/12] drm: dsi: Add "enter idle" & "exit idle" dcs functions

2015-07-01 Thread Varka Bhadram
On 07/01/2015 01:51 PM, Mark Zhang wrote: > Signed-off-by: Mark Zhang > --- > drivers/gpu/drm/drm_mipi_dsi.c | 36 > include/drm/drm_mipi_dsi.h |2 ++ > 2 files changed, 38 insertions(+) > > diff --git a/drivers/gpu/drm/drm_mipi_dsi.c b/drivers/gpu

[PATCH] intel: wrap intel_bufmgr.h C code for C++ compilation/linking

2015-07-01 Thread Tapani Pälli
(We need this include in porting changes for the OpenGL ES conformance suite.) Signed-off-by: Tapani Pälli --- intel/intel_bufmgr.h | 8 1 file changed, 8 insertions(+) diff --git a/intel/intel_bufmgr.h b/intel/intel_bufmgr.h index 285919e..f061454 100644 --- a/intel/intel_bufmgr.h ++

[PATCH] drm: Remove useless blank line

2015-07-01 Thread Daniel Vetter
On Wed, Jul 01, 2015 at 02:05:09PM +0200, Thierry Reding wrote: > From: Thierry Reding > > Blank lines at the end of a function definition are not useful, so get > rid of it. > > Signed-off-by: Thierry Reding Applied to topic/drm-misc, thanks. -Daniel > --- > drivers/gpu/drm/drm_crtc.c | 1 -

WARNING: CPU: 0 PID: 3634 at drivers/gpu/drm/drm_irq.c:1141 drm_wait_one_vblank

2015-07-01 Thread Michal Hocko
On Wed 01-07-15 10:26:39, Daniel Vetter wrote: > On Tue, Jun 30, 2015 at 10:13:35PM +0200, Michal Hocko wrote: > > On Tue 30-06-15 18:59:29, Daniel Vetter wrote: [...] > > > Also it might be time to start bisecting this if you can readily > > > reproduce it. > > > > Yes, I can reproduce it just b

[PATCH] drm/nouveau: usif_ioctl: ensure returns are initialized

2015-07-01 Thread Ilia Mirkin
On Wed, Jul 1, 2015 at 1:59 PM, Emil Velikov wrote: > On 1 July 2015 at 18:37, Ilia Mirkin wrote: >> On Wed, Jul 1, 2015 at 1:18 PM, Colin Ian King >> wrote: >>> On 01/07/15 18:12, Emil Velikov wrote: On 1 July 2015 at 17:56, Ilia Mirkin wrote: > On Wed, Jul 1, 2015 at 12:51 PM, Coli

[PATCH] drm: Remove useless blank line

2015-07-01 Thread Thierry Reding
From: Thierry Reding Blank lines at the end of a function definition are not useful, so get rid of it. Signed-off-by: Thierry Reding --- drivers/gpu/drm/drm_crtc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_crtc.c index 2906694012b8..499

[Bug 73528] Deferred lighting in Second Life causes system hiccups and screen flickering

2015-07-01 Thread bugzilla-dae...@freedesktop.org
r the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150701/954c6122/attachment-0001.html>

[PATCH] drm/rockchip: vop: remove hardware cursor window

2015-07-01 Thread Heiko Stübner
Hi Mark, Am Mittwoch, 1. Juli 2015, 17:49:33 schrieb Mark Yao: > hardware cursor windows only have some fixed size, and not support > width virtual, when move hardware cursor windows outside of left, > the display would be wrong, so this window can't for cursor now. > > And Tag hardware cursor wi

[PATCH] drm/nouveau: usif_ioctl: ensure returns are initialized

2015-07-01 Thread Ilia Mirkin
On Wed, Jul 1, 2015 at 1:18 PM, Colin Ian King wrote: > On 01/07/15 18:12, Emil Velikov wrote: >> On 1 July 2015 at 17:56, Ilia Mirkin wrote: >>> On Wed, Jul 1, 2015 at 12:51 PM, Colin King >>> wrote: From: Colin Ian King Various usif_ioctl helper functions do not initialize th

[PATCH] drm/nouveau: usif_ioctl: ensure returns are initialized

2015-07-01 Thread Ilia Mirkin
On Wed, Jul 1, 2015 at 12:51 PM, Colin King wrote: > From: Colin Ian King > > Various usif_ioctl helper functions do not initialize the > return variable ret and some of the error handling return > paths just return garbage values that were on the stack (or > in a register). I believe that in al

[PATCH v2 12/12] JUST FOR TEST: Add one-shot trigger to update display

2015-07-01 Thread Daniel Vetter
On Wed, Jul 01, 2015 at 05:01:52PM +0800, Mark Zhang wrote: > On 07/01/2015 04:36 PM, Daniel Vetter wrote: > > On Wed, Jul 01, 2015 at 04:21:55PM +0800, Mark Zhang wrote: > >> This HACK adds a workqueue to refresh the display periodically. > >> This is used just for testing. > > > > ->dirty is the

[PATCH] drm: remove redundant code form drm_ioc32.c

2015-07-01 Thread Jarkko Sakkinen
The compat ioctl handler ends up calling access_ok() twice: first indirectly inside compat_alloc_user_space() and then after returning from that function. This patch fixes issue. Signed-off-by: Jarkko Sakkinen --- drivers/gpu/drm/drm_ioc32.c | 55 + 1

[PATCH v2 12/12] driver-core: probe dependencies before probing

2015-07-01 Thread Tomeu Vizoso
Before actually probing a device, find out what dependencies it has and do our best to ensure that they are available at this point. This is accomplished by finding out what platform devices need to be probed and probing them. Non-platform devices will be probed when the closest ancestor that is a

[PATCH v2 11/12] ASoC: tegra: register dependency parser for firmware nodes

2015-07-01 Thread Tomeu Vizoso
So others can find out what dependencies a nvidia,tegra-audio-max98090 device has, as specified in bindings/sound/nvidia,tegra-audio-max98090.txt. Signed-off-by: Tomeu Vizoso --- Changes in v2: None sound/soc/tegra/tegra_max98090.c | 42 +++- 1 file changed,

[PATCH v2 10/12] pwm: register dependency parser for firmware nodes

2015-07-01 Thread Tomeu Vizoso
So others can find out what depends on pwm controllers, as specified in bindings/pwm/pwm.txt. Signed-off-by: Tomeu Vizoso --- Changes in v2: None drivers/pwm/core.c | 28 1 file changed, 28 insertions(+) diff --git a/drivers/pwm/core.c b/drivers/pwm/core.c index 3

[PATCH v2 09/12] regulator: register dependency parser for firmware nodes

2015-07-01 Thread Tomeu Vizoso
So others can find out what depends on regulators, as specified in bindings/regulator/regulator.txt. Signed-off-by: Tomeu Vizoso --- Changes in v2: None drivers/regulator/core.c | 27 +++ 1 file changed, 27 insertions(+) diff --git a/drivers/regulator/core.c b/drivers/

[PATCH v2 08/12] USB: EHCI: register dependency parser for firmware nodes

2015-07-01 Thread Tomeu Vizoso
So others can find out whether a firmware node depends on a phy as specified in bindings/usb/nvidia,tegra20-ehci.txt. Signed-off-by: Tomeu Vizoso --- Changes in v2: None drivers/usb/host/ehci-tegra.c | 16 1 file changed, 16 insertions(+) diff --git a/drivers/usb/host/ehci-te

[PATCH v2 07/12] backlight: register dependency parser for firmware nodes

2015-07-01 Thread Tomeu Vizoso
So others can find out what depends on backlight devices, as specified in bindings/video/backlight/backlight.txt. Signed-off-by: Tomeu Vizoso --- Changes in v2: None drivers/video/backlight/backlight.c | 16 1 file changed, 16 insertions(+) diff --git a/drivers/video/backligh

[PATCH v2 06/12] backlight: Document consumers of backlight nodes

2015-07-01 Thread Tomeu Vizoso
Add a small note that makes explicit that properties named 'backlight' contain phandles to backlight nodes. This is needed so that we can automatically extract dependencies on backlight devices by assuming that a property with that name contains a phandle to such a device. Signed-off-by: Tomeu Vi

[PATCH v2 05/12] gpu: host1x: register dependency parser for firmware nodes

2015-07-01 Thread Tomeu Vizoso
So others can find out dependencies of host1x clients, as specified in bindings/gpu/nvidia,tegra20-host1x.txt. Signed-off-by: Tomeu Vizoso --- Changes in v2: None drivers/gpu/host1x/dev.c | 26 ++ 1 file changed, 26 insertions(+) diff --git a/drivers/gpu/host1x/dev.c b

[PATCH v2 04/12] gpio: register dependency parser for firmware nodes

2015-07-01 Thread Tomeu Vizoso
So the GPIO subsystem can be queried about the dependencies of nodes that consume GPIOs, as specified in bindings/gpio/gpio.txt. Signed-off-by: Tomeu Vizoso --- Changes in v2: None drivers/gpio/gpiolib.c | 54 ++ 1 file changed, 54 insertions(+)

[PATCH v2 03/12] string: Introduce strends()

2015-07-01 Thread Tomeu Vizoso
To avoid duplicating code in upcoming patches that will check for postfixes in strings, add strends(). Signed-off-by: Tomeu Vizoso --- Changes in v2: - Move strends to string.h include/linux/string.h | 13 + 1 file changed, 13 insertions(+) diff --git a/include/linux/string.h b/in

[PATCH v2 02/12] device: property: find dependencies of a firmware node

2015-07-01 Thread Tomeu Vizoso
Adds API that allows callers to find out what other firmware nodes a node depends on. Implementors of bindings documentation can register callbacks that return the dependencies of a node. Dependency information can be used to change the order in which devices are probed, or to print a warning whe

[PATCH v2 01/12] device: property: delay device-driver matches

2015-07-01 Thread Tomeu Vizoso
Delay matches of platform devices until late_initcall, when we are sure that all built-in drivers have been registered already. This is needed to prevent deferred probes because of some dependencies' drivers not having registered yet. This reduces the total amount of work that the kernel does duri

[PATCH v2 0/12] Discover and probe dependencies

2015-07-01 Thread Tomeu Vizoso
Hi, this is version 2 of a series that probes devices in dependency order so as to avoid deferred probes. While deferred probing is a powerful solution that makes sure that you eventually get a working system at the end of the boot, can make it very time consuming to find out why a device didn't p

[PATCH v2 10/12] drm/tegra: Suspend dc/dsi/panel in one-shot mode

2015-07-01 Thread Daniel Vetter
On Wed, Jul 01, 2015 at 04:21:53PM +0800, Mark Zhang wrote: > @@ -756,7 +752,11 @@ tegra_dsi_connector_duplicate_state(struct drm_connector > *connector) > } > > static const struct drm_connector_funcs tegra_dsi_connector_funcs = { > - .dpms = tegra_dsi_connector_dpms, > + /* > +

[PATCH v2 01/12] drm: panel: Add a new private mode flag: DRM_PANEL_FLAG_PREFER_ONE_SHOT

2015-07-01 Thread Daniel Vetter
On Wed, Jul 01, 2015 at 04:21:44PM +0800, Mark Zhang wrote: > Normally this flag is set by panel driver so that crtc can enable > the "one-shot" mode(not scan frames continuously). > > Signed-off-by: Mark Zhang > --- > include/drm/drm_panel.h |2 ++ > 1 file changed, 2 insertions(+) > > dif

[PATCH v2 12/12] JUST FOR TEST: Add one-shot trigger to update display

2015-07-01 Thread Daniel Vetter
On Wed, Jul 01, 2015 at 10:36:17AM +0200, Daniel Vetter wrote: > On Wed, Jul 01, 2015 at 04:21:55PM +0800, Mark Zhang wrote: > > This HACK adds a workqueue to refresh the display periodically. > > This is used just for testing. > > ->dirty is the drm hook you're looking for, it's meant to flush ou

[PATCH v2 12/12] JUST FOR TEST: Add one-shot trigger to update display

2015-07-01 Thread Daniel Vetter
On Wed, Jul 01, 2015 at 04:21:55PM +0800, Mark Zhang wrote: > This HACK adds a workqueue to refresh the display periodically. > This is used just for testing. ->dirty is the drm hook you're looking for, it's meant to flush out any frontbuffer rendering. Generic kms clients using the dumb buffers (

WARNING: CPU: 0 PID: 3634 at drivers/gpu/drm/drm_irq.c:1141 drm_wait_one_vblank

2015-07-01 Thread Daniel Vetter
On Tue, Jun 30, 2015 at 10:13:35PM +0200, Michal Hocko wrote: > On Tue 30-06-15 18:59:29, Daniel Vetter wrote: > [...] > > I looked at dmesg, nothing out of the ordinary there. Unfortunately also > > no hints why the pipe is somehow off when we think it's on. Can you please > > test the below patch

[GIT PULL] drm/rockchip: fixes and new features

2015-07-01 Thread Daniel Vetter
On Wed, Jul 01, 2015 at 05:03:39PM +0900, Tomasz Figa wrote: > Hi Mark, > > On Tue, Jun 30, 2015 at 3:50 PM, Mark yao wrote: > > > > Hi Dave. > > > > Some fixes and some new features. I'd like you can pull them. > > > > The following changes since commit c5fd936e992dd2829167d2adc63e151675ca68

[PATCH v5 1/3] drm/layerscape: Add Freescale DCU DRM driver

2015-07-01 Thread Mark yao
On 2015年06月30日 18:01, Wang J.W. wrote: > From: Jianwei Wang > > This patch add support for Two Dimensional Animation and Compositing Engine > (2D-ACE) on the Freescale SoCs. > > 2D-ACE is a Freescale display controller. 2D-ACE describes the functionality > of the module extremely well its

[v3 1/7] gpiolib: Add support for removing registered consumer lookup table

2015-07-01 Thread Lee Jones
On Fri, 26 Jun 2015, Shobhit Kumar wrote: > In case we unload and load a driver module again that is registering a > lookup table, without this it will result in multiple entries. Provide > an option to remove the lookup table on driver unload > > Cc: Samuel Ortiz > Cc: Linus Walleij > Cc: Alex

[Bug 91172] [4.1.0][radeonsi][BONAIRE] Playing Ark Survival Evolved (new game) - IH ring buffer overflow

2015-07-01 Thread bugzilla-dae...@freedesktop.org
ubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150701/f11a2116/attachment-0001.html>