[PATCH] [media] hdmi: added functions for MPEG InfoFrames

2015-11-17 Thread Enric Balletbo Serra
Hello Thierry, 2015-11-17 13:55 GMT+01:00 Thierry Reding : > On Mon, Nov 16, 2015 at 05:28:24PM +0100, Enric Balletbo Serra wrote: >> Hello Thierry, >> >> Many thanks for your comments. >> >> 2015-11-16 12:50 GMT+01:00 Thierry Reding : >> > On Sat, Nov 14, 2015 at 07:38:19PM +0100, Enric Balletbo

[Bug 92977] Display artifacts when using MST

2015-11-17 Thread bugzilla-dae...@freedesktop.org
. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151117/4d31a75d/attachment.html>

1002:68a0 After suspend-resume graphics are sluggish and input lags with displayport connected

2015-11-17 Thread Michiel Janssens
[1.] One line summary of the problem: 1002:68a0 After suspend-resume graphics are sluggish and input lags with displayport connected [2.] Full description of the problem/report: Tested with latest mainline kernel available: v4.3 Test system had Ubuntu 15.10 installed. Booting up with displayport

[linux-4.4-rc1/drivers/gpu/drm/gma500/mdfld_dsi_pkg_sender.c:206: possible missing comma ?

2015-11-17 Thread Patrik Jakobsson
On Tue, Nov 17, 2015 at 10:23 PM, David Binderman wrote: > Hello there, > > [linux-4.4-rc1/drivers/gpu/drm/gma500/mdfld_dsi_pkg_sender.c:206]: (error) > Array 'dsi_errors[31]' accessed at index 31, which is out of bounds. > > I looks to me like array dsi_errors is badly laid out: > > "LP

[PATCH 0/9] uapi: drm: fixes for userspace compilation

2015-11-17 Thread Emil Velikov
On 17 November 2015 at 20:13, Dave Airlie wrote: >> >> The kernel UAPI headers: >> - Used by the kernel modules and userspace(?) >> - Installed in /usr/include/drm >> - Many distributions do _not_ ship them >> - Broken for years (mostly fixed with Mikko's earlier patches) >> - For the above

Regression on Chromebook Pixel 2015 due to i915 fastboot always-on

2015-11-17 Thread Daniel Vetter
On Tue, Nov 17, 2015 at 7:18 PM, Linus Torvalds wrote: > On Tue, Nov 17, 2015 at 9:53 AM, Olof Johansson wrote: >> >> The problem as I see it is that it's unknown how many machines depends >> on previous behavior. If it's only Pixel 2015 then I think a whitelist >> would be just fine. > >

[PATCH v8 0/17] Add Analogix Core Display Port Driver

2015-11-17 Thread Yakir Yang
Hi Jingoo & Exynos DRM Maintainers (Inki & Andrzej & Joonyoung) & Bridge Maintainers (Thierry?): Ping... The front part of this series (exynos_dp to analogix_dp) haven't received more comments in the pasted several months. Is it difficult to carry those patches without new changes but

[linux-4.4-rc1/drivers/gpu/drm/gma500/mdfld_dsi_pkg_sender.c:206: possible missing comma ?

2015-11-17 Thread David Binderman
Hello there, [linux-4.4-rc1/drivers/gpu/drm/gma500/mdfld_dsi_pkg_sender.c:206]: (error) Array 'dsi_errors[31]' accessed at index 31, which is out of bounds. I looks to me like array dsi_errors is badly laid out:     "LP Generic Write FIFO Full",     "Generic Read Data Avail"    

[PATCH, RESEND] drm/exynos: clean up dma_addr_t use

2015-11-17 Thread Arnd Bergmann
dma_addr_t may be 32 or 64 bits long on 32-bit CPUs, so we cannot cast it to a pointer without getting a compiler warning: drivers/gpu/drm/exynos/exynos_drm_buf.c: In function 'lowlevel_buffer_allocate': drivers/gpu/drm/exynos/exynos_drm_buf.c:109:18: warning: cast from pointer to integer of

[PATCH 0/9] uapi: drm: fixes for userspace compilation

2015-11-17 Thread Emil Velikov
On 17 November 2015 at 19:13, Gabriel Laskar wrote: > On Tue, 17 Nov 2015 11:08:12 + > Emil Velikov wrote: > >> With the above said: >> - I was thinking about hiding the UAPI ones, although Dave suggested >> against it. >> - Doing s|drm/drm.h|drm.h| will break compilation: >>+ for the

[PATCH] drm: support hotspot for universal plane cursors

2015-11-17 Thread kbuild test robot
Hi John, [auto build test WARNING on drm/drm-next] [also build test WARNING on v4.4-rc1 next-20151117] url: https://github.com/0day-ci/linux/commits/John-Keeping/drm-support-hotspot-for-universal-plane-cursors/20151117-203428 base: git://people.freedesktop.org/~airlied/linux.git drm-next

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

2015-11-17 Thread Yakir Yang
Add phy driver for the Rockchip DisplayPort PHY module. This is required to get DisplayPort working in Rockchip SoCs. Reviewed-by: Heiko Stuebner Signed-off-by: Yakir Yang --- Changes in v10: - Fix the wrong macro value of GRF_EDP_REF_CLK_SEL_INTER_HIWORD_MASK (Brian) BIT(4) -> BIT(20)

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

2015-11-17 Thread Yakir Yang
Hi Brian, Thank you for debugging, and fell sorry for the delay reply On 11/06/2015 07:45 AM, Brian Norris wrote: > Hi, > > A few updates: > > On Tue, Nov 03, 2015 at 05:13:48PM -0800, Brian Norris wrote: >> On Wed, Nov 04, 2015 at 08:48:38AM +0800, Yakir Yang wrote: >>> On 11/03/2015 12:38 PM,

[PATCH 0/9] uapi: drm: fixes for userspace compilation

2015-11-17 Thread Gabriel Laskar
On Tue, 17 Nov 2015 11:08:12 + Emil Velikov wrote: > With the above said: > - I was thinking about hiding the UAPI ones, although Dave suggested > against it. > - Doing s|drm/drm.h|drm.h| will break compilation: >+ for the kernel - as we don't add the foo/drm/ to the include directive,

[Bug 92059] [radeonsi, apitrace] Missing textures and geometry in "Middle-earth: Shadow of Mordor"

2015-11-17 Thread bugzilla-dae...@freedesktop.org
art -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151117/a0dbc0ec/attachment.html>

[PATCH v2] drm: support hotspot for universal plane cursors

2015-11-17 Thread Daniel Vetter
On Tue, Nov 17, 2015 at 06:47:28PM +, John Keeping wrote: > On Tue, 17 Nov 2015 19:31:32 +0100, Daniel Vetter wrote: > > > On Tue, Nov 17, 2015 at 12:07:24PM -0500, Alex Deucher wrote: > > > On Tue, Nov 17, 2015 at 11:29 AM, Daniel Vetter > > > wrote: > > > > On Tue, Nov 17, 2015 at

[Bug 92059] [radeonsi, apitrace] Missing textures and geometry in "Middle-earth: Shadow of Mordor"

2015-11-17 Thread bugzilla-dae...@freedesktop.org
ves/dri-devel/attachments/20151117/56ddb9a8/attachment.html>

[PATCH v2] drm: support hotspot for universal plane cursors

2015-11-17 Thread Daniel Vetter
On Tue, Nov 17, 2015 at 04:58:06PM +, John Keeping wrote: > On Tue, 17 Nov 2015 17:29:35 +0100, Daniel Vetter wrote: > > > On Tue, Nov 17, 2015 at 03:59:43PM +, John Keeping wrote: > > > On Tue, 17 Nov 2015 17:39:32 +0200, Ville Syrjälä wrote: > > > > > > > On Tue, Nov 17, 2015 at

[PATCH v2] drm: support hotspot for universal plane cursors

2015-11-17 Thread Daniel Vetter
On Tue, Nov 17, 2015 at 12:07:24PM -0500, Alex Deucher wrote: > On Tue, Nov 17, 2015 at 11:29 AM, Daniel Vetter wrote: > > On Tue, Nov 17, 2015 at 03:59:43PM +, John Keeping wrote: > >> On Tue, 17 Nov 2015 17:39:32 +0200, Ville Syrjälä wrote: > >> > >> > On Tue, Nov 17, 2015 at 03:05:34PM

[PATCH 17/25] drm/exynos: fix clipping when scalling is enabled

2015-11-17 Thread Tobias Jakobi
Small typo: 'scalling' -> 'scaling' With best wishes, Tobias Marek Szyprowski wrote: > This patch fixes calculation of src x/y offset for negative crtc x/y > values when scalling is enabled. This fixes possible IOMMU fault when > scalling is enabled. > > Signed-off-by: Marek Szyprowski > --- >

[PATCH 00/25] Exynos DRM: new life of IPP (Image Post Processing) subsystem

2015-11-17 Thread Tobias Jakobi
Hello guys, Daniel Stone wrote: > Hi Marek, > > On 16 November 2015 at 11:35, Marek Szyprowski > wrote: >> On 2015-11-12 15:46, Daniel Stone wrote: >>> On 12 November 2015 at 12:44, Tobias Jakobi >>> wrote: I wonder how this interacts with page flipping. If I queue a pageflip event

[PATCH 14/25] drm/exynos: introduce exynos_drm_plane_config structure

2015-11-17 Thread Tobias Jakobi
Hello Marek, Marek Szyprowski wrote: > This patch adds common structure for keeping plane configuration and > capabilities data. This patch is inspired by similar code developed by > Tobias Jakobi. > > Signed-off-by: Marek Szyprowski > --- > drivers/gpu/drm/exynos/exynos5433_drm_decon.c | 18

[PATCH v2] drm: support hotspot for universal plane cursors

2015-11-17 Thread John Keeping
On Tue, 17 Nov 2015 19:31:32 +0100, Daniel Vetter wrote: > On Tue, Nov 17, 2015 at 12:07:24PM -0500, Alex Deucher wrote: > > On Tue, Nov 17, 2015 at 11:29 AM, Daniel Vetter > > wrote: > > > On Tue, Nov 17, 2015 at 03:59:43PM +, John Keeping wrote: > > >> On Tue, 17 Nov 2015 17:39:32

[PATCH v2] drm: support hotspot for universal plane cursors

2015-11-17 Thread Ville Syrjälä
On Tue, Nov 17, 2015 at 03:59:43PM +, John Keeping wrote: > On Tue, 17 Nov 2015 17:39:32 +0200, Ville Syrjälä wrote: > > > On Tue, Nov 17, 2015 at 03:05:34PM +, John Keeping wrote: > > > The request's hot_x and hot_y are set correctly for both > > > DRM_IOCTL_MODE_CURSOR and

[Bug 83285] GPU Lockup using wine d3d under certain games

2015-11-17 Thread bugzilla-dae...@freedesktop.org
art -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151117/3a9b5cd3/attachment.html>

[Bug 83285] GPU Lockup using wine d3d under certain games

2015-11-17 Thread bugzilla-dae...@freedesktop.org
OpenGL. I must restart a Computer. Dmesg-log attached -- 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/20151117/e709b

[PATCH v2] drm: support hotspot for universal plane cursors

2015-11-17 Thread Ville Syrjälä
On Tue, Nov 17, 2015 at 03:05:34PM +, John Keeping wrote: > The request's hot_x and hot_y are set correctly for both > DRM_IOCTL_MODE_CURSOR and DRM_IOCTL_MODE_CURSOR2 so we just need to save > the values and then apply the offset to the cursor plane when the cursor > moves. > >

[PATCH RFC v2 0/2] Disable planes on blanked CRTC and enable on unblank

2015-11-17 Thread Jyri Sarha
On 11/17/15 12:28, Daniel Vetter wrote: > On Fri, Nov 13, 2015 at 05:53:13PM +0200, Jyri Sarha wrote: >> Since first RFC version: >> - Added "drm/atomic: Track drm_plane's active state"-patch >> >> We would need something like this to get rid off OMAPDSS somewhat >> messy runtime_resume code. How

[PATCH v2] drm: support hotspot for universal plane cursors

2015-11-17 Thread Daniel Vetter
On Tue, Nov 17, 2015 at 03:59:43PM +, John Keeping wrote: > On Tue, 17 Nov 2015 17:39:32 +0200, Ville Syrjälä wrote: > > > On Tue, Nov 17, 2015 at 03:05:34PM +, John Keeping wrote: > > > The request's hot_x and hot_y are set correctly for both > > > DRM_IOCTL_MODE_CURSOR and

[PATCH v2 2/4] scripts/kernel-doc: Replacing highlights hash by an array

2015-11-17 Thread Jonathan Corbet
On Tue, 17 Nov 2015 13:29:49 -0200 Mauro Carvalho Chehab wrote: > The enclosed patch should do the trick. I tested it with perl 5.10 and > perl 5.22 it worked fine with both versions. Indeed it seems to work - thanks! Applied to the docs tree, I'll get it upstream before too long. jon

[PATCH] drm: Do not set connector->encoder in drivers

2015-11-17 Thread Daniel Vetter
On Tue, Nov 17, 2015 at 04:58:25PM +0200, Jani Nikula wrote: > On Mon, 16 Nov 2015, Thierry Reding wrote: > > An encoder is associated with a connector by the DRM core as a result of > > setting up a configuration. Drivers using the atomic or legacy helpers > > should never set up this link, even

[PATCH] drm/exynos: only run atomic_check() if crtc is active

2015-11-17 Thread Daniel Vetter
On Tue, Nov 17, 2015 at 03:19:35PM +0100, Andrzej Hajda wrote: > Hi Daniel, > > On 11/17/2015 11:06 AM, Daniel Vetter wrote: > > On Thu, Nov 12, 2015 at 02:49:29PM +0100, Thierry Reding wrote: > >> On Thu, Nov 12, 2015 at 11:11:20AM -0200, Gustavo Padovan wrote: > >>> From: Gustavo Padovan > >>>

[PATCH] drm: Do not set connector->encoder in drivers

2015-11-17 Thread Jani Nikula
On Mon, 16 Nov 2015, Thierry Reding wrote: > An encoder is associated with a connector by the DRM core as a result of > setting up a configuration. Drivers using the atomic or legacy helpers > should never set up this link, even if it is a static one. Not to block this patch in any way, but

[PATCH v2] drm: support hotspot for universal plane cursors

2015-11-17 Thread John Keeping
On Tue, 17 Nov 2015 17:29:35 +0100, Daniel Vetter wrote: > On Tue, Nov 17, 2015 at 03:59:43PM +, John Keeping wrote: > > On Tue, 17 Nov 2015 17:39:32 +0200, Ville Syrjälä wrote: > > > > > On Tue, Nov 17, 2015 at 03:05:34PM +, John Keeping wrote: > > > > The request's hot_x and

[Intel-gfx] [PATCH 2/2] drm: Pass the user drm_mode_fb_cmd2 as const to .fb_create()

2015-11-17 Thread Jani Nikula
On Tue, 17 Nov 2015, John Harrison wrote: > This seems to have caused a warning to appear. I generally build with > -Werror which means my build is broken :(. > > intel_display.c: In function 'intel_user_framebuffer_create': > i915/intel_display.c(14593)2: warning: passing argument 2 of >

[Intel-gfx] [PATCH 1/2] drm/i915: Don't clobber the addfb2 ioctl params

2015-11-17 Thread Jani Nikula
On Tue, 17 Nov 2015, Ville Syrjälä wrote: > On Tue, Nov 17, 2015 at 01:04:21PM +0200, Ville Syrjälä wrote: >> On Tue, Nov 17, 2015 at 10:47:06AM +0100, Daniel Vetter wrote: >> > On Wed, Nov 11, 2015 at 07:11:28PM +0200, ville.syrjala at linux.intel.com >> > wrote: >> > > From: Ville

[PATCH] drm/exynos: remove unused variables

2015-11-17 Thread Arnd Bergmann
After a recent change, two variables were left unused: exynos/exynos5433_drm_decon.c: In function 'decon_enable': exynos/exynos5433_drm_decon.c:381:6: warning: unused variable 'i' [-Wunused-variable] exynos/exynos5433_drm_decon.c:380:6: warning: unused variable 'ret' [-Wunused-variable] This

[PATCH 1/4] drm: Fix primary plane size for stereo doubled modes for legacy setcrtc

2015-11-17 Thread Jani Nikula
On Tue, 17 Nov 2015, Daniel Vetter wrote: > On Mon, Nov 16, 2015 at 05:02:34PM +0200, ville.syrjala at linux.intel.com > wrote: >> From: Ville Syrjälä >> >> Properly double the hdisplay/vdisplay timings that we use as the primary >> plane size with stereo doubled modes. Otherwise the modeset

[PATCH 0/9] uapi: drm: fixes for userspace compilation

2015-11-17 Thread Michel Dänzer
On 14.11.2015 07:06, Emil Velikov wrote: > On 13 November 2015 at 21:36, Gabriel Laskar wrote: >> >> There is still some issues on the headers, like the inclusion of drm.h. >> >> AFAIK, we should include "drm.h", in order to minimize the changes >> between linux/libdrm when importing, as the

[Bug 92900] [regression bisected] About 700 piglit regressions is what could go wrong

2015-11-17 Thread bugzilla-dae...@freedesktop.org
ll try to test them. -- 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/20151117/7ed6074f/attachment.html>

[PATCH] drm/exynos: fix building without CONFIG_PM_SLEEP

2015-11-17 Thread Arnd Bergmann
The runtime PM operations use the suspend/resume functions even when CONFIG_PM_SLEEP is not set, but this now fails for the exynos DRM driver: exynos_mixer.c:1289:61: error: 'exynos_mixer_resume' undeclared here (not in a function) SET_RUNTIME_PM_OPS(exynos_mixer_suspend, exynos_mixer_resume,

[RESEND PATCH] drm/rockchip: import dma_buf to gem

2015-11-17 Thread Mark yao
On 2015年11月17日 00:25, Daniel Vetter wrote: > On Tue, Nov 10, 2015 at 05:11:57PM +0800, Mark Yao wrote: >> >We want to display a buffer allocated by other driver, need import >> >the buffer to gem. > Does this work with some open-source driver/userspace or is this for the > proprietary stack

[PATCH v2] drm: support hotspot for universal plane cursors

2015-11-17 Thread John Keeping
On Tue, 17 Nov 2015 17:39:32 +0200, Ville Syrjälä wrote: > On Tue, Nov 17, 2015 at 03:05:34PM +, John Keeping wrote: > > The request's hot_x and hot_y are set correctly for both > > DRM_IOCTL_MODE_CURSOR and DRM_IOCTL_MODE_CURSOR2 so we just need to > > save the values and then apply the

[PATCH] drm/exynos: only run atomic_check() if crtc is active

2015-11-17 Thread Andrzej Hajda
Hi Daniel, On 11/17/2015 11:06 AM, Daniel Vetter wrote: > On Thu, Nov 12, 2015 at 02:49:29PM +0100, Thierry Reding wrote: >> On Thu, Nov 12, 2015 at 11:11:20AM -0200, Gustavo Padovan wrote: >>> From: Gustavo Padovan >>> >>> Fixes an regression added by 3ae2436 (drm/exynos/mixer: replace >>>

[PATCH v2] drm: support hotspot for universal plane cursors

2015-11-17 Thread John Keeping
The request's hot_x and hot_y are set correctly for both DRM_IOCTL_MODE_CURSOR and DRM_IOCTL_MODE_CURSOR2 so we just need to save the values and then apply the offset to the cursor plane when the cursor moves. Signed-off-by: John Keeping --- v2: - add kerneldoc for hot_x and hot_y in struct

[Bug 91896] AMDGPU Fiji: only getting 1080i on DP

2015-11-17 Thread bugzilla-dae...@freedesktop.org
vel/attachments/20151117/5f9e5ddd/attachment.html>

[Intel-gfx] [PATCH 1/2] drm/i915: Don't clobber the addfb2 ioctl params

2015-11-17 Thread Ville Syrjälä
On Tue, Nov 17, 2015 at 01:04:21PM +0200, Ville Syrjälä wrote: > On Tue, Nov 17, 2015 at 10:47:06AM +0100, Daniel Vetter wrote: > > On Wed, Nov 11, 2015 at 07:11:28PM +0200, ville.syrjala at linux.intel.com > > wrote: > > > From: Ville Syrjälä > > > > > > We try to convert the old way of of

[PATCH v2] drm: support hotspot for universal plane cursors

2015-11-17 Thread Alex Deucher
On Tue, Nov 17, 2015 at 1:40 PM, Daniel Vetter wrote: > On Tue, Nov 17, 2015 at 04:58:06PM +, John Keeping wrote: >> On Tue, 17 Nov 2015 17:29:35 +0100, Daniel Vetter wrote: >> >> > On Tue, Nov 17, 2015 at 03:59:43PM +, John Keeping wrote: >> > > On Tue, 17 Nov 2015 17:39:32 +0200, Ville

[PATCH] [media] hdmi: added functions for MPEG InfoFrames

2015-11-17 Thread Thierry Reding
ore > canonical ? > >HDMI_MPEG_UNKNOWN_FRAME = 0x00, >HDMI_MPEG_I_FRAME = 0x01, >HDMI_MPEG_B_FRAME = 0x02, >HDMI_MPEG_P_FRAME = 0x03, I wasn't very clear. What I meant was the names for the constants. At least personally I know immediately what is meant when I see "I-Frame", "P-Frame" or "B-Frame", whereas "Bi-predictive picture" needs more thinking. Thierry -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151117/dfa13696/attachment-0001.sig>

[PATCH v2 2/4] scripts/kernel-doc: Replacing highlights hash by an array

2015-11-17 Thread Danilo Cesar Lemes de Paula
On 17-11-2015 13:29, Mauro Carvalho Chehab wrote: > Em Tue, 17 Nov 2015 07:44:31 -0700 > Jonathan Corbet escreveu: > >> On Tue, 17 Nov 2015 08:40:46 -0200 >> Mauro Carvalho Chehab wrote: >> >>> The above causes some versions of perl to fail, as keys expect a >>> hash argument: >>> >>>

[Intel-gfx] [PATCH 2/2] drm: Pass the user drm_mode_fb_cmd2 as const to .fb_create()

2015-11-17 Thread John Harrison
This seems to have caused a warning to appear. I generally build with -Werror which means my build is broken :(. intel_display.c: In function 'intel_user_framebuffer_create': i915/intel_display.c(14593)2: warning: passing argument 2 of 'intel_framebuffer_create' discards 'const' qualifier from

[PATCH v2 2/4] scripts/kernel-doc: Replacing highlights hash by an array

2015-11-17 Thread Mauro Carvalho Chehab
Em Tue, 17 Nov 2015 07:44:31 -0700 Jonathan Corbet escreveu: > On Tue, 17 Nov 2015 08:40:46 -0200 > Mauro Carvalho Chehab wrote: > > > The above causes some versions of perl to fail, as keys expect a > > hash argument: > > > > Execution of .//scripts/kernel-doc aborted due to compilation

[Intel-gfx] [PATCH 1/8] drm: Add crtc->name and use it in debug messages

2015-11-17 Thread Ville Syrjälä
On Tue, Nov 17, 2015 at 11:15:43AM +0100, Daniel Vetter wrote: > On Fri, Nov 13, 2015 at 01:03:48PM +0200, Ville Syrjälä wrote: > > On Fri, Nov 13, 2015 at 12:18:24PM +0200, Jani Nikula wrote: > > > On Thu, 12 Nov 2015, ville.syrjala at linux.intel.com wrote: > > > > diff --git

[Intel-gfx] [PATCH 5/5] drm/core: Fix old_fb handling in pan_display_atomic.

2015-11-17 Thread Jani Nikula
On Tue, 17 Nov 2015, Daniel Vetter wrote: > On Wed, Nov 11, 2015 at 11:29:11AM +0100, Maarten Lankhorst wrote: >> From: Maarten Lankhorst >> >> Signed-off-by: Maarten Lankhorst > > Needs "Don't touch plane->old_fb/fb without having the right locks held." > like the previous patch in the commit

[PATCH 1/2] drm/i915: Don't clobber the addfb2 ioctl params

2015-11-17 Thread Ville Syrjälä
On Tue, Nov 17, 2015 at 10:47:06AM +0100, Daniel Vetter wrote: > On Wed, Nov 11, 2015 at 07:11:28PM +0200, ville.syrjala at linux.intel.com > wrote: > > From: Ville Syrjälä > > > > We try to convert the old way of of specifying fb tiling (obj->tiling) > > into the new fb modifiers. We store

[PATCH 02/16] dt-bindings: remove deprecated compatible string from exynos-hdmi

2015-11-17 Thread Krzysztof Kozlowski
2015-09-30 23:36 GMT+09:00 Gustavo Padovan : > Hi Andrzej, > > 2015-09-25 Andrzej Hajda : > >> samsung,exynos5-hdmi compatible was marked as deprecated in Jun 2013. >> It was never used since then. >> >> Signed-off-by: Andrzej Hajda >> --- >>

[Intel-gfx] [PATCH 0/6] drm: Give crtcs and planes actual names

2015-11-17 Thread Jani Nikula
On Tue, 17 Nov 2015, Daniel Vetter wrote: > On Thu, Nov 12, 2015 at 06:52:20PM +0200, ville.syrjala at linux.intel.com > wrote: >> From: Ville Syrjälä >> >> I got sick and tired of staring at the line noise produced by drm.debug=0x1e, >> so I decided to give the crtcs and planes human

[Bug 36782] textures on Earth in Celestia contain pixels from other windows

2015-11-17 Thread bugzilla-dae...@freedesktop.org
ttp://lists.freedesktop.org/archives/dri-devel/attachments/20151117/1a23dacc/attachment.html>

[PATCH] drm: support hotspot for universal plane cursors

2015-11-17 Thread John Keeping
The request's hot_x and hot_y are set correctly for both DRM_IOCTL_MODE_CURSOR and DRM_IOCTL_MODE_CURSOR2 so we just need to save the values and then apply the offset to the cursor plane when the cursor moves. Signed-off-by: John Keeping --- drivers/gpu/drm/drm_crtc.c | 11 +++

[PATCH v2] drm: support hotspot for universal plane cursors

2015-11-17 Thread Alex Deucher
On Tue, Nov 17, 2015 at 11:29 AM, Daniel Vetter wrote: > On Tue, Nov 17, 2015 at 03:59:43PM +, John Keeping wrote: >> On Tue, 17 Nov 2015 17:39:32 +0200, Ville Syrjälä wrote: >> >> > On Tue, Nov 17, 2015 at 03:05:34PM +, John Keeping wrote: >> > > The request's hot_x and hot_y are set

[PATCH 3/5] drm/atomic: add a drm_atomic_clean_old_fb helper.

2015-11-17 Thread Maarten Lankhorst
Op 11-11-15 om 11:29 schreef Maarten Lankhorst: > From: Maarten Lankhorst > > This is useful for all the boilerplate code about cleaning old_fb. Signed-off-by: Maarten Lankhorst

[PATCH 1/4] drm: Fix primary plane size for stereo doubled modes for legacy setcrtc

2015-11-17 Thread Daniel Vetter
On Mon, Nov 16, 2015 at 05:02:34PM +0200, ville.syrjala at linux.intel.com wrote: > From: Ville Syrjälä > > Properly double the hdisplay/vdisplay timings that we use as the primary > plane size with stereo doubled modes. Otherwise the modeset gets > rejected on machines where the primary

[PATCH 08/14] drm/exynos: create a fake mmap offset with gem creation

2015-11-17 Thread Inki Dae
2015년 11월 17일 01:23에 Daniel Vetter 이(가) 쓴 글: > On Mon, Nov 16, 2015 at 05:22:42PM +0100, Daniel Vetter wrote: >> On Tue, Jul 28, 2015 at 05:53:23PM +0900, Joonyoung Shim wrote: >>> Don't create a fake mmap offset in exynos_drm_gem_dumb_map_offset. If >>> not, it will call

[PATCH] drm: Do not set connector->encoder in drivers

2015-11-17 Thread Daniel Vetter
On Mon, Nov 16, 2015 at 06:19:53PM +0100, Thierry Reding wrote: > From: Thierry Reding > > An encoder is associated with a connector by the DRM core as a result of > setting up a configuration. Drivers using the atomic or legacy helpers > should never set up this link, even if it is a static

i915 Skylake: "Invalid ROM contents"

2015-11-17 Thread Andy Lutomirski
Typing: # cat /sys/devices/pci:00/:00:02.0/rom Provokes: i915 :00:02.0: Invalid ROM contents This is on a Dell XPS 13 9350 (Skylake). This is 4.3.0 plus some wireless-next bits. --Andy -- Andy Lutomirski AMA Capital Management, LLC

[PATCH] drm: Do not set connector->encoder in drivers

2015-11-17 Thread Daniel Vetter
On Mon, Nov 16, 2015 at 05:46:46PM +, Russell King - ARM Linux wrote: > On Mon, Nov 16, 2015 at 06:19:53PM +0100, Thierry Reding wrote: > > From: Thierry Reding > > > > An encoder is associated with a connector by the DRM core as a result of > > setting up a configuration. Drivers using the

[PATCH RFC v2 0/2] Disable planes on blanked CRTC and enable on unblank

2015-11-17 Thread Daniel Vetter
On Fri, Nov 13, 2015 at 05:53:13PM +0200, Jyri Sarha wrote: > Since first RFC version: > - Added "drm/atomic: Track drm_plane's active state"-patch > > We would need something like this to get rid off OMAPDSS somewhat > messy runtime_resume code. How does this look, could this generic > solution

[PATCH i915 v3 1/2] i915: wait for fences in mmio_flip()

2015-11-17 Thread Daniel Vetter
On Fri, Nov 13, 2015 at 07:38:21PM +, Alexander Goins wrote: > Sorry; needless to say I'm not super familiar with the Intel driver. > ilk_do_mmio_flip() uses crtc->primary->fb to fetch the gem object: > > struct intel_framebuffer *intel_fb = >

[Intel-gfx] [PATCH 1/8] drm: Add crtc->name and use it in debug messages

2015-11-17 Thread Daniel Vetter
On Fri, Nov 13, 2015 at 01:03:48PM +0200, Ville Syrjälä wrote: > On Fri, Nov 13, 2015 at 12:18:24PM +0200, Jani Nikula wrote: > > On Thu, 12 Nov 2015, ville.syrjala at linux.intel.com wrote: > > > diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_crtc.c > > > index 24c5434..ea00a69

[PATCH 0/6] drm: Give crtcs and planes actual names

2015-11-17 Thread Daniel Vetter
On Thu, Nov 12, 2015 at 06:52:20PM +0200, ville.syrjala at linux.intel.com wrote: > From: Ville Syrjälä > > I got sick and tired of staring at the line noise produced by drm.debug=0x1e, > so I decided to give the crtcs and planes human readable names. Each driver > can give whatever names it

[PATCH 0/9] uapi: drm: fixes for userspace compilation

2015-11-17 Thread Emil Velikov
On 17 November 2015 at 07:22, Michel Dänzer wrote: > On 14.11.2015 07:06, Emil Velikov wrote: >> On 13 November 2015 at 21:36, Gabriel Laskar wrote: >>> >>> There is still some issues on the headers, like the inclusion of drm.h. >>> >>> AFAIK, we should include "drm.h", in order to minimize the

[PATCH] drm/exynos: only run atomic_check() if crtc is active

2015-11-17 Thread Daniel Vetter
On Thu, Nov 12, 2015 at 02:49:29PM +0100, Thierry Reding wrote: > On Thu, Nov 12, 2015 at 11:11:20AM -0200, Gustavo Padovan wrote: > > From: Gustavo Padovan > > > > Fixes an regression added by 3ae2436 (drm/exynos/mixer: replace > > direct cross-driver call with drm mode). The whole atomic

[PATCH] drm/tegra: fix locking of SET_TILING ioctl

2015-11-17 Thread Daniel Vetter
On Thu, Nov 12, 2015 at 04:09:56PM +0900, Alexandre Courbot wrote: > drm_gem_object_unreference() now expects obj->dev->struct_mutex to be > held. Use the newly-introduced drm_gem_object_unreference_unlocked() > which handles locking for us. This rule has been really old, I simply made the

[PATCH 5/5] drm/core: Fix old_fb handling in pan_display_atomic.

2015-11-17 Thread Daniel Vetter
On Wed, Nov 11, 2015 at 11:29:11AM +0100, Maarten Lankhorst wrote: > From: Maarten Lankhorst > > Signed-off-by: Maarten Lankhorst Needs "Don't touch plane->old_fb/fb without having the right locks held." like the previous patch in the commit message. With that for patches 4&5: Reviewed-by:

[PATCH 3/5] drm/atomic: add a drm_atomic_clean_old_fb helper.

2015-11-17 Thread Daniel Vetter
On Wed, Nov 11, 2015 at 11:29:09AM +0100, Maarten Lankhorst wrote: > From: Maarten Lankhorst > > This is useful for all the boilerplate code about cleaning old_fb. > --- > drivers/gpu/drm/drm_atomic.c | 58 > ++-- > include/drm/drm_atomic.h | 3 +++

[PATCH 2/5] drm/core: Fix old_fb handling in drm_mode_atomic_ioctl.

2015-11-17 Thread Daniel Vetter
On Wed, Nov 11, 2015 at 11:29:08AM +0100, Maarten Lankhorst wrote: > From: Maarten Lankhorst > > plane_mask should be cleared inside the retry loop, > because it gets reset on every retry. > > Signed-off-by: Maarten Lankhorst > Cc: stable at vger.kernel.org #v4.3 Nice catch, but a bit a terse

[PATCH 1/5] drm/core: Set legacy_cursor_update in drm_atomic_helper_disable_plane.

2015-11-17 Thread Daniel Vetter
On Wed, Nov 11, 2015 at 11:29:07AM +0100, Maarten Lankhorst wrote: > From: Maarten Lankhorst > > legacy_cursor_update was being set in restore_fbdev_mode_atomic which was > probably unintended. Fix this by only setting it in the function that needs > it. > > Signed-off-by: Maarten Lankhorst

[Intel-gfx] [PATCH 2/2] drm: Pass the user drm_mode_fb_cmd2 as const to .fb_create()

2015-11-17 Thread Daniel Vetter
On Wed, Nov 11, 2015 at 07:11:29PM +0200, ville.syrjala at linux.intel.com wrote: > From: Ville Syrjälä > > Drivers shouldn't clobber the passed in addfb ioctl parameters. > i915 was doing just that. To prevent it from happening again, > pass the struct around as const, starting all the way

[PATCH 1/2] drm/i915: Don't clobber the addfb2 ioctl params

2015-11-17 Thread Daniel Vetter
On Wed, Nov 11, 2015 at 07:11:28PM +0200, ville.syrjala at linux.intel.com wrote: > From: Ville Syrjälä > > We try to convert the old way of of specifying fb tiling (obj->tiling) > into the new fb modifiers. We store the result in the passed in mode_cmd > structure. But that structure comes

[PATCH 08/14] drm/exynos: create a fake mmap offset with gem creation

2015-11-17 Thread Daniel Vetter
On Tue, Nov 17, 2015 at 11:53:28AM +0900, Inki Dae wrote: > > > 2015년 11월 17일 01:23에 Daniel Vetter 이(가) 쓴 글: > > On Mon, Nov 16, 2015 at 05:22:42PM +0100, Daniel Vetter wrote: > >> On Tue, Jul 28, 2015 at 05:53:23PM +0900, Joonyoung Shim wrote: > >>> Don't create a fake mmap

[PATCH] drm: Do not set connector->encoder in drivers

2015-11-17 Thread Liviu Dudau
On Mon, Nov 16, 2015 at 06:19:53PM +0100, Thierry Reding wrote: > From: Thierry Reding > > An encoder is associated with a connector by the DRM core as a result of > setting up a configuration. Drivers using the atomic or legacy helpers > should never set up this link, even if it is a static

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

2015-11-17 Thread Liu Ying
On Mon, Nov 16, 2015 at 05:00:21PM +0100, Daniel Vetter wrote: > On Wed, Nov 04, 2015 at 06:15:58PM +0800, Liu Ying wrote: > > 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().

[Bug 36782] textures on Earth in Celestia contain pixels from other windows

2015-11-17 Thread bugzilla-dae...@freedesktop.org
-- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151117/129180a0/attachment.html>

[Bug 57990] libgl1-mesa-dri 9.1 Causes black stripes (RadeonHD4890 - r770)

2015-11-17 Thread bugzilla-dae...@freedesktop.org
ttp://lists.freedesktop.org/archives/dri-devel/attachments/20151117/b8139a69/attachment.html>

[Bug 82109] Firefox crashes Google Maps, likely related to graphics driver

2015-11-17 Thread bugzilla-dae...@freedesktop.org
-- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151117/ddcd0ed3/attachment.html>

[Bug 92977] Display artifacts when using MST

2015-11-17 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/20151117/d7096754/attachment.html>

[Bug 92977] Display artifacts when using MST

2015-11-17 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/20151117/45748f24/attachment.html>

[PATCH v2 2/4] scripts/kernel-doc: Replacing highlights hash by an array

2015-11-17 Thread Mauro Carvalho Chehab
Hi Danilo, Em Tue, 28 Jul 2015 16:45:16 -0300 Danilo Cesar Lemes de Paula escreveu: > The "highlight" code is very sensible to the order of the hash keys, > but the order of the keys cannot be predicted on Perl. It generates > faulty DocBook entries like: > - @device_for_each_child > >

[Bug 92977] Display artifacts when using MST

2015-11-17 Thread bugzilla-dae...@freedesktop.org
nee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151117/6aa47d06/attachment.html>

[Bug 92977] Display artifacts when using MST

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

[Bug 92977] Display artifacts when using MST

2015-11-17 Thread bugzilla-dae...@freedesktop.org
her information, let me know. -- 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/20151117/aa29c5bf/attachment-0001.html>

[PATCH v2 2/4] scripts/kernel-doc: Replacing highlights hash by an array

2015-11-17 Thread Jonathan Corbet
On Tue, 17 Nov 2015 08:40:46 -0200 Mauro Carvalho Chehab wrote: > The above causes some versions of perl to fail, as keys expect a > hash argument: > > Execution of .//scripts/kernel-doc aborted due to compilation errors. > Type of arg 1 to keys must be hash (not private array) at >

[Bug 92974] Fiji Nano long boot up and long X startup with amdgpu-powerplay enabled

2015-11-17 Thread bugzilla-dae...@freedesktop.org
nt was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151117/ee78a56a/attachment.html>

[Bug 92900] [regression bisected] About 700 piglit regressions is what could go wrong

2015-11-17 Thread bugzilla-dae...@freedesktop.org
was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20151117/cf2ba41a/attachment.html>