[Bug 107823] [amdgpu/displayport] Blackscreen on native resolution

2018-11-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107823 --- Comment #19 from Jan Burgmeier --- Hi, the video looks good. I don't know why you do not see the error. I am unable to get a picture after boot because the says "Frequency out of range". At the start of next week I will retest and give mor

Re: [PATCH] drm/dp_mst: Skip validating ports during destruction, just ref

2018-11-22 Thread Daniel Vetter
On Tue, Nov 13, 2018 at 11:47 PM Lyude Paul wrote: > > Jerry Zuo pointed out a rather obscure hotplugging issue that it seems I > accidentally introduced into DRM two years ago. > > Pretend we have a topology like this: > > |- DP-1: mst_primary >|- DP-4: active display >|- DP-5: disconnect

Re: [PATCH] drm: Merge drm_info.c into drm_debugfs.c

2018-11-22 Thread Daniel Vetter
On Wed, Nov 21, 2018 at 10:35:10PM +0100, Daniel Vetter wrote: > Ever since > > commit cb6458f97b53d7f73043206c18014b3ca63ac345 > Author: Daniel Vetter > Date: Thu Aug 8 15:41:34 2013 +0200 > > drm: remove procfs code, take 2 > > Having the code shared between procfs and debugfs in the se

Re: [PATCH 01/15] drm/vblank: Allow dynamic per-crtc max_vblank_count

2018-11-22 Thread Daniel Vetter
On Wed, Nov 21, 2018 at 06:46:57PM +0200, Ville Syrjälä wrote: > On Wed, Nov 21, 2018 at 05:22:49PM +0100, Daniel Vetter wrote: > > On Wed, Nov 21, 2018 at 5:16 PM Ville Syrjälä > > wrote: > > > > > > On Wed, Nov 21, 2018 at 04:19:36PM +0100, Daniel Vetter wrote: > > > > On Wed, Nov 21, 2018 at 01

Re: [PATCH 0/9] drm: remove deprecated functions

2018-11-22 Thread Daniel Vetter
On Wed, Nov 21, 2018 at 08:21:29PM +0200, Laurent Pinchart wrote: > Hi Daniel, > > On Wednesday, 21 November 2018 11:42:33 EET Daniel Vetter wrote: > > On Thu, Nov 15, 2018 at 11:38:35PM +0100, Linus Walleij wrote: > > > On Thu, Nov 15, 2018 at 11:17 PM Fernando Ramos wrote: > > >> One of the thin

Re: [PATCH v2] drm: set is_master to 0 upon drm_new_set_master() failure

2018-11-22 Thread Daniel Vetter
On Thu, Nov 22, 2018 at 02:33:29AM -0300, Sergio Correia wrote: > When drm_new_set_master() fails, set is_master to 0, to prevent a > possible NULL pointer deref. > > Here is a problematic flow: we check is_master in drm_is_current_master(), > then proceed to call drm_lease_owner() passing master.

Re: [PATCH] drm/fb-helper/generic: Only restore when in use

2018-11-22 Thread Daniel Vetter
On Wed, Nov 21, 2018 at 05:56:42PM +0100, Noralf Trønnes wrote: > On drm_driver->last_close the generic fbdev emulation will restore fbdev > regardless of it being used or not. This is a problem for e-ink displays > which don't want to be overwritten with zeroes when DRM userspace closes. > > Amen

Re: [PATCH] drm/prime: Fix drm_gem_prime_mmap() stack use

2018-11-22 Thread Daniel Vetter
On Wed, Nov 21, 2018 at 07:02:15PM +0100, Noralf Trønnes wrote: >drivers/gpu/drm/drm_prime.c: In function 'drm_gem_prime_mmap': > >> drivers/gpu/drm/drm_prime.c:688:1: warning: the frame size of 1592 bytes > >> is larger than 1024 bytes [-Wframe-larger-than=] > > Fix by allocating on the heap

[PATCH v3 0/3] Use interconnect API in MDSS on SDM845

2018-11-22 Thread Sravanthi Kollukuduru
The interconnect API provides an interface for consumer drivers to express their bandwidth needs in the SoC. This data is aggregated and the on-chip interconnect hardware is configured to the appropriate power/performance profile. MDSS is one of the interconnect consumers which uses the interconne

[PATCH v3 1/3] drm/msm/dpu: clean up references of DPU custom bus scaling

2018-11-22 Thread Sravanthi Kollukuduru
Since the upstream interconnect bus framework has landed upstream, the existing references of custom bus scaling needs to be cleaned up. Changes in v2: - Fixed build error due to partial clean up Changes in v3: - Condense multiple lines into a single line (Sean Paul) Signed-off-b

[PATCH v3 3/3] dt-bindings: msm/disp: Introduce interconnect bindings for MDSS on SDM845

2018-11-22 Thread Sravanthi Kollukuduru
Add interconnect properties such as interconnect provider specifier , the edge source and destination ports which are required by the interconnect API to configure interconnect path for MDSS. Changes in v2: - none Changes in v3: - Remove common property definitions (Rob Herring)

Re: [PATCH] drm/sun4i: wait on implicit fence before display

