[Bug 203781] AMDGPU Radeon VII crashes with dual monitors

2019-09-27 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=203781 sehell...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug 111819] Running apps via Flatpak with DRI device access: [gfxhub] retry page fault (src_id:0 ring:0 vmid:1 pasid:32770, for process X pid 2148 thread X:cs0 pid 2151) in page starting at address 0

2019-09-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111819 --- Comment #10 from Dennis Schridde --- Created attachment 145562 --> https://bugs.freedesktop.org/attachment.cgi?id=145562=edit dmesg, with backtraces in DCN `flatpak run --nodevice=all com.valvesoftware.Steam` also makes Steam start.

[Bug 111819] Running apps via Flatpak with DRI device access: [gfxhub] retry page fault (src_id:0 ring:0 vmid:1 pasid:32770, for process X pid 2148 thread X:cs0 pid 2151) in page starting at address 0

2019-09-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111819 Dennis Schridde changed: What|Removed |Added Summary|When starting Atom, Signal |Running apps via Flatpak

[Bug 111750] Navi10 GPU boot bug: Failed to pin framebuffer with error -12

2019-09-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111750 --- Comment #2 from Michael Parker --- While I can now boot and sign in I am still seeing these types of errors. -- You are receiving this mail because: You are the assignee for the bug.___

[Bug 111750] Navi10 GPU boot bug: Failed to pin framebuffer with error -12

2019-09-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111750 --- Comment #1 from Michael Parker --- I was seeing this issue. After connecting via ssh I was able to get the error code and found this post. In the latest update for Fedora 31 Beta (Sept 27, '19) I had a Mesa update show up and it is now

[PATCH] drm: add fb max width/height fields to drm_mode_config

2019-09-27 Thread Jeykumar Sankaran
The mode_config max width/height values determine the maximum resolution the pixel reader can handle. But the same values are used to restrict the size of the framebuffer creation. Hardware's with scaling blocks can operate on framebuffers larger/smaller than that of the pixel reader resolutions

[PATCH] Add framebuffer max width/height fields to drm_mode_config

2019-09-27 Thread Jeykumar Sankaran
Below two discussion threads will provide the context behind this patch. https://www.spinics.net/lists/dri-devel/msg229070.html https://lore.kernel.org/linux-arm-msm/db26145b-3f64-a334-f698-76f972332...@baylibre.com/T/ Seperating out the core framework patch from vendor implementation. Jeykumar

[PATCH] Add framebuffer max width/height fields to drm_mode_config

2019-09-27 Thread Jeykumar Sankaran
Below two discussion threads will provide the context behind this patch. https://www.spinics.net/lists/dri-devel/msg229070.html https://lore.kernel.org/linux-arm-msm/db26145b-3f64-a334-f698-76f972332...@baylibre.com/T/ Seperating out the core framework patch from vendor implementation. Jeykumar

[PATCH] drm: add fb max width/height fields to drm_mode_config

2019-09-27 Thread Jeykumar Sankaran
The mode_config max width/height values determine the maximum resolution the pixel reader can handle. But the same values are used to restrict the size of the framebuffer creation. Hardware's with scaling blocks can operate on framebuffers larger/smaller than that of the pixel reader resolutions

[PATCH] Add framebuffer max width/height fields to drm_mode_config

2019-09-27 Thread Jeykumar Sankaran
Below two discussion threads will provide the context behind this patch. https://www.spinics.net/lists/dri-devel/msg229070.html https://lore.kernel.org/linux-arm-msm/db26145b-3f64-a334-f698-76f972332...@baylibre.com/T/ Seperating out the core framework patch from vendor implementation. Jeykumar

[PATCH] Add framebuffer max width/height fields to drm_mode_config

2019-09-27 Thread Jeykumar Sankaran
Below two discussion threads will provide the context behind this patch. https://www.spinics.net/lists/dri-devel/msg229070.html https://lore.kernel.org/linux-arm-msm/db26145b-3f64-a334-f698-76f972332...@baylibre.com/T/ Seperating out the core framework patch from vendor implementation. Jeykumar

[Bug 111847] Radeon 7, no audio over hdmi 2.0 4k and accelerated audio over displayport in fullhd display

2019-09-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111847 Bug ID: 111847 Summary: Radeon 7, no audio over hdmi 2.0 4k and accelerated audio over displayport in fullhd display Product: DRI Version: XOrg git Hardware: Other

[Bug 204181] NULL pointer dereference regression in amdgpu

2019-09-27 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=204181 --- Comment #57 from Andrey Grodzovsky (andrey.grodzov...@amd.com) --- Sergey, instead of throwing tantrums why can't you just do what you are asked ? You present an extremely convoluted set of driver config params and demand from us resolving

Re: [PATCH v9 2/4] drm: xlnx: DRM/KMS driver for Xilinx ZynqMP DisplayPort Subsystem

2019-09-27 Thread Hyun Kwon
Hi Laurent, Thanks for the patch. On Wed, 2019-09-25 at 16:55:42 -0700, Laurent Pinchart wrote: > From: Hyun Kwon > > The Xilinx ZynqMP SoC has a hardened display pipeline named DisplayPort > Subsystem. It includes a buffer manager, a video pipeline renderer > (blender), an audio mixer and a

[Bug 111846] Suspend to RAM cause screen to glitch on navi10

2019-09-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111846 Bug ID: 111846 Summary: Suspend to RAM cause screen to glitch on navi10 Product: DRI Version: XOrg git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW

[Bug 111846] Suspend to RAM cause screen to glitch on navi10

