[Bug 110483] Power management

2019-04-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110483 Daniel Stone changed: What|Removed |Added Resolution|--- |INVALID Status|NEW

Re: [PATCH v1 4/4] drm/mediatek: fix possible_crtcs

2019-04-22 Thread YT Shen
Hi Frank, On Tue, 2019-04-16 at 16:58 +0200, Frank Wunderlich wrote: > From: Ryder Lee > > without this patch there is purple stretched font on fbconsole > > source: http://forum.banana-pi.org/t/kernel-4-19-rc1-for-testers/6618/52 > > Signed-off-by: Ryder Lee > Tested-by: Frank Wunderlich > -

[Bug 110488] [1042669.035207] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring vce0 timeout, signaled seq=4, emitted seq=8

2019-04-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110488 Bug ID: 110488 Summary: [1042669.035207] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring vce0 timeout, signaled seq=4, emitted seq=8 Product: DRI Version: DRI gi

Re: [PATCH] android: libdrm_platform: add liblog shared dependency

2019-04-22 Thread Mauro Rossi
Hi, I can try replacing with , but I would like to get confirmation from Chih-Wei, the original author of [1] Mauro [1] http://git.osdn.net/view?p=android-x86/external-libdrm.git;a=commit;h=9d2a4cc3a16b5b464fda0a0c321dd1f5acadaa33 On Mon, Mar 18, 2019 at 2:32 PM Tapani Pälli wrote: > > > >

Re: [PATCH] android: libdrm_platform: add liblog shared dependency

2019-04-22 Thread Mauro Rossi
Hi Emil, Chih-Wei, what about the series of latest three patches we have in oreo-x86 branch? [oreo-x86 branch] http://git.osdn.net/view?p=android-x86/external-libdrm.git;a=history;f=Android.mk;h=f832b24e99007c75ce3a8d9a3ece34d4e475e957;hb=refs/heads/oreo-x86 My doubt is about the one "android: m

[GIT PULL] exynos-drm-next

2019-04-22 Thread Inki Dae
Hi Dave, Just log cleanup patches of Exynos KMS and DMA drivers including one trivial style fixup. Please kinkdly let me know if there is any problem. Thanks, Inki Dae The following changes since commit dbb92471674a48892f5e50779425e03388073ab9: Revert "drm: allow render capable ma

[PATCH] ttm: wait mem space if user allow while gpu busy

2019-04-22 Thread Chunming Zhou
heavy gpu job could occupy memory long time, which could lead to other user fail to get memory. Change-Id: I0b322d98cd76e5ac32b00462bbae8008d76c5e11 Signed-off-by: Chunming Zhou --- drivers/gpu/drm/ttm/ttm_bo.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/gpu

[Bug 110488] [1042669.035207] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring vce0 timeout, signaled seq=4, emitted seq=8

2019-04-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110488 --- Comment #1 from baopeng --- Created attachment 144067 --> https://bugs.freedesktop.org/attachment.cgi?id=144067&action=edit umr info umr info regs and ring buffer msg -- You are receiving this mail because: You are the assignee for the

Re: [PATCH v5 6/6] drm/amdgpu: Avoid HW reset if guilty job already signaled.

2019-04-22 Thread Grodzovsky, Andrey
Ping for patches 3, new patch 5 and patch 6. Andrey On 4/18/19 11:00 AM, Andrey Grodzovsky wrote: > Also reject TDRs if another one already running. > > v2: > Stop all schedulers across device and entire XGMI hive before > force signaling HW fences. > Avoid passing job_signaled to helper fnctions

Re: [PATCH v5 3/6] drm/scheduler: rework job destruction

