[PATCH v3 5/8] ARM: DTS: omap36xx: add sgx gpu child node

2019-11-25 Thread H. Nikolaus Schaller
and add interrupt. Tested-by: H. Nikolaus Schaller # GTA04, BeagleBoard XM Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/omap36xx.dtsi | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/arch/arm/boot/dts/omap36xx.dtsi b/arch/arm/boot/dts/omap36xx.dtsi in

[PATCH] drm/i915: Remove tautological compare in eb_relocate_vma

2019-11-25 Thread Nathan Chancellor
-Wtautological-compare was recently added to -Wall in LLVM, which exposed an if statement in i915 that is always false: ../drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c:1485:22: warning: result of comparison of constant 576460752303423487 with expression of type 'unsigned int' is always false [-W

Re: [RFC 06/13] drm/i915/svm: Page table mirroring support

2019-11-25 Thread Jason Gunthorpe
On Fri, Nov 22, 2019 at 12:01:17PM -0800, Niranjan Vishwanathapura wrote: > On Fri, Nov 22, 2019 at 11:54:45AM -0800, Niranjana Vishwanathapura wrote: > > Use HMM page table mirroring support to build device page table. > > Implement the bind ioctl and bind the process address range in the > > spec

[PATCH] drm/amd/display: Use NULL for pointer assignment in copy_stream_update_to_stream

2019-11-25 Thread Nathan Chancellor
Clang warns: ../drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:1965:26: warning: expression which evaluates to zero treated as a null pointer constant of type 'struct dc_dsc_config *' [-Wnon-literal-null-conversion] update->dsc_config = false;

[PATCH] drm/amdgpu: Ensure ret is always initialized when using SOC15_WAIT_ON_RREG

2019-11-25 Thread Nathan Chancellor
Commit b0f3cd3191cd ("drm/amdgpu: remove unnecessary JPEG2.0 code from VCN2.0") introduced a new clang warning in the vcn_v2_0_stop function: ../drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c:1082:2: warning: variable 'r' is used uninitialized whenever 'while' loop exits because its condition is false [-Ws

Re: [PATCH v7 07/24] IB/umem: use get_user_pages_fast() to pin DMA pages

2019-11-25 Thread Jason Gunthorpe
On Sun, Nov 24, 2019 at 04:05:16PM -0800, John Hubbard wrote: > I looked into this, and I believe that the problem is in gup.c. There appears > to > have been an oversight, in commit 817be129e6f2 ("mm: validate > get_user_pages_fast > flags"), in filtering out FOLL_FORCE. There is nothing in th

Re: [PATCH v3 8/8] MIPS: DTS: jz4780: add sgx gpu node

2019-11-25 Thread Paul Cercueil
Hi Nikolaus, Le dim., nov. 24, 2019 at 12:40, H. Nikolaus Schaller a écrit : and add interrupt and clocks. Tested to build for CI20 board and load a (non-working) driver. Suggested-by: Paul Boddie Signed-off-by: H. Nikolaus Schaller --- arch/mips/boot/dts/ingenic/jz4780.dtsi | 11 +++

Re: [RFC 06/13] drm/i915/svm: Page table mirroring support

2019-11-25 Thread Jason Gunthorpe
On Fri, Nov 22, 2019 at 12:57:27PM -0800, Niranjana Vishwanathapura wrote: > +static inline bool > +i915_range_done(struct hmm_range *range) > +{ > + bool ret = hmm_range_valid(range); > + > + hmm_range_unregister(range); > + return ret; > +} This needs to be updated to follow the new

[PATCH v3 8/8] MIPS: DTS: jz4780: add sgx gpu node

2019-11-25 Thread H. Nikolaus Schaller
and add interrupt and clocks. Tested to build for CI20 board and load a (non-working) driver. Suggested-by: Paul Boddie Signed-off-by: H. Nikolaus Schaller --- arch/mips/boot/dts/ingenic/jz4780.dtsi | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/mips/boot/dts/ingenic/jz4

Re: [PATCH v3 8/8] MIPS: DTS: jz4780: add sgx gpu node

2019-11-25 Thread H. Nikolaus Schaller
Hi Paul, Tony, > Am 24.11.2019 um 18:48 schrieb Tony Lindgren : > > * Paul Cercueil [191124 12:58]: >> Le dim., nov. 24, 2019 at 12:40, H. Nikolaus Schaller a >> écrit : >>> and add interrupt and clocks. > ... >>> --- a/arch/mips/boot/dts/ingenic/jz4780.dtsi >>> +++ b/arch/mips/boot/dts/ingenic

Re: [PATCH] drm/imx: fix memory leak in imx_pd_bind

2019-11-25 Thread Navid Emamdoost
Thanks for the update. On Fri, Nov 22, 2019 at 1:22 AM Marco Felsch wrote: > > Hi Navid, > > On 19-11-21 12:31, Navid Emamdoost wrote: > > On Fri, Oct 4, 2019 at 2:09 PM Navid Emamdoost > > wrote: > > > > > > In imx_pd_bind, the duplicated memory for imxpd->edid via kmemdup should > > > be relea

Re: [RFC 06/13] drm/i915/svm: Page table mirroring support

2019-11-25 Thread Jason Gunthorpe
On Fri, Nov 22, 2019 at 08:44:18PM -0800, Niranjan Vishwanathapura wrote: > On Fri, Nov 22, 2019 at 11:33:12PM +, Jason Gunthorpe wrote: > > On Fri, Nov 22, 2019 at 12:57:27PM -0800, Niranjana Vishwanathapura wrote: > > > > > +static inline bool > > > +i915_range_done(struct hmm_range *range)

[PATCH v3 3/8] ARM: DTS: am3517: add sgx gpu child node

2019-11-25 Thread H. Nikolaus Schaller
and add interrupt. Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/am3517.dtsi | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/arch/arm/boot/dts/am3517.dtsi b/arch/arm/boot/dts/am3517.dtsi index bf3002009b00..48d5a250fd40 100644 --- a/arch/arm/boot/dts/a

[PATCH v3 2/8] ARM: DTS: am33xx: add sgx gpu child node

2019-11-25 Thread H. Nikolaus Schaller
and add timer and interrupt Tested-by: H. Nikolaus Schaller # BeagleBone Black Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/am33xx.dtsi | 38 +++ 1 file changed, 34 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/

[PATCH v3 6/8] ARM: DTS: omap4: add sgx gpu child node

2019-11-25 Thread H. Nikolaus Schaller
and add interrupt. Since omap4420/30/60 and omap4470 come with different SGX variants we need to introduce a new omap4470.dtsi. If an omap4470 board does not want to use SGX it is no problem to still include omap4460.dtsi. Tested-by: H. Nikolaus Schaller # PandaBoard ES Signed-off-by: H. Nikolau

[PATCH v3 4/8] ARM: DTS: omap3: add sgx gpu child node

2019-11-25 Thread H. Nikolaus Schaller
and add interrupt Tested-by: H. Nikolaus Schaller # OpenPandora 600 MHz. Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/omap34xx.dtsi | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/arch/arm/boot/dts/omap34xx.dtsi b/arch/arm/boot/dts/omap34xx.dtsi inde

[PATCH] drm/edid: Add modes from CTA-861-G

2019-11-25 Thread Thomas Anderson
The new modes are needed for exotic displays such as 8K. Verified that modes like 8K60 and 4K120 are properly obtained from a Samsung Q900R. Signed-off-by: Thomas Anderson --- drivers/gpu/drm/drm_edid.c | 388 +++- include/drm/drm_connector.h | 16 +- 2 files ch

[PATCH] drm/amd/display: Reduce HDMI pixel encoding if max clock is exceeded

2019-11-25 Thread Thomas Anderson
For high-res (8K) or HFR (4K120) displays, using uncompressed pixel formats like YCbCr444 would exceed the bandwidth of HDMI 2.0, so the "interesting" modes would be disabled, leaving only low-res or low framerate modes. This change lowers the pixel encoding to 4:2:2 or 4:2:0 if the max TMDS clock

Re: [PATCH v11 4/7] drm/sun4i: dsi: Handle bus clock explicitly

2019-11-25 Thread Maxime Ripard
Hi, On Thu, Nov 21, 2019 at 05:24:47PM +0530, Jagan Teki wrote: > On Sun, Nov 3, 2019 at 11:02 PM Maxime Ripard wrote: > > > > On Fri, Nov 01, 2019 at 07:42:55PM +0530, Jagan Teki wrote: > > > Hi Maxime, > > > > > > On Tue, Oct 29, 2019 at 2:24 PM Maxime Ripard wrote: > > > > > > > > On Tue, Oct

Re: [PATCH v3 02/14] mm/mmu_notifier: add an interval tree notifier

2019-11-25 Thread Jason Gunthorpe
On Fri, Nov 22, 2019 at 04:54:08PM -0800, Ralph Campbell wrote: > Actually, I think you can remove the "need_wake" variable since it is > unconditionally set to "true". Oh, yes, thank you. An earlier revision had a different control flow > Also, the comment in__mmu_interval_notifier_insert() sa

RE: [PATCH libdrm v4] modetest: Add support for setting mode having floating vertical refresh rate

2019-11-25 Thread Devarsh Thakkar
Ping. Just wanted to confirm if the patch is applied or anything still pending from my side ? Also I tried to subscribe as per instructions at https://lists.freedesktop.org/mailman/listinfo/dri-devel Sometime back, but still not able to receive messages from mailing list. Is there any other wa

[PATCH v3 0/8] ARM/MIPS: DTS: add child nodes describing the PVRSGX GPU present in some OMAP SoC and JZ4780 (and many more)

2019-11-25 Thread H. Nikolaus Schaller
* reworked YAML format with help by Rob Herring * removed .txt binding document * change compatible "ti,am335x-sgx" to "ti,am3352-sgx" - suggested by Tony Lindgren PATCH V2 2019-11-07 12:06:17: * tried to convert bindings to YAML format - suggested by Rob Herring * added JZ4780 DTS node (proven t

[PATCH] dma-buf: Fix memory leak in sync_file_merge()

2019-11-25 Thread Navid Emamdoost
In the implementation of sync_file_merge() the allocated sync_file is leaked if number of fences overflows. Release sync_file by goto err. Fixes: a02b9dc90d84 ("dma-buf/sync_file: refactor fence storage in struct sync_file") Signed-off-by: Navid Emamdoost --- drivers/dma-buf/sync_file.c | 2 +-

[PATCH v3 7/8] ARM: DTS: omap5: add sgx gpu child node

2019-11-25 Thread H. Nikolaus Schaller
and add interrupt. Tested-by: H. Nikolaus Schaller # Pyra-Handheld. Signed-off-by: H. Nikolaus Schaller --- arch/arm/boot/dts/omap5.dtsi | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/omap5.dtsi b/arch/arm/boot/dts/omap5.dtsi index 1fb7937638f0..3

Re: [PATCH v3 8/8] MIPS: DTS: jz4780: add sgx gpu node

2019-11-25 Thread Tony Lindgren
* Paul Cercueil [191124 12:58]: > Le dim., nov. 24, 2019 at 12:40, H. Nikolaus Schaller a > écrit : > > and add interrupt and clocks. ... > > --- a/arch/mips/boot/dts/ingenic/jz4780.dtsi > > +++ b/arch/mips/boot/dts/ingenic/jz4780.dtsi > > @@ -46,6 +46,17 @@ > > #clock-cells = <1>; >

nouveau on NV04 calling illegal method 02fc under fbcon

2019-11-25 Thread Bruno Prémont
Hi, Trying a new kernel on old [NV04] system I get tons of nouveau :01:00.0: gr: intr 0001 [NOTIFY] nsource 0040 [ILLEGAL_MTHD] nstatus 4000 [PROTECTION_FAULT] ch 0 [DRM] subc 3 class 004a mthd 02fc data 0003 errors when operating on console. As I updated from 4.3 k

Re: [PATCH v2 1/8] RFC: dt-bindings: add img, pvrsgx.yaml for Imagination GPUs

2019-11-25 Thread H . Nikolaus Schaller
Hi Rob, > Am 07.11.2019 um 15:35 schrieb Rob Herring : > > On Thu, Nov 7, 2019 at 5:06 AM H. Nikolaus Schaller > wrote: >> I have used the doc2yaml script to get a first version >> but I am still stuggling with the yaml thing. My impression >> is that while it is human readable, it is not very

[PATCH v3 1/8] dt-bindings: add img,pvrsgx.yaml for Imagination GPUs

2019-11-25 Thread H. Nikolaus Schaller
The Imagination PVR/SGX GPU is part of several SoC from multiple vendors, e.g. TI OMAP, Ingenic JZ4780, Intel Poulsbo and others. With this binding, we describe how the SGX processor is interfaced to the SoC (registers, interrupt etc.). In most cases, Clock, Reset and power management is handled

Re: nouveau on NV04 calling illegal method 02fc under fbcon

2019-11-25 Thread Daniel Vetter
On Mon, Nov 25, 2019 at 9:08 AM Bruno Prémont wrote: > > Hi, > > Trying a new kernel on old [NV04] system I get tons of > nouveau :01:00.0: gr: intr 0001 [NOTIFY] nsource 0040 > [ILLEGAL_MTHD] nstatus 4000 [PROTECTION_FAULT] ch 0 > [DRM] subc 3 class 004a mthd 02fc data 0

Re: [PATCH 07/19] mm/gup: introduce pin_user_pages*() and FOLL_PIN

2019-11-25 Thread kbuild test robot
pecify the base tree in git format-patch, please see https://stackoverflow.com/a/37406982] url: https://github.com/0day-ci/linux/commits/John-Hubbard/pin_user_pages-reduced-risk-series-for-Linux-5-5/20191125-125637 base: https://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git for-next c

Re: [PATCHv3/RFC 1/4] drm/arm: Factor out generic afbc helpers

2019-11-25 Thread Daniel Vetter
On Thu, Nov 21, 2019 at 06:22:44PM +0100, Andrzej Pietrasiewicz wrote: > These are useful for other users of afbc, e.g. rockchip. > > Signed-off-by: Andrzej Pietrasiewicz > --- > drivers/gpu/drm/Makefile | 2 +- > drivers/gpu/drm/drm_afbc.c| 84 +++ >

Re: [PATCH 17/19] powerpc: book3s64: convert to pin_user_pages() and put_user_page()

2019-11-25 Thread Jan Kara
On Sun 24-11-19 20:20:09, John Hubbard wrote: > 1. Convert from get_user_pages() to pin_user_pages(). > > 2. As required by pin_user_pages(), release these pages via > put_user_page(). In this case, do so via put_user_pages_dirty_lock(). > > That has the side effect of calling set_page_dirty_lock

Re: [Intel-gfx] [PATCH 3/7] drm: Extract page_flip_{internal, atomic}()

2019-11-25 Thread Daniel Vetter
On Fri, Nov 22, 2019 at 08:35:13PM +0200, Ville Syrjälä wrote: > On Tue, Nov 19, 2019 at 11:14:43AM +0100, Daniel Vetter wrote: > > On Fri, Nov 15, 2019 at 09:42:00PM +0200, Ville Syrjala wrote: > > > From: Ville Syrjälä > > > > > > Yank out the code for the plane->fb/old_fb/crtc handling from >

Re: [PATCH] drm/vc4: Fix Kconfig indentation

2019-11-25 Thread Daniel Vetter
On Thu, Nov 21, 2019 at 09:29:19PM +0800, Krzysztof Kozlowski wrote: > Adjust indentation from spaces to tab (+optional two spaces) as in > coding style with command like: > $ sed -e 's/^/\t/' -i */Kconfig > > Signed-off-by: Krzysztof Kozlowski Queued in drm-misc-next for 5.6, than

Re: [PATCH] drm/sun4i: Fix Kconfig indentation

2019-11-25 Thread Daniel Vetter
On Thu, Nov 21, 2019 at 09:29:24PM +0800, Krzysztof Kozlowski wrote: > Adjust indentation from spaces to tab (+optional two spaces) as in > coding style with command like: > $ sed -e 's/^/\t/' -i */Kconfig > > Signed-off-by: Krzysztof Kozlowski Queued in drm-misc-next for 5.6, thank

Re: [PATCH 1/4] drm/hisilicon/hibmc: Switch to generic fbdev emulation

2019-11-25 Thread Daniel Vetter
On Fri, Nov 22, 2019 at 09:30:41AM +0100, Thomas Zimmermann wrote: > There's nothing special about hibmc's fbdev emulation that is not > provided by the generic implementation. Switch over and remove the > driver's code. > > Signed-off-by: Thomas Zimmermann > --- > drivers/gpu/drm/hisilicon/hibm

Re: [PATCH 2/4] drm/hisilicon/hibmc: Replace struct hibmc_framebuffer with generic code

2019-11-25 Thread Daniel Vetter
On Fri, Nov 22, 2019 at 09:30:42AM +0100, Thomas Zimmermann wrote: > The hibmc driver's struct hibmc_framebuffer stores a DRM framebuffer > with an associated GEM object. This functionality is also provided by > generic code. Switch hibmc over. > > Signed-off-by: Thomas Zimmermann Aside from the

Re: [PATCH 3/4] drm/hisilicon/hibmc: Implement hibmc_dumb_create() with generic helpers

2019-11-25 Thread Daniel Vetter
On Fri, Nov 22, 2019 at 09:30:43AM +0100, Thomas Zimmermann wrote: > The hibmc driver aligns scanlines to 16 bytes. Adding the pitch alignment > as an argument to drm_gem_vram_fill_create_dumb() allows to use the generic > implementation with hibmc. A value of 0 disables scanline pitches. > > Sign

Re: [PATCH 4/4] drm/hisilicon/hibmc: Export VRAM MM information to debugfs

2019-11-25 Thread Daniel Vetter
On Fri, Nov 22, 2019 at 09:30:44AM +0100, Thomas Zimmermann wrote: > This change makes information about VRAM consumption available on > debugfs. See > > /sys/kernel/debug/dri/0/vram-mm > > for an overview of how VRAM is being used. > > Signed-off-by: Thomas Zimmermann Reviewed-by: Daniel Ve

Re: [PATCH 0/6] drm/gma500: Cleanup framebuffer and fbdev

2019-11-25 Thread Daniel Vetter
On Fri, Nov 22, 2019 at 11:05:39AM +0100, Thomas Zimmermann wrote: > These patches remove struct psb_framebuffer and struct psb_fbdev > from gma500. Both are replaced by their equivalents from the DRM > helpers. > > The patchset has been tested by running the fbdev console, X11 and > Weston on an

Re: [PATCH] dma-buf: Fix memory leak in sync_file_merge()

2019-11-25 Thread Daniel Vetter
On Fri, Nov 22, 2019 at 04:09:55PM -0600, Navid Emamdoost wrote: > In the implementation of sync_file_merge() the allocated sync_file is > leaked if number of fences overflows. Release sync_file by goto err. > > Fixes: a02b9dc90d84 ("dma-buf/sync_file: refactor fence storage in struct > sync_file

Re: [PATCH v3] drm/bridge/synopsys: dsi: driver-specific configuration of phy timings

2019-11-25 Thread Neil Armstrong
Hi, On 23/11/2019 21:51, Heiko Stuebner wrote: > Hi Neil, > > Am Samstag, 23. November 2019, 13:38:41 CET schrieb Neil Armstrong: >> Le 23/11/2019 à 11:39, Heiko Stuebner a écrit : >>> From: Heiko Stuebner >>> >>> The timing values for dw-dsi are often dependent on the used display and >>> accor

[PATCH v3 RESEND] drm/bridge/synopsys: dsi: driver-specific configuration of phy timings

2019-11-25 Thread Heiko Stuebner
From: Heiko Stuebner The timing values for dw-dsi are often dependent on the used display and according to Philippe Cornu will most likely also depend on the used phy technology in the soc-specific implementation. To solve this and allow specific implementations to define them as needed add a ne

Re: [PATCH v3] drm/bridge/synopsys: dsi: driver-specific configuration of phy timings

2019-11-25 Thread Heiko Stübner
Am Montag, 25. November 2019, 10:28:12 CET schrieb Neil Armstrong: > Hi, > > On 23/11/2019 21:51, Heiko Stuebner wrote: > > Hi Neil, > > > > Am Samstag, 23. November 2019, 13:38:41 CET schrieb Neil Armstrong: > >> Le 23/11/2019 à 11:39, Heiko Stuebner a écrit : > >>> From: Heiko Stuebner > >>> >

Re: [PATCH 0/6] drm/gma500: Cleanup framebuffer and fbdev

2019-11-25 Thread Patrik Jakobsson
On Fri, Nov 22, 2019 at 11:05 AM Thomas Zimmermann wrote: > > These patches remove struct psb_framebuffer and struct psb_fbdev > from gma500. Both are replaced by their equivalents from the DRM > helpers. > > The patchset has been tested by running the fbdev console, X11 and > Weston on an Atom Z5

[Bug 201957] amdgpu: ring gfx timeout

2019-11-25 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=201957 --- Comment #18 from Matthias Heinz (m...@familie-heinz.name) --- Hi, I recently built a 5.4.0-rc7 from drm-next (my HEAD was 17eee668b3cad423a47c090fe2275733c55db910) and also updated Mesa to 19.3.0-RC1. Since then I didn't get any crashes. I h

[PATCH 0/4] consistently use dma_resv locking wrappers

2019-11-25 Thread Daniel Vetter
Hi all, This is prep work for some dma_resv series I'm tinkering with, but I figured good to split this out since good idea to land this no matter what exactly I'll end up creating in dma_resv. With these everything in drivers/gpu nicely goes through either the dma_resv or drm_modeset_lock wrapper

[PATCH 2/4] drm/i915: Use dma_resv locking wrappers

2019-11-25 Thread Daniel Vetter
I'll add more fancy logic to them soon, so everyone really has to use them. Plus they already provide some nice additional debug infrastructure on top of direct ww_mutex usage for the fences tracked by dma_resv. Aside: We might want to create wrappers for i915_vma locking of the ->resv like we hav

[PATCH 1/4] drm/etnaviv: Use dma_resv locking wrappers

2019-11-25 Thread Daniel Vetter
I'll add more fancy logic to them soon, so everyone really has to use them. Plus they already provide some nice additional debug infrastructure on top of direct ww_mutex usage for the fences tracked by dma_resv. Signed-off-by: Daniel Vetter Cc: Lucas Stach Cc: Russell King Cc: Christian Gmeiner

[PATCH 3/4] drm/msm: Use dma_resv locking wrappers

2019-11-25 Thread Daniel Vetter
I'll add more fancy logic to them soon, so everyone really has to use them. Plus they already provide some nice additional debug infrastructure on top of direct ww_mutex usage for the fences tracked by dma_resv. Signed-off-by: Daniel Vetter Cc: Rob Clark Cc: Sean Paul Cc: linux-arm-...@vger.ker

[PATCH 4/4] drm/vc4: Use dma_resv locking wrappers

2019-11-25 Thread Daniel Vetter
I'll add more fancy logic to them soon, so everyone really has to use them. Plus they already provide some nice additional debug infrastructure on top of direct ww_mutex usage for the fences tracked by dma_resv. Signed-off-by: Daniel Vetter --- drivers/gpu/drm/vc4/vc4_gem.c | 11 +-- 1 f

[Bug 108514] heavy screen flickering with Mobility Radeon X1600 and kernel version 3.15rc2 onward

2019-11-25 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108514 Michel Dänzer changed: What|Removed |Added URL|https://statuslife.in/ | -- You are receiving this mail becaus

Re: [PATCH] drm/tegra: vic: Export module device table

2019-11-25 Thread Daniel Vetter
On Fri, Nov 22, 2019 at 02:32:15PM +0100, Thierry Reding wrote: > From: Thierry Reding > > Export the module device table to ensure the VIC compatible strings are > listed in the module's aliases table. This in turn causes the driver to > be automatically loaded on boot if VIC is the only enabled

Re: [PATCH 01/15] drm/tegra: Map cmdbuf once for reloc processing

2019-11-25 Thread Daniel Vetter
On Mon, Nov 18, 2019 at 11:35:22AM +0100, Daniel Vetter wrote: > A few reasons to drop kmap: > > - For native objects all we do is look at obj->vaddr anyway, so might > as well not call functions for every page. > > - Reloc-processing on dma-buf is ... questionable. > > - Plus most dma-buf tha

Re: [Intel-gfx] [RFC 03/13] drm/i915/svm: Runtime (RT) allocator support

2019-11-25 Thread Chris Wilson
Quoting Niranjana Vishwanathapura (2019-11-22 20:57:24) > Shared Virtual Memory (SVM) runtime allocator support allows > binding a shared virtual address to a buffer object (BO) in the > device page table through an ioctl call. The ioctl though is not svm specific, it is to do with "bulk residency

Re: [PATCH v3 RESEND] drm/bridge/synopsys: dsi: driver-specific configuration of phy timings

2019-11-25 Thread Neil Armstrong
Hi, On 25/11/2019 10:31, Heiko Stuebner wrote: > From: Heiko Stuebner > > The timing values for dw-dsi are often dependent on the used display and > according to Philippe Cornu will most likely also depend on the used phy > technology in the soc-specific implementation. > > To solve this and al

Re: [PATCH v4 10/13] ARM: dts: iwg20d-q7-common: Add LCD support

2019-11-25 Thread Geert Uytterhoeven
On Tue, Nov 19, 2019 at 1:10 AM Laurent Pinchart wrote: > On Wed, Nov 13, 2019 at 03:51:29PM +, Fabrizio Castro wrote: > > The iwg20d comes with a 7" capacitive touch screen, therefore > > add support for it. > > > > Signed-off-by: Fabrizio Castro > > Acked-by: Laurent Pinchart > > I expect

Re: [PATCH v4 11/13] ARM: shmobile_defconfig: Enable support for panels from EDT

2019-11-25 Thread Geert Uytterhoeven
On Tue, Nov 19, 2019 at 1:12 AM Laurent Pinchart wrote: > On Wed, Nov 13, 2019 at 03:51:30PM +, Fabrizio Castro wrote: > > The iwg20d comes with an LCD panel from Emerging Display > > Technologies Corporation (EDT), therefore enable what's > > required to support it. > > > > Signed-off-by: Fab

Re: [PATCH] drm/tegra: vic: Export module device table

2019-11-25 Thread Thierry Reding
On Mon, Nov 25, 2019 at 10:56:29AM +0100, Daniel Vetter wrote: > On Fri, Nov 22, 2019 at 02:32:15PM +0100, Thierry Reding wrote: > > From: Thierry Reding > > > > Export the module device table to ensure the VIC compatible strings are > > listed in the module's aliases table. This in turn causes t

Re: [PATCH 01/15] drm/tegra: Map cmdbuf once for reloc processing

2019-11-25 Thread Thierry Reding
On Mon, Nov 25, 2019 at 10:58:56AM +0100, Daniel Vetter wrote: > On Mon, Nov 18, 2019 at 11:35:22AM +0100, Daniel Vetter wrote: > > A few reasons to drop kmap: > > > > - For native objects all we do is look at obj->vaddr anyway, so might > > as well not call functions for every page. > > > > -

Re: [PATCH v3 RESEND] drm/bridge/synopsys: dsi: driver-specific configuration of phy timings

2019-11-25 Thread Heiko Stübner
Am Montag, 25. November 2019, 11:09:39 CET schrieb Neil Armstrong: > Hi, > > On 25/11/2019 10:31, Heiko Stuebner wrote: > > From: Heiko Stuebner > > > > The timing values for dw-dsi are often dependent on the used display and > > according to Philippe Cornu will most likely also depend on the us

[PATCH v4] drm/bridge/synopsys: dsi: driver-specific configuration of phy timings

2019-11-25 Thread Heiko Stuebner
From: Heiko Stuebner The timing values for dw-dsi are often dependent on the used display and according to Philippe Cornu will most likely also depend on the used phy technology in the soc-specific implementation. To solve this and allow specific implementations to define them as needed add a ne

Re: [PATCH 01/15] drm/tegra: Map cmdbuf once for reloc processing

2019-11-25 Thread Thierry Reding
On Mon, Nov 18, 2019 at 11:35:22AM +0100, Daniel Vetter wrote: > A few reasons to drop kmap: > > - For native objects all we do is look at obj->vaddr anyway, so might > as well not call functions for every page. > > - Reloc-processing on dma-buf is ... questionable. > > - Plus most dma-buf tha

Re: [PATCH 02/15] drm/tegra: Delete host1x_bo_ops->k(un)map

2019-11-25 Thread Thierry Reding
On Mon, Nov 18, 2019 at 11:35:23AM +0100, Daniel Vetter wrote: > It doesn't have any callers anymore. > > Aside: The ->mmap/munmap hooks have a bit a confusing name, they don't > do userspace mmaps, but a kernel vmap. I think most places use vmap > for this, except ttm, which uses kmap for vmap fo

Re: [PATCH 08/15] drm/tegra: Remove dma_buf->k(un)map

2019-11-25 Thread Thierry Reding
On Mon, Nov 18, 2019 at 11:35:29AM +0100, Daniel Vetter wrote: > No in-tree users left. > > Signed-off-by: Daniel Vetter > Cc: Thierry Reding > Cc: Jonathan Hunter > Cc: linux-te...@vger.kernel.org > --- > drivers/gpu/drm/tegra/gem.c | 12 > 1 file changed, 12 deletions(-) Same a

Re: [PATCH v1 08/29] dt-bindings: interconnect: tegra: Add initial IDs

2019-11-25 Thread Thierry Reding
On Thu, Nov 21, 2019 at 08:14:35PM +0300, Dmitry Osipenko wrote: > 19.11.2019 19:56, Dmitry Osipenko пишет: > > 19.11.2019 09:25, Thierry Reding пишет: > >> On Mon, Nov 18, 2019 at 11:02:26PM +0300, Dmitry Osipenko wrote: > >>> Define interconnect IDs for memory controller (MC), external memory > >

[Bug 110795] Unable to install on latest Ubuntu (19.04)

2019-11-25 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110795 --- Comment #40 from phoenixsamp...@gmail.com --- CRITICAL ERROR: Loading new amdgpu-19.30-934563 DKMS files... Building for 5.3.0-20-generic Building for architecture x86_64 Building initial module for 5.3.0-20-generic ERROR (dkms apport): kern

Re: [PATCH v2] video: hyperv: hyperv_fb: Use physical memory for fb on HyperV Gen 1 VMs.

2019-11-25 Thread kbuild test robot
ced config: i386-randconfig-b003-20191125 (attached as .config) compiler: gcc-7 (Debian 7.4.0-14) 7.4.0 reproduce: # save the attached .config to linux build tree make ARCH=i386 If you fix the issue, kindly add following tag Reported-by: kbuild test robot All errors (new ones p

[PATCH 2/4] ARM: dts: am437x-epos-evm: add HDMI support

2019-11-25 Thread Tomi Valkeinen
From: Jyri Sarha Add HDMI support for AM43x EPOS EVM. The HDMI uses SiI9022 HDMI encoder for audio and display, and it is mutually exclusive with the LCD and analogue audio. The choice between LCD + analogue audio and HDMI + HDMI-audio is made by booting either with am43x-epos-evm.dtb or am43x-ep

[PATCH 1/4] ARM: dts: am437x-gp-evm: add HDMI support

2019-11-25 Thread Tomi Valkeinen
Add HDMI support for AM437x GP EVM. The HDMI uses SiI9022 HDMI encoder, and is mutually exclusive with the LCD. The choice between LCD and HDMI is made by booting either with am437x-gp-evm.dtb or am437x-gp-evm-hdmi.dtb. Signed-off-by: Tomi Valkeinen --- arch/arm/boot/dts/Makefile |

[PATCH 3/4] ARM: dts: dra76-evm: add HDMI output

2019-11-25 Thread Tomi Valkeinen
Add DRA76 EVM HDMI output for the base board. Signed-off-by: Tomi Valkeinen --- arch/arm/boot/dts/dra76-evm.dts | 66 + 1 file changed, 66 insertions(+) diff --git a/arch/arm/boot/dts/dra76-evm.dts b/arch/arm/boot/dts/dra76-evm.dts index 1fb6f13fb5e2..86a3e79909a

[PATCH 4/4] ARM: dts: am57xx-idk-common: add HDMI to the common dtsi

2019-11-25 Thread Tomi Valkeinen
AM571x/AM572x/AM574x IDK base boards have HDMI output. Add DT nodes to am57xx-idk-common.dtsi to enable HDMI. Signed-off-by: Tomi Valkeinen --- arch/arm/boot/dts/am57xx-idk-common.dtsi | 59 1 file changed, 59 insertions(+) diff --git a/arch/arm/boot/dts/am57xx-idk-comm

Re: [PATCH] drm/amd: Fix Kconfig indentation

2019-11-25 Thread Alex Deucher
Applied. Thanks! Alex On Thu, Nov 21, 2019 at 11:13 AM Deucher, Alexander wrote: > > Reviewed-by: Alex Deucher > > From: Krzysztof Kozlowski > Sent: Thursday, November 21, 2019 8:29 AM > To: linux-ker...@vger.kernel.org > Cc: Krzysztof Kozlowski ; Deucher, Al

[PATCH v3 2/2] drm/scheduler: Avoid accessing freed bad job.

2019-11-25 Thread Andrey Grodzovsky
Problem: Due to a race between drm_sched_cleanup_jobs in sched thread and drm_sched_job_timedout in timeout work there is a possiblity that bad job was already freed while still being accessed from the timeout thread. Fix: Instead of just peeking at the bad job in the mirror list remove it from th

[PATCH v3 1/2] drm/sched: Avoid job cleanup if sched thread is parked.

2019-11-25 Thread Andrey Grodzovsky
When the sched thread is parked we assume ring_mirror_list is not accessed from here. Signed-off-by: Andrey Grodzovsky Reviewed-by: Christian König --- drivers/gpu/drm/scheduler/sched_main.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/scheduler

Re: [PATCH] drm/amd/display: Use NULL for pointer assignment in copy_stream_update_to_stream

2019-11-25 Thread Harry Wentland
On 2019-11-23 2:36 p.m., Nathan Chancellor wrote: > Clang warns: > > ../drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:1965:26: warning: > expression which evaluates to zero treated as a null pointer constant of > type 'struct dc_dsc_config *' [-Wnon-literal-null-conversion] >

Re: [PATCH libdrm v4] modetest: Add support for setting mode having floating vertical refresh rate

2019-11-25 Thread Ville Syrjälä
On Mon, Nov 25, 2019 at 07:34:37AM +, Devarsh Thakkar wrote: > Ping. Just wanted to confirm if the patch is applied or anything still > pending from my side ? Seems to work -> pushed. One thing I noticed is that we still print the modes with an integer vrefresh so it's a bit hard to know wha

Re: [PATCH] drm/amd/powerplay: remove redundant assignment to variables HiSidd and LoSidd

2019-11-25 Thread Alex Deucher
On Fri, Nov 22, 2019 at 6:04 PM Colin King wrote: > > From: Colin Ian King > > The variables HiSidd and LoSidd are being initialized with values that > are never read and are being updated a little later with a new value. > The initialization is redundant and can be removed. > > Addresses-Coverit

Re: [PATCH] drm/amdgpu: Ensure ret is always initialized when using SOC15_WAIT_ON_RREG

2019-11-25 Thread Alex Deucher
On Mon, Nov 25, 2019 at 3:07 AM Nathan Chancellor wrote: > > Commit b0f3cd3191cd ("drm/amdgpu: remove unnecessary JPEG2.0 code from > VCN2.0") introduced a new clang warning in the vcn_v2_0_stop function: > > ../drivers/gpu/drm/amd/amdgpu/vcn_v2_0.c:1082:2: warning: variable 'r' > is used uninitia

Re: [PATCH] drm/radeon: remove redundant assignment to variable ret

2019-11-25 Thread Alex Deucher
On Fri, Nov 22, 2019 at 6:15 PM Colin King wrote: > > From: Colin Ian King > > The variable ret is being initialized with a value that is never > read and it is being updated later with a new value. The > initialization is redundant and can be removed. > > Addresses-Coverity: ("Unused value") > S

Re: [Intel-gfx] [PATCH 3/7] drm: Extract page_flip_{internal, atomic}()

2019-11-25 Thread Ville Syrjälä
On Mon, Nov 25, 2019 at 10:02:38AM +0100, Daniel Vetter wrote: > On Fri, Nov 22, 2019 at 08:35:13PM +0200, Ville Syrjälä wrote: > > On Tue, Nov 19, 2019 at 11:14:43AM +0100, Daniel Vetter wrote: > > > On Fri, Nov 15, 2019 at 09:42:00PM +0200, Ville Syrjala wrote: > > > > From: Ville Syrjälä > > >

Re: [PATCH] Revert "drm/fbdev: Fallback to non tiled mode if all tiles not present"

2019-11-25 Thread Jani Nikula
On Sat, 23 Nov 2019, Uma Shankar wrote: > This reverts commit f25c7a006cd1c07254780e3406e45cee4842b933. > > 2p2c display configuration blows up dmesg when one connector is > disconnected, causing issues in CI. > > Below are the sample errors thrown in logs: > > [IGT] core_getversion: executing > [

Re: [PATCH -next] drm/amd/display: remove set but not used variable 'msg_out'

2019-11-25 Thread Alex Deucher
On Mon, Nov 25, 2019 at 10:00 AM YueHaibing wrote: > > drivers/gpu/drm/amd/amdgpu/../display/modules/hdcp/hdcp_psp.c: In function > mod_hdcp_hdcp2_enable_encryption: > drivers/gpu/drm/amd/amdgpu/../display/modules/hdcp/hdcp_psp.c:633:77: > warning: variable msg_out set but not used [-Wunused-but

Re: [PATCH -next] drm/amd/powerplay: remove set but not used variable 'stretch_amount2'

2019-11-25 Thread Alex Deucher
On Mon, Nov 25, 2019 at 10:00 AM YueHaibing wrote: > > drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/vegam_smumgr.c: > In function vegam_populate_clock_stretcher_data_table: > drivers/gpu/drm/amd/amdgpu/../powerplay/smumgr/vegam_smumgr.c:1489:29: > warning: variable stretch_amount2 set but not

drm/edid: Add modes from CTA-861-G

2019-11-25 Thread Bhawanpreet Lakha
Everything looks good. but one concern I have is that shouldn't the aspect ratio be 16:9 for some of them (See below). Unless I missed something? VIC 109 1280x720=*16:9* VIC 110 1680x720=*7:3* VIC 112 1920x1080=*16:9* VIC 116 3840x2160=*16:9* VIC

Re: [RFC 06/13] drm/i915/svm: Page table mirroring support

2019-11-25 Thread Jerome Glisse
On Fri, Nov 22, 2019 at 11:33:12PM +, Jason Gunthorpe wrote: > On Fri, Nov 22, 2019 at 12:57:27PM -0800, Niranjana Vishwanathapura wrote: [...] > > +static int > > +i915_range_fault(struct i915_svm *svm, struct hmm_range *range) > > +{ > > + long ret; > > + > > + range->default_flags = 0;

Re: [RFC 06/13] drm/i915/svm: Page table mirroring support

2019-11-25 Thread Jerome Glisse
On Mon, Nov 25, 2019 at 01:24:18PM +, Jason Gunthorpe wrote: > On Sun, Nov 24, 2019 at 01:12:47PM -0800, Niranjan Vishwanathapura wrote: > > > > > > Using a temporary range is the pattern from nouveau, is it really > > > > > necessary in this driver? > > > > > > > > Yah, not required. In my l

Re: [RFC 06/13] drm/i915/svm: Page table mirroring support

2019-11-25 Thread Niranjan Vishwanathapura
On Mon, Nov 25, 2019 at 01:24:18PM +, Jason Gunthorpe wrote: On Sun, Nov 24, 2019 at 01:12:47PM -0800, Niranjan Vishwanathapura wrote: > > > Using a temporary range is the pattern from nouveau, is it really > > > necessary in this driver? > > > > Yah, not required. In my local build I tried

Re: [PATCH v3 1/2] drm/sched: Avoid job cleanup if sched thread is parked.

2019-11-25 Thread Steven Price
On 25/11/2019 14:10, Andrey Grodzovsky wrote: > When the sched thread is parked we assume ring_mirror_list is > not accessed from here. FWIW I don't think this is necessary. kthread_park() will wait until the thread is parked, at which point the thread is stuck in kthread_parkme() until unparked.

Re: [Intel-gfx] [RFC 03/13] drm/i915/svm: Runtime (RT) allocator support

2019-11-25 Thread Niranjan Vishwanathapura
On Mon, Nov 25, 2019 at 09:59:37AM +, Chris Wilson wrote: Quoting Niranjana Vishwanathapura (2019-11-22 20:57:24) Shared Virtual Memory (SVM) runtime allocator support allows binding a shared virtual address to a buffer object (BO) in the device page table through an ioctl call. The ioctl

Re: [PATCH v3 2/2] drm/scheduler: Avoid accessing freed bad job.

2019-11-25 Thread Steven Price
On 25/11/2019 14:10, Andrey Grodzovsky wrote: > Problem: > Due to a race between drm_sched_cleanup_jobs in sched thread and > drm_sched_job_timedout in timeout work there is a possiblity that > bad job was already freed while still being accessed from the > timeout thread. > > Fix: > Instead of ju

[Bug 205649] New: Daisy Chain (MST) Session Crash after Screen Lock Resume

2019-11-25 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=205649 Bug ID: 205649 Summary: Daisy Chain (MST) Session Crash after Screen Lock Resume Product: Drivers Version: 2.5 Kernel Version: 5.4 Hardware: Intel OS: L

Re: [Intel-gfx] [PATCH 3/7] drm: Extract page_flip_{internal, atomic}()

2019-11-25 Thread Daniel Vetter
On Mon, Nov 25, 2019 at 4:05 PM Ville Syrjälä wrote: > > On Mon, Nov 25, 2019 at 10:02:38AM +0100, Daniel Vetter wrote: > > On Fri, Nov 22, 2019 at 08:35:13PM +0200, Ville Syrjälä wrote: > > > On Tue, Nov 19, 2019 at 11:14:43AM +0100, Daniel Vetter wrote: > > > > On Fri, Nov 15, 2019 at 09:42:00PM

Re: [PATCH] drm/edid: Add modes from CTA-861-G

2019-11-25 Thread Harry Wentland
+Bhawan who has been looking at this from our side. Harry On 2019-11-23 12:50 a.m., Thomas Anderson wrote: > The new modes are needed for exotic displays such as 8K. Verified that > modes like 8K60 and 4K120 are properly obtained from a Samsung Q900R. > > Signed-off-by: Thomas Anderson > --- >

Re: [PATCH 0/5] drm/udl: Convert to GEM framebuffer helpers

2019-11-25 Thread Sam Ravnborg
Hi Thomas. On Thu, Nov 14, 2019 at 03:10:20PM +0100, Thomas Zimmermann wrote: > Udl uses struct udl_framebuffer for representing its framebuffer. The > type can be replaced by the standard DRM framebuffer structure. > > Patches 1 to 4 prepare the driver for the conversion. Patch 5 replaces > the

Re: [PATCH] drm/edid: Add modes from CTA-861-G

2019-11-25 Thread Bhawanpreet Lakha
Reviewed-by: Bhawanpreet Lakha On 2019-11-25 1:14 p.m., Harry Wentland wrote: +Bhawan who has been looking at this from our side. Harry On 2019-11-23 12:50 a.m., Thomas Anderson wrote: The new modes are needed for exotic displays such as 8K. Verified that modes like 8K60 and 4K120 are proper

Re: [PATCH] drm/edid: Add modes from CTA-861-G

2019-11-25 Thread Ville Syrjälä
On Fri, Nov 22, 2019 at 09:50:53PM -0800, Thomas Anderson wrote: > The new modes are needed for exotic displays such as 8K. Verified that > modes like 8K60 and 4K120 are properly obtained from a Samsung Q900R. 978f6b0693c7 ("drm/edid: Add CTA-861-G modes with VIC < 128") and https://patchwork.fr

Re: [PATCH 07/19] mm/gup: introduce pin_user_pages*() and FOLL_PIN

2019-11-25 Thread John Hubbard
to help > improve the system. BTW, we also suggest to use '--base' option to specify the > base tree in git format-patch, please see > https://stackoverflow.com/a/37406982] > > url: > https://github.com/0day-ci/linux/commits/John-Hubbard/pin_user_pages-reduced-risk-ser

Re: [PATCH 17/19] powerpc: book3s64: convert to pin_user_pages() and put_user_page()

2019-11-25 Thread John Hubbard
On 11/25/19 12:59 AM, Jan Kara wrote: > On Sun 24-11-19 20:20:09, John Hubbard wrote: >> 1. Convert from get_user_pages() to pin_user_pages(). >> >> 2. As required by pin_user_pages(), release these pages via >> put_user_page(). In this case, do so via put_user_pages_dirty_lock(). >> >> That has th

[PATCH v4] drm/scheduler: Avoid accessing freed bad job.

2019-11-25 Thread Andrey Grodzovsky
Problem: Due to a race between drm_sched_cleanup_jobs in sched thread and drm_sched_job_timedout in timeout work there is a possiblity that bad job was already freed while still being accessed from the timeout thread. Fix: Instead of just peeking at the bad job in the mirror list remove it from th

  1   2   >