2019-09-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111846 Yuxuan Shui changed: What|Removed |Added Version|XOrg git|unspecified -- You are receiving this

Re: [PATCH v3 1/2] dt-bindings: display: Document the Xylon LogiCVC display controller

2019-09-27 Thread Rob Herring
On Fri, Sep 27, 2019 at 12:07:37PM +0200, Paul Kocialkowski wrote: > The Xylon LogiCVC is a display controller implemented as programmable > logic in Xilinx FPGAs. > > Signed-off-by: Paul Kocialkowski > --- > .../display/xylon,logicvc-display.yaml| 313 ++ > 1 file

Re: [RFC PATCH] pci: prevent putting pcie devices into lower device states on certain intel bridges

2019-09-27 Thread Karol Herbst
On Fri, Sep 27, 2019 at 11:42 PM Bjorn Helgaas wrote: > > [+cc Rafael, Mika, linux-pm] > > On Fri, Sep 27, 2019 at 04:44:21PM +0200, Karol Herbst wrote: > > Fixes runpm breakage mainly on Nvidia GPUs as they are not able to resume. > > I don't know what runpm is. Some userspace utility? Module

Re: [RFC PATCH] pci: prevent putting pcie devices into lower device states on certain intel bridges

2019-09-27 Thread Bjorn Helgaas
[+cc Rafael, Mika, linux-pm] On Fri, Sep 27, 2019 at 04:44:21PM +0200, Karol Herbst wrote: > Fixes runpm breakage mainly on Nvidia GPUs as they are not able to resume. I don't know what runpm is. Some userspace utility? Module parameter? > Works perfectly with this workaround applied. > >

Re: [PATCH v3 4/4] drm/edid: Make sure the CEA mode arrays have the correct amount of modes

2019-09-27 Thread Manasi Navare
On Wed, Sep 25, 2019 at 04:55:02PM +0300, Ville Syrjala wrote: > From: Ville Syrjälä > > We depend on a specific relationship between the VIC number and the > index in the CEA mode arrays. Assert that the arrays have the excpected

Re: [PATCH v3 2/4] drm/edid: Add CTA-861-G modes with VIC >= 193

2019-09-27 Thread Manasi Navare
On Wed, Sep 25, 2019 at 04:55:00PM +0300, Ville Syrjala wrote: > From: Ville Syrjälä > > Add a second table to the cea modes with VIC >= 193. > > Cc: Hans Verkuil > Cc: Shashank Sharma > Signed-off-by: Ville Syrjälä I havent verified the actual timings from the CTA spec, but the logic to

Re: drm_sched with panfrost crash on T820

