[PATCH] Gpu: drm: arm: - Fix possible dereference of NULL

2016-11-11 Thread Shailendra Verma
From: "Shailendra Verma" There is possible dereference of NULL pointer if kmalloc fails, When function returns.So return NULL if kmalloc fails. Signed-off-by: Shailendra Verma --- drivers/gpu/drm/arm/malidp_planes.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/arm/

[PATCH 09/10] arm64: dts: r8a7795: add HDMI support to DU

2016-11-11 Thread Ulrich Hecht
Signed-off-by: Ulrich Hecht --- arch/arm64/boot/dts/renesas/r8a7795.dtsi | 34 ++-- 1 file changed, 32 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi b/arch/arm64/boot/dts/renesas/r8a7795.dtsi index 811c32e..d9e5706 100644 --- a/a

[PATCH 07/10] arm64: dts: r8a7795: Add HDMI encoder support

2016-11-11 Thread Ulrich Hecht
Based on work by Koji Matsuoka. Signed-off-by: Ulrich Hecht --- arch/arm64/boot/dts/renesas/r8a7795.dtsi | 22 ++ 1 file changed, 22 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi b/arch/arm64/boot/dts/renesas/r8a7795.dtsi index af1d175..811c32e 100644

[Intel-gfx] [PATCH] intel: Add Geminilake PCI IDs

2016-11-11 Thread Anuj Phogat
On Thu, Nov 10, 2016 at 10:28 AM, Ben Widawsky wrote: > > From: Ben Widawsky > > Signed-off-by: Ben Widawsky > --- > intel/intel_chipset.h | 13 ++--- > 1 file changed, 10 insertions(+), 3 deletions(-) > > diff --git a/intel/intel_chipset.h b/intel/intel_chipset.h > index 514f659..41fc0

[PATCH] drm/radeon: use list_move in radeon_vm_bo_update

2016-11-11 Thread Geliang Tang
Use list_move() instead of list_del() + list_add() to simplify the code. Signed-off-by: Geliang Tang --- drivers/gpu/drm/radeon/radeon_vm.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_vm.c b/drivers/gpu/drm/radeon/radeon_vm.c index a135874

[PATCH v8 0/3] drm: add explict fencing

2016-11-11 Thread Gustavo Padovan
Subject was supposed to be v9! sorry about that. 2016-11-11 Gustavo Padovan : > From: Gustavo Padovan > > Hi, > > Another iteration after Brian comments. Please refer to the cover letter[1] in > a previous version to check for more details. > > The changes since the last version can be seen i

[PATCH v6 1/9] drm/hisilicon/hibmc: Add hisilicon hibmc drm master driver

2016-11-11 Thread Rongrong Zou
Hi Sean, Thanks for reviewing! All comments is helpful. 在 2016/11/11 1:35, Sean Paul 写道: > On Fri, Oct 28, 2016 at 3:27 AM, Rongrong Zou > wrote: >> Add DRM master driver for Hisilicon Hibmc SoC which used for >> Out-of-band management. Blow is the general hardware connection, >> both the

[PATCH 02/10] drm: bridge/dw_hdmi: Add R-Car Gen3 device support

2016-11-11 Thread Ulrich Hecht
From: Koji Matsuoka Signed-off-by: Koji Matsuoka [uli: eliminate rcar-specific connector funcs, extraneous DT properties] Signed-off-by: Ulrich Hecht --- drivers/gpu/drm/bridge/dw-hdmi.c | 113 ++- include/drm/bridge/dw_hdmi.h | 9 2 files changed

[PATCH 06/10] drm: rcar-du: Fix display registers for R-Car Gen3

2016-11-11 Thread Ulrich Hecht
From: Koji Matsuoka Signed-off-by: Koji Matsuoka --- drivers/gpu/drm/rcar-du/rcar_du_drv.c | 3 ++- drivers/gpu/drm/rcar-du/rcar_du_group.c | 5 + drivers/gpu/drm/rcar-du/rcar_du_plane.c | 4 +++- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/rcar-du/rcar

[PATCH 10/10] dt-bindings: drm/bridge: Add renesas,rcar-dw-hdmi

