[PATCH v1 22/33] drm/tilcdc: drop use of drmP.h

2019-06-29 Thread Sam Ravnborg
Dropped drmP.h and all other header files not used by tilcdc_drv.h. Added the minimal includes and forwards to make the header file self-contained. Then dropped the remaining uses of drmP.h and fixed all fall-out. Signed-off-by: Sam Ravnborg Cc: Jyri Sarha Cc: Tomi Valkeinen Cc: David Airlie

[PATCH v1 20/33] drm/vgem: drop use of drmP.h

2019-06-29 Thread Sam Ravnborg
Drop use of the deprecated header drmP.h. Replace with necessary includes in the individual .c files. Signed-off-by: Sam Ravnborg Cc: David Airlie Cc: Daniel Vetter Cc: Emil Velikov Cc: Eric Anholt Cc: Chris Wilson Cc: Rodrigo Siqueira Cc: Eric Biggers Cc: Deepak Sharma Cc: Thomas Zimmerm

[PATCH v1 25/33] drm/scheduler: drop use of drmP.h

2019-06-29 Thread Sam Ravnborg
Drop use of the deprecated drmP.h header file. Fix fallout. Signed-off-by: Sam Ravnborg Cc: David Airlie Cc: Daniel Vetter Cc: Alex Deucher Cc: Andrey Grodzovsky Cc: "Christian König" Cc: Huang Rui Cc: Eric Anholt Cc: Bas Nieuwenhuizen Cc: Sharat Masetty Cc: Nathan Chancellor Cc: Nayan

[PATCH v1 26/33] drm/imx: drop use of drmP.h

2019-06-29 Thread Sam Ravnborg
Drop use of the deprecated drmP.h header file. While touching the include files divide them in blocks and sort the include files within each block. Signed-off-by: Sam Ravnborg Cc: Philipp Zabel Cc: David Airlie Cc: Daniel Vetter Cc: Shawn Guo Cc: Sascha Hauer Cc: Pengutronix Kernel Team Cc:

[PATCH v1 33/33] drm/hisilicon: drop use of drmP.h

2019-06-29 Thread Sam Ravnborg
Drop the deprecated drmP.h header file. Made the header file selfcontained, and dropped unused header files. Fixed fallout in remaining files. Signed-off-by: Sam Ravnborg Cc: Xinliang Liu Cc: Rongrong Zou Cc: Xinwei Kong Cc: Chen Feng Cc: David Airlie Cc: Daniel Vetter Cc: Gerd Hoffmann C

[PATCH v1 32/33] drm/ast: drop use of drmP.h

2019-06-29 Thread Sam Ravnborg
Drop use of the deprecated drmP.h header file. While touching the files divide include files in blocks and sort the include files in the individual blocks. Signed-off-by: Sam Ravnborg Cc: Dave Airlie Cc: Sam Ravnborg Cc: Thomas Zimmermann Cc: Gerd Hoffmann Cc: Alex Deucher Cc: Daniel Vetter

[PATCH v1 30/33] drm: add missing include to drm_vram_mm_helper.h

2019-06-29 Thread Sam Ravnborg
The macro DRM_VRAM_MM_FILE_OPERATIONS referencs functions declared in other header files. Include these header files so this header files pulls in what it references. Signed-off-by: Sam Ravnborg Cc: Maarten Lankhorst Cc: Maxime Ripard Cc: Sean Paul Cc: David Airlie Cc: Daniel Vetter --- The

[PATCH v1 11/33] drm/sun4i: drop use of drmP.h

2019-06-29 Thread Sam Ravnborg
Drop use of the deprecated drmP.h header file. While touching the list of include file, use the typical order of the blocks: \#include \#include \#include \#include "" Within each block, sort the files. Include necessary files to fix build after the drmP.h removal. Signed-off-by: Sam Ravnb

[PATCH v1 10/33] drm/zte: drop use of drmP.h