2019-09-27 Thread Grodzovsky, Andrey
Can you please use addr2line or gdb to pinpoint where in drm_sched_increase_karma you hit the NULL ptr ? It looks like the guilty job, but to be sure. Andrey On 9/27/19 4:12 AM, Neil Armstrong wrote: > Hi Christian, > > In v5.3, running dEQP triggers the following kernel crash : > > [

[Bug 204181] NULL pointer dereference regression in amdgpu

2019-09-27 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=204181 --- Comment #56 from Sergey Kondakov (virtuous...@gmail.com) --- (In reply to Alex Deucher from comment #54) > (In reply to Sergey Kondakov from comment #53) > > Or any of these ? > > options amdgpu cik_support=1 si_support=1 msi=1

[PULL] drm-intel-next-fixes

2019-09-27 Thread Rodrigo Vivi
Hi Dave and Daniel, This should've gone out yesterday, but apparently I had some issue with my mutt here. Anyway, nothing that couldn't wait for rc2 Here goes drm-intel-next-fixes-2019-09-26: - Fix concurrence on cases where requests where getting retired at same time as resubmitted to HW -

[Bug 111691] inconsistent cursor movement speed when using AMD 5700 XT

2019-09-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111691 --- Comment #11 from Michael Haworth --- Issue is not present in Ubuntu 19.10 beta -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel mailing list

Re: [PATCH V3 2/3] dt-bindings: Add Logic PD Type 28 display panel

2019-09-27 Thread Adam Ford
On Fri, Sep 27, 2019 at 1:51 PM Rob Herring wrote: > > On Wed, Sep 25, 2019 at 01:42:37PM -0500, Adam Ford wrote: > > This patch adds documentation of device tree bindings for the WVGA panel > > Logic PD Type 28 display. > > > > Signed-off-by: Adam Ford > > --- > > V3: Correct build errors from

Re: [PATCH V3 2/3] dt-bindings: Add Logic PD Type 28 display panel

2019-09-27 Thread Rob Herring
On Wed, Sep 25, 2019 at 01:42:37PM -0500, Adam Ford wrote: > This patch adds documentation of device tree bindings for the WVGA panel > Logic PD Type 28 display. > > Signed-off-by: Adam Ford > --- > V3: Correct build errors from 'make dt_binding_check' > V2: Use YAML instead of TXT for binding

Re: [git pull] drm fixes for 5.4-rc1

2019-09-27 Thread pr-tracker-bot
The pull request you sent on Fri, 27 Sep 2019 15:18:57 +1000: > git://anongit.freedesktop.org/drm/drm tags/drm-next-2019-09-27 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/289991ce1cac18e7cd489902986ef986baa49568 Thank you! -- Deet-doot-dot, I am a bot.

Re: [PATCH v3 0/2] drm: LogiCVC display controller support

2019-09-27 Thread Maxime Ripard
On Fri, Sep 27, 2019 at 12:07:36PM +0200, Paul Kocialkowski wrote: > This series introduces support for the LogiCVC display controller. > The controller is a bit unusual since it is usually loaded as > programmable logic on Xilinx FPGAs or Zynq-7000 SoCs. > More details are presented on the main

Re: [PATCH 3/6] drm/amdgpu/dm/mst: Use ->atomic_best_encoder

2019-09-27 Thread Alex Deucher
On Fri, Sep 27, 2019 at 1:56 PM Harry Wentland wrote: > > On 2019-09-26 6:51 p.m., Lyude Paul wrote: > > We are supposed to be atomic after all. We'll need this in a moment for > > the next commit. > > > > Signed-off-by: Lyude Paul > > Reviewed-by: Harry Wentland > Applied. Thanks! Alex >

Re: [PATCH 1/6] drm/amdgpu/dm/mst: Don't create MST topology managers for eDP ports

2019-09-27 Thread Alex Deucher
On Fri, Sep 27, 2019 at 1:48 PM Harry Wentland wrote: > > On 2019-09-26 6:51 p.m., Lyude Paul wrote: > > Signed-off-by: Lyude Paul > > Reviewed-by: Harry Wentland > Applied. Thanks! Alex > Harry > > > --- > > drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c | 4 > > 1 file

Re: [Nouveau] Is Nouveau really using the io_reserve_lru?

2019-09-27 Thread Koenig, Christian
Am 27.09.2019 20:07 schrieb Ilia Mirkin : On Thu, Sep 26, 2019 at 5:44 PM Ben Skeggs wrote: > > On Tue, 24 Sep 2019 at 22:19, Christian König > wrote: > > > > Hi guys, > > > > while working through more old TTM functionality I stumbled over the > > io_reserve_lru. > > > > Basic idea is that

Re: [Nouveau] Is Nouveau really using the io_reserve_lru?

2019-09-27 Thread Ilia Mirkin
On Thu, Sep 26, 2019 at 5:44 PM Ben Skeggs wrote: > > On Tue, 24 Sep 2019 at 22:19, Christian König > wrote: > > > > Hi guys, > > > > while working through more old TTM functionality I stumbled over the > > io_reserve_lru. > > > > Basic idea is that when this flag is set the

Re: [PATCH 3/6] drm/amdgpu/dm/mst: Use ->atomic_best_encoder

2019-09-27 Thread Harry Wentland
On 2019-09-26 6:51 p.m., Lyude Paul wrote: > We are supposed to be atomic after all. We'll need this in a moment for > the next commit. > > Signed-off-by: Lyude Paul Reviewed-by: Harry Wentland Harry > --- > .../drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c| 10 +- > 1 file

Re: [PATCH 1/6] drm/amdgpu/dm/mst: Don't create MST topology managers for eDP ports

2019-09-27 Thread Harry Wentland
On 2019-09-26 6:51 p.m., Lyude Paul wrote: > Signed-off-by: Lyude Paul Reviewed-by: Harry Wentland Harry > --- > drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c | 4 > 1 file changed, 4 insertions(+) > > diff --git

[PATCH] drm/tiny: Kconfig: Remove always-y THERMAL dep. from TINYDRM_REPAPER

2019-09-27 Thread Ulf Magnusson
Commit 554b3529fe01 ("thermal/drivers/core: Remove the module Kconfig's option") changed the type of THERMAL from tristate to bool, so THERMAL || !THERMAL is now always y. Remove the redundant dependency. Discovered through Kconfiglib detecting a dependency loop. The C tools simplify the

[Bug 111803] Annoying GPU stucks are continued on Vega 20 with Kernel 5.4 + mesa 9.3.0 + llvm 9.0.0 [drm:amdgpu_dm_atomic_commit_tail [amdgpu]] *ERROR* Waiting for fences timed out!

2019-09-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111803 --- Comment #22 from mikhail.v.gavri...@gmail.com --- Created attachment 145557 --> https://bugs.freedesktop.org/attachment.cgi?id=145557=edit ./umr -O many,bits -r *.*.mmCP_ME_HEADER_DUMP -- You are receiving this mail because: You are the

[Bug 111803] Annoying GPU stucks are continued on Vega 20 with Kernel 5.4 + mesa 9.3.0 + llvm 9.0.0 [drm:amdgpu_dm_atomic_commit_tail [amdgpu]] *ERROR* Waiting for fences timed out!

2019-09-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111803 --- Comment #21 from mikhail.v.gavri...@gmail.com --- Created attachment 145556 --> https://bugs.freedesktop.org/attachment.cgi?id=145556=edit ./umr -O many,bits -r *.*.mmCP_PFP_HEADER_DUMP -- You are receiving this mail because: You are the

[Bug 111803] Annoying GPU stucks are continued on Vega 20 with Kernel 5.4 + mesa 9.3.0 + llvm 9.0.0 [drm:amdgpu_dm_atomic_commit_tail [amdgpu]] *ERROR* Waiting for fences timed out!

2019-09-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111803 --- Comment #19 from mikhail.v.gavri...@gmail.com --- Created attachment 145554 --> https://bugs.freedesktop.org/attachment.cgi?id=145554=edit ./umr -O many,bits -r *.*.mmGRBM_STATUS* -- You are receiving this mail because: You are the

[Bug 111803] Annoying GPU stucks are continued on Vega 20 with Kernel 5.4 + mesa 9.3.0 + llvm 9.0.0 [drm:amdgpu_dm_atomic_commit_tail [amdgpu]] *ERROR* Waiting for fences timed out!

2019-09-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111803 --- Comment #18 from mikhail.v.gavri...@gmail.com --- Created attachment 145553 --> https://bugs.freedesktop.org/attachment.cgi?id=145553=edit ./umr -R gfx[.] -- You are receiving this mail because: You are the assignee for the

[Bug 111803] Annoying GPU stucks are continued on Vega 20 with Kernel 5.4 + mesa 9.3.0 + llvm 9.0.0 [drm:amdgpu_dm_atomic_commit_tail [amdgpu]] *ERROR* Waiting for fences timed out!

2019-09-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111803 --- Comment #17 from mikhail.v.gavri...@gmail.com --- Created attachment 145552 --> https://bugs.freedesktop.org/attachment.cgi?id=145552=edit ./umr -O halt_waves -wa -- You are receiving this mail because: You are the assignee for the

[Bug 111803] Annoying GPU stucks are continued on Vega 20 with Kernel 5.4 + mesa 9.3.0 + llvm 9.0.0 [drm:amdgpu_dm_atomic_commit_tail [amdgpu]] *ERROR* Waiting for fences timed out!

2019-09-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111803 --- Comment #20 from mikhail.v.gavri...@gmail.com --- Created attachment 14 --> https://bugs.freedesktop.org/attachment.cgi?id=14=edit ./umr -O many,bits -r *.*.mmCP_EOP_* -- You are receiving this mail because: You are the assignee

[Bug 111803] Annoying GPU stucks are continued on Vega 20 with Kernel 5.4 + mesa 9.3.0 + llvm 9.0.0 [drm:amdgpu_dm_atomic_commit_tail [amdgpu]] *ERROR* Waiting for fences timed out!

2019-09-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111803 --- Comment #16 from mikhail.v.gavri...@gmail.com --- Created attachment 145551 --> https://bugs.freedesktop.org/attachment.cgi?id=145551=edit dmesg -- You are receiving this mail because: You are the assignee for the

[Bug 111803] Annoying GPU stucks are continued on Vega 20 with Kernel 5.4 + mesa 9.3.0 + llvm 9.0.0 [drm:amdgpu_dm_atomic_commit_tail [amdgpu]] *ERROR* Waiting for fences timed out!

2019-09-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111803 --- Comment #15 from mikhail.v.gavri...@gmail.com --- Created attachment 145550 --> https://bugs.freedesktop.org/attachment.cgi?id=145550=edit trace-cmd start -e dma_fence -e gpu_scheduler -e amdgpu -v -e "amdgpu:amdgpu_mm_rreg" -e

Re: Ack to merge through DRM? WAS Re: [PATCH v2 1/5] mm: Add write-protect and clean utilities for address space ranges

2019-09-27 Thread Linus Torvalds
On Fri, Sep 27, 2019 at 5:17 AM Kirill A. Shutemov wrote: > > > Call it "walk_page_mapping()". And talk extensively about how the > > locking differs a lot from the usual "walk_page_vma()" things. > > Walking mappings of a page is what rmap does. This code thas to be > integrated there. Well,

Re: [Spice-devel] [PATCH 1/2] drm/qxl: stop abusing TTM to call driver internal functions

2019-09-27 Thread Frediano Ziglio
> > The ttm_mem_io_* functions are actually internal to TTM and shouldn't be > used in a driver. > As far as I can see by your second patch QXL is just using exported (that is not internal) functions. Not that the idea of making them internal is bad but this comment is a wrong statement. >

Re: [PATCH] drm/omap: Migrate minimum FCK/PCK ratio from Kconfig to dts

2019-09-27 Thread Tomi Valkeinen
On 27/09/2019 18:37, Tero Kristo wrote: If you can provide details about what clock framework / driver does wrong (sample clk_set_xyz call sequence, expected results via clk_get_xyz, and what fails), I can take a look at it. Just reporting arbitrary display driver issues I won't be able to

Re: [PATCH] drm/omap: Migrate minimum FCK/PCK ratio from Kconfig to dts

2019-09-27 Thread Tero Kristo
On 27/09/2019 16:47, Tomi Valkeinen wrote: On 27/09/2019 15:33, Adam Ford wrote: It looks like a bug in omap clock handling. DSS uses dss1_alwon_fck_3430es2 as fclk. dss1_alwon_fck_3430es2 comes from dpll4_ck, and there's a divider after the PLL, dpll4_m4_ck. When the DSS driver sets

Re: [PATCH 5/6] drm/amdgpu/dm/mst: Report possible_crtcs incorrectly, for now

2019-09-27 Thread Sean Paul
On Thu, Sep 26, 2019 at 06:51:07PM -0400, Lyude Paul wrote: > This commit is seperate from the previous one to make it easier to > revert in the future. Basically, there's multiple userspace applications > that interpret possible_crtcs very wrong: > >

Re: drm_sched with panfrost crash on T820

2019-09-27 Thread Neil Armstrong
On 27/09/2019 17:00, Steven Price wrote: > On 27/09/2019 12:48, Neil Armstrong wrote: >> Hi, >> >> On 27/09/2019 13:27, Neil Armstrong wrote: >>> Hi Steven, >>> >>> Thanks for your prompt reaction ! >>> >>> On 27/09/2019 12:48, Steven Price wrote: On 27/09/2019 10:55, Steven Price wrote:

[Bug 110674] Crashes / Resets From AMDGPU / Radeon VII

2019-09-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110674 Anthony Rabbito changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug 110674] Crashes / Resets From AMDGPU / Radeon VII

2019-09-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110674 --- Comment #147 from ReddestDream --- > Already merged to 5.4. I'll take a look at older kernels as well. @Alex Deucher Thanks so much for all your help! :) -- You are receiving this mail because: You are the assignee for the

Re: [PATCH v3] dt-bindings: gpu: Convert Samsung 2D Graphics Accelerator to dt-schema

2019-09-27 Thread Krzysztof Kozlowski
On Fri, 27 Sep 2019 at 16:33, Marek Szyprowski wrote: > > From: Maciej Falkowski > > Convert Samsung 2D Graphics Accelerator to newer dt-schema format > > Signed-off-by: Maciej Falkowski > --- > v3: > - Merged two if-statements with single if-else statement > - Added 'additionalProperties:

Re: drm_sched with panfrost crash on T820

2019-09-27 Thread Steven Price
On 27/09/2019 12:48, Neil Armstrong wrote: > Hi, > > On 27/09/2019 13:27, Neil Armstrong wrote: >> Hi Steven, >> >> Thanks for your prompt reaction ! >> >> On 27/09/2019 12:48, Steven Price wrote: >>> On 27/09/2019 10:55, Steven Price wrote: >>> [...] One obvious issue with the DRM scheduler

Re: [PATCH v3] dt-bindings: gpu: Convert Samsung Image Scaler to dt-schema

