[PATCH 1/1] drm/i915/gvt: verify functions types in new_mmio_info()

2016-12-26 Thread Nicolas Iooss
The current prototype of new_mmio_info() uses void* for parameters read and write, which are functions with precise calling conventions (argument types and return type). Write down these conventions in new_mmio_info() definition. This has been reported by the following warnings when clang is used

[PATCH 1/2] Add DRM_IOCTL_MODE_GETPLANE2 ioctl wrapper

2016-12-26 Thread Ben Widawsky
On 16-12-20 16:13:32, Kristian H. Kristensen wrote: >From: "Kristian H. Kristensen" > >This adds support for the new DRM_IOCTL_MODE_GETPLANE2 ioctl. For older >kernels drmModeGetPlane2() falls back to DRM_IOCTL_MODE_GETPLANE and >return the new, bigger drmModePlaneRec, reporting 0 modifiers. > >BU

[PATCH 2/2] modetest: Teach modetest about format info

2016-12-26 Thread Ben Widawsky
On 16-12-20 16:13:33, Kristian H. Kristensen wrote: >From: "Kristian H. Kristensen" > >BUG=chrome-os-partner:56407 >TEST=modetest on a KMS driver that exposes modifiers should print those > >Change-Id: I91b2a408b1c8f112d7ba5d0998119b3c800b199c >--- > tests/modetest/modetest.c | 40

[PATCH] omap drm: fix compile errors where the conversion from omap_timing to videomode was not perfect

2016-12-26 Thread H. Nikolaus Schaller
Signed-off-by: H. Nikolaus Schaller --- drivers/gpu/drm/omapdrm/dss/dsi.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/gpu/drm/omapdrm/dss/dsi.c b/drivers/gpu/drm/omapdrm/dss/dsi.c index f060bda..f74615d 100644 --- a/drivers/gpu/drm/omapdrm/dss/d

[Intel-gfx] [PATCH] drm/i915: check if execlist_port is empty before using its content

2016-12-26 Thread Du, Changbin
> On Fri, Dec 23, 2016 at 01:46:36PM +0800, changbin.du at intel.com wrote: > > From: "Du, Changbin" > > > > This patch fix a crash in function reset_common_ring. In this case, > > the port[0].request is null when reset the render ring, so a null > > dereference exception is raised. We need to che

[RFC, v2, 10/11] vb2: dma-contig: Let drivers decide DMA attrs of MMAP and USERPTR bufs

2016-12-26 Thread Ricky Liang
Hi Laurent, On Fri, Dec 16, 2016 at 9:24 AM, Laurent Pinchart wrote: > From: Sakari Ailus > > The desirable DMA attributes are not generic for all devices using > Videobuf2 contiguous DMA ops. Let the drivers decide. > > This change also results in MMAP buffers always having an sg_table > (dma_s

[PATCH] drm: rcar-du: enable VSPDs on R8A7791

2016-12-26 Thread Sergei Shtylyov
On 12/19/2016 11:24 PM, Laurent Pinchart wrote: We're going to use R8A7791 VSPDs to control DU, so set the corresponding flag. Signed-off-by: Sergei Shtylyov >>> >>> For the same reason I nacked the corresponding patch to the VSP1 driver, I >>> have to nack this one as well. T