[Bug 101900] No HDMI HBR audio on Polaris (no TrueHD, no Atmos, no Neo:X, no HD Master audio) and static noise in sound when LPCM on amdgpu Xorg driver

2018-06-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101900 --- Comment #41 from Alex Deucher --- (In reply to Christophe Viallon from comment #40) > Does this patch corrects HBR audio over HDMI for Kavery APU family too ? Covers all asics supported by DC. -- You are receiving this mail because: You

Re: [PATCH v3 2/3] fbcon: Call WARN_CONSOLE_UNLOCKED() where applicable

2018-06-26 Thread Steven Rostedt
On Tue, 26 Jun 2018 15:55:34 +0200 Hans de Goede wrote: > Replace comments about places where the console lock should be held with > calls to WARN_CONSOLE_UNLOCKED() to assert that it is actually held. Why replace the comments? I prefer them, even with the WARN. The reason is, when using

[Bug 102322] System crashes after "[drm] IP block:gmc_v8_0 is hung!" / [drm] IP block:sdma_v3_0 is hung!

2018-06-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102322 --- Comment #9 from Andrey Grodzovsky --- Created attachment 140345 --> https://bugs.freedesktop.org/attachment.cgi?id=140345=edit Deadlock fix -- You are receiving this mail because: You are the assignee for the

[Bug 106940] Black screen on KMS with 4.18.0-rc1 with Kaveri+Topaz, amdgpu, dc=1

2018-06-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106940 --- Comment #23 from Server Angels --- Just to add - I had the same experience with rc1 on a Vega / Ryzen system. System is responsive over the network but black screen. This is with Fedora and rawhide kernels. What exact debug would be

[PATCH v3 1/3] printk: Export is_console_locked

2018-06-26 Thread Hans de Goede
This is a preparation patch for adding a number of WARN_CONSOLE_UNLOCKED() calls to the fbcon code, which may be built as a module (event though usually it is not). Signed-off-by: Hans de Goede --- Changes in v3: -New patch in v3 of this patchset --- kernel/printk/printk.c | 1 + 1 file

[PATCH v3 2/3] fbcon: Call WARN_CONSOLE_UNLOCKED() where applicable

2018-06-26 Thread Hans de Goede
Replace comments about places where the console lock should be held with calls to WARN_CONSOLE_UNLOCKED() to assert that it is actually held. Signed-off-by: Hans de Goede --- Changes in v3: -New patch in v3 of this patchset --- drivers/video/fbdev/core/fbcon.c | 18 +++--- 1 file

Re: [PATCH] drm/amd/display: don't initialize result

2018-06-26 Thread Harry Wentland
On 2018-06-17 04:53 AM, Stefan Agner wrote: > The wrong enum type is used to initialize the result, leading to a > warning when using clang: > drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c:1998:26: warning: > implicit conversion from enumeration type 'enum ddc_result' to

[Bug 199749] amdgpu on Ryzen 2400G freeze randomly

2018-06-26 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=199749 --- Comment #21 from notsyncing (song...@gmail.com) --- (In reply to Andrey Grodzovsky from comment #20) > You just prepend this before command to start your graphic stack. You need > to manually run your graphic stack from command line and add

[Bug 106928] When starting a match Rocket League crashes on "Go"

2018-06-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106928 --- Comment #4 from ubiz...@gmail.com --- (In reply to ubizjak from comment #3) > [1] https://bugzilla.redhat.com/show_bug.cgi?id=1580019 As reported in [1], full backtrace with debug info reads: Thread 1 "firefox" received signal SIGSEGV,

[Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu]

2018-06-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104064 taij...@posteo.de changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930

2018-06-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105760 taij...@posteo.de changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

Re: [PATCH] drm: Pass crtc to .best_encoder()

2018-06-26 Thread Harry Wentland
On 2018-06-15 03:52 PM, Ville Syrjala wrote: > From: Ville Syrjälä > > To pick the correct MST encoder i915 wants to know which crtc is going > to be feeding us. To that end let's pass the crtc to the .best_encoder() > hook. The atomic variant already knows the crtc via the connector state, >

Re: [PATCH] drm: Pass crtc to .best_encoder()

2018-06-26 Thread Ville Syrjälä
On Tue, Jun 26, 2018 at 05:23:25PM +0200, Daniel Vetter wrote: > On Fri, Jun 15, 2018 at 10:52:21PM +0300, Ville Syrjala wrote: > > From: Ville Syrjälä > > > > To pick the correct MST encoder i915 wants to know which crtc is going > > to be feeding us. To that end let's pass the crtc to the

Re: [BUG 4.17] etnaviv-gpu f1840000.gpu: recover hung GPU!

2018-06-26 Thread Lucas Stach
Hi Russell, Am Dienstag, den 26.06.2018, 16:36 +0100 schrieb Russell King - ARM Linux: > On Tue, Jun 26, 2018 at 09:17:26AM +0100, Russell King - ARM Linux > wrote: > > On Tue, Jun 19, 2018 at 02:28:46PM +0200, Lucas Stach wrote: > > > Agreed. I'll look into bringing back the process detection

[Bug 107045] [4.18rc2] RX470 dGPU on hybrid laptop freezes screen after use

2018-06-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107045 --- Comment #1 from taij...@posteo.de --- Created attachment 140344 --> https://bugs.freedesktop.org/attachment.cgi?id=140344=edit relevant xorg.log -- You are receiving this mail because: You are the assignee for the

[Bug 107045] [4.18rc2] RX470 dGPU on hybrid laptop freezes screen after use

2018-06-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107045 --- Comment #2 from Alex Deucher --- When was it last working? Can you bisect? -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel mailing list

Re: [PATCH] drm: Pass crtc to .best_encoder()

2018-06-26 Thread Daniel Vetter
On Fri, Jun 15, 2018 at 10:52:21PM +0300, Ville Syrjala wrote: > From: Ville Syrjälä > > To pick the correct MST encoder i915 wants to know which crtc is going > to be feeding us. To that end let's pass the crtc to the .best_encoder() > hook. The atomic variant already knows the crtc via the

Re: [[DPU]PATCH] drm/msm/dsi: move the API setting PLL src to modeset_init()

2018-06-26 Thread Doug Anderson
Hi, On Mon, Jun 25, 2018 at 9:45 PM, Sandeep Panda wrote: > From: Abhinav Kumar > > Setting the DSI PLL src in probe doesn't provide the clock > driver sufficient time to reclaim unused clock resources > from coreboot resulting in warnings from clock driver. > > Move the DSI PLL src setting to

[Bug 107045] [4.18rc2] RX470 dGPU on hybrid laptop freezes screen after use

2018-06-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107045 --- Comment #3 from taij...@posteo.de --- (In reply to Alex Deucher from comment #2) > When was it last working? Can you bisect? It never really did work. As you can see from the first post (and may remember) there have been a number of issues

Re: [PATCH] drm/vkms: Add vblank events simulated by hrtimers

2018-06-26 Thread Rodrigo Siqueira
On 06/26, Daniel Vetter wrote: > On Tue, Jun 26, 2018 at 4:25 AM, Rodrigo Siqueira > wrote: > > On 06/25, Ville Syrjälä wrote: > >> On Mon, Jun 25, 2018 at 02:19:22PM -0300, Rodrigo Siqueira wrote: > >> > This commit adds regular vblank events simulated through hrtimers, which > >> > is a feature

Re: [PATCH v3 2/3] fbcon: Call WARN_CONSOLE_UNLOCKED() where applicable

2018-06-26 Thread Daniel Vetter
On Tue, Jun 26, 2018 at 03:55:34PM +0200, Hans de Goede wrote: > Replace comments about places where the console lock should be held with > calls to WARN_CONSOLE_UNLOCKED() to assert that it is actually held. > > Signed-off-by: Hans de Goede > --- > Changes in v3: > -New patch in v3 of this

[Bug 107045] [4.18rc2] RX470 dGPU on hybrid laptop freezes screen after use

2018-06-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107045 Bug ID: 107045 Summary: [4.18rc2] RX470 dGPU on hybrid laptop freezes screen after use Product: DRI Version: DRI git Hardware: x86-64 (AMD64) OS: Linux

Re: [PATCH] drm: Pass crtc to .best_encoder()

2018-06-26 Thread Harry Wentland
On 2018-06-26 11:01 AM, Harry Wentland wrote: > On 2018-06-15 03:52 PM, Ville Syrjala wrote: >> From: Ville Syrjälä >> >> To pick the correct MST encoder i915 wants to know which crtc is going >> to be feeding us. To that end let's pass the crtc to the .best_encoder() >> hook. The atomic variant

[Bug 107045] [4.18rc2] RX470 dGPU on hybrid laptop freezes screen after use

2018-06-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107045 --- Comment #4 from Michel Dänzer --- (In reply to taijian from comment #3) > Also, so far I was always able to at least boot up with dc=0 and have it > working, but that seems to be over with 4.18 (does not > get past gdm login screen without

[Bug 199749] amdgpu on Ryzen 2400G freeze randomly

2018-06-26 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=199749 --- Comment #22 from Andrey Grodzovsky (andrey.grodzov...@amd.com) --- (In reply to notsyncing from comment #21) > (In reply to Andrey Grodzovsky from comment #20) > > You just prepend this before command to start your graphic stack. You need > >

[PATCH v3 3/3] console/fbcon: Add support for deferred console takeover

2018-06-26 Thread Hans de Goede
Currently fbcon claims fbdevs as soon as they are registered and takes over the console as soon as the first fbdev gets registered. This behavior is undesirable in cases where a smooth graphical bootup is desired, in such cases we typically want the contents of the framebuffer (typically a vendor

[PATCH v3 0/3] console/fbcon: Add support for deferred console takeover

2018-06-26 Thread Hans de Goede
Hi All, Here is v3 of my patch, now patch-set, to delay fbcon taking over the console (and binding to fbdev devices) until there actually is some text output to the console. This is intended for use with the "quiet" cmdline option, in combination with a bootloader which leaves the vendor's logo /

[PATCH] dma-buf: Move BUG_ON from _add_shared_fence to _add_shared_inplace

2018-06-26 Thread Michel Dänzer
From: Michel Dänzer Fixes the BUG_ON spuriously triggering under the following circumstances: * ttm_eu_reserve_buffers processes a list containing multiple BOs using the same reservation object, so it calls reservation_object_reserve_shared with that reservation object once for each such

[Bug 102322] System crashes after "[drm] IP block:gmc_v8_0 is hung!" / [drm] IP block:sdma_v3_0 is hung!

2018-06-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102322 --- Comment #8 from Andrey Grodzovsky --- (In reply to dwagner from comment #7) > (In reply to Andrey Grodzovsky from comment #6) > > Verify you are using latest AMD firmware and up to date MESA/LLVM > > Firmware: > > pacman -Q linux-firmware

[Bug 106928] When starting a match Rocket League crashes on "Go"

2018-06-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106928 ubiz...@gmail.com changed: What|Removed |Added See Also||https://bugzilla.redhat.com

[PATCH][next] drm/panel: ILI9881c: fix missing assignment to error return ret

2018-06-26 Thread Colin King
From: Colin Ian King Currently, ret is being checked for an error condition however it is not being assigned in the previous statement on the call of function mipi_dsi_dcs_exit_sleep_mode. Add in the missing assignment of ret. Detected by CoverityScan, CID#1470174, 1470178 ("Unchecked return

[Bug 199115] [gma500] BUG: unable to handle kernel NULL pointer dereference at 0000000000000081

2018-06-26 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=199115 --- Comment #1 from Dominik Mierzejewski (domi...@greysector.net) --- Looks like this is no longer occurring in 4.17.2 (Fedora 28). I haven't checked if the actual video output still works after unblacklisting the gma500_gfx driver, but at least

Re: [PATCH 1/8] drm/fb-helper: Eliminate the .best_encoder() usage

2018-06-26 Thread Alex Deucher
On Tue, Jun 26, 2018 at 1:47 PM, Ville Syrjala wrote: > From: Ville Syrjälä > > Instead of using the .best_encoder() hook to figure out whether a given > connector+crtc combo will work, let's instead do what userspace does and > just iterate over all the encoders for the connector, and then

Re: [v3 01/10] dt-bindings: mediatek: mmsys: Add support for mfd

2018-06-26 Thread Rob Herring
On Mon, Jun 25, 2018 at 9:39 AM Matthias Brugger wrote: > > > > On 30/04/18 12:30, Lee Jones wrote: > > On Fri, 27 Apr 2018, matthias@kernel.org wrote: > > > >> From: Matthias Brugger > >> > >> Add binding description for the mmsys mfd for some Mediatek > >> devices. mmsys has some registers

Re: [PATCHv2] lib/ratelimit: Lockless ratelimiting

2018-06-26 Thread Andy Shevchenko
On Tue, Jun 26, 2018 at 8:46 PM, Dmitry Safonov wrote: > On Tue, 2018-06-26 at 20:04 +0300, Andy Shevchenko wrote >> > #define RATELIMIT_STATE_INIT(name, interval_init, burst_init) >> > {\ >> > - .lock = >> > __RAW_SPIN_LOCK_UNLOCKED(name.lock), \ >> >>

Re: [PATCH v4 0/3] console/fbcon: Add support for deferred console takeover

2018-06-26 Thread Steven Rostedt
On Tue, 26 Jun 2018 20:36:09 +0200 Hans de Goede wrote: > Hi All, > > Here is v4 of my patch-set, to delay fbcon taking over the console (and > binding to fbdev devices) until there actually is some text output to the > console. This is intended for use with the "quiet" cmdline option, in >

Re: [Intel-gfx] [PATCH 03/10] drm: Add drm_encoder_mask()

2018-06-26 Thread Rodrigo Vivi
On Tue, Jun 26, 2018 at 10:47:09PM +0300, Ville Syrjala wrote: > From: Ville Syrjälä > > Add drm_encoder_mask() which returns the 1< We already have an identical drm_crtc_mask() for crtcs. > > Mostly performed with coccinelle: > @@ > @@ > - (1< + drm_encoder_mask( > ...) > - ) > > @@ > @@ >

Re: [PATCH 01/10] drm: Add drm_plane_mask()

2018-06-26 Thread Rodrigo Vivi
On Tue, Jun 26, 2018 at 10:47:07PM +0300, Ville Syrjala wrote: > From: Ville Syrjälä > > Add drm_plane_mask() which returns the 1< We already have an identical drm_crtc_mask() for crtcs. > > Mostly performed with coccinelle: > @@ > @@ > - (1< + drm_plane_mask( > ...) > - ) > > @@ > @@ > -

Re: [Intel-gfx] [PATCH 07/10] drm/rockchip: Use drm_crtc_mask()

2018-06-26 Thread Rodrigo Vivi
On Tue, Jun 26, 2018 at 10:47:13PM +0300, Ville Syrjala wrote: > From: Ville Syrjälä > > Use drm_crtc_mask() where appropriate. > > Cc: Sandy Huang > Cc: "Heiko Stübner" > Signed-off-by: Ville Syrjälä Reviewed-by: Rodrigo Vivi > --- > drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 2 +- >

Re: [PATCH 06/10] drm/imx: Use drm_plane_mask()

2018-06-26 Thread Rodrigo Vivi
On Tue, Jun 26, 2018 at 10:47:12PM +0300, Ville Syrjala wrote: > From: Ville Syrjälä > > Use drm_plane_mask() where appropriate. > > Cc: Philipp Zabel > Signed-off-by: Ville Syrjälä Reviewed-by: Rodrigo Vivi > --- > drivers/gpu/drm/imx/ipuv3-crtc.c | 2 +- > 1 file changed, 1

Re: [PATCH 05/10] drm/i915: Use drm_plane_mask() & co.

2018-06-26 Thread Rodrigo Vivi
On Tue, Jun 26, 2018 at 10:47:11PM +0300, Ville Syrjala wrote: > From: Ville Syrjälä > > Use drm_{plane,crtc,encoder,connector}_mask() where appropriate. > > Signed-off-by: Ville Syrjälä Reviewed-by: Rodrigo Vivi > --- > drivers/gpu/drm/i915/intel_display.c | 14 +++--- >

Re: [PATCH 10/10] drm/vmwgfx: Use drm_plane_mask() & co.

2018-06-26 Thread Rodrigo Vivi
On Tue, Jun 26, 2018 at 10:47:16PM +0300, Ville Syrjala wrote: > From: Ville Syrjälä > > Use drm_{plane,connector}_mask() where appropriate. > > Cc: VMware Graphics > Cc: Sinclair Yeh > Cc: Thomas Hellstrom > Signed-off-by: Ville Syrjälä Reviewed-by: Rodrigo Vivi > --- >

Re: [PATCH 08/10] drm/sun4i: Use drm_crtc_mask()

2018-06-26 Thread Rodrigo Vivi
On Tue, Jun 26, 2018 at 10:47:14PM +0300, Ville Syrjala wrote: > From: Ville Syrjälä > > Use drm_crtc_mask() where appropriate. > > Cc: Maxime Ripard > Signed-off-by: Ville Syrjälä Reviewed-by: Rodrigo Vivi > --- > drivers/gpu/drm/sun4i/sun4i_crtc.c | 2 +- >

Re: [PATCH 09/10] drm/vc4: Use drm_crtc_mask()

2018-06-26 Thread Rodrigo Vivi
On Tue, Jun 26, 2018 at 10:47:15PM +0300, Ville Syrjala wrote: > From: Ville Syrjälä > > Use drm_crtc_mask() where appropriate. > > Cc: Eric Anholt > Signed-off-by: Ville Syrjälä Reviewed-by: Rodrigo Vivi > --- > drivers/gpu/drm/vc4/vc4_crtc.c | 6 +++--- > 1 file changed, 3

Re: [PATCHv2] lib/ratelimit: Lockless ratelimiting

2018-06-26 Thread Andy Shevchenko
On Tue, Jun 26, 2018 at 7:24 PM, Dmitry Safonov wrote: > Currently ratelimit_state is protected with spin_lock. If the .lock is > taken at the moment of ___ratelimit() call, the message is suppressed to > make ratelimiting robust. > > That results in the following issue issue: > CPU0

[PATCH v3 3/3] console/fbcon: Add support for deferred console takeover

2018-06-26 Thread Hans de Goede
Currently fbcon claims fbdevs as soon as they are registered and takes over the console as soon as the first fbdev gets registered. This behavior is undesirable in cases where a smooth graphical bootup is desired, in such cases we typically want the contents of the framebuffer (typically a vendor

[PATCH v3 1/3] printk: Export is_console_locked

2018-06-26 Thread Hans de Goede
This is a preparation patch for adding a number of WARN_CONSOLE_UNLOCKED() calls to the fbcon code, which may be built as a module (event though usually it is not). Reviewed-by: Daniel Vetter Signed-off-by: Hans de Goede --- Changes in v3: -New patch in v3 of this patchset ---

[PATCH v3 2/3] fbcon: Call WARN_CONSOLE_UNLOCKED() where applicable

2018-06-26 Thread Hans de Goede
Replace comments about places where the console lock should be held with calls to WARN_CONSOLE_UNLOCKED() to assert that it is actually held. Reviewed-by: Daniel Vetter Signed-off-by: Hans de Goede --- Changes in v3: -New patch in v3 of this patchset Changes in v4: -Keep the comments about

Re: [PATCH v3 3/3] console/fbcon: Add support for deferred console takeover

2018-06-26 Thread Andy Shevchenko
On Tue, Jun 26, 2018 at 9:29 PM, Hans de Goede wrote: >>> + for (i = 0; i < FB_MAX; i++) { >>> + if (registered_fb[i]) >>> + fbcon_fb_registered(registered_fb[i]); >>> + } >> Simple git grep shows that we perhaps do >> >> #define

Re: [PATCH 02/10] drm: Use drm_crtc_mask()

2018-06-26 Thread Rodrigo Vivi
On Tue, Jun 26, 2018 at 10:47:08PM +0300, Ville Syrjala wrote: > From: Ville Syrjälä > > Use drm_crtc_mask() where appropriate. > > Mostly performed with coccinelle: > @@ > @@ > - (1< + drm_crtc_mask( > ...) > - ) > > @@ > @@ > - 1< + drm_crtc_mask( > ...) > > @@ > @@ > -

Re: [[DPU]PATCH] drm/msm/dsi: move the API setting PLL src to modeset_init()

2018-06-26 Thread Rob Clark
On Tue, Jun 26, 2018 at 11:55 AM, Doug Anderson wrote: > Hi, > > On Mon, Jun 25, 2018 at 9:45 PM, Sandeep Panda wrote: >> From: Abhinav Kumar >> >> Setting the DSI PLL src in probe doesn't provide the clock >> driver sufficient time to reclaim unused clock resources >> from coreboot resulting

[PATCH v4 0/3] console/fbcon: Add support for deferred console takeover

2018-06-26 Thread Hans de Goede
Hi All, Here is v4 of my patch-set, to delay fbcon taking over the console (and binding to fbdev devices) until there actually is some text output to the console. This is intended for use with the "quiet" cmdline option, in combination with a bootloader which leaves the vendor's logo / EFI

[PATCH 05/10] drm/i915: Use drm_plane_mask() & co.

2018-06-26 Thread Ville Syrjala
From: Ville Syrjälä Use drm_{plane,crtc,encoder,connector}_mask() where appropriate. Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/i915/intel_display.c | 14 +++--- drivers/gpu/drm/i915/intel_display.h | 4 ++-- drivers/gpu/drm/i915/intel_dpll_mgr.c | 6 +++--- 3 files changed,

[PATCH 01/10] drm: Add drm_plane_mask()

2018-06-26 Thread Ville Syrjala
From: Ville Syrjälä Add drm_plane_mask() which returns the 1< --- drivers/gpu/drm/drm_atomic.c| 4 ++-- drivers/gpu/drm/drm_framebuffer.c | 2 +- drivers/gpu/drm/drm_simple_kms_helper.c | 2 +- include/drm/drm_plane.h | 14 -- 4 files changed, 16

[PATCH 03/10] drm: Add drm_encoder_mask()

2018-06-26 Thread Ville Syrjala
From: Ville Syrjälä Add drm_encoder_mask() which returns the 1< --- drivers/gpu/drm/drm_atomic_helper.c | 10 +- include/drm/drm_encoder.h | 16 ++-- 2 files changed, 19 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/drm_atomic_helper.c

[PATCH 07/10] drm/rockchip: Use drm_crtc_mask()

2018-06-26 Thread Ville Syrjala
From: Ville Syrjälä Use drm_crtc_mask() where appropriate. Cc: Sandy Huang Cc: "Heiko Stübner" Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_vop.c

[PATCH 04/10] drm: Add drm_connector_mask()

2018-06-26 Thread Ville Syrjala
From: Ville Syrjälä Add drm_connector_mask() which returns the 1< --- drivers/gpu/drm/drm_atomic.c | 6 +++--- include/drm/drm_connector.h | 8 +++- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/drm_atomic.c b/drivers/gpu/drm/drm_atomic.c index

[PATCH 06/10] drm/imx: Use drm_plane_mask()

2018-06-26 Thread Ville Syrjala
From: Ville Syrjälä Use drm_plane_mask() where appropriate. Cc: Philipp Zabel Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/imx/ipuv3-crtc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/imx/ipuv3-crtc.c b/drivers/gpu/drm/imx/ipuv3-crtc.c index

[PATCH 02/10] drm: Use drm_crtc_mask()

2018-06-26 Thread Ville Syrjala
From: Ville Syrjälä Use drm_crtc_mask() where appropriate. Mostly performed with coccinelle: @@ @@ - (1< --- drivers/gpu/drm/drm_crtc.c | 4 ++-- drivers/gpu/drm/drm_simple_kms_helper.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git

Re: [Intel-gfx] [PATCH 04/10] drm: Add drm_connector_mask()

2018-06-26 Thread Rodrigo Vivi
On Tue, Jun 26, 2018 at 10:47:10PM +0300, Ville Syrjala wrote: > From: Ville Syrjälä > > Add drm_connector_mask() which returns the 1< We already have an identical drm_crtc_mask() for crtcs. > > Mostly performed with coccinelle: > @@ > @@ > - (1< + drm_connector_mask( > ...) > - ) > > @@ >

[PATCH 0/8] drm: Second attempt at fixing the fb-helper .best_encoder() mess

2018-06-26 Thread Ville Syrjala
From: Ville Syrjälä Daniel pointed out that there should be a way to do what userspace does and not require any .best_encoder() stuff in the fb-helper. So this series does just that. Well, most of the series is actually just extra polish that happened by accident. But the real thing is in there

[PATCH 3/8] drm: Add drm_for_each_connector_encoder_ids()

2018-06-26 Thread Ville Syrjala
From: Ville Syrjälä Add a convenience macro for iterating connector->encoder_ids[]. Isolates the users from the implementation details. Also use ARRAY_SIZE() when populating the array to avoid spreading knowledge about the array size all over. Signed-off-by: Ville Syrjälä ---

[PATCH 1/8] drm/fb-helper: Eliminate the .best_encoder() usage

2018-06-26 Thread Ville Syrjala
From: Ville Syrjälä Instead of using the .best_encoder() hook to figure out whether a given connector+crtc combo will work, let's instead do what userspace does and just iterate over all the encoders for the connector, and then check each crtc against each encoder's possible_crtcs bitmask. Cc:

Re: [PATCH v2 0/4] drm/tinydrm: new dirver for ILI9341 displays

2018-06-26 Thread David Lechner
On 06/20/2018 04:07 AM, Daniel Vetter wrote: I acked and forwarded the account request, sorry for the delay. Next time around, poking maintainers on irc helps if this stuff is stuck. -Daniel The account was supposedly setup, but I am not able to use it for some reason. Are there any

[PATCH 09/10] drm/vc4: Use drm_crtc_mask()

2018-06-26 Thread Ville Syrjala
From: Ville Syrjälä Use drm_crtc_mask() where appropriate. Cc: Eric Anholt Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/vc4/vc4_crtc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/vc4/vc4_crtc.c b/drivers/gpu/drm/vc4/vc4_crtc.c index

[PATCH 10/10] drm/vmwgfx: Use drm_plane_mask() & co.

2018-06-26 Thread Ville Syrjala
From: Ville Syrjälä Use drm_{plane,connector}_mask() where appropriate. Cc: VMware Graphics Cc: Sinclair Yeh Cc: Thomas Hellstrom Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/vmwgfx/vmwgfx_kms.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 08/10] drm/sun4i: Use drm_crtc_mask()

2018-06-26 Thread Ville Syrjala
From: Ville Syrjälä Use drm_crtc_mask() where appropriate. Cc: Maxime Ripard Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/sun4i/sun4i_crtc.c | 2 +- drivers/gpu/drm/sun4i/sun4i_lvds.c | 2 +- drivers/gpu/drm/sun4i/sun4i_rgb.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)

Re: [RFC][PATCH] Makefile: globally enable VLA warning

2018-06-26 Thread Joe Perches
On Tue, 2018-06-26 at 10:40 -0700, Kees Cook wrote: > This is the patch I've got prepared now that fixes for all VLAs have been > sent to maintainers (some are still under review/adjustment, but there > aren't any unexplored cases left). My intention would be to have this land > at the end of the

Re: [PATCH v3 3/3] console/fbcon: Add support for deferred console takeover

2018-06-26 Thread Andy Shevchenko
On Tue, Jun 26, 2018 at 8:12 PM, Andy Shevchenko wrote: > On Tue, Jun 26, 2018 at 4:55 PM, Hans de Goede wrote: >> + for (i = 0; i < FB_MAX; i++) { >> + if (registered_fb[i]) >> + fbcon_fb_registered(registered_fb[i]); >> + } > > Simple git grep

Re: [PATCH v3 2/3] fbcon: Call WARN_CONSOLE_UNLOCKED() where applicable

2018-06-26 Thread Hans de Goede
Hi, On 26-06-18 16:47, Steven Rostedt wrote: On Tue, 26 Jun 2018 15:55:34 +0200 Hans de Goede wrote: Replace comments about places where the console lock should be held with calls to WARN_CONSOLE_UNLOCKED() to assert that it is actually held. Why replace the comments? I prefer them, even

Re: [PATCH v3 3/3] console/fbcon: Add support for deferred console takeover

2018-06-26 Thread Hans de Goede
Hi, On 26-06-18 19:12, Andy Shevchenko wrote: On Tue, Jun 26, 2018 at 4:55 PM, Hans de Goede wrote: Currently fbcon claims fbdevs as soon as they are registered and takes over the console as soon as the first fbdev gets registered. This behavior is undesirable in cases where a smooth

Re: [PATCH v3 3/3] console/fbcon: Add support for deferred console takeover

2018-06-26 Thread Andy Shevchenko
On Tue, Jun 26, 2018 at 4:55 PM, Hans de Goede wrote: > Currently fbcon claims fbdevs as soon as they are registered and takes over > the console as soon as the first fbdev gets registered. > > This behavior is undesirable in cases where a smooth graphical bootup is > desired, in such cases we

[Bug 106940] Black screen on KMS with 4.18.0-rc1 with Kaveri+Topaz, amdgpu, dc=1

2018-06-26 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106940 --- Comment #24 from Alex Deucher --- first bad commit: [f0c0761b38ac30b04d4fed436ff10e894ec0e525] drm/amd/display: Use dig enable to determine fast boot optimization. -- You are receiving this mail because: You are the assignee for the

[PATCH 6/8] drm/nouveau: Use drm_for_each_connector_encoder_ids()

2018-06-26 Thread Ville Syrjala
From: Ville Syrjälä Use drm_for_each_connector_encoder_ids() for iterating connector->encoder_ids[]. A bit more convenient not having to deal with the implementation details. Cc: Ben Skeggs Cc: nouv...@lists.freedesktop.org Signed-off-by: Ville Syrjälä ---

[PATCH 8/8] drm/tilcdc: Use drm_for_each_connector_encoder_ids()

2018-06-26 Thread Ville Syrjala
From: Ville Syrjälä Use drm_for_each_connector_encoder_ids() for iterating connector->encoder_ids[]. A bit more convenient not having to deal with the implementation details. Cc: Jyri Sarha Cc: Tomi Valkeinen Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/tilcdc/tilcdc_external.c | 5

[PATCH 7/8] drm/radeon: Use drm_for_each_connector_encoder_ids()

2018-06-26 Thread Ville Syrjala
From: Ville Syrjälä Use drm_for_each_connector_encoder_ids() for iterating connector->encoder_ids[]. A bit more convenient not having to deal with the implementation details. Cc: Alex Deucher Cc: "Christian König" Cc: "David (ChunMing) Zhou" Cc: Harry Wentland Cc:

[PATCH 5/8] drm/msm: Use drm_for_each_connector_encoder_ids()

2018-06-26 Thread Ville Syrjala
From: Ville Syrjälä Use drm_for_each_connector_encoder_ids() for iterating connector->encoder_ids[]. A bit more convenient not having to deal with the implementation details. Cc: Rob Clark Cc: linux-arm-...@vger.kernel.org Cc: freedr...@lists.freedesktop.org Signed-off-by: Ville Syrjälä ---

[PATCH 2/8] drm/i915: Nuke intel_mst_best_encoder()