2019-09-27 Thread Krzysztof Kozlowski
On Fri, 27 Sep 2019 at 16:33, Marek Szyprowski wrote: > > From: Maciej Falkowski > > Convert Samsung Image Scaler to newer dt-schema format. > > Signed-off-by: Maciej Falkowski > Signed-off-by: Marek Szyprowski > --- > v3: > - Fixed description of 'clocks' property: > rather than 'mscl clock',

Re: [PATCH v2 27/27] drm/dp_mst: Add topology ref history tracking for debugging

2019-09-27 Thread Sean Paul
On Tue, Sep 03, 2019 at 04:46:05PM -0400, Lyude Paul wrote: > For very subtle mistakes with topology refs, it can be rather difficult > to trace them down with the debugging info that we already have. I had > one such issue recently while trying to implement suspend/resume > reprobing for MST, and

[Bug 110674] Crashes / Resets From AMDGPU / Radeon VII

2019-09-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110674 --- Comment #146 from Alex Deucher --- (In reply to tom91136 from comment #145) > @Alex any plans for the patches to be merged for 5.4 or even backported to > 5.3 at some point? Already merged to 5.4. I'll take a look at older kernels as

[RFC PATCH] pci: prevent putting pcie devices into lower device states on certain intel bridges

2019-09-27 Thread Karol Herbst
Fixes runpm breakage mainly on Nvidia GPUs as they are not able to resume. Works perfectly with this workaround applied. RFC comment: We are quite sure that there is a higher amount of bridges affected by this, but I was only testing it on my own machine for now. I've stresstested runpm by

[PATCH v3] dt-bindings: gpu: Convert Samsung Image Scaler to dt-schema

2019-09-27 Thread Marek Szyprowski
From: Maciej Falkowski Convert Samsung Image Scaler to newer dt-schema format. Signed-off-by: Maciej Falkowski Signed-off-by: Marek Szyprowski --- v3: - Fixed description of 'clocks' property: rather than 'mscl clock', 'pclk clock' - Added empty line within if-else statement - Added

[PATCH v3] dt-bindings: gpu: Convert Samsung 2D Graphics Accelerator to dt-schema

2019-09-27 Thread Marek Szyprowski
From: Maciej Falkowski Convert Samsung 2D Graphics Accelerator to newer dt-schema format Signed-off-by: Maciej Falkowski --- v3: - Merged two if-statements with single if-else statement - Added 'additionalProperties: false' - Listed all missing 'properties' in properties scope Best regards,

Re: DRM_MODE_CONNECTOR_PANEL? [Was: drm/panel: Add and fill drm_panel type field]

2019-09-27 Thread Tomi Valkeinen
On 27/09/2019 15:44, Daniel Stone wrote: Hi Linus, On Fri, 27 Sep 2019 at 13:37, Linus Walleij wrote: Also the ILI9322 can actually set up gamma correction which is very nice for professional applications. I haven't seen any way for DRM to do gamma correction properly or any framework for it

Re: [PATCH v2 26/27] drm/dp_mst: Also print unhashed pointers for malloc/topology references

2019-09-27 Thread Sean Paul
On Tue, Sep 03, 2019 at 04:46:04PM -0400, Lyude Paul wrote: > Currently we only print mstb/port pointer addresses in our malloc and > topology refcount functions using the hashed-by-default %p, but > unfortunately if you're trying to debug a use-after-free error caused by > a refcounting error

Re: [PATCH 3/6] drm/amdgpu/dm/mst: Use ->atomic_best_encoder

2019-09-27 Thread Alex Deucher
On Thu, Sep 26, 2019 at 6:52 PM Lyude Paul wrote: > > We are supposed to be atomic after all. We'll need this in a moment for > the next commit. > > Signed-off-by: Lyude Paul Acked-by: Alex Deucher > --- > .../drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c| 10 +- > 1 file

Re: [PATCH 2/6] drm/amdgpu/dm/mst: Remove unnecessary NULL check

2019-09-27 Thread Alex Deucher
On Thu, Sep 26, 2019 at 6:52 PM Lyude Paul wrote: > > kfree() checks this automatically. > > Signed-off-by: Lyude Paul Reviewed-by: Alex Deucher And applied. Thanks! Alex > --- > drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c | 6 ++ > 1 file changed, 2 insertions(+), 4