2019-04-22 Thread Chunming Zhou
Hi Andrey, static void drm_sched_process_job(struct dma_fence *f, struct dma_fence_cb *cb) { ...     spin_lock_irqsave(&sched->job_list_lock, flags);     /* remove job from ring_mirror_list */     list_del_init(&s_job->node);     spin_unlock_irqrestore(&sched->job_list_lock, f

Re: [PATCH v5 4/6] drm/sched: Keep s_fence->parent pointer

2019-04-22 Thread Chunming Zhou
+Monk to response this patch. 在 2019/4/18 23:00, Andrey Grodzovsky 写道: > For later driver's reference to see if the fence is signaled. > > v2: Move parent fence put to resubmit jobs. > > Signed-off-by: Andrey Grodzovsky > Reviewed-by: Christian König > --- > drivers/gpu/drm/scheduler/sched_ma

Re: [PATCH v5 6/6] drm/amdgpu: Avoid HW reset if guilty job already signaled.

2019-04-22 Thread Chunming Zhou
+Monk. GPU reset is used widely in SRIOV, so need virtulizatino guy take a look. But out of curious, why guilty job can signal more if the job is already set to guilty? set it wrongly? -David 在 2019/4/18 23:00, Andrey Grodzovsky 写道: > Also reject TDRs if another one already running. > > v2: >

[PATCH v2 65/79] docs: ioctl: convert to ReST

2019-04-22 Thread Mauro Carvalho Chehab
Rename the iio documentation files to ReST, add an index for them and adjust in order to produce a nice html output via the Sphinx build system. The cdrom.txt and hdio.txt have their own particular syntax. In order to speedup the conversion, I used a small ancillary perl script: my $d;

[PATCH v2 39/79] docs: EDID/HOWTO.txt: convert it and rename to howto.rst

2019-04-22 Thread Mauro Carvalho Chehab
Sphinx need to know when a paragraph ends. So, do some adjustments at the file for it to be properly parsed. At its new index.rst, let's add a :orphan: while this is not linked to the main index.rst file, in order to avoid build warnings. that's said, I believe that this file should be moved to t

[PATCH v2 21/79] docs: locking: convert docs to ReST and rename to *.rst

2019-04-22 Thread Mauro Carvalho Chehab
Convert the locking documents to ReST and add them to the kernel development book where it belongs. Most of the stuff here is just to make Sphinx to properly parse the text file, as they're already in good shape, not requiring massive changes in order to be parsed. The conversion is actually: -

[PATCH v2 45/79] docs: console.txt: convert docs to ReST and rename to *.rst

2019-04-22 Thread Mauro Carvalho Chehab
Convert this small file to ReST in preparation for adding it to the driver-api book. While this is not part of the driver-api book, mark it as :orphan:, in order to avoid build warnings. Signed-off-by: Mauro Carvalho Chehab --- .../console/{console.txt => console.rst} | 63 ++--

Re: [RFC][PATCH 2/5] libdrm: amdgpu: Initialize unions with memset rather than "= {0}"

2019-04-22 Thread Alex Deucher
On Sat, Apr 20, 2019 at 12:25 AM John Stultz wrote: > > Clang complains when initializing unions using "= {0}" > so instead use memset. > > Cc: Emil Velikov > Cc: Sean Paul > Cc: Alistair Strachan > Cc: Marissa Wall > Signed-off-by: John Stultz Reviewed-by: Alex Deucher Do you have commit

Re: [RFC][PATCH 3/5] libdrm: Avoid additional drm open close

2019-04-22 Thread Alex Deucher
On Sat, Apr 20, 2019 at 12:25 AM John Stultz wrote: > > From: Prabhanjan Kandula > > Avoid additional drm device open and close. > > Cc: Emil Velikov > Cc: Sean Paul > Cc: Alistair Strachan > Cc: Marissa Wall > Signed-off-by: John Stultz Reviewed-by: Alex Deucher > --- > xf86drm.c | 4 ++

Re: [RFC][PATCH 1/5] libdrm: Use mmap64 instead of __mmap2

2019-04-22 Thread Alex Deucher
On Sat, Apr 20, 2019 at 12:25 AM John Stultz wrote: > > From: Sean Paul > > __mmap2 isn't supported on all platforms, mmap64 is the right way > to do this in android. > > Also folds in a fix from Stéphane Marchesin > to use an offset in bytes not pages, as that's what mmap64 takes. > > Cc: Emil

Re: [RFC][PATCH 4/5] libdrm: reduce number of reallocations in drmModeAtomicAddProperty

2019-04-22 Thread Alex Deucher
On Sat, Apr 20, 2019 at 12:25 AM John Stultz wrote: > > From: Adrian Salido > > When calling drmModeAtomicAddProperty allocation of memory happens as > needed in increments of 16 elements. This can be very slow if there are > multiple properties to be updated in an Atomic Commit call. > > Increas

Re: [PATCH 1/2] drm/dp_aux: Use non-cyclic idr, add suffix option for aux device

2019-04-22 Thread Lyude Paul
On Wed, 2019-04-17 at 23:10 +, Li, Sun peng (Leo) wrote: > > > On 2019-04-16 6:16 p.m., Lyude Paul wrote: > > Sorry for the slow response, I've been really busy ;_; > > No worries :) > > > On Fri, 2019-04-12 at 12:05 -0400, sunpeng...@amd.com wrote: > > > From: Leo Li > > > > > > In prepa

Re: [PATCH] drm/gma500/cdv: Check vbt config bits when detecting lvds panels

2019-04-22 Thread Patrik Jakobsson
On Sun, Apr 21, 2019 at 8:46 PM Hans de Goede wrote: > > Hi, > > On 16-04-19 13:46, Patrik Jakobsson wrote: > > Some machines have an lvds child device in vbt even though a panel is > > not attached. To make detection more reliable we now also check the lvds > > config bits available in the vbt. >

Re: Pending panel driver patches - OK to commit?

2019-04-22 Thread Fabio Estevam
Hi Sam, On Mon, Apr 1, 2019 at 3:24 PM Sam Ravnborg wrote: > panel-simple support for VXT VL050-8048NT-C01 panel - Fabio Estevam > Any chance to get this one to kernel 5.2? ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.fre

Re: [RFC][PATCH 2/5] libdrm: amdgpu: Initialize unions with memset rather than "= {0}"

2019-04-22 Thread John Stultz
On Mon, Apr 22, 2019 at 7:59 AM Alex Deucher wrote: > On Sat, Apr 20, 2019 at 12:25 AM John Stultz wrote: > > > > Clang complains when initializing unions using "= {0}" > > so instead use memset. > > > > Cc: Emil Velikov > > Cc: Sean Paul > > Cc: Alistair Strachan > > Cc: Marissa Wall > > Sig

Re: [PATCH 6/9] drm/vmwgfx: Implement an infrastructure for write-coherent resources

2019-04-22 Thread Deepak Singh Rawat
Hi Thomas, With minor comments below Reviewed-by: Deepak Rawat On Fri, 2019-04-12 at 09:04 -0700, Thomas Hellstrom wrote: > This infrastructure will, for coherent resources, make sure that > from the user-space point of view, data written by the CPU is > immediately > automatically available to

Re: [PATCH 7/9] drm/vmwgfx: Use an RBtree instead of linked list for MOB resources

2019-04-22 Thread Deepak Singh Rawat
Reviewed-by: Deepak Rawat On Fri, 2019-04-12 at 09:04 -0700, Thomas Hellstrom wrote: > With emulated coherent memory we need to be able to quickly look up > a resource from the MOB offset. Instead of traversing a linked list > with > O(n) worst case, use an RBtree with O(log n) worst case complex

Re: [RFC] MAINTAINERS: Add Sam as reviewer for drm/panel

2019-04-22 Thread Sam Ravnborg
Hi Thierry et al. > > Sam has been helping out a lot with reviewing DRM panel patches. Add him > > as reviewer to help him do this important work. > > > > Signed-off-by: Thierry Reding > > --- > > MAINTAINERS | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/MAINTAINERS b/MAINTAIN

[PATCH AUTOSEL 5.0 54/98] drm: Fix drm_release() and device unplug

2019-04-22 Thread Sasha Levin
From: Noralf Trønnes [ Upstream commit 3f04e0a6cfebf48152ac64502346cdc258811f79 ] If userspace has open fd(s) when drm_dev_unplug() is run, it will result in drm_dev_unregister() being called twice. First in drm_dev_unplug() and then later in drm_release() through the call to drm_put_dev(). Sin

[PATCH AUTOSEL 5.0 49/98] drm/tegra: hub: Fix dereference before check

2019-04-22 Thread Sasha Levin
From: Thierry Reding [ Upstream commit 7cf77b273a8fc51e7de622fa6691abd4436a9a6b ] Reported-by: Dan Carpenter Signed-off-by: Thierry Reding Signed-off-by: Sasha Levin (Microsoft) --- drivers/gpu/drm/tegra/hub.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/gpu

[PATCH AUTOSEL 5.0 57/98] drm/meson: Uninstall IRQ handler

2019-04-22 Thread Sasha Levin
From: Jean-Philippe Brucker [ Upstream commit 2d8f92897ad816f5dda54b2ed2fd9f2d7cb1abde ] meson_drv_unbind() doesn't unregister the IRQ handler, which can lead to use-after-free if the IRQ fires after unbind: [ 64.656876] Unable to handle kernel paging request at virtual address 11706

[PATCH AUTOSEL 5.0 56/98] drm/meson: Fix invalid pointer in meson_drv_unbind()

2019-04-22 Thread Sasha Levin
From: Jean-Philippe Brucker [ Upstream commit 776e78677f514ecddd12dba48b9040958999bd5a ] meson_drv_bind() registers a meson_drm struct as the device's privdata, but meson_drv_unbind() tries to retrieve a drm_device. This may cause a segfault on shutdown: [ 5194.593429] Unable to handle kernel N

[PATCH AUTOSEL 4.19 43/68] drm: Fix drm_release() and device unplug

2019-04-22 Thread Sasha Levin
From: Noralf Trønnes [ Upstream commit 3f04e0a6cfebf48152ac64502346cdc258811f79 ] If userspace has open fd(s) when drm_dev_unplug() is run, it will result in drm_dev_unregister() being called twice. First in drm_dev_unplug() and then later in drm_release() through the call to drm_put_dev(). Sin

[PATCH AUTOSEL 4.19 45/68] drm/meson: Fix invalid pointer in meson_drv_unbind()

2019-04-22 Thread Sasha Levin
From: Jean-Philippe Brucker [ Upstream commit 776e78677f514ecddd12dba48b9040958999bd5a ] meson_drv_bind() registers a meson_drm struct as the device's privdata, but meson_drv_unbind() tries to retrieve a drm_device. This may cause a segfault on shutdown: [ 5194.593429] Unable to handle kernel N

[PATCH AUTOSEL 4.19 46/68] drm/meson: Uninstall IRQ handler

2019-04-22 Thread Sasha Levin
From: Jean-Philippe Brucker [ Upstream commit 2d8f92897ad816f5dda54b2ed2fd9f2d7cb1abde ] meson_drv_unbind() doesn't unregister the IRQ handler, which can lead to use-after-free if the IRQ fires after unbind: [ 64.656876] Unable to handle kernel paging request at virtual address 11706

[PATCH AUTOSEL 4.19 38/68] drm/tegra: hub: Fix dereference before check

2019-04-22 Thread Sasha Levin
From: Thierry Reding [ Upstream commit 7cf77b273a8fc51e7de622fa6691abd4436a9a6b ] Reported-by: Dan Carpenter Signed-off-by: Thierry Reding Signed-off-by: Sasha Levin (Microsoft) --- drivers/gpu/drm/tegra/hub.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/gpu

[PATCH AUTOSEL 4.14 30/43] drm/meson: Fix invalid pointer in meson_drv_unbind()

2019-04-22 Thread Sasha Levin
From: Jean-Philippe Brucker [ Upstream commit 776e78677f514ecddd12dba48b9040958999bd5a ] meson_drv_bind() registers a meson_drm struct as the device's privdata, but meson_drv_unbind() tries to retrieve a drm_device. This may cause a segfault on shutdown: [ 5194.593429] Unable to handle kernel N

[PATCH AUTOSEL 4.14 31/43] drm/meson: Uninstall IRQ handler

2019-04-22 Thread Sasha Levin
From: Jean-Philippe Brucker [ Upstream commit 2d8f92897ad816f5dda54b2ed2fd9f2d7cb1abde ] meson_drv_unbind() doesn't unregister the IRQ handler, which can lead to use-after-free if the IRQ fires after unbind: [ 64.656876] Unable to handle kernel paging request at virtual address 11706

[Bug 108879] [CIK] [regression] All opencl apps hangs indefinitely in si_create_context

2019-04-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108879 Marek Olšák changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

Re: [PATCH 8/9] drm/vmwgfx: Implement an infrastructure for read-coherent resources

2019-04-22 Thread Deepak Singh Rawat
Minor nits below, otherwise Reviewed-by: Deepak Rawat On Fri, 2019-04-12 at 09:04 -0700, Thomas Hellstrom wrote: > Similar to write-coherent resources, make sure that from the user- > space > point of view, GPU rendered contents is automatically available for > reading by the CPU. > > Signed-of

Query on EVoC

2019-04-22 Thread Habeeb Shopeju
Good day all, I'm Habeeb. Since applications for GSoC have closed, I'd like to know if I can still apply for projects through EVoC and what the deadline for doing this is. ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedeskto

[PATCH v3 1/3] dt-bindings: display: Add GiantPlus GPM940B0 panel documentation

2019-04-22 Thread Paul Cercueil
The GPM940B0 is a 3.0" 320x240 24-bit TFT LCD panel. Signed-off-by: Paul Cercueil Reviewed-by: Rob Herring --- Notes: v2: New patch v3: Add Rob's ack .../bindings/display/panel/giantplus,gpm940b0.txt| 12 1 file changed, 12 insertions(+) create mode 100644 Docu

Re: [PATCH v3 2/3] dt-bindings: Add header for the ingenic-drm driver bindings

2019-04-22 Thread Paul Cercueil
Hi, Le sam. 20 avril 2019 à 14:23, Ezequiel Garcia a écrit : On Wed, 17 Apr 2019 at 10:48, Rob Herring wrote: On Sun, Apr 14, 2019 at 3:08 PM Paul Cercueil wrote: > > Add macros that can be used with the ingenic,lcd-mode property in the > devicetree node that corresponds to the ing

[PATCH v3 2/3] media: uapi: Add RGB bus formats for the GiantPlus GPM940B0 panel

2019-04-22 Thread Paul Cercueil
The GiantPlus GPM940B0 is a 24-bit TFT panel where the RGB components are transferred sequentially on a 8-bit bus. Signed-off-by: Paul Cercueil --- Notes: v2: New patch v3: No change include/uapi/linux/media-bus-format.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) di

Re: [PATCH RESEND] drm: panel-orientation-quirks: Add quirk for Lenovo Ideapad D330

2019-04-22 Thread David Santamaría Rogado
Hi Jani, When are the changes in drm-misc-next pushed? I'm testing recent kernels that don't work with some models because the dsi display problem you are aware. Works with 4.15 but not with more recent kernels. The model I have by going to sleep state and awake it gets the display on, I want to

[PATCH] drm/sched: Fix description of drm_sched_stop

2019-04-22 Thread Jonathan Neuschäfer
Since commit 222b5f044159 ("drm/sched: Refactor ring mirror list handling."), drm_sched_hw_job_reset is no longer there, so let's adjust the doc comment accordingly. Signed-off-by: Jonathan Neuschäfer --- drivers/gpu/drm/scheduler/sched_main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions

[PATCH v3 3/3] drm/panel: simple: Add GiantPlus GPM940B0 panel support

2019-04-22 Thread Paul Cercueil
The GiantPlus GPM940B0 is a simple 3.0" 320x240 24-bit TFT panel. Signed-off-by: Paul Cercueil Tested-by: Artur Rojek --- Notes: v2: Change bus format to MEDIA_BUS_FMT_RGB888_3X8_BE v3: No change drivers/gpu/drm/panel/panel-simple.c | 28 1 file chang

[PATCH] staging: ion: solve warning symbol was not declared

2019-04-22 Thread Oscar Gomez Fuente
These changes solve warning symbol was not declared in the functions: ion_carveout_heap_create and ion_chunk_heap_create Signed-off-by: Oscar Gomez Fuente --- drivers/staging/android/ion/ion_carveout_heap.c | 2 +- drivers/staging/android/ion/ion_chunk_heap.c| 2 +- 2 files changed, 2 insert

[PATCH 1/3] drm/dp: Use non-cyclic idr

2019-04-22 Thread sunpeng.li
From: Leo Li In preparation for adding aux devices for DP MST, make the IDR non-cyclic. That way, hotplug cycling MST devices won't needlessly increment the minor version index. Signed-off-by: Leo Li --- drivers/gpu/drm/drm_dp_aux_dev.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)

[PATCH 2/3] drm/dp_mst: Expose build_mst_prop_path()

2019-04-22 Thread sunpeng.li
From: Leo Li To give identifiable attributes to MST DP aux devices, we can use the MST relative address. Expose this function for later use. Signed-off-by: Leo Li --- drivers/gpu/drm/drm_dp_mst_topology.c | 4 ++-- include/drm/drm_dp_mst_helper.h | 4 2 files changed, 6 insertions(+

[PATCH 3/3] drm/dp_mst: Register AUX devices for MST ports

2019-04-22 Thread sunpeng.li
From: Ville Syrjälä All available downstream ports - physical and logical - are exposed for each MST device. They are listed in /dev/, following the same naming scheme as SST devices by appending an incremental ID. Additionally, a 'path' attribute is attached to the device. This is to allow udev

Re: [PATCH 3/3] virtio-gpu api: VIRTIO_GPU_F_RESSOURCE_V2

2019-04-22 Thread Gurchetan Singh
On Wed, Apr 17, 2019 at 2:57 AM Gerd Hoffmann wrote: > > On Fri, Apr 12, 2019 at 04:34:20PM -0700, Chia-I Wu wrote: > > Hi, > > > > I am still new to virgl, and missed the last round of discussion about > > resource_create_v2. > > > > From the discussion below, semantically resource_create_v2 crea

RE: [PATCH] ttm: wait mem space if user allow while gpu busy

2019-04-22 Thread Liang, Prike
Acked-by: Prike Liang Thanks, Prike -Original Message- From: Chunming Zhou Sent: Monday, April 22, 2019 6:39 PM To: dri-devel@lists.freedesktop.org Cc: Liang, Prike ; Zhou, David(ChunMing) Subject: [PATCH] ttm: wait mem space if user allow while gpu busy heavy gpu job could occupy me

drm: make legacy support code optional

2019-04-22 Thread Dave Airlie
This series attempts to make the legacy support core code removalable at build time, if no drivers require it. It reduces code size of the core drm.ko by ~10%. It's also available in https://cgit.freedesktop.org/~airlied/linux/log/?h=drm-legacy-cleanup The first patch has Daniels r-b on it, but

[PATCH 01/12] drm/nouveau: add kconfig option to turn off nouveau legacy contexts. (v2)

2019-04-22 Thread Dave Airlie
From: Dave Airlie There was a nouveau DDX that relied on legacy context ioctls to work, but we fixed it years ago, give distros that have a modern DDX the option to break the uAPI and close the mess of holes that legacy context support is. Full context of the story: commit 0e975980d435d58df2d43

[PATCH 02/12] drm/legacy: move drm_legacy_master_rmmaps to non-driver legacy header.

2019-04-22 Thread Dave Airlie
From: Dave Airlie This isn't used by drivers, and won't be in the future. Signed-off-by: Dave Airlie --- drivers/gpu/drm/drm_legacy.h | 3 +++ include/drm/drm_legacy.h | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/drm_legacy.h b/drivers/gpu/drm/drm_

[PATCH 03/12] drm/legacy: move map cleanups into drm_bufs.c

2019-04-22 Thread Dave Airlie
From: Dave Airlie This makes it easier to clean this up later. Signed-off-by: Dave Airlie --- drivers/gpu/drm/drm_bufs.c | 8 drivers/gpu/drm/drm_drv.c| 5 + drivers/gpu/drm/drm_legacy.h | 1 + 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/d

[PATCH 07/12] drm/legacy: move init/destroy of struct members into inlines

2019-04-22 Thread Dave Airlie
From: Dave Airlie This will allow easier removal later. Signed-off-by: Dave Airlie --- drivers/gpu/drm/drm_drv.c| 10 +++--- drivers/gpu/drm/drm_legacy.h | 14 ++ 2 files changed, 17 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/drm_drv.c b/drivers/gpu/drm/drm

[PATCH 08/12] drm/legacy: move legacy dev reinit into an inline

2019-04-22 Thread Dave Airlie
From: Dave Airlie This moves the legacy dev reinit into a legacy inline, also removes some unneeded inlines now. Signed-off-by: Dave Airlie --- drivers/gpu/drm/drm_file.c | 24 drivers/gpu/drm/drm_legacy.h | 24 2 files changed, 24 insertions

[PATCH 04/12] drm/radeon: drop unused ati pcigart include.

2019-04-22 Thread Dave Airlie
From: Dave Airlie Signed-off-by: Dave Airlie --- drivers/gpu/drm/radeon/radeon_drv.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/radeon/radeon_drv.h b/drivers/gpu/drm/radeon/radeon_drv.h index afef2d9fccd8..173deb463414 100644 --- a/drivers/gpu/drm/radeon/radeon_drv.h ++

[PATCH 09/12] drm/legacy: don't include any of ati_pcigart in legacy.

2019-04-22 Thread Dave Airlie
From: Dave Airlie This could probably be done with Kconfig somehow, but I failed in my first 2 minute attempt. Signed-off-by: Dave Airlie --- drivers/gpu/drm/ati_pcigart.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/ati_pcigart.c b/drivers/gpu/drm/ati_pcigart.c index

[PATCH 10/12] drm: allow removal of legacy codepaths (v4)

2019-04-22 Thread Dave Airlie
From: Dave Airlie If you don't want the legacy drivers, then lets get rid of all the legacy codepaths from the core module. This drop the size of drm.ko for me by about 10%. 38051574224192 392129 5fbc1 ../../drm-next-build/drivers/gpu/drm/drm.ko 35173672984192 363226 58a

[PATCH 12/12] drm/legacy: remove some legacy lock struct members

2019-04-22 Thread Dave Airlie
From: Dave Airlie This removes these unless legacy is enabled. The lock count init is unneeded anyways since it's kzalloc. Signed-off-by: Dave Airlie --- drivers/gpu/drm/drm_auth.c | 4 ++-- drivers/gpu/drm/drm_file.c | 1 - drivers/gpu/drm/drm_legacy.h | 10 ++ include/drm/drm_

[PATCH 11/12] drm/legacy: place all drm legacy members under DRM_LEGACY.

2019-04-22 Thread Dave Airlie
From: Dave Airlie This places a bunch of the legacy members of drm_device into only being there when legacy is enabled. Signed-off-by: Dave Airlie --- drivers/gpu/drm/drm_legacy.h | 20 include/drm/drm_device.h | 3 ++- 2 files changed, 22 insertions(+), 1 deletion(-)

[PATCH 06/12] drm/legacy: move map_hash create/destroy into inlines

2019-04-22 Thread Dave Airlie
From: Dave Airlie This allows them to be removed later. Signed-off-by: Dave Airlie --- drivers/gpu/drm/drm_drv.c| 7 +++ drivers/gpu/drm/drm_legacy.h | 10 ++ 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/drm_drv.c b/drivers/gpu/drm/drm_drv.c

[PATCH 05/12] drm/legacy: move lock cleanup for master into lock file

2019-04-22 Thread Dave Airlie
From: Dave Airlie This makes it easier to remove legacy code later. Signed-off-by: Dave Airlie --- drivers/gpu/drm/drm_auth.c | 14 +- drivers/gpu/drm/drm_legacy.h | 1 + drivers/gpu/drm/drm_lock.c | 16 3 files changed, 18 insertions(+), 13 deletions(-) diff

Re: [PATCH v5 1/6] drm/amd/display: wait for fence without holding reservation lock

2019-04-22 Thread Dieter Nützel
Hello Andrey, this series can't apply (brake on #3) on top of amd-staging-drm-next. v2 works (Thu, 11 Apr 2019). Dieter Am 18.04.2019 17:00, schrieb Andrey Grodzovsky: From: Christian König Don't block others while waiting for the fences to finish, concurrent submission is perfectly valid in

[Bug 110457] System resumes failed and hits [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx timeout on Acer Aspire A315-21G

2019-04-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110457 jian-h...@endlessm.com changed: What|Removed |Added Summary|System resumes failed and |System resumes failed and

[Bug 110258] Lenovo V110-15AST AMD A9-9410 AMD R5 Stoney hangs after waking after suspend. 5.0-5.1rc2

2019-04-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110258 --- Comment #7 from jian-h...@endlessm.com --- We have Aspire A315-21G and TravelMate B114-21 laptops and get the related problem, too. https://bugzilla.freedesktop.org/show_bug.cgi?id=110457 -- You are receiving this mail because: You are the

Re: [PATCH 9/9] drm/vmwgfx: Add surface dirty-tracking callbacks

2019-04-22 Thread Deepak Singh Rawat
Minor nits below Reviewed-by: Deepak Rawat On Fri, 2019-04-12 at 16:04 +, Thomas Hellstrom wrote: > Add the callbacks necessary to implement emulated coherent memory for > surfaces. Add a flag to the gb_surface_create ioctl to indicate that > surface memory should be coherent. > Also bump th

[Bug 108317] [GCN3] Black Textures only on GCN3 in Cemu Zelda Breath of the Wild (OpenGL 4.5)

2019-04-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108317 --- Comment #21 from John --- Maybe until a fix is found, could we add a driconfig workaround that disables hyperz automatically for cemu.exe? -- You are receiving this mail because: You are the assignee for the bug.___

[drm:drm-legacy-cleanup 13/24] drivers/gpu/drm/drm_vm.c:483:10: error: implicit declaration of function 'pte_wrprotect'

2019-04-22 Thread kbuild test robot
tree: git://people.freedesktop.org/~airlied/linux.git drm-legacy-cleanup head: 7b7678e3949f22d2442179f27d219b4b09ef1730 commit: 739d8489bcb277a1a27e56d0ef529f41c46425b4 [13/24] drm/nouveau: add kconfig option to turn off nouveau legacy contexts. (v2) config: c6x-allyesconfig (attached as .conf

Re: [v3 0/7] Add Multi Segment Gamma Support

2019-04-22 Thread Daniel Vetter
On Thu, Apr 18, 2019 at 04:11:58PM +0300, Ville Syrjälä wrote: > On Thu, Apr 18, 2019 at 09:13:04AM +0200, Daniel Vetter wrote: > > On Wed, Apr 17, 2019 at 02:57:31PM +0300, Ville Syrjälä wrote: > > > On Wed, Apr 17, 2019 at 09:28:19AM +0200, Daniel Vetter wrote: > > > > On Fri, Apr 12, 2019 at 03: