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
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
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
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:
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
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
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
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
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/
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
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
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
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
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
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
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
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
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
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.
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.
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
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
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
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
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
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
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
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
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
--
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
---
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
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
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
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
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
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
--
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
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
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
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
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
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
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
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
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
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
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
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
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
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()
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
>
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
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"
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
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
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
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
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(-)
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
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
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
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
62 matches
Mail list logo