2019-06-29 Thread Sam Ravnborg
Drop use of the deprecated drmP.h header file. Fix fallout. Signed-off-by: Sam Ravnborg Cc: Shawn Guo Cc: David Airlie Cc: Daniel Vetter --- The list of cc: was too large to add all recipients to the cover letter. Please find cover letter here: https://lists.freedesktop.org/archives/dri-devel/

[PATCH v1 21/33] drm/i810: drop use of drmP.h

2019-06-29 Thread Sam Ravnborg
Drop use of the deprecated drmP.h header. Replace with necessary includes. Signed-off-by: Sam Ravnborg Cc: David Airlie Cc: Daniel Vetter Cc: Dan Carpenter Cc: Sam Ravnborg --- The list of cc: was too large to add all recipients to the cover letter. Please find cover letter here: https://list

[PATCH v1 29/33] drm/mediatek: drop use of drmP.h

2019-06-29 Thread Sam Ravnborg
Drop use of the deprecated drmP.h header file. While touching the include files divide them up in blocks in the typical order: \#include \#include \#include \#include "" And sort the includes in the blocks Add the necessary includes to fix build after removal of drmP.h Signed-off-by: Sam

[PATCH v1 24/33] drm/i2c/sil164: drop use of drmP.h

2019-06-29 Thread Sam Ravnborg
Drop use of the deprecated drmP.h header file. Fix fallout. Signed-off-by: Sam Ravnborg Cc: David Airlie Cc: Daniel Vetter Cc: Alex Deucher Cc: Liviu Dudau Cc: Rodrigo Vivi Cc: CK Hu Cc: Matthias Brugger Cc: Sam Ravnborg Cc: Neil Armstrong Cc: Harry Wentland Cc: linux-arm-ker...@lists.i

[PATCH v1 27/33] drm/virtgpu: drop use of drmP.h

2019-06-29 Thread Sam Ravnborg
Drop use of the deprecated drmP.h header file. Fix fallout by adding missing include files. Signed-off-by: Sam Ravnborg Cc: David Airlie Cc: Gerd Hoffmann Cc: Daniel Vetter Cc: virtualizat...@lists.linux-foundation.org --- The list of cc: was too large to add all recipients to the cover letter

[PATCH v1 15/33] drm/r128: drop use of drmP.h

2019-06-29 Thread Sam Ravnborg
Replace use of the deprecated drmP.h header file with relevant includes. Signed-off-by: Sam Ravnborg Cc: Sam Ravnborg Cc: David Airlie Cc: Daniel Vetter --- The list of cc: was too large to add all recipients to the cover letter. Please find cover letter here: https://lists.freedesktop.org/arc

[PATCH v1 14/33] drm/atmel_hlcdc: drop use of drmP.h

2019-06-29 Thread Sam Ravnborg
Drop use of the deprecated header drmP.h. Make header file self-contained, with only the required set of include files. And fixed fallout in remaining files. Divide include files in blocks and sort them within each block. Signed-off-by: Sam Ravnborg Cc: Boris Brezillon Cc: David Airlie Cc: Dani

[PATCH v1 13/33] drm/vc4: drop use of drmP.h

2019-06-29 Thread Sam Ravnborg
Drop use of the deprecated header drmP.h. Fix so vc4_drv.h is now self-contained, and fixed fall-out in remaining files. Divided include files in blocks. Sorted include files within their blocks. Signed-off-by: Sam Ravnborg Cc: Eric Anholt --- The list of cc: was too large to add all recipients

[PATCH v1 31/33] drm/bochs: drop use of drmP.h

2019-06-29 Thread Sam Ravnborg
Drop use of the deprecated drmP.h header file. Made bochs.h self-contained and then fixed fallout in remaining files. Several unused includes was dropped in the process. Signed-off-by: Sam Ravnborg Cc: Gerd Hoffmann Cc: David Airlie Cc: Daniel Vetter Cc: virtualizat...@lists.linux-foundation.o