2018-06-26 Thread Ville Syrjala
From: Ville Syrjälä With the fb-helper no longer relying on the non-atomic .best_encoder() we can eliminate the hook from the MST encoder. Cc: Dhinakaran Pandiyan Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/i915/intel_dp_mst.c | 10 -- 1 file changed, 10 deletions(-) diff --git

[PATCH 4/8] drm/amdgpu: Use drm_for_each_connector_encoder_ids()

2018-06-26 Thread Ville Syrjala
From: Ville Syrjälä Use drm_for_each_connector_encoder_ids() for iterating connector->encoder_ids[]. A bit more convenient not having to deal with the implementation details. Cc: Alex Deucher Cc: "Christian König" Cc: "David (ChunMing) Zhou" Cc: Harry Wentland Cc:

[PATCH] drm/atomic-helper: Use old/new state in drm_atomic_helper_commit_planes_on_crtc()

2018-06-26 Thread Ville Syrjala
From: Ville Syrjälä Update drm_atomic_helper_commit_planes_on_crtc() to use explicit old/new states instead of relying on obj->state. Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/drm_atomic_helper.c | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git

Re: [PATCH v3 1/3] printk: Export is_console_locked

2018-06-26 Thread Hans de Goede
Hi, As the cover letter's subject correctly indicates this is v4 of the patch-set, I forgot to bump the subject-prefix when sending, so the v3 in the subject here really should be v4. Regards, Hans On 26-06-18 20:36, Hans de Goede wrote: This is a preparation patch for adding a number of

[PATCH 09/10] drm/crc: Cleanup crtc_crc_open function

2018-06-26 Thread Mahesh Kumar
This patch make changes to allocate crc-entries buffer before enabling CRC generation. It moves all the failure check early in the function before setting the source or memory allocation. Now set_crc_source takes only two variable input, values_cnt we already gets as part of verify_crc_source.

[PATCH 06/10] drm/rcar-du/crc: Implement verify_crc_source callback

2018-06-26 Thread Mahesh Kumar
This patch implements "verify_crc_source" callback function for rcar drm driver. Signed-off-by: Mahesh Kumar Cc: dri-devel@lists.freedesktop.org --- drivers/gpu/drm/rcar-du/rcar_du_crtc.c | 40 ++ 1 file changed, 40 insertions(+) diff --git

[PATCH 10/10] Revert "drm: crc: Wait for a frame before returning from open()"

2018-06-26 Thread Mahesh Kumar
This reverts commit e8fa5671183c80342d520ad81d14fa79a9d4a680. Don't wait for first CRC during crtc_crc_open. It avoids one frame wait during open. If application want to wait after read call, it can use poll/read blocking read() call. Suggested-by: Ville Syrjälä Signed-off-by: Mahesh Kumar Cc:

[PATCH 05/10] drm/amdgpu_dm/crc: Implement verify_crc_source callback

2018-06-26 Thread Mahesh Kumar
This patch implements "verify_crc_source" callback function for AMD drm driver. Signed-off-by: Mahesh Kumar Cc: dri-devel@lists.freedesktop.org --- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 1 + drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h | 4

[PATCH 01/10] drm: crc: Introduce verify_crc_source callback

2018-06-26 Thread Mahesh Kumar
This patch adds a new callback function "verify_crc_source" which will be used during setting the crc source in control node and while opening data node for crc reading. This will help in avoiding setting of wrong string for source. Signed-off-by: Mahesh Kumar Cc: dri-devel@lists.freedesktop.org

[PATCH 03/10] drm: crc: Introduce get_crc_sources callback

2018-06-26 Thread Mahesh Kumar
This patch implements a callback function "get_crc_sources" which will be called during read of control node. It is an optional callback function and if driver implements this callback, driver should print list of available CRC sources in seq_file privided as an input to the callback.

[PATCH 02/10] drm: crc: Introduce pre_crc_read function

2018-06-26 Thread Mahesh Kumar
This patch implements a callback function "pre_crc_read" which will be called before crc read. In this function driver can implement and preparation work required for successfully reading CRC data. Signed-off-by: Mahesh Kumar Cc: dri-devel@lists.freedesktop.org ---

[PATCH 07/10] drm/i915/crc: implement verify_crc_source callback

2018-06-26 Thread Mahesh Kumar
This patch implements verify_crc_source callback function introduced earlier in this series. Signed-off-by: Mahesh Kumar Cc: dri-devel@lists.freedesktop.org --- drivers/gpu/drm/i915/intel_display.c | 1 + drivers/gpu/drm/i915/intel_drv.h | 3 + drivers/gpu/drm/i915/intel_pipe_crc.c |