2018-11-22 Thread Daniel Vetter
On Thu, Nov 22, 2018 at 09:44:17AM +0800, Qiang Yu wrote: > Render like lima will attach a fence to the framebuffer > dma_buf, display like sun4i should wait it finish before > show the framebuffer. Otherwise tearing will be observed. > > Signed-off-by: Qiang Yu Thanks for submitting this fix, a

[PATCH v3 2/3] drm/msm/dpu: Integrate interconnect API in MDSS

2018-11-22 Thread Sravanthi Kollukuduru
The interconnect framework is designed to provide a standard kernel interface to control the settings of the interconnects on a SoC. The interconnect API uses a consumer/provider-based model, where the providers are the interconnect buses and the consumers could be various drivers. MDSS is one of

[Xen-devel][PATCH 1/3] xen: Introduce shared buffer helpers for page directory...

2018-11-22 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko based frontends. Currently the frontends which implement similar code for sharing big buffers between frontend and backend are para-virtualized DRM and sound drivers. Both define the same way to share grant references of a data buffer with the corresponding backend w

[Xen-devel][PATCH 3/3] ALSA: xen-front: Use Xen common shared buffer implementation

2018-11-22 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko Use page directory based shared buffer implementation now available as common code for Xen frontend drivers. Signed-off-by: Oleksandr Andrushchenko --- sound/xen/Kconfig | 1 + sound/xen/Makefile | 1 - sound/xen/xen_snd_front.c

[Xen-devel][PATCH 2/3] drm/xen-front: Use Xen common shared buffer implementation

2018-11-22 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko Use page directory based shared buffer implementation now available as common code for Xen frontend drivers. Signed-off-by: Oleksandr Andrushchenko --- drivers/gpu/drm/xen/Kconfig | 1 + drivers/gpu/drm/xen/Makefile | 1 - drivers/gp

Re: [PATCH] drm/meson: Fixes for drm_crtc_vblank_on/off support

2018-11-22 Thread Neil Armstrong
On 21/11/2018 18:15, Neil Armstrong wrote: > Since Linux 4.17, calls to drm_crtc_vblank_on/off are mandatory, and we get > a warning when ctrc is disabled : > " driver forgot to call drm_crtc_vblank_off()" > > But, the vsync IRQ was not totally disabled due the transient hardware > state and speci

[PATCH] drm/sched: revert "fix timeout handling v2"

2018-11-22 Thread Christian König
This reverts commit 0efd2d2f68cd5dbddf4ecd974c33133257d16a8e. It's still causing problems for V3D. Signed-off-by: Christian König --- drivers/gpu/drm/scheduler/sched_main.c | 31 +-- 1 file changed, 1 insertion(+), 30 deletions(-) diff --git a/drivers/gpu/drm/schedu

[PATCH v3 3/3] drm/vc4: Attach underscan props to the HDMI connector

2018-11-22 Thread Boris Brezillon
Now that the plane code takes the underscan setup into account, we can safely attach the underscan props to the HDMI connector. We also take care of filling AVI infoframes correctly to expose the top/botton/left/right bar. Note that these underscan props match pretty well the overscan_{left,right

[PATCH v3 2/3] drm/vc4: Take underscan setup into account when updating planes

2018-11-22 Thread Boris Brezillon
Applying an underscan setup is just a matter of scaling all planes appropriately and adjusting the CRTC X/Y offset to account for the horizontal and vertical border. Create an vc4_plane_underscan_adj() function doing that and call it from vc4_plane_setup_clipping_and_scaling() so that we are ready

[PATCH v3 0/3] drm/connector: Provide generic support for underscan

2018-11-22 Thread Boris Brezillon
Hello, This is an attempt at providing generic support for underscan connector props. We already have 3 drivers defining the same underscan, underscan vborder and underscan hborder properties (amd, radeon and nouveau) and I am about to add a new one, hence my proposal to put the prop parsing code

[PATCH v3 1/3] drm/connector: Add generic underscan properties

2018-11-22 Thread Boris Brezillon
We have 3 drivers defining the "underscan", "underscan hborder" and "underscan vborder" properties (radeon, amd and nouveau) and we are about to add the same kind of thing in VC4. Define generic underscan props and add new fields to the drm_connector state so that the property parsing logic can be

Re: [PATCH 7/7] drm/syncobj: use the timeline point in drm_syncobj_find_fence

2018-11-22 Thread Christian König
Am 22.11.18 um 07:52 schrieb zhoucm1: On 2018年11月15日 19:12, Christian König wrote: Implement finding the right timeline point in drm_syncobj_find_fence. Signed-off-by: Christian König ---   drivers/gpu/drm/drm_syncobj.c | 10 +-   1 file changed, 9 insertions(+), 1 deletion(-) diff -

[PATCH] drm/sched: revert "fix timeout handling v2" v2

2018-11-22 Thread Christian König
This reverts commit 0efd2d2f68cd5dbddf4ecd974c33133257d16a8e. It's still causing problems for V3D. v2: keep rearming the timeout. Signed-off-by: Christian König --- drivers/gpu/drm/scheduler/sched_main.c | 27 +-- 1 file changed, 1 insertion(+), 26 deletions(-) diff --

[PULL] drm-intel-fixes

2018-11-22 Thread Joonas Lahtinen
Hi Dave, Here's the -fixes for 4.20-rc4. Stuck backlight/flickering fix for DSI screen and GPU hang fix for SNB are the main user visible ones. Then two more fixes to prevent GPU hangs in more rare scenarios. Regards, Joonas *** drm-intel-fixes-2018-11-22: - Fix for fastboot DSI panel boot tim

Re: [PATCH v8 1/7] mm, devm_memremap_pages: Mark devm_memremap_pages() EXPORT_SYMBOL_GPL

2018-11-22 Thread Michal Hocko
On Tue 20-11-18 15:12:54, Dan Williams wrote: > devm_memremap_pages() is a facility that can create struct page entries > for any arbitrary range and give drivers the ability to subvert core > aspects of page management. > > Specifically the facility is tightly integrated with the kernel's memory

Re: [PATCH 2/2] gpu/i915: use HMM mirror for userptr buffer object.

2018-11-22 Thread Joonas Lahtinen
Hi Jerome, Bit late reply, but here goes :) We're working quite hard to avoid pinning any pages unless they're in the GPU page tables. And when they are in the GPU page tables, they must be pinned for whole of that duration, for the reason that our GPUs can not take a fault. And to avoid thrashin