2016-11-11 Thread Ulrich Hecht
Signed-off-by: Ulrich Hecht --- Documentation/devicetree/bindings/display/bridge/dw_hdmi.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/display/bridge/dw_hdmi.txt b/Documentation/devicetree/bindings/display/bridge/dw_hdmi.txt index 5e9a84d..7db107f 1006

[PATCH 00/10] Renesas R8A7795/Salvator-X HDMI output

2016-11-11 Thread Ulrich Hecht
Hi! This implements HDMI output support for the Renesas R8A7795 (H3) SoC and Salvator-X board. It is based on mainline v4.9-rc4 and depends on Geert's "[PATCH v2 0/7] soc: renesas: Identify SoC and register with the SoC bus" series. It fixes two major issues in the previous RFC series: 1. It us

[PATCH v6 2/9] drm/hisilicon/hibmc: Add video memory management

2016-11-11 Thread Rongrong Zou
在 2016/11/11 1:35, Sean Paul 写道: > On Fri, Oct 28, 2016 at 3:27 AM, Rongrong Zou > wrote: >> Hibmc have 32m video memory which can be accessed through PCIe by host, >> we use ttm to manage these memory. >> >> Signed-off-by: Rongrong Zou >> --- >> drivers/gpu/drm/hisilicon/hibmc/Kconfig

[PATCH] Gpu: drm: arm: - Fix possible dereference of NULL

2016-11-11 Thread Shailendra Verma
From: "Shailendra Verma" There is possible dereference of NULL pointer if kmalloc fails. So return NULL if kmalloc fails. Signed-off-by: Shailendra Verma --- drivers/gpu/drm/arm/malidp_planes.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/arm/malidp_planes.c b/dri

[Intel-gfx] [PATCH 0/5] Handle Link Training Failure during modeset

2016-11-11 Thread Cheng, Tony
For HDMI, you can yank the cable, plug back in, HDMI will light up without user mode or kernel mode doing anything. For DP this is not possible, someone will have to retrain the link when plugging back in or DP will not light up. We see that on Ubuntu if someone unplug display and plug it back

[PATCH] drm/amdgpu: Restrict GART size to half of the GPU pages

2016-11-11 Thread Russell Currey
Using the kernel zone memory size to determine the size of the GART table introduced a regression on systems with a large amount of system memory. On a system with 512GB RAM, driver initialisation would fail as there are more GART entries than there are GPU pages to map to them. With 256GB RAM, the

[PATCH 01/10] drm: bridge/dw_hdmi: add dw hdmi i2c bus adapter support

2016-11-11 Thread Ulrich Hecht
From: Vladimir Zapolskiy The change adds support of internal HDMI I2C master controller, this subdevice is used by default, if "ddc-i2c-bus" DT property is omitted. The main purpose of this functionality is to support reading EDID from an HDMI monitor on boards, which don't have an I2C bus conne

[PATCH v2 2/5] ARM: bus: da8xx-mstpri: new driver

2016-11-11 Thread Sekhar Nori
On Wednesday 09 November 2016 11:54 PM, Rob Herring wrote: > On Mon, Oct 31, 2016 at 03:45:35PM +0100, Bartosz Golaszewski wrote: >> Create the driver for the da8xx master peripheral priority >> configuration and implement support for writing to the three >> Master Priority registers on da850 SoCs.

[PATCH v8 1/3] drm/fence: add in-fences support

2016-11-11 Thread Sean Paul
On Fri, Nov 11, 2016 at 9:15 AM, Gustavo Padovan wrote: > From: Gustavo Padovan > > There is now a new property called IN_FENCE_FD attached to every plane > state that receives sync_file fds from userspace via the atomic commit > IOCTL. > > The fd is then translated to a fence (that may be a fenc

[PATCH v6 2/9] drm/hisilicon/hibmc: Add video memory management

2016-11-11 Thread Rongrong Zou
在 2016/11/11 21:25, Sean Paul 写道: > On Fri, Nov 11, 2016 at 6:16 AM, Rongrong Zou > wrote: >> 在 2016/11/11 1:35, Sean Paul 写道: >>> >>> On Fri, Oct 28, 2016 at 3:27 AM, Rongrong Zou >>> wrote: Hibmc have 32m video memory which can be accessed through PCIe by host, we us

<    1   2