[PATCH 04/10] drm/rockchip/crc: Implement verify_crc_source callback

2018-06-26 Thread Mahesh Kumar
This patch implements "verify_crc_source" callback function for rockchip drm driver. Signed-off-by: Mahesh Kumar Cc: dri-devel@lists.freedesktop.org --- drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 21 + 1 file changed, 21 insertions(+) diff --git

Re: [PATCH 09/10] drm/crc: Cleanup crtc_crc_open function

2018-06-26 Thread Kumar, Mahesh
Cc: Laurent Pinchart On 6/26/2018 11:52 AM, Mahesh Kumar wrote: This patch make changes to allocate crc-entries buffer before enabling CRC generation. It moves all the failure check early in the function before setting the source or memory allocation. Now set_crc_source takes only two

[radeon-alex:amd-staging-drm-next 192/206] drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_pp_smu.c:434:56: sparse: mixing different enum types

2018-06-26 Thread kbuild test robot
tree: git://people.freedesktop.org/~agd5f/linux.git amd-staging-drm-next head: 60f8d52ac6e3b4d043917e5c43bb798f8679115a commit: fb65df857c664b28322018501f0609d528b6ac5a [192/206] drm/amd/display: Moving powerplay functions to a separate class reproduce: # apt-get install sparse

[PATCH v3 00/24] Add support for R40 HDMI pipeline

2018-06-26 Thread Jernej Skrabec
This series adds support for R40 HDMI pipeline. It is a bit special than other already supported pipelines because it has additional unit called TCON TOP responsible for relationship configuration between mixers, TCONs and HDMI. Additionally, it has additional gates for DSI and TV TCONs, TV

[PATCH v3 02/24] clk: sunxi-ng: r40: Allow setting parent rate to display related clocks

2018-06-26 Thread Jernej Skrabec
Display related peripherals need precise clocks to operate correctly. Allow DE2, TCONs and HDMI to set parent clock. Reviewed-by: Chen-Yu Tsai Signed-off-by: Jernej Skrabec --- drivers/clk/sunxi-ng/ccu-sun8i-r40.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git

Re: [linux-sunxi] Re: [PATCH v2 11/27] drm/sun4i: tcon: Add support for tcon-top gate

2018-06-26 Thread Jernej Škrabec
Dne ponedeljek, 25. junij 2018 ob 05:51:41 CEST je Chen-Yu Tsai napisal(a): > On Mon, Jun 25, 2018 at 3:52 AM, Jernej Škrabec > > wrote: > > Dne četrtek, 21. junij 2018 ob 17:35:45 CEST je Jernej Škrabec napisal(a): > >> Dne četrtek, 21. junij 2018 ob 03:23:27 CEST je Chen-Yu Tsai napisal(a): >

Re: [PATCH V2 2/2] efi/fb: Convert PCI bus address to resource if translated by the bridge

2018-06-26 Thread Ard Biesheuvel
On 22 June 2018 at 21:29, Ard Biesheuvel wrote: > On 22 June 2018 at 20:30, Sinan Kaya wrote: >> On 6/22/2018 2:01 PM, Ard Biesheuvel wrote: Yes, it is part of the PCI I/O protocol definition. FrameBufferBase is described as """ Base address of graphics linear frame

Re: [PATCH v2] dma-buf/fence: Take refcount on the module that owns the fence

2018-06-26 Thread Akhil P Oommen
On 6/25/2018 1:20 PM, Daniel Vetter wrote: On Fri, Jun 22, 2018 at 11:08:48AM +0100, Chris Wilson wrote: Quoting Gustavo Padovan (2018-06-22 11:04:16) Hi Akhil, On Fri, 2018-06-22 at 15:10 +0530, Akhil P Oommen wrote: Each fence object holds function pointers of the module that initialized

Re: [linux-sunxi] [PATCH v3 00/24] Add support for R40 HDMI pipeline

2018-06-26 Thread Jernej Škrabec
Dne ponedeljek, 25. junij 2018 ob 14:02:40 CEST je Jernej Skrabec napisal(a): > This series adds support for R40 HDMI pipeline. It is a bit special > than other already supported pipelines because it has additional unit > called TCON TOP responsible for relationship configuration between > mixers,

[PATCH v3 21/24] drm: of: Export drm_crtc_port_mask()

2018-06-26 Thread Jernej Skrabec
Function is useful when drm_of_find_possible_crtcs() can't be used and custom parsing is needed. This can happen for example when there is a node with multiple muxes between crtc and encoder. Signed-off-by: Jernej Skrabec --- drivers/gpu/drm/drm_of.c | 5 +++-- include/drm/drm_of.h | 8

[PATCH v3 03/24] clk: sunxi-ng: r40: Export video PLLs

2018-06-26 Thread Jernej Skrabec
Video PLLs need to be referenced in R40 DT as possible HDMI PHY parent. Export them. Reviewed-by: Rob Herring Signed-off-by: Jernej Skrabec --- drivers/clk/sunxi-ng/ccu-sun8i-r40.h | 8 ++-- include/dt-bindings/clock/sun8i-r40-ccu.h | 4 2 files changed, 10 insertions(+), 2

  1   2   >