[Bug 108832] Cursor flickering on switching between cursor types

2018-11-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108832 Bug ID: 108832 Summary: Cursor flickering on switching between cursor types Product: DRI Version: unspecified Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW

[Bug 108832] Cursor flickering on switching between cursor types

2018-11-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108832 --- Comment #1 from Dieter Nützel --- Maybe duplicate of Bug #106175. Can you please verify if patch from comment #55, attachment 142558 solve it? -- You are receiving this mail because: You are the assignee for the bug.__

Re: [PATCH 2/2] gpu/i915: use HMM mirror for userptr buffer object.

2018-11-22 Thread Daniel Vetter
On Thu, Nov 22, 2018 at 03:59:50PM +0200, Joonas Lahtinen wrote: > Hi Jerome, > > Bit late reply, but here goes :) > > We're working quite hard to avoid pinning any pages unless they're in > the GPU page tables. And when they are in the GPU page tables, they must > be pinned for whole of that dur

[Bug 106175] amdgpu.dc=1 shows performance issues with Xorg compositors when moving windows

2018-11-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106175 --- Comment #58 from Nicholas Kazlauskas --- (In reply to Brandon Wright from comment #55) > Created attachment 142558 [details] [review] > Patch that "fixes" the problem. > > I've attached a patch that fixes the problem for me. It copies parts

Re: [Xen-devel][PATCH 2/3] drm/xen-front: Use Xen common shared buffer implementation

2018-11-22 Thread Daniel Vetter
On Thu, Nov 22, 2018 at 12:02:29PM +0200, Oleksandr Andrushchenko wrote: > From: Oleksandr Andrushchenko > > Use page directory based shared buffer implementation > now available as common code for Xen frontend drivers. > > Signed-off-by: Oleksandr Andrushchenko > --- > drivers/gpu/drm/xen/Kco

[PATCH 2/2] drm/atomic-helper: WARN if fake_commit->hw_done is not completed as expected

2018-11-22 Thread Ville Syrjala
From: Ville Syrjälä For real commits we WARN if ->hw_done hasn't been completed by the time drm_atomic_helper_commit_cleanup_done() is called. Let's do the same for the fake commit. Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/drm_atomic_helper.c | 4 +++- 1 file changed, 3 insertions(+),

[PATCH 1/2] drm/atomic-helper: Complete fake_commit->flip_done potentially earlier

2018-11-22 Thread Ville Syrjala
From: Ville Syrjälä Consider the following scenario: 1. nonblocking enable crtc 2. wait for the event 3. nonblocking disable crtc On i915 this can lead to a spurious -EBUSY from step 3 on account of non-enabled planes getting the fake_commit in step 1 and we don't complete the fake_commit-> flip

Re: [PATCH] drm/prime: Fix drm_gem_prime_mmap() stack use