Re: [PATCH v2 2/6] drm/v3d: use drm_gem_objects_lookup_user

2019-09-27 Thread Steven Price
On 27/09/2019 14:46, Qiang Yu wrote: > v2: > use drm_gem_objects_lookup_user instead of > drm_gem_objects_lookup. > > Cc: Eric Anholt > Signed-off-by: Qiang Yu Looks familiar :) Nit: please write a commit message. But otherwise: Reviewed-by: Steven Price > --- >

Re: [PATCH v2 1/6] drm/gem: refine drm_gem_objects_lookup

2019-09-27 Thread Steven Price
On 27/09/2019 14:46, Qiang Yu wrote: > drm_gem_objects_lookup does not use user space bo handles > directly and left the user to kernel copy work to a new > interface drm_gem_objects_lookup_user. > > This is for driver like lima which does not pass gem bo > handles continously in an array in

Re: [PATCH v2 25/27] drm/dp_mst: Add basic topology reprobing when resuming

2019-09-27 Thread Sean Paul
On Tue, Sep 03, 2019 at 04:46:03PM -0400, Lyude Paul wrote: > Finally! For a very long time, our MST helpers have had one very > annoying issue: They don't know how to reprobe the topology state when > coming out of suspend. This means that if a user has a machine connected > to an MST topology

Re: [PATCH v2 23/27] drm/amdgpu: Iterate through DRM connectors correctly

2019-09-27 Thread Alex Deucher
On Fri, Sep 13, 2019 at 4:45 PM Alex Deucher wrote: > > On Tue, Sep 3, 2019 at 4:49 PM Lyude Paul wrote: > > > > Currently, every single piece of code in amdgpu that loops through > > connectors does it incorrectly and doesn't use the proper list iteration > > helpers,

[PATCH v2 6/6] drm/lima: add __GFP_NOWARN flag to all dma_alloc_wc

2019-09-27 Thread Qiang Yu
This prevent CMA printing dumy "PFNs busy" info which is caused by alloc fail re-try case. Signed-off-by: Qiang Yu --- drivers/gpu/drm/lima/lima_device.c | 2 +- drivers/gpu/drm/lima/lima_vm.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git

Re: [PATCH] drm/omap: Migrate minimum FCK/PCK ratio from Kconfig to dts

2019-09-27 Thread Tomi Valkeinen
On 27/09/2019 15:33, Adam Ford wrote: It looks like a bug in omap clock handling. DSS uses dss1_alwon_fck_3430es2 as fclk. dss1_alwon_fck_3430es2 comes from dpll4_ck, and there's a divider after the PLL, dpll4_m4_ck. When the DSS driver sets dss1_alwon_fck_3430es2 rate to 2700 or

[PATCH v2 4/6] drm/lima: use drm_gem_shmem_helpers

2019-09-27 Thread Qiang Yu
Do not need to maintain our own shmem memory management code as drm_gem_shmem_helpers provides it. And we can also benifit from the work of others with shared code. This is also a preparation for implementing buffer madv. Signed-off-by: Qiang Yu --- drivers/gpu/drm/lima/Kconfig | 1

[PATCH v2 5/6] drm/lima: use drm_gem_(un)lock_reservations

2019-09-27 Thread Qiang Yu
Signed-off-by: Qiang Yu --- drivers/gpu/drm/lima/lima_gem.c | 64 - 1 file changed, 6 insertions(+), 58 deletions(-) diff --git a/drivers/gpu/drm/lima/lima_gem.c b/drivers/gpu/drm/lima/lima_gem.c index eb70e4429588..3cc1870862c3 100644 ---

[PATCH v2 3/6] drm/lima: use drm_gem_objects_lookup

2019-09-27 Thread Qiang Yu
Signed-off-by: Qiang Yu --- drivers/gpu/drm/lima/lima_drv.c | 5 ++- drivers/gpu/drm/lima/lima_gem.c | 73 +++-- 2 files changed, 46 insertions(+), 32 deletions(-) diff --git a/drivers/gpu/drm/lima/lima_drv.c b/drivers/gpu/drm/lima/lima_drv.c index

[PATCH v2 0/6] drm/lima: simplify driver by using more drm helpers

2019-09-27 Thread Qiang Yu
By using shared drm helpers: 1. drm_gem_objects_lookup 2. drm_gem_(un)lock_reservations 3. drm_gem_shmem_helpers we can simplify lima driver a lot and benifit from updates to these functions. drm_gem_objects_lookup need a refine in order to be used by lima. Note: 1. changes to panfrost and v3d

[PATCH v2 1/6] drm/gem: refine drm_gem_objects_lookup

2019-09-27 Thread Qiang Yu
drm_gem_objects_lookup does not use user space bo handles directly and left the user to kernel copy work to a new interface drm_gem_objects_lookup_user. This is for driver like lima which does not pass gem bo handles continously in an array in ioctl argument. v2: 1. add

[PATCH v2 2/6] drm/v3d: use drm_gem_objects_lookup_user

2019-09-27 Thread Qiang Yu
v2: use drm_gem_objects_lookup_user instead of drm_gem_objects_lookup. Cc: Eric Anholt Signed-off-by: Qiang Yu --- drivers/gpu/drm/v3d/v3d_gem.c | 49 +++ 1 file changed, 3 insertions(+), 46 deletions(-) diff --git a/drivers/gpu/drm/v3d/v3d_gem.c