[PATCH v1 05/33] drm/mxsfb: drop use of drmP.h

2019-06-29 Thread Sam Ravnborg
Drop use of the deprecated drmP.h header file. While touching the list of include files divided them in blocks and sort them within each block. Fixed fallout in the relevant files. Signed-off-by: Sam Ravnborg Cc: Marek Vasut Cc: Stefan Agner Cc: David Airlie Cc: Daniel Vetter Cc: Shawn Guo

[PATCH v1 08/33] drm/fsl-dcu: drop use of drmP.h

2019-06-29 Thread Sam Ravnborg
Drop use of the deprecated drmP.h header file. Fix fallout. Signed-off-by: Sam Ravnborg Cc: Stefan Agner Cc: Alison Wang --- The list of cc: was too large to add all recipients to the cover letter. Please find cover letter here: https://lists.freedesktop.org/archives/dri-devel/2019-June/thread.

[PATCH v1 28/33] drm/rockchip: drop use of drmP.h

2019-06-29 Thread Sam Ravnborg
Drop use of the deprecated drmP.h header file. While touching the list of include files move the blocks so they follow the common pattern: \#include \#include \#include \#include "" Within each block sort the include files. Add the includes needed to fix build after the removal of drmP.h.

[PATCH v1 19/33] drm/tdfx: drop use of drmP.h

2019-06-29 Thread Sam Ravnborg
Replace drmP.h include with necessary include files. Signed-off-by: Sam Ravnborg Cc: David Airlie Cc: Daniel Vetter Cc: Sam Ravnborg --- The list of cc: was too large to add all recipients to the cover letter. Please find cover letter here: https://lists.freedesktop.org/archives/dri-devel/2019

[PATCH v1 06/33] drm/v3d: drop use of drmP.h

2019-06-29 Thread Sam Ravnborg
Drop use of the deprecated drmP.h header file. Made v3d_drv.h self-contained with only sufficient include files. Fixed fallout in remaining files. Signed-off-by: Sam Ravnborg Cc: Eric Anholt Cc: David Airlie Cc: Daniel Vetter --- The list of cc: was too large to add all recipients to the cover

[PATCH v1 03/33] drm/stm: drop use of drmP.h

2019-06-29 Thread Sam Ravnborg
Drop use of the deprecated header file drmP.h from the sole user in the stm driver. Replace with necessary include files. Signed-off-by: Sam Ravnborg Cc: Yannick Fertre Cc: Philippe Cornu Cc: Benjamin Gaignard Cc: Vincent Abriou Cc: David Airlie Cc: Daniel Vetter Cc: Maxime Coquelin Cc: Al

[PATCH v1 07/33] drm/pl111: drop use of drmP.h

2019-06-29 Thread Sam Ravnborg
Drop use of the deprecated drmP.h header. Sort includes in blocks while touching the files. Signed-off-by: Sam Ravnborg Cc: Eric Anholt Cc: David Airlie Cc: Daniel Vetter --- The list of cc: was too large to add all recipients to the cover letter. Please find cover letter here: https://lists.f

[PATCH v1 02/33] drm/xen: drop use of drmP.h

2019-06-29 Thread Sam Ravnborg
The drmP.h header is deprecated. Drop all uses. Added includes/forwards to the header files and then fixed fallout in the .c files. Signed-off-by: Sam Ravnborg Cc: Oleksandr Andrushchenko Cc: xen-de...@lists.xenproject.org --- The list of cc: was too large to add all recipients to the cover let

[PATCH v1 16/33] drm/udl: drop use of drmP.h

2019-06-29 Thread Sam Ravnborg
The drmP.h header file is depreacted. Drop it from all files in the udl driver. Made the header files self contained, which then made it simpler to update the .c files. Signed-off-by: Sam Ravnborg Cc: Dave Airlie Cc: Sean Paul Cc: David Airlie Cc: Daniel Vetter Cc: Sam Ravnborg Cc: Jani Nik