2018-11-22 Thread Noralf Trønnes
Den 22.11.2018 10.06, skrev Daniel Vetter: On Wed, Nov 21, 2018 at 07:02:15PM +0100, Noralf Trønnes wrote: drivers/gpu/drm/drm_prime.c: In function 'drm_gem_prime_mmap': drivers/gpu/drm/drm_prime.c:688:1: warning: the frame size of 1592 bytes is larger than 1024 bytes [-Wframe-larger-than

Re: [PATCH 1/2] drm/atomic-helper: Complete fake_commit->flip_done potentially earlier

2018-11-22 Thread Maarten Lankhorst
Op 22-11-18 om 15:34 schreef Ville Syrjala: > From: Ville Syrjälä > > Consider the following scenario: > 1. nonblocking enable crtc > 2. wait for the event > 3. nonblocking disable crtc > > On i915 this can lead to a spurious -EBUSY from step 3 on > account of non-enabled planes getting the fake_c

[Bug 106175] amdgpu.dc=1 shows performance issues with Xorg compositors when moving windows

2018-11-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106175 --- Comment #59 from bmil...@gmail.com --- (In reply to Nicholas Kazlauskas from comment #58) > (In reply to Brandon Wright from comment #55) > > Created attachment 142558 [details] [review] [review] > > Patch that "fixes" the problem. > > > > I

Re: [alsa-devel] [Xen-devel][PATCH 3/3] ALSA: xen-front: Use Xen common shared buffer implementation

2018-11-22 Thread Takashi Iwai
On Thu, 22 Nov 2018 11:02:30 +0100, Oleksandr Andrushchenko wrote: > > @@ -214,12 +221,19 @@ static void stream_clear(struct > xen_snd_front_pcm_stream_info *stream) > stream->out_frames = 0; > atomic_set(&stream->hw_ptr, 0); > xen_snd_front_evtchnl_pair_clear(stream->evt_pair);

[Bug 201763] amdgpu: [powerplay] VBIOS did not find boot engine clock value in dependency table. Using Memory DPM level 0!

2018-11-22 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=201763 --- Comment #2 from Michel Dänzer (mic...@daenzer.net) --- From the dmesg output, it looks like the AMD GPU is powered off most of the time. Do the freezes happen when you explicitly use it for something, e.g. for a game via DRI_PRIME=1? -- You

Re: [PATCH AUTOSEL 4.9 08/17] drm/edid: Add 6 bpc quirk for BOE panel.

2018-11-22 Thread Sasha Levin
On Wed, Nov 21, 2018 at 10:33:18AM +0100, Daniel Vetter wrote: On Wed, Nov 21, 2018 at 10:31 AM Daniel Vetter wrote: On Tue, Nov 13, 2018 at 12:52:14AM -0500, Sasha Levin wrote: > From: "Lee, Shawn C" > > [ Upstream commit 922dceff8dc1fb4dafc9af78139ba65671408103 ] > > BOE panel (ID: 0x0771)

[PATCH v2] drm/meson: Fixes for drm_crtc_vblank_on/off support

2018-11-22 Thread Neil Armstrong
Since Linux 4.17, calls to drm_crtc_vblank_on/off are mandatory, and we get a warning when ctrc is disabled : " driver forgot to call drm_crtc_vblank_off()" But, the vsync IRQ was not totally disabled due the transient hardware state and specific interrupt line, thus adding proper IRQ masking from

[Bug 106175] amdgpu.dc=1 shows performance issues with Xorg compositors when moving windows

2018-11-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106175 --- Comment #60 from Brandon Wright --- > There are larger problems within amdgpu_dm's commit tail that if addressed > should resolve this issue for compton I'd imagine. Honestly, I don't care about compton. I don't think you realize the effect

[Bug 102637] Radeon 9600 Pro (Mac Version) shows funky colours on console and X (ppc64)

2018-11-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102637 erhar...@mailbox.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

Re: [PATCH v8 1/7] mm, devm_memremap_pages: Mark devm_memremap_pages() EXPORT_SYMBOL_GPL

2018-11-22 Thread Christoph Hellwig
On Thu, Nov 22, 2018 at 05:38:58PM +0100, Christoph Hellwig wrote: > On Thu, Nov 22, 2018 at 02:30:13PM +0100, Michal Hocko wrote: > > Whoever needs a wrapper around arch_add_memory can do so because this > > symbol has no restriction for the usage. > > arch_add_memory is not exported, and it real

Re: [PATCH v8 1/7] mm, devm_memremap_pages: Mark devm_memremap_pages() EXPORT_SYMBOL_GPL

2018-11-22 Thread Christoph Hellwig
On Thu, Nov 22, 2018 at 02:30:13PM +0100, Michal Hocko wrote: > Whoever needs a wrapper around arch_add_memory can do so because this > symbol has no restriction for the usage. arch_add_memory is not exported, and it really should not be. ___ dri-devel m

[PATCH 0/3] RFC: mmu notifier debug checks

2018-11-22 Thread Daniel Vetter
Hi all, We're having some good fun with the i915 mmu notifier (it deadlocks), and I think it'd be very useful to have a bunch more runtime debug checks to catch screw-ups. I'm also working on some lockdep improvements in gpu code (better annotations and stuff like that). Together with this series

[PATCH 3/3] mm, notifier: Add a lockdep map for invalidate_range_start

2018-11-22 Thread Daniel Vetter
This is a similar idea to the fs_reclaim fake lockdep lock. It's fairly easy to provoke a specific notifier to be run on a specific range: Just prep it, and then munmap() it. A bit harder, but still doable, is to provoke the mmu notifiers for all the various callchains that might lead to them. But

[PATCH 1/3] mm: Check if mmu notifier callbacks are allowed to fail

2018-11-22 Thread Daniel Vetter
Just a bit of paranoia, since if we start pushing this deep into callchains it's hard to spot all places where an mmu notifier implementation might fail when it's not allowed to. Cc: Andrew Morton Cc: Michal Hocko Cc: "Christian König" Cc: David Rientjes Cc: Daniel Vetter Cc: "Jérôme Glisse"

[PATCH 2/3] mm, notifier: Catch sleeping/blocking for !blockable

2018-11-22 Thread Daniel Vetter
We need to make sure implementations don't cheat and don't have a possible schedule/blocking point deeply burried where review can't catch it. I'm not sure whether this is the best way to make sure all the might_sleep() callsites trigger, and it's a bit ugly in the code flow. But it gets the job d

Re: [Intel-gfx] [PATCH 1/3] mm: Check if mmu notifier callbacks are allowed to fail

2018-11-22 Thread Chris Wilson
Quoting Daniel Vetter (2018-11-22 16:51:04) > Just a bit of paranoia, since if we start pushing this deep into > callchains it's hard to spot all places where an mmu notifier > implementation might fail when it's not allowed to. Most callers could handle the failure correctly. It looks like the fa

[Bug 108781] 4.19 Regression - Hawaii (R9 390) boot failure - Invalid PCC GPIO / invalid powerlevel state / Fatal error during GPU init

2018-11-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108781 --- Comment #18 from freedesk...@nuclearsunshine.com --- I just hit this as well with 4.19 on Fedora and a R9 390X - Grub shows fine, then no video output after that (monitor goes into power save), and boot doesn't seem to continue (no disk activ

[Bug 106175] amdgpu.dc=1 shows performance issues with Xorg compositors when moving windows

2018-11-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106175 --- Comment #61 from tempel.jul...@gmail.com --- Thanks a lot @ Brandon Wright, your patch really does the trick. I also totally agree on your opinion that it should be mainlined as at least a temporary solution (and also get backported to older

Re: [PATCH v3 1/3] drm/connector: Add generic underscan properties

2018-11-22 Thread Brian Starkey
Hi Boris, Just because I happened to read the docs in here, one typo below: On Thu, Nov 22, 2018 at 12:23:29PM +0100, Boris Brezillon wrote: >We have 3 drivers defining the "underscan", "underscan hborder" and >"underscan vborder" properties (radeon, amd and nouveau) and we are >about to add the

[Bug 105733] Amdgpu randomly hangs and only ssh works. Mouse cursor moves sometimes but does nothing. Keyboard stops working.

2018-11-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105733 --- Comment #51 from Allan --- Tried to install the RX480 on the other PC : the card is too big that it touches the RAM slot's tabs. Can't install it. In time, seems like the errors delay a little bit when setting randomize_va_space=0. Was test

Re: [PATCH 1/3] mm: Check if mmu notifier callbacks are allowed to fail

2018-11-22 Thread Koenig, Christian
Am 22.11.18 um 17:51 schrieb Daniel Vetter: > Just a bit of paranoia, since if we start pushing this deep into > callchains it's hard to spot all places where an mmu notifier > implementation might fail when it's not allowed to. > > Cc: Andrew Morton > Cc: Michal Hocko > Cc: "Christian König" >

[Bug 106175] amdgpu.dc=1 shows performance issues with Xorg compositors when moving windows

2018-11-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106175 --- Comment #62 from Brandon Wright --- (In reply to tempel.julian from comment #61) > I just noticed that it works fine with xf86-video-amdgpu driver, but with > modesetting driver, xorg or the driver freezes when starting/logging in. Not > sur

Re: [PATCH 2/3] mm, notifier: Catch sleeping/blocking for !blockable

2018-11-22 Thread Koenig, Christian
Am 22.11.18 um 17:51 schrieb Daniel Vetter: > We need to make sure implementations don't cheat and don't have a > possible schedule/blocking point deeply burried where review can't > catch it. > > I'm not sure whether this is the best way to make sure all the > might_sleep() callsites trigger, and

[Bug 108781] 4.19 Regression - Hawaii (R9 390) boot failure - Invalid PCC GPIO / invalid powerlevel state / Fatal error during GPU init

2018-11-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108781 --- Comment #19 from Jim Haddad --- This happened to me 7 days ago when Fedora replaced kernel-4.18.18-300.fc29 with kernel-4.19.2-300.fc29. Also on kernel-4.19.3-300.fc29 from yesterday. On a different hard drive I tried rawhide and kernel-4

[Bug 107978] [amdgpu] Switching to tty fails with DisplayPort 1.2 monitor going to sleep (REG_WAIT timeout / dce110_stream_encoder_dp_blank)

2018-11-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107978 --- Comment #17 from Shmerl --- (In reply to Nicholas Kazlauskas from comment #13) > > This does help narrow down the problem, thanks. Is there any chance of fixing this in 4.20? -- You are receiving this mail because: You are the assignee f

[Bug 106175] amdgpu.dc=1 shows performance issues with Xorg compositors when moving windows

2018-11-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106175 --- Comment #63 from bmil...@gmail.com --- (In reply to Brandon Wright from comment #62) > (In reply to tempel.julian from comment #61) > > I just noticed that it works fine with xf86-video-amdgpu driver, but with > > modesetting driver, xorg or

[Bug 105733] Amdgpu randomly hangs and only ssh works. Mouse cursor moves sometimes but does nothing. Keyboard stops working.

2018-11-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105733 --- Comment #52 from fin4...@hotmail.com --- To prevent random kernel lock ups with Ryzen, fix this with bios, set to Typical Current Idle in the bios Advanced/AMD CBS menu. Use latest AMD wip kernel and Oibaf ppa Mesa. Disable display composti

[Bug 105733] Amdgpu randomly hangs and only ssh works. Mouse cursor moves sometimes but does nothing. Keyboard stops working.

2018-11-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105733 --- Comment #53 from fin4...@hotmail.com --- Created attachment 142573 --> https://bugs.freedesktop.org/attachment.cgi?id=142573&action=edit AMD wip kernel config with 1000Hz timer -- You are receiving this mail because: You are the assignee

[Bug 106175] amdgpu.dc=1 shows performance issues with Xorg compositors when moving windows

2018-11-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106175 --- Comment #64 from Nicholas Kazlauskas --- Created attachment 142574 --> https://bugs.freedesktop.org/attachment.cgi?id=142574&action=edit 0001-drm-amd-display-Add-fast-path-for-legacy-cursor-plan.patch This patch is similar to the async_up

[PATCH AUTOSEL 4.19 28/36] drm/amdgpu: fix bug with IH ring setup

2018-11-22 Thread Sasha Levin
From: Philip Yang [ Upstream commit c837243ff4017f493c7d6f4ab57278d812a86859 ] The bug limits the IH ring wptr address to 40bit. When the system memory is bigger than 1TB, the bus address is more than 40bit, this causes the interrupt cannot be handled and cleared correctly. Reviewed-by: Christi

[Bug 106175] amdgpu.dc=1 shows performance issues with Xorg compositors when moving windows

2018-11-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106175 --- Comment #65 from bmil...@gmail.com --- (In reply to Nicholas Kazlauskas from comment #64) > Created attachment 142574 [details] [review] > 0001-drm-amd-display-Add-fast-path-for-legacy-cursor-plan.patch > > This patch is similar to the async

[Bug 106175] amdgpu.dc=1 shows performance issues with Xorg compositors when moving windows

2018-11-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106175 --- Comment #66 from Brandon Wright --- (In reply to bmilreu from comment #65) > Is there an easy way to backport this to 4.19 mainline? Would be very useful > to integrate the fix into stable kernels. > > As it is currently it wont work on 4.1

linux-next: manual merge of the drm-misc tree with the drm tree

2018-11-22 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the drm-misc tree got a conflict in: drivers/gpu/drm/Makefile between commit: 2bb42410b1bd ("drm: Remove drm_global.{c,h} v2") from the drm tree and commit: c6fdea6e1a19 ("drm: Merge drm_info.c into drm_debugfs.c") from the drm-misc tree. I fixed it

AMDGPU with 4.19.x kernel - cannot enable DPM

2018-11-22 Thread Chris Rankin
Hi, I have recently tried to use dpm=1 with the amdgpu driver for the 4.19.x kernel, but unfortunately the screen just went black. This is a regression from the 4.18.x kernel. I have attached the full dmesg log, but the relevant section look to be: [8.958679] WARNING: CPU: 0 PID: 320 at driv

[Bug 108843] Laptop with ATI RX 580 doesn't turn the screen on when resuming.

2018-11-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108843 Bug ID: 108843 Summary: Laptop with ATI RX 580 doesn't turn the screen on when resuming. Product: DRI Version: DRI git Hardware: x86-64 (AMD64) OS: Linux (

[Bug 108843] Laptop with ATI RX 580 doesn't turn the screen on when resuming.

2018-11-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108843 --- Comment #1 from alex14...@yahoo.com --- Created attachment 142583 --> https://bugs.freedesktop.org/attachment.cgi?id=142583&action=edit Kernel config file -- You are receiving this mail because: You are the assignee for the bug.__

[git pull] drm fixes for 4.20-rc4

2018-11-22 Thread Dave Airlie
Hi Linus, Regular drm fixes pull for rc4. amdgpu: Vega20 fixes, firmware loading fix, panel display fix, override fix i915: Sandybridge lockup fix, fastboot DSI panel fix, GPU hang on Broxton, GPU reloc fixes on pineview/bearlake ast: screen blurring fix, cursor appearance fix udmabuf: mmap fix v

Re: [PATCH v3] drm/rockchip: update cursors asynchronously through atomic.

2018-11-22 Thread Tomasz Figa
Hi Helen, On Fri, Nov 23, 2018 at 8:31 AM Helen Koike wrote: > > Hi Tomasz, > > On 11/20/18 4:48 AM, Tomasz Figa wrote: > > Hi Helen, > > > > On Tue, Nov 20, 2018 at 4:08 AM Helen Koike > > wrote: > >> > >> From: Enric Balletbo i Serra > >> > >> Add support to async updates of cursors by using

Re: [PATCH 7/7] drm/syncobj: use the timeline point in drm_syncobj_find_fence

2018-11-22 Thread zhoucm1
On 2018年11月22日 19:30, Christian König wrote: Am 22.11.18 um 07:52 schrieb zhoucm1: On 2018年11月15日 19:12, Christian König wrote: Implement finding the right timeline point in drm_syncobj_find_fence. Signed-off-by: Christian König ---   drivers/gpu/drm/drm_syncobj.c | 10 +-   1 file

[Bug 108844] not a crical prblem

2018-11-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108844 Bug ID: 108844 Summary: not a crical prblem Product: DRI Version: XOrg git Hardware: x86-64 (AMD64) OS: All Status: NEW Severity: minor Priorit

[Bug 108845] login button not working as expected

2018-11-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108845 Bug ID: 108845 Summary: login button not working as expected Product: DRI Version: DRI git Hardware: All OS: All Status: NEW Severity: normal P

[Bug 108845] login button not working as expected

2018-11-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108845 jyotiba changed: What|Removed |Added URL||http://www.newtours.demoaut

Re: [PATCH v3] drm/rockchip: update cursors asynchronously through atomic.

2018-11-22 Thread Tomasz Figa
Hi Michael, On Fri, Nov 23, 2018 at 1:58 PM Michael Zoran wrote: > > On Fri, 2018-11-23 at 11:27 +0900, Tomasz Figa wrote: > > > > The point here is not about setting and resetting the plane->fb > > pointer. It's about what happens inside > > drm_atomic_set_fb_for_plane(). > > > > It calls drm_fr

[Bug 108845] login button not working as expected

2018-11-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108845 Tapani Pälli changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[PATCH v2 3/9] drm/msm/mdp4: add lcdc-align-lsb flag to control lane alignment

2018-11-22 Thread Jonathan Marek
Controls which of the 8 lanes are used for 6 bit color. Signed-off-by: Jonathan Marek --- .../gpu/drm/msm/disp/mdp4/mdp4_lcdc_encoder.c | 22 --- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/drivers/gpu/drm/msm/disp/mdp4/mdp4_lcdc_encoder.c b/drivers/gpu/drm/ms

[PATCH] drm/pl111: add of_node_put()

2018-11-22 Thread Yangtao Li
of_find_node_by_path() acquires a reference to the node returned by it and that reference needs to be dropped by its caller. bl_idle_init() doesn't do that, so fix it. Signed-off-by: Yangtao Li --- drivers/gpu/drm/pl111/pl111_vexpress.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drive

[PATCHv5 5/6] drm/omap: add framedone interrupt support

2018-11-22 Thread Sebastian Reichel
This prepares framedone interrupt handling for manual display update support. Acked-by: Pavel Machek Tested-by: Tony Lindgren Tested-by: Pavel Machek Signed-off-by: Sebastian Reichel --- drivers/gpu/drm/omapdrm/omap_crtc.c | 50 + drivers/gpu/drm/omapdrm/omap_crtc.

Re: [PATCH] drm: restore is_master upon failure in drm_new_set_master()

2018-11-22 Thread Sergio Correia
On Wed, Nov 21, 2018 at 6:55 AM Daniel Vetter wrote: > > On Sun, Nov 18, 2018 at 08:57:20PM -0300, Sergio Correia wrote: > > When drm_new_set_master() fails, we restore the old master, however we may > > have changed the is_master flag to 1, before failing, and it may be the > > case it was 0 prev

Re: [linux-sunxi] [PATCH] drm/sun4i: wait on implicit fence before display

2018-11-22 Thread Jernej Škrabec
Hi, Dne ponedeljek, 19. november 2018 ob 15:33:11 CET je Qiang Yu napisal(a): > Render like lima will attach a fence to the framebuffer > dma_buf, display like sun4i should wait it finish before > show the framebuffer. Otherwise tearing will be observed. Please resend this patch to all emails lis

[PATCH] drm/amd/amdkfd: Remove duplicate header

2018-11-22 Thread Brajeswar Ghosh
Remove gca/gfx_8_0_enum.h which is included more than once Signed-off-by: Brajeswar Ghosh --- drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_vi.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_vi.c b/drivers/gpu/drm/amd/amdkfd/kfd_dev

[PATCH 2/3] dt-bindings: drm/panel: simple: add support for PDA 91-00156-A0

2018-11-22 Thread Eugen.Hristev
From: Cristian Birsan PDA 91-00156-A0 5.0 is a 5.0" WVGA TFT LCD panel. This panel with backlight is found in PDA 5" LCD screen (TM5000 series or AC320005-5). Adding Device Tree bindings for this panel. Signed-off-by: Cristian Birsan --- .../devicetree/bindings/display/panel/pda,91-00156-a0.tx

[PATCH v3] drm/ast: fixed reading monitor EDID not stable issue

2018-11-22 Thread Y.C. Chen
From: "Y.C. Chen" v1: over-sample data to increase the stability with some specific monitors v2: refine to avoid infinite loop v3: remove un-necessary "volatile" declaration Signed-off-by: Y.C. Chen --- drivers/gpu/drm/ast/ast_mode.c | 34 -- 1 file changed, 28

[PATCHv5 0/6] omapdrm: DSI command mode panel support

2018-11-22 Thread Sebastian Reichel
Hi, Here is another round of the DSI command mode panel patchset integrating the feedback from PATCHv4. The patches are based on 4.20-rc1 + fixes from Laurent and Tony. I dropped the patches for OMAP3 support (it needs a workaround for a hardware bug) and for automatic display rotation. They shoul

[PATCH 3/3] drm/panel: simple: add support for PDA 91-00156-A0 panel

2018-11-22 Thread Eugen.Hristev
PDA 91-00156-A0 5.0 is a 5.0" WVGA TFT LCD panel. This panel with backlight is found in PDA 5" LCD screen (TM5000 series or AC320005-5). Signed-off-by: Eugen Hristev --- drivers/gpu/drm/panel/panel-simple.c | 27 +++ 1 file changed, 27 insertions(+) diff --git a/drivers/

[PATCH v2 4/9] drm/msm: use contiguous vram for MSM_BO_SCANOUT when possible

2018-11-22 Thread Jonathan Marek
Makes it possible to have MMU for GPU but not display. Signed-off-by: Jonathan Marek --- drivers/gpu/drm/msm/msm_gem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/msm/msm_gem.c b/drivers/gpu/drm/msm/msm_gem.c index d97f6ecb0531..6657453a3a58 100644 --- a/d

[PATCHv5 2/6] drm/omap: populate DSI platform bus earlier

2018-11-22 Thread Sebastian Reichel
After the changes from 4.20 the DSI encoder tries to find the attached panel before populating the DSI bus. If the panel is not found -EPROBE_DEFER is returned, so the DSI bus is never populated and the panel never added. Fix this by populating the DSI bus before searching for the video sink in ds

Re: [PATCH v2 8/9] phy: Add Cadence D-PHY support

2018-11-22 Thread Kishon Vijay Abraham I
Hi Maxime, On 21/11/18 3:41 PM, Maxime Ripard wrote: > Hi Kishon, > > On Tue, Nov 20, 2018 at 11:02:34AM +0530, Kishon Vijay Abraham I wrote: +static int cdns_dphy_config_from_opts(struct phy *phy, +struct phy_configure_opts_mipi_dphy *opts, +

[PATCH 1/3] dt-bindings: add vendor prefix for PDA Precision Design Associates, Inc.

2018-11-22 Thread Eugen.Hristev
Precision Design Associates, Inc. (PDA) manufactures standard and custom capacitive touch screens, LCD's embedded controllers and custom embedded software. They specialize in industrial, rugged and outdoor applications. Website: http://www.pdaatl.com/ Signed-off-by: Eugen Hristev --- Documentati

ASPEED graphics card: ast_pci_probe causes RCU stalls

2018-11-22 Thread poza
Hi, we have on-board ASPEED Graphics card on PCIe. kernel version: 4.16 I select following drive to enable ast graphics support. Symbol: DRM_AST [=y]

[PATCH] drm/amd/amdgpu: Remove duplicate header

2018-11-22 Thread Brajeswar Ghosh
Remove drm/drm_fb_helper.h which is included more than once Signed-off-by: Brajeswar Ghosh --- drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h index b9e9e8b02fb7..1cac

[PATCHv5 1/6] drm/omap: use DRM_DEBUG_DRIVER instead of CORE

2018-11-22 Thread Sebastian Reichel
This macro is only used by omapdrm, which should print debug messages using the DRIVER category instead of the default CORE category. Acked-by: Pavel Machek Tested-by: Tony Lindgren Tested-by: Pavel Machek Signed-off-by: Sebastian Reichel --- drivers/gpu/drm/omapdrm/omap_drv.h | 4 ++-- 1 fil

Re: [PATCH 0/9] Use vm_insert_range

2018-11-22 Thread Boris Ostrovsky
On 11/21/18 2:56 PM, Souptick Joarder wrote: > On Thu, Nov 22, 2018 at 1:08 AM Boris Ostrovsky > wrote: >> On 11/21/18 1:24 AM, Souptick Joarder wrote: >>> On Thu, Nov 15, 2018 at 9:09 PM Souptick Joarder >>> wrote: Previouly drivers have their own way of mapping range of kernel pages/

Re: [PATCH 1/9] mm: Introduce new vm_insert_range API

2018-11-22 Thread Mike Rapoport
On Mon, Nov 19, 2018 at 11:15:15PM +0530, Souptick Joarder wrote: > On Mon, Nov 19, 2018 at 9:56 PM Mike Rapoport wrote: > > > > On Mon, Nov 19, 2018 at 08:43:09PM +0530, Souptick Joarder wrote: > > > Hi Mike, > > > > > > On Sat, Nov 17, 2018 at 8:07 PM Matthew Wilcox > > > wrote: > > > > > > >

[PATCHv5 4/6] drm/omap: fix incorrect union usage

2018-11-22 Thread Sebastian Reichel
The DSI encoder sets dssdev->ops->dsi.set_config, which is stored at the same offset as dssdev->ops->hdmi.set_hdmi_mode. The code in omap_encoder only checks if dssdev->ops->hdmi.set_hdmi_mode is NULL. Due to the way union works, it won't be NULL if dsi.set_config is set. This means dsi_set_config

WARNING in vkms_plane_duplicate_state

2018-11-22 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:92b419289cee Merge tag 'riscv-for-linus-4.20-rc4' of git:/.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=17ed377b40 kernel config: https://syzkaller.appspot.com/x/.config?x=73e2bc0cb6463446 da

[PATCH 0/3] drm: Add panel support for PDA 91-00156-A0

2018-11-22 Thread Eugen.Hristev
Hello, This patch series adds support for PDA (Precision Design Associates, Inc.) vendor, and for the PDA 91-00156-A0 simple panel, together with the bindings. The series is on top of http://anongit.freedesktop.org/git/drm/drm.git drm-next branch. Cristian Birsan (1): dt-bindings: drm/panel: s

  1   2   >