Re: [PATCH] drm/omap: Migrate minimum FCK/PCK ratio from Kconfig to dts

2019-09-27 Thread Tomi Valkeinen
On 27/09/2019 15:13, Adam Ford wrote: On Fri, Sep 27, 2019 at 1:22 AM Tomi Valkeinen wrote: On 26/09/2019 17:12, Adam Ford wrote: And what is the hdmi5_configure there? I don't see anything in the driver that would print hdmi5_configure. And, of course, there's no hdmi5 on that platform.

Re: [PATCH v2 03/27] drm/dp_mst: Destroy MSTBs asynchronously

2019-09-27 Thread Sean Paul
On Wed, Sep 25, 2019 at 04:08:22PM -0400, Lyude Paul wrote: > On Wed, 2019-09-25 at 14:16 -0400, Sean Paul wrote: > > On Tue, Sep 03, 2019 at 04:45:41PM -0400, Lyude Paul wrote: > > > When reprobing an MST topology during resume, we have to account for the > > > fact that while we were suspended

Re: [PATCH v2 16/27] drm/dp_mst: Refactor pdt setup/teardown, add more locking

2019-09-27 Thread Sean Paul
On Wed, Sep 25, 2019 at 05:00:00PM -0400, Lyude Paul wrote: > On Wed, 2019-09-25 at 15:27 -0400, Sean Paul wrote: > > On Tue, Sep 03, 2019 at 04:45:54PM -0400, Lyude Paul wrote: > > > Since we're going to be implementing suspend/resume reprobing very soon, > > > we need to make sure we are extra

Re: [PATCH v4] drm/amdgpu/dm: Resume short HPD IRQs before resuming MST topology

2019-09-27 Thread Alex Deucher
On Wed, Sep 25, 2019 at 5:53 PM Lyude Paul wrote: > > Since we're going to be reprobing the entire topology state on resume > now using sideband transactions, we need to ensure that we actually have > short HPD irqs enabled before calling drm_dp_mst_topology_mgr_resume(). > So, do that. > >

[PATCH 1/2] drm/qxl: stop abusing TTM to call driver internal functions

2019-09-27 Thread Christian König
The ttm_mem_io_* functions are actually internal to TTM and shouldn't be used in a driver. Instead call the qxl_ttm_io_mem_reserve() function directly. Signed-off-by: Christian König --- drivers/gpu/drm/qxl/qxl_drv.h| 2 ++ drivers/gpu/drm/qxl/qxl_object.c | 11 +--

[PATCH 2/2] drm/ttm: stop exporting ttm_mem_io_* functions

2019-09-27 Thread Christian König
Those are not supposed to be used by drivers. Signed-off-by: Christian König --- drivers/gpu/drm/ttm/ttm_bo_util.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/gpu/drm/ttm/ttm_bo_util.c b/drivers/gpu/drm/ttm/ttm_bo_util.c index 086ba2c2f60b..2eca752c39e9 100644 ---

[Bug 204181] NULL pointer dereference regression in amdgpu

2019-09-27 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=204181 --- Comment #55 from Tom Seewald (tseew...@gmail.com) --- (In reply to Sergey Kondakov from comment #53) > Created attachment 285209 [details] > dmesg_2019-09-26-amdgpu-old_dereference_on_patched_5.3.1 > > After about a day of uptime my patched

[Bug 204181] NULL pointer dereference regression in amdgpu

2019-09-27 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=204181 --- Comment #54 from Alex Deucher (alexdeuc...@gmail.com) --- (In reply to Sergey Kondakov from comment #53) > Or any of these ? > options amdgpu cik_support=1 si_support=1 msi=1 disp_priority=2 dpm=1 > runpm=1 sched_policy=1 compute_multipipe=1

Re: DRM_MODE_CONNECTOR_PANEL? [Was: drm/panel: Add and fill drm_panel type field]

2019-09-27 Thread Daniel Stone
Hi Linus, On Fri, 27 Sep 2019 at 13:37, Linus Walleij wrote: > Also the ILI9322 can actually set up gamma correction which is > very nice for professional applications. I haven't seen any way for > DRM to do gamma correction properly or any framework for it > to adjust and propagate gamma

Re: [PATCH v2 1/2] drm/komeda: Add line size support

2019-09-27 Thread Liviu Dudau
On Fri, Sep 27, 2019 at 02:02:59AM +, james qian wang (Arm Technology China) wrote: > On Thu, Sep 26, 2019 at 11:51:21AM +, Liviu Dudau wrote: > > On Thu, Sep 26, 2019 at 10:00:22AM +, Lowry Li (Arm Technology China) > > wrote: > > > Hi Lowry, > > > On Wed, Sep 25, 2019 at 10:24:58AM

Re: DRM_MODE_CONNECTOR_PANEL? [Was: drm/panel: Add and fill drm_panel type field]

2019-09-27 Thread Linus Walleij
Just a drive-by comment: On Sat, Aug 24, 2019 at 11:54 AM Sam Ravnborg wrote: > We will also start to see new drivers where there will be support > for more than one type of connector interface. > > Like for example ili9322: > - 8-bit serial RGB interface > - 24-bit parallel RGB interface >

[PATCH 1/2] drm/ttm: also export ttm_bo_vm_fault

2019-09-27 Thread Christian König
That is needed by at least a cleanup in radeon. Signed-off-by: Christian König --- drivers/gpu/drm/ttm/ttm_bo_vm.c | 3 ++- include/drm/ttm/ttm_bo_api.h| 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/ttm/ttm_bo_vm.c b/drivers/gpu/drm/ttm/ttm_bo_vm.c