[PATCH v1 01/33] drm/meson: drop use of drmP.h

2019-06-29 Thread Sam Ravnborg
Drop use of the deprecated drmP.h header. While doing so used the opportunity to clean up a little so includes are now sorted and removed unused include files. In a few cases added some forwards to allow header files to built in different include order. Signed-off-by: Sam Ravnborg Cc: Neil Armstr

[PATCH v1 0/33] drm: drop use of drmp.h in drm-misc

2019-06-29 Thread Sam Ravnborg
This patch set removes a far share of the remaining uses of drmP.h. Common for all patches are that the respective files are maintained in drm-misc. All patches are independent except [PATCH 32] drm/ast, [PATCH 31] drm/bochs and [PATCH 33] drm/hisilicon. They need the fix to drm_vram_mm_helper.h [P

[PATCH v1 12/33] drm/vkms: drop use of drmP.h

2019-06-29 Thread Sam Ravnborg
Drop use of the deprecated drmP.h header. Replace it with the necessary includes in the individual .c files. The header files was self-contained, and extra includes were not added there. Signed-off-by: Sam Ravnborg Cc: Rodrigo Siqueira Cc: Haneen Mohammed Cc: Daniel Vetter Cc: David Airlie --

[PATCH v1 09/33] drm/qxl: drop use of drmP.h

2019-06-29 Thread Sam Ravnborg
Drop use of the deprecated drmP.h header file. While touching the files divided includes in blocks, and when needed sort the blocks. Fix fallout. Signed-off-by: Sam Ravnborg Cc: Dave Airlie Cc: Gerd Hoffmann Cc: virtualizat...@lists.linux-foundation.org Cc: spice-de...@lists.freedesktop.org ---

[PATCH v1 23/33] drm/i2c/ch7006: drop use of drmP.h

2019-06-29 Thread Sam Ravnborg
Drop using the deprecated drmP.h header file. Fix fallout. Signed-off-by: Sam Ravnborg Cc: David Airlie Cc: Daniel Vetter Cc: Sam Ravnborg Cc: Neil Armstrong Cc: Liviu Dudau Cc: Rodrigo Vivi Cc: Oleksandr Andrushchenko Cc: Alex Deucher --- The list of cc: was too large to add all recipien

[PATCH v1 17/33] drm/omapdrm: drop use of drmP.h

2019-06-29 Thread Sam Ravnborg
Drop use of the deprecated header drmP.h. Rearranged list of include files to match rest of DRM too. The drmP.h file was deleted from the header file, and the necessary includes was added to the .c files to fix build. Signed-off-by: Sam Ravnborg Cc: Tomi Valkeinen Cc: David Airlie Cc: Daniel Ve

[PATCH v1 18/33] drm/selftests: drop use of drmP.h

2019-06-29 Thread Sam Ravnborg
Drop the single user of drmP.h - replace it with relevant includes. Signed-off-by: Sam Ravnborg Cc: David Airlie Cc: Daniel Vetter Cc: Alexandru-Cosmin Gheorghe Cc: Maarten Lankhorst Cc: Sam Ravnborg --- The list of cc: was too large to add all recipients to the cover letter. Please find cov

[PATCH v1 04/33] drm/tve200: drop use of drmP.h

2019-06-29 Thread Sam Ravnborg
Drop use of the deprecated header drmP.h. Fix so header file became self-contained, and then fixed fallout in the other files. Signed-off-by: Sam Ravnborg Cc: Linus Walleij Cc: David Airlie Cc: Daniel Vetter --- The list of cc: was too large to add all recipients to the cover letter. Please f

[Bug 110994] [vega10] *ERROR* Failed to initialize parser -125! , running libreoffice

2019-06-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110994 --- Comment #7 from Jason Playne --- here is the dmesg log for all things amdgpu [0.00] Command line: BOOT_IMAGE=/boot/vmlinuz-5.1.15-050115-generic root=UUID=2ba5c512-4d8f-11e7-b210-b3322d3f791f ro quiet splash idle=nomwait amdgpu.ppfe

[Bug 110994] [vega10] *ERROR* Failed to initialize parser -125! , running libreoffice

2019-06-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110994 --- Comment #6 from Jason Playne --- So, restarted the game (hellblade) from new and was able to play, until the same (ish) point in the game. Even blew away the shader cache incase that got corrupted. Still experiencing the same problem --

[PATCH v1] drm/armada: drop use of drmP.h

2019-06-29 Thread Sam Ravnborg
Drop use of the deprecated drmP.h header file. While touching the list of include files group them and sort them. Fix fallout from the header file removal. Signed-off-by: Sam Ravnborg Cc: Russell King Cc: David Airlie Cc: Daniel Vetter --- The patch is build tested using several configs and se

[PATCH v1] drm/arm: drop use of drmP.h

2019-06-29 Thread Sam Ravnborg
Drop use of the deprecated drmP.h header file. While touching the list of include files divide them into blocks and sort within each block. Fix fallout. Signed-off-by: Sam Ravnborg Cc: Liviu Dudau Cc: Brian Starkey Cc: David Airlie Cc: Daniel Vetter Cc: mal...@foss.arm.com --- The patch is b

[PATCH v1] drm/msm: drop use of drmP.h

2019-06-29 Thread Sam Ravnborg
Drop the deprecated drmP.h header file, and trim msm_drv.h to the relevant include files. This resulted in a suprisingly many edits as many files relied on headers included via msm_drv.h. But msm_drv.h is not supposed to carry include files it do not need, so the individual files have to include w

[PATCH v1] drm/etnaviv: drop use of drmP.h

2019-06-29 Thread Sam Ravnborg
Drop use of the deprecated drmP.h header file. Fix fallout in all .c files. The etnaviv_drv.h header file was made self-contained, and missing includes was then added to the .c files that needed them. In a few cases the list of include files was sorted. Signed-off-by: Sam Ravnborg Cc: Lucas Stac

[PATCH v1] drm/i2c/tda998x: drop use of drmP.h

2019-06-29 Thread Sam Ravnborg
Drop use of the deprecated drmP.h header file. Fix fallout. Signed-off-by: Sam Ravnborg Cc: Russell King Cc: David Airlie Cc: Daniel Vetter --- The patch is build tested using several configs and several architectures (including arm, arm64, x86). The patch is based on drm-misc. If patch is O

[PATCH v1] drm/tegra: drop use of drmP.h

2019-06-29 Thread Sam Ravnborg
Drop use of the deprecated drmP.h header file. For all touched files divide include files into blocks, and sort them within the blocks. Fix fallout. Signed-off-by: Sam Ravnborg Cc: Thierry Reding Cc: Jonathan Hunter Cc: linux-te...@vger.kernel.org --- The patch is build tested using several co

[PATCH v1] drm/shmobile: drop use of drmP.h

2019-06-29 Thread Sam Ravnborg
Drop use of the deprecated drmP.h header file. Fix fallout. Signed-off-by: Sam Ravnborg Cc: Laurent Pinchart Cc: Kieran Bingham Cc: David Airlie Cc: Daniel Vetter Cc: linux-renesas-...@vger.kernel.org --- The patch is build tested using several configs and several architectures (including arm

Re: [RFC PATCH v3 00/11] new cgroup controller for gpu/drm subsystem

2019-06-29 Thread Kenny Ho
On Thu, Jun 27, 2019 at 3:24 AM Daniel Vetter wrote: > Another question I have: What about HMM? With the device memory zone > the core mm will be a lot more involved in managing that, but I also > expect that we'll have classic buffer-based management for a long time > still. So these need to work

Re: [PATCH] drm/msm: Transition console to msm framebuffer

2019-06-29 Thread Rob Clark
On Sat, Jun 29, 2019 at 10:46 AM Rob Clark wrote: > > On Fri, Jun 28, 2019 at 9:28 AM Jeffrey Hugo wrote: > > > > If booting a device using EFI, efifb will likely come up and claim the > > console. When the msm display stack finally comes up, we want the > > console to move over to the msm fb, s

Re: [PATCH v2 1/4] drm/mga: drop dependency on drm_os_linux.h

2019-06-29 Thread Sam Ravnborg
Hi all. > Opencode all macros used from the deprecated drm_os_linux.h header file. > The DRM_WAIT_ON used 3 * HZ as timeout. > This was translated to 3000 msec. > > The return value of mga_driver_fence_wait() was not > used, so make it return void to simplify code a bit. > > v2: > - fixed timeou

Re: [PATCH] drm/msm: Transition console to msm framebuffer

2019-06-29 Thread Rob Clark
On Fri, Jun 28, 2019 at 9:28 AM Jeffrey Hugo wrote: > > If booting a device using EFI, efifb will likely come up and claim the > console. When the msm display stack finally comes up, we want the > console to move over to the msm fb, so add support to kick out any > firmware based framebuffers to

Re: [PATCH V2] include: linux: Regularise the use of FIELD_SIZEOF macro

2019-06-29 Thread Joe Perches
On Sat, 2019-06-29 at 17:25 +0300, Alexey Dobriyan wrote: > On Tue, Jun 11, 2019 at 03:00:10PM -0600, Andreas Dilger wrote: > > On Jun 11, 2019, at 2:48 PM, Andrew Morton > > wrote: > > > On Wed, 12 Jun 2019 01:08:36 +0530 Shyam Saini > > > wrote: > > I did a check, and FIELD_SIZEOF() is used a

Re: [PATCH] drm/kms: Catch mode_object lifetime errors

2019-06-29 Thread Daniel Vetter
On Fri, Jun 28, 2019 at 7:24 PM Sean Paul wrote: > > On Fri, Jun 14, 2019 at 08:17:23AM +0200, Daniel Vetter wrote: > > Only dynamic mode objects, i.e. those which are refcounted and have a free > > callback, can be added while the overall drm_device is visible to > > userspace. All others must be

Re: [PATCH V2] include: linux: Regularise the use of FIELD_SIZEOF macro

2019-06-29 Thread Alexey Dobriyan
On Tue, Jun 11, 2019 at 03:00:10PM -0600, Andreas Dilger wrote: > On Jun 11, 2019, at 2:48 PM, Andrew Morton wrote: > > > > On Wed, 12 Jun 2019 01:08:36 +0530 Shyam Saini > > wrote: > I did a check, and FIELD_SIZEOF() is used about 350x, while sizeof_field() > is about 30x, and SIZEOF_FIELD()

Re: [PATCH v5 0/7] drm/panel: simple: Add mode support to devicetree

2019-06-29 Thread Heiko Stübner
Hi Sam, Am Freitag, 28. Juni 2019, 19:13:42 CEST schrieb Sam Ravnborg: > Hi Doug. > > > Sam: Oh! I hadn't noticed that you've been added as a panel > > maintainer in commit ef0db94f94a0 ("MAINTAINERS: Add Sam as reviewer > > for drm/panel"). Does that mean you are able to provide some advice >

[PATCH] drm/amd/pp: fix a dereference of a pointer before it is null checked

2019-06-29 Thread Colin King
From: Colin Ian King The pointer hwmgr is dereferenced when initializing pointer adev however it is a little later hwmgr is null checked, implying it could potentially be null hence the assignment of adev may cause a null pointer dereference. Fix this by moving the assignment after the null check

[PATCH] drm/amdkfd: fix potential null pointer dereference on pointer peer_dev

2019-06-29 Thread Colin King
From: Colin Ian King The call to kfd_topology_device_by_proximity_domain can return a NULL pointer so add a null pointer check on peer_dev to the existing null pointer check on peer_dev->gpu to avoid any potential null pointer dereferences. Addresses-Coverity: ("Dereference on null return value"

[PATCH 7/7] RFT: drm/msm/hdmi: Do not initialize HPD line value

2019-06-29 Thread Linus Walleij
After untangling the MSM HDMI GPIO code we see that the code is deliberately setting the output value of the HPD (hot plug detect) line to high, even though it is being used as input which is of course the only viable use of a HPD pin. This seems dubious: GPIO lines set up as input will have high

[PATCH 3/7] drm/msm/dpu: Drop unused GPIO code

2019-06-29 Thread Linus Walleij
The DPU has some kind of idea that it wants to be able to bring up power using GPIO lines. The struct dss_gpio is however completely unused and should this be done, it should be done using the GPIO descriptor framework rather than this API which relies on the global GPIO numberspace. Delete this co

[PATCH 4/7] gpio: of: Support some legacy Qualcomm HDMI bindings

2019-06-29 Thread Linus Walleij
Insteaf of the MSM DRM code going around and inspecting the device tree nodes by itself to find "qcom,misc" GPIO phandles, we add a quirk to the core so that if "qcom,misc-gpios" and "qcom,misc-gpio" isn't found, we try to find just "qcom,misc" as a last resort. Provide an explicit whitelist for th

[PATCH 5/7] drm/msm/hdmi: Convert to use GPIO descriptors

2019-06-29 Thread Linus Walleij
This switches the MSM HDMI code to use GPIO descriptors. Normally we would fetch the GPIOs from the device with the flags GPIOD_IN or GPIOD_OUT_[LOW|HIGH] to set up the lines immediately, but since the code seems eager to actively drive the lines high/low when turning HDMI on and off, we just fetch

[PATCH 2/7] drm/msm/dsi: Drop unused GPIO includes

2019-06-29 Thread Linus Walleij
This DSI driver uses the new descriptor API so these old GPIO API includes are surplus. Cc: Rob Clark Cc: Sean Paul Cc: linux-arm-...@vger.kernel.org Cc: freedr...@lists.freedesktop.org Signed-off-by: Linus Walleij --- drivers/gpu/drm/msm/dsi/dsi_host.c | 2 -- 1 file changed, 2 deletions(-)

[PATCH 6/7] RFT: drm/msm/hdmi: Bring up HDMI connector OFF

2019-06-29 Thread Linus Walleij
There is elaborate code in the HDMI connector handling to leave the connector in the state it was at power-on and only touch the GPIOs when the connector .enable() and .disable() callbacks are called. I don't think this is what we normally want, initialize the connector as OFF (possibly saving pow

[PATCH 1/7] drm/msm/mdp4: Drop unused GPIO include

2019-06-29 Thread Linus Walleij
This file is not using any symbols from so just drop this include. Cc: Rob Clark Cc: Sean Paul Cc: linux-arm-...@vger.kernel.org Cc: freedr...@lists.freedesktop.org Signed-off-by: Linus Walleij --- drivers/gpu/drm/msm/disp/mdp4/mdp4_lvds_connector.c | 2 -- 1 file changed, 2 deletions(-) dif

[PATCH][next] drm/amd/amdgpu: remove redundant assignment to variable res

2019-06-29 Thread Colin King
From: Colin Ian King Variable res is being initialized with a value that is never read and res is being re-assigned a little later on. The assignment is redundant and hence can be removed. Addresses-Coverity: ("Unused value") Signed-off-by: Colin Ian King --- drivers/gpu/drm/amd/display/amdgpu

[PATCH][next] drm/amd/display: don't release dc->current_state if it is null

2019-06-29 Thread Colin King
From: Colin Ian King Currently function construct calls destruct if the allocation of dc->current_state fails, however, the destruct function will attempt dereference dc->current_state when calling dc_release_state. Avoid this null pointer dereference by checking if the pointer is not null before