[PATCH 2/2] drm/radeon: finally fix the racy VMA setup

2019-09-27 Thread Christian König
Finally clean up the VMA setup for radeon now that TTM exports the necessary functions. Not functional change, but only compile tested. Signed-off-by: Christian König --- drivers/gpu/drm/radeon/radeon_ttm.c | 29 ++--- 1 file changed, 14 insertions(+), 15 deletions(-)

Re: [PATCH] drm/komeda: Fix typos in komeda_splitter_validate

2019-09-27 Thread Liviu Dudau
On Fri, Sep 20, 2019 at 03:11:34PM +, Mihail Atanassov wrote: > Fix both the string and the struct member being printed. > > Fixes: 264b9436d23b ("drm/komeda: Enable writeback split support") > Signed-off-by: Mihail Atanassov > --- >

Re: [PATCH] drm/omap: Migrate minimum FCK/PCK ratio from Kconfig to dts

2019-09-27 Thread Adam Ford
On Fri, Sep 27, 2019 at 2:55 AM Tomi Valkeinen wrote: > > (dropping folks who're probably not interested...) > > On 26/09/2019 17:12, Adam Ford wrote: > > On Thu, Sep 26, 2019 at 1:55 AM Tomi Valkeinen > > wrote: > >> > >> On 25/09/2019 23:51, Adam Ford wrote: > >> > Has anyone debugged

Re: Ack to merge through DRM? WAS Re: [PATCH v2 1/5] mm: Add write-protect and clean utilities for address space ranges

2019-09-27 Thread Kirill A. Shutemov
On Thu, Sep 26, 2019 at 03:20:42PM -0700, Linus Torvalds wrote: > On Thu, Sep 26, 2019 at 1:55 PM Thomas Hellström (VMware) > wrote: > > > > Well, we're working on supporting huge puds and pmds in the graphics > > VMAs, although in the write-notify cases we're looking at here, we would > >

Re: [Nouveau] Is Nouveau really using the io_reserve_lru?

2019-09-27 Thread Koenig, Christian
Am 26.09.19 um 23:44 schrieb Ben Skeggs: > On Tue, 24 Sep 2019 at 22:19, Christian König > wrote: >> Hi guys, >> >> while working through more old TTM functionality I stumbled over the >> io_reserve_lru. >> >> Basic idea is that when this flag is set the driver->io_mem_reserve() >> callback can

Re: Ack to merge through DRM? WAS Re: [PATCH v2 1/5] mm: Add write-protect and clean utilities for address space ranges

2019-09-27 Thread Kirill A. Shutemov
On Thu, Sep 26, 2019 at 01:16:55PM -0700, Linus Torvalds wrote: > On Thu, Sep 26, 2019 at 1:09 PM Thomas Hellström (VMware) > wrote: > > > > That said, if people are OK with me modifying the assert in > > pud_trans_huge_lock() and make __walk_page_range non-static, it should > > probably be

Re: [PATCH] drm/omap: Migrate minimum FCK/PCK ratio from Kconfig to dts

2019-09-27 Thread Adam Ford
On Fri, Sep 27, 2019 at 1:22 AM Tomi Valkeinen wrote: > > On 26/09/2019 17:12, Adam Ford wrote: > > >> And what is the hdmi5_configure there? I don't see anything in the > >> driver that would print hdmi5_configure. And, of course, there's no > >> hdmi5 on that platform. Hmm, ok... it's from

Re: drm_sched with panfrost crash on T820

2019-09-27 Thread Neil Armstrong
Hi, On 27/09/2019 13:27, Neil Armstrong wrote: > Hi Steven, > > Thanks for your prompt reaction ! > > On 27/09/2019 12:48, Steven Price wrote: >> On 27/09/2019 10:55, Steven Price wrote: >> [...] >>> One obvious issue with the DRM scheduler is that there is a call to >>> cancel_delayed_work()

[Bug 111747] [CI][DRMTIP] igt@ - incomplete - Jenkins gives up

2019-09-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111747 --- Comment #9 from CI Bug Log --- A CI Bug Log filter associated to this bug has been updated: {- TGL: igt@* -incomplete - Abort requested by .* terminating children -} {+ TGL: igt@* -incomplete - Abort requested by .* terminating children +}

Re: drm_sched with panfrost crash on T820

2019-09-27 Thread Neil Armstrong
Hi Steven, Thanks for your prompt reaction ! On 27/09/2019 12:48, Steven Price wrote: > On 27/09/2019 10:55, Steven Price wrote: > [...] >> One obvious issue with the DRM scheduler is that there is a call to >> cancel_delayed_work() in drm_sched_stop() which to me looks like it >> should be

[Bug 111482] Sapphire Pulse RX 5700 XT power consumption

2019-09-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111482 --- Comment #19 from Leon --- By the way, since I have a x470 mb, it cannot be related to PCI express 4.0. It's also not related to dual displays, since I'm running just one. -- You are receiving this mail because: You are the assignee for

[Bug 111482] Sapphire Pulse RX 5700 XT power consumption

2019-09-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111482 --- Comment #18 from Leon --- I have the same problem. Sapphire 5700 XT Nitro, x470 motherboard (asrock taichi), running arch with kernel 5.3.1. My resolution is 2560x1440 144Hz, with 30Watts idle and 70 Celsius at the memory :( ... Unlike you

  1   2   >