[PATCH 3/5] drm/nouveau: Fix deadlock on runtime suspend

2018-02-11 Thread Lukas Wunner
nouveau's ->runtime_suspend hook calls drm_kms_helper_poll_disable(), which waits for the output poll worker to finish if it's running. The output poll worker meanwhile calls pm_runtime_get_sync() in nouveau_connector_detect() which waits for the ongoing suspend to finish, causing a deadlock. Fix

[PATCH 4/5] drm/radeon: Fix deadlock on runtime suspend

2018-02-11 Thread Lukas Wunner
radeon's ->runtime_suspend hook calls drm_kms_helper_poll_disable(), which waits for the output poll worker to finish if it's running. The output poll worker meanwhile calls pm_runtime_get_sync() in radeon's ->detect hooks, which waits for the ongoing suspend to finish, causing a deadlock. Fix by

[PATCH 1/5] workqueue: Allow retrieval of current task's work struct

2018-02-11 Thread Lukas Wunner
Introduce a helper to retrieve the current task's work struct if it is a workqueue worker. This allows us to fix a long-standing deadlock in several DRM drivers wherein the ->runtime_suspend callback waits for a specific worker to finish and that worker in turn calls a function which waits for run

[PATCH 0/5] Fix deadlock on runtime suspend in DRM drivers

2018-02-11 Thread Lukas Wunner
Fix a deadlock on hybrid graphics laptops that's been present since 2013: DRM drivers poll connectors in 10 sec intervals. The poll worker is stopped on ->runtime_suspend with cancel_delayed_work_sync(). However the poll worker invokes the DRM drivers' ->detect callbacks, which call pm_runtime_g

[PATCH 2/5] drm: Allow determining if current task is output poll worker

2018-02-11 Thread Lukas Wunner
Introduce a helper to determine if the current task is an output poll worker. This allows us to fix a long-standing deadlock in several DRM drivers wherein the ->runtime_suspend callback waits for the output poll worker to finish and the worker in turn calls a ->detect callback which waits for run

[PATCH 5/5] drm/amdgpu: Fix deadlock on runtime suspend

2018-02-11 Thread Lukas Wunner
amdgpu's ->runtime_suspend hook calls drm_kms_helper_poll_disable(), which waits for the output poll worker to finish if it's running. The output poll worker meanwhile calls pm_runtime_get_sync() in amdgpu's ->detect hooks, which waits for the ongoing suspend to finish, causing a deadlock. Fix by

[Bug 105030] `radeon_ib_ring_tests()` takes 1.5 s during resume

2018-02-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105030 Christian König changed: What|Removed |Added Resolution|--- |NOTABUG Status|NEW

[Bug 104082] amdgpu 0000:07:00.0: swiotlb buffer is full (sz: 2097152 bytes)

2018-02-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104082 Christian König changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug 104082] amdgpu 0000:07:00.0: swiotlb buffer is full (sz: 2097152 bytes)

2018-02-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104082 --- Comment #29 from Christian König --- (In reply to Matthew Scheirer from comment #27) > I do still get the swiotlib OOM errors without DC enabled, but they are > fairly infrequent and don't panic crash the kernel. With DC enabled, > swiotlib

Re: [PATCH] drm: Print the pid when debug logging an ioctl error.

2018-02-11 Thread Eric Anholt
Daniel Vetter writes: > On Tue, Jan 30, 2018 at 01:56:43PM -0800, Eric Anholt wrote: >> When we debug print what ioctl we're calling into, we include the pid. >> If you have multiple processes rendering simulataneously, the error >> return also needs the pid so you can see which of the ioctl call

Re: [PATCH v3] drm/vc4: Expose performance counters to userspace

2018-02-11 Thread Eric Anholt
Boris Brezillon writes: > The V3D engine has various hardware counters which might be interesting > to userspace performance analysis tools. > > Expose new ioctls to create/destroy a performance monitor object and > query the counter values of this perfmance monitor. > > Note that a perfomance mo

[Bug 103736] Sudden system freezes, GPU fault detected

2018-02-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=103736 --- Comment #8 from Lennart Sauerbeck --- I was able to record an ApiTrace which shows the problem consistently. However, it's 2.5 gigabytes and contains personal information I'd rather not share on a public bugtracker -- I think a trace can onl

[PATCH v2] drm/panel: Fix ARM Versatile panel clocks

2018-02-11 Thread Linus Walleij
These clocks are in kHz not in Hz, oops. Fix it so my new bandwidth calculations patch starts working with these panels. Cc: Eric Anholt Signed-off-by: Linus Walleij --- ChangeLog v1->v2: - The Epson clock was still wrong, off by one order of magnitude. It is now fixed. The only source of the

Re: [PATCH] drm/panel: Fix ARM Versatile panel clocks

2018-02-11 Thread Linus Walleij
On Thu, Feb 8, 2018 at 11:50 AM, Eric Anholt wrote: >> - .clock = 62500, >> + .clock = 625000, > > 625000kHz still seems really suspicious. Right, an order of magnitude typo on my part :( It is even correct in the fbdev driver. I sent a v2 fixing it.

[Bug 105042] [LLVM Regression] Shadow of Mordor stucks at intro video

2018-02-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105042 Bug ID: 105042 Summary: [LLVM Regression] Shadow of Mordor stucks at intro video Product: Mesa Version: git Hardware: Other OS: All Status: NEW

Re: [PATCH 3/3] drm/pl111: Use max memory bandwidth for resolution

2018-02-11 Thread Linus Walleij
On Sat, Feb 10, 2018 at 6:14 PM, Eric Anholt wrote: > Linus Walleij writes: >> +static enum drm_mode_status >> +pl111_mode_valid(struct drm_crtc *crtc, >> + const struct drm_display_mode *mode) >> +{ >> + struct drm_device *drm = crtc->dev; >> + struct pl111_drm_dev_private

[PATCH v2 00/15] omapdrm: Miscellaneous fixes and cleanups

2018-02-11 Thread Laurent Pinchart
Hello, Most of this series has previously been posted as part of "[PATCH 00/48] omapdrm: Merge omapdrm and omapdss". I've decided to split out the miscellaneous fixes and cleanups as they are (in my opinion) ready for upstream. Patch 10/15 and 11/15 are new and trivial. Patch 12/15 is new as well

[PATCH v2 01/15] drm: omapdrm: Use kernel integer types

2018-02-11 Thread Laurent Pinchart
The standard kernel integer types are [us]{8,16,32}. Use them instead of the u?int{8,16,32}_t types. Signed-off-by: Laurent Pinchart Reviewed-by: Sebastian Reichel --- drivers/gpu/drm/omapdrm/omap_crtc.c | 12 - drivers/gpu/drm/omapdrm/omap_crtc.h | 2 +- drivers/gpu/drm/omap

[PATCH v2 07/15] drm: omapdrm: displays: Get connector source at connect time

2018-02-11 Thread Laurent Pinchart
The connector drivers need a handle to the source they are connected to in order to control the source. All drivers get that handle at probe time, resulting in probe deferral when the source hasn't been probed yet. However they don't need the handle until their connect handler is called. Move ret

[PATCH v2 02/15] drm: omapdrm: Use unsigned int type

2018-02-11 Thread Laurent Pinchart
The kernel favours 'unsigned int' over plain 'unsigned'. Replace all occurences of the latter by the former. This avoid lots of checkpatch complaints in patches that touch lines where a plain 'unsigned' is used. Signed-off-by: Laurent Pinchart Reviewed-by: Sebastian Reichel --- drivers/gpu/drm/

[PATCH v2 05/15] drm: omapdrm: displays: Remove OF node check in encoder drivers

2018-02-11 Thread Laurent Pinchart
No encoder is instantiated through platform data anymore, there is no need to check for OF node presence. Signed-off-by: Laurent Pinchart Reviewed-by: Sebastian Reichel --- drivers/gpu/drm/omapdrm/displays/encoder-opa362.c| 5 - drivers/gpu/drm/omapdrm/displays/encoder-tfp410.c| 3 -

[PATCH v2 13/15] drm: omapdrm: dss: Remove dss_get_hdmi_venc_clk_source() function

2018-02-11 Thread Laurent Pinchart
The function is unused, remove it. Signed-off-by: Laurent Pinchart Reviewed-by: Sebastian Reichel --- drivers/gpu/drm/omapdrm/dss/dss.c | 14 -- drivers/gpu/drm/omapdrm/dss/dss.h | 1 - 2 files changed, 15 deletions(-) diff --git a/drivers/gpu/drm/omapdrm/dss/dss.c b/drivers/gpu/

[PATCH v2 06/15] drm: omapdrm: displays: Remove OF node check in panel drivers

2018-02-11 Thread Laurent Pinchart
No panel is instantiated through platform data anymore, there is no need to check for OF node presence. Signed-off-by: Laurent Pinchart Reviewed-by: Sebastian Reichel --- drivers/gpu/drm/omapdrm/displays/panel-dpi.c| 3 --- drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c

[PATCH v2 04/15] drm: omapdrm: displays: Remove OF node check in connector drivers

2018-02-11 Thread Laurent Pinchart
No connector is instantiated through platform data anymore, there is no need to check for OF node presence. Signed-off-by: Laurent Pinchart Reviewed-by: Sebastian Reichel --- drivers/gpu/drm/omapdrm/displays/connector-analog-tv.c | 3 --- drivers/gpu/drm/omapdrm/displays/connector-dvi.c |

[PATCH v2 09/15] drm: omapdrm: displays: Get encoder source at connect time

2018-02-11 Thread Laurent Pinchart
The encoder drivers need a handle to the source they are connected to in order to control the source. All drivers get that handle at probe time, resulting in probe deferral when the source hasn't been probed yet. However they don't need the handle until their connect handler is called. Move retri

[PATCH v2 15/15] drm: omapdrm: dsi: Make wait_for_bit_change() return a status

2018-02-11 Thread Laurent Pinchart
The wait_for_bit_change() function returns the value of the bit it polls. This requires the caller to compare the return value to the expected bit value. As all the existing callers need is to check whether the bit has reached the expected value, it's easier to return a boolean status from the func

[PATCH v2 03/15] drm: omapdrm: connector-analog-tv: Remove tvc_of_match forward declaration

2018-02-11 Thread Laurent Pinchart
The tvc_of_match variable is never referenced before its definition. Remove the forward declaration. Signed-off-by: Laurent Pinchart Reviewed-by: Sebastian Reichel --- drivers/gpu/drm/omapdrm/displays/connector-analog-tv.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/oma

[PATCH v2 11/15] drm: omapdrm: dss: Don't export functions internal to omapdss-base

2018-02-11 Thread Laurent Pinchart
A few functions defined in omapdss-base are internal to the module. Don't export them. Signed-off-by: Laurent Pinchart --- drivers/gpu/drm/omapdrm/dss/dss-of.c | 2 -- drivers/gpu/drm/omapdrm/dss/output.c | 1 - 2 files changed, 3 deletions(-) diff --git a/drivers/gpu/drm/omapdrm/dss/dss-of.c

[PATCH v2 12/15] drm: omapdrm: dss: Move initialization code from component bind to probe

2018-02-11 Thread Laurent Pinchart
There's no reason to delay initialization of most of the driver (such as mapping memory I/O, getting clocks or enabling runtime PM) to the component master bind handler. This additionally fixes a real PM issue caused enabling runtime PM in the bind handler. The bind handler performs the following

[PATCH v2 14/15] drm: omapdrm: dss: Remove unused functions prototypes

2018-02-11 Thread Laurent Pinchart
The omap_dss_register_driver(), omap_dss_unregister_driver() and dispc_enable_gamma_table() functions don't exist anymore, remove their prototypes. Signed-off-by: Laurent Pinchart Reviewed-by: Sebastian Reichel --- drivers/gpu/drm/omapdrm/dss/dss.h | 1 - 1 file changed, 1 deletion(-) diff --g

[PATCH v2 10/15] drm: omapdrm: dss: Make omapdss_default_get_timings static

2018-02-11 Thread Laurent Pinchart
The function isn't used outside of its compilation unit, make it static. Signed-off-by: Laurent Pinchart --- drivers/gpu/drm/omapdrm/dss/display.c | 5 ++--- drivers/gpu/drm/omapdrm/dss/omapdss.h | 3 --- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/omapdrm/dss/

[PATCH v2 08/15] drm: omapdrm: displays: Get panel source at connect time

2018-02-11 Thread Laurent Pinchart
The connector drivers need a handle to the source they are connected to in order to control the source. All drivers get that handle at probe time, resulting in probe deferral when the source hasn't been probed yet. However they don't need the handle until their connect handler is called. Move ret

[Bug 104082] amdgpu 0000:07:00.0: swiotlb buffer is full (sz: 2097152 bytes)

2018-02-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104082 --- Comment #30 from mikhail.v.gavri...@gmail.com --- (In reply to Christian König from comment #28) > Ok setting this as fixed which hopefully makes people stop adding new > comments to this bug report. I didn't understand It's already fixed in

Re: [PATCH v4 1/3] drm/i915: Add intel_bios_cleanup() function

2018-02-11 Thread Hans de Goede
Hi, On 06-02-18 15:12, Hans de Goede wrote: Add an intel_bios_cleanup() function to act as counterpart of intel_bios_init() and move the cleanup of vbt related resources there, putting it in the same file as the allocation. Signed-off-by: Hans de Goede Can I get an Acked-by for this patch an

[Bug 198745] Blank screen on RX 580 with AMDGPU Display Core enabled

2018-02-11 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=198745 Alex Deucher (alexdeuc...@gmail.com) changed: What|Removed |Added CC||alexdeuc...@gmail.c

[Bug 105046] Screen resolution reset to 1368x768 when turning monitor off

2018-02-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105046 Bug ID: 105046 Summary: Screen resolution reset to 1368x768 when turning monitor off Product: DRI Version: unspecified Hardware: x86-64 (AMD64) OS: Linux (

[Bug 198745] Blank screen on RX 580 with AMDGPU Display Core enabled

2018-02-11 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=198745 --- Comment #5 from Kyle De'Vir (kyle.de...@mykolab.com) --- Created attachment 274115 --> https://bugzilla.kernel.org/attachment.cgi?id=274115&action=edit dmesg log -- You are receiving this mail because: You are watching the assignee of the

[Bug 104082] amdgpu 0000:07:00.0: swiotlb buffer is full (sz: 2097152 bytes)

2018-02-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104082 --- Comment #31 from Christian König --- (In reply to mikhail.v.gavrilov from comment #30) > I didn't understand It's already fixed in which commit? > If yes why I see this issue with latest build amd-staging-drm-next? See here https://lkml.org

[Bug 198745] Blank screen on RX 580 with AMDGPU Display Core enabled

2018-02-11 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=198745 --- Comment #6 from Kyle De'Vir (kyle.de...@mykolab.com) --- Created attachment 274117 --> https://bugzilla.kernel.org/attachment.cgi?id=274117&action=edit xorg log -- You are receiving this mail because: You are watching the assignee of the b

Re: [PATCH 0/5] Fix deadlock on runtime suspend in DRM drivers

2018-02-11 Thread Mike Lothian
On 11 February 2018 at 09:38, Lukas Wunner wrote: > Fix a deadlock on hybrid graphics laptops that's been present since 2013: > > DRM drivers poll connectors in 10 sec intervals. The poll worker is > stopped on ->runtime_suspend with cancel_delayed_work_sync(). However > the poll worker invokes

[Bug 105042] [LLVM Regression] Shadow of Mordor stucks at intro video

2018-02-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105042 --- Comment #1 from Bas Nieuwenhuizen --- What happens with the range in between? There are quite a few commits ot the AMDGPU backend in there so would be good if we can reduce that range and pinpoint the exact revision that is causing it. --

Re: [PATCH 0/5] Fix deadlock on runtime suspend in DRM drivers

2018-02-11 Thread Lukas Wunner
On Sun, Feb 11, 2018 at 06:58:11PM +, Mike Lothian wrote: > On 11 February 2018 at 09:38, Lukas Wunner wrote: > > The patches for radeon and amdgpu are compile-tested only, I only have a > > MacBook Pro with an Nvidia GK107 to test. To test the patches, add an > > "msleep(12*1000);" at the to

Re: [PATCH 0/5] Fix deadlock on runtime suspend in DRM drivers

2018-02-11 Thread Lukas Wunner
On Sun, Feb 11, 2018 at 08:23:14PM +0100, Lukas Wunner wrote: > On Sun, Feb 11, 2018 at 06:58:11PM +, Mike Lothian wrote: > > On 11 February 2018 at 09:38, Lukas Wunner wrote: > > > The patches for radeon and amdgpu are compile-tested only, I only have a > > > MacBook Pro with an Nvidia GK107

[Bug 105039] No 120hz with 4.15 kernel and DC enabled

2018-02-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105039 --- Comment #1 from Matthew Scheirer --- Same issue with 4.15 / Mesa 17.3 / Xorg 1.19.6 on a 290 + Acer GN246HL. No DC the 144 / 120 / etc modes show up, DC only 60hz does. -- You are receiving this mail because: You are the assignee for the b

[Bug 198551] amdgpu error on shutdown or gpu intense game

2018-02-11 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=198551 illuslion1...@gmail.com changed: What|Removed |Added Attachment #273797|0 |1 is obsolete|

[Bug 198551] amdgpu error on shutdown or gpu intense game

2018-02-11 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=198551 illuslion1...@gmail.com changed: What|Removed |Added Kernel Version|4.14.14-1 |4.15.1 -- You are receiving th

[Bug 104932] Hang when running X11/Wayland on GFX8/Polaris10/Ellesmere/Rx-480-8GiB (agd5f a5592a6df4f45a018b48f252ad1c498e683e9b9d, hwentland's DC-Patches-Jan-31-2018.mbox applied)

2018-02-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104932 --- Comment #7 from Robin Kauffman --- (In reply to Michel Dänzer from comment #4) > Which versions of Mesa & LLVM are you using? I should also add that LLVM & Clang were compiled/installed *prior* to merging libclc & Mesa (probably prior to li

Re: [PATCH 0/5] Fix deadlock on runtime suspend in DRM drivers

2018-02-11 Thread Mike Lothian
Hi I've not been able to reproduce the original problem you're trying to solve on amdgpu thats with or without your patch set and the above "trigger" too Is anything else required to trigger it, I started multiple DRI_PRIME glxgears, in parallel, serial waiting the 12 seconds and serial within th

[Bug 104082] amdgpu 0000:07:00.0: swiotlb buffer is full (sz: 2097152 bytes)

2018-02-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104082 --- Comment #32 from mikhail.v.gavri...@gmail.com --- Created attachment 137285 --> https://bugs.freedesktop.org/attachment.cgi?id=137285&action=edit system log -- You are receiving this mail because: You are the assignee for the bug.

[Bug 104082] amdgpu 0000:07:00.0: swiotlb buffer is full (sz: 2097152 bytes)

2018-02-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104082 --- Comment #33 from mikhail.v.gavri...@gmail.com --- Why are you sure what this totally harmless? I have proof this this isn't it. Look at my system log: - I got message "amdgpu :07:00.0: swiotlb buffer is full (sz: 2097152 bytes)" at Feb 10

Re: [PATCH 0/5] Fix deadlock on runtime suspend in DRM drivers

2018-02-11 Thread Lukas Wunner
On Mon, Feb 12, 2018 at 12:35:51AM +, Mike Lothian wrote: > I've not been able to reproduce the original problem you're trying to > solve on amdgpu thats with or without your patch set and the above > "trigger" too > > Is anything else required to trigger it, I started multiple DRI_PRIME > glx

[Bug 105021] suspend / rx550 / extremely slow after 2nd thaw

2018-02-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105021 --- Comment #5 from arne_woer...@yahoo.com --- the new kernel 4.15.2-2-MANJARO still says during the second resume: Feb 11 14:07:21 vaako.intern.wgboome.org kernel: [drm:uvd_v6_0_ring_test_ring [amdgpu]] *ERROR* amdgpu: ring 12 test failed (0xCAF

[PATCH] drm/msm/dsi: Get byte_intf_clk only for versions that need it

2018-02-11 Thread architt
From: Archit Taneja Newer DSI host controllers (SDM845 in particular) require a new clock called byte_intf_clk. A recent patch tried to add this as an optional clock, but it still set 'ret' to an error number if it didn't find it. This breaks the host's probe for all previous DSI host versions.

Re: [PATCH v2 01/15] drm: omapdrm: Use kernel integer types

2018-02-11 Thread Tomi Valkeinen
On 11/02/18 15:07, Laurent Pinchart wrote: > The standard kernel integer types are [us]{8,16,32}. Use them instead of > the u?int{8,16,32}_t types. I presume you used a script to do the conversion? I think I need to do the same for TI's kernel, which has some non-mainline patches. Tomi -- Texa

Re: [PATCH v2 01/15] drm: omapdrm: Use kernel integer types

2018-02-11 Thread Laurent Pinchart
Hi Tomi, On Monday, 12 February 2018 08:46:22 EET Tomi Valkeinen wrote: > On 11/02/18 15:07, Laurent Pinchart wrote: > > The standard kernel integer types are [us]{8,16,32}. Use them instead of > > the u?int{8,16,32}_t types. > > I presume you used a script to do the conversion? I think I need to

[Bug 105051] circular locking,

2018-02-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105051 Bug ID: 105051 Summary: circular locking, Product: DRI Version: unspecified Hardware: Other OS: All Status: NEW Severity: normal Priority: medi

[Bug 105051] circular locking, switcheroo-cont/889 is trying to acquire lock vga_switchto_stage2, but vga_switcheroo_debugfs_write already has lock

2018-02-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105051 bugzi...@colorremedies.com changed: What|Removed |Added Summary|circular locking, |circular locking,

[Bug 105051] circular locking, switcheroo-cont/889 is trying to acquire lock vga_switchto_stage2, but vga_switcheroo_debugfs_write already has lock

2018-02-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105051 --- Comment #2 from bugzi...@colorremedies.com --- Created attachment 137287 --> https://bugs.freedesktop.org/attachment.cgi?id=137287&action=edit journalctl -b -o short-monotonic -- You are receiving this mail because: You are the assignee f

[Bug 105051] circular locking, switcheroo-cont/889 is trying to acquire lock vga_switchto_stage2, but vga_switcheroo_debugfs_write already has lock

2018-02-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105051 --- Comment #1 from bugzi...@colorremedies.com --- Created attachment 137286 --> https://bugs.freedesktop.org/attachment.cgi?id=137286&action=edit dmesg.log -- You are receiving this mail because: You are the assignee for the bug.

[Bug 105051] circular locking, switcheroo-cont/889 is trying to acquire lock vga_switchto_stage2, but vga_switcheroo_debugfs_write already has lock

2018-02-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105051 --- Comment #3 from bugzi...@colorremedies.com --- Created attachment 137288 --> https://bugs.freedesktop.org/attachment.cgi?id=137288&action=edit lspci -vvnn -- You are receiving this mail because: You are the assignee for the bug.__

[Bug 105051] circular locking, switcheroo-cont/889 is trying to acquire lock vga_switchto_stage2, but vga_switcheroo_debugfs_write already has lock

2018-02-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105051 --- Comment #4 from bugzi...@colorremedies.com --- Created attachment 137289 --> https://bugs.freedesktop.org/attachment.cgi?id=137289&action=edit dmidecode -- You are receiving this mail because: You are the assignee for the bug.

Re: [PATCH v2 00/15] omapdrm: Miscellaneous fixes and cleanups

2018-02-11 Thread Tomi Valkeinen
On 11/02/18 15:07, Laurent Pinchart wrote: > Hello, > > Most of this series has previously been posted as part of "[PATCH 00/48] > omapdrm: Merge omapdrm and omapdss". I've decided to split out the > miscellaneous fixes and cleanups as they are (in my opinion) ready for > upstream. > > Patch 10/1

Re: [PATCH v2 10/15] drm: omapdrm: dss: Make omapdss_default_get_timings static

2018-02-11 Thread Sebastian Reichel
Hi, On Sun, Feb 11, 2018 at 03:07:42PM +0200, Laurent Pinchart wrote: > The function isn't used outside of its compilation unit, make it static. > > Signed-off-by: Laurent Pinchart Reviewed-by: Sebastian Reichel -- Sebastian > --- > drivers/gpu/drm/omapdrm/dss/display.c | 5 ++--- > drivers

Re: [PATCH v3] Fix loading of module radeonfb on PowerMac

2018-02-11 Thread Mathieu Malaterre
Hi, On Thu, Feb 8, 2018 at 2:28 PM, Bartlomiej Zolnierkiewicz wrote: > On Wednesday, January 31, 2018 08:51:23 PM Mathieu Malaterre wrote: >> Bartlomiej, >> >> On Wed, Jan 31, 2018 at 12:57 PM, Bartlomiej Zolnierkiewicz >> wrote: >> > On Tuesday, January 30, 2018 02:14:10 PM Mathieu Malaterre w

[PATCH] drm/rockchip: Set IRQ_NOAUTOEN flag before requesting the interrupt

2018-02-11 Thread Marc Zyngier
Calling request_irq() followed by disable_irq() is usually a bad idea, specially if the interrupt can be pending, and you're not yet in a position to handle it. This is exactly what happens on my kevin system when rebooting in a second kernel using kexec: Some interrupt is left pending from the pr

Re: [BUG] drm/vc4: *ERROR* [PLANE:67:plane-20] flip_done timed out

2018-02-11 Thread Stefan Wahren
Hi Eric, > Eric Anholt hat am 10. Februar 2018 um 18:24 geschrieben: > > > Stefan Wahren writes: > > > Hi, i'm having problems while booting Raspberry Pi 1 B (Linux 4.15, > > bcm2835_defconfig) on my display, which is connected via HDMI. Mostly > > the screen stays black and i'm getting the f

[PATCH] drm/edid: drop the dcc probe before drm_do_get_edid

2018-02-11 Thread Lubomir Rintel
Now that drm_do_get_edid() handles override and firmware EDIDs it makes no sense to conditionalize it with a DCC probe. On the contrary -- the overrides are useful specifically when DCC is not functioning. drm_do_get_edid() already bails out when DCC fails, there's no need for an extra check. It s

[PATCH] drm/rockchip: Don't use spin_lock_irqsave in interrupt context

2018-02-11 Thread Marc Zyngier
The rockchip DRM driver is quite careful to disable interrupts when taking a lock that is also taken in interrupt context, which is a good thing. What is a bit over the top is to use spin_lock_irqsave when already in interrupt context, as you cannot take another interrupt again, and disabling inte

Re: [PATCH v2 11/15] drm: omapdrm: dss: Don't export functions internal to omapdss-base

2018-02-11 Thread Sebastian Reichel
Hi, On Sun, Feb 11, 2018 at 03:07:43PM +0200, Laurent Pinchart wrote: > A few functions defined in omapdss-base are internal to the module. > Don't export them. > > Signed-off-by: Laurent Pinchart > --- Reviewed-by: Sebastian Reichel -- Sebastian > drivers/gpu/drm/omapdrm/dss/dss-of.c | 2 -

Re: [BUG] drm/vc4: *ERROR* [PLANE:67:plane-20] flip_done timed out

2018-02-11 Thread Stefan Wahren
Hi Boris, > Boris Brezillon hat am 10. Februar 2018 um > 17:40 geschrieben: > > > Hi Stefan, > > On Sat, 10 Feb 2018 16:57:23 +0100 (CET) > Stefan Wahren wrote: > > > Hi, > > i'm having problems while booting Raspberry Pi 1 B (Linux 4.15, > > bcm2835_defconfig) on my display, which is conn

[BUG] drm/vc4: *ERROR* [PLANE:67:plane-20] flip_done timed out

2018-02-11 Thread Stefan Wahren
Hi, i'm having problems while booting Raspberry Pi 1 B (Linux 4.15, bcm2835_defconfig) on my display, which is connected via HDMI. Mostly the screen stays black and i'm getting the following warnings via debug UART. Sometimes after disconnecting HDMI, i'm getting the expected screen. [3.253

Re: [PATCH v2 12/15] drm: omapdrm: dss: Move initialization code from component bind to probe

2018-02-11 Thread Sebastian Reichel
Hi, On Sun, Feb 11, 2018 at 03:07:44PM +0200, Laurent Pinchart wrote: > There's no reason to delay initialization of most of the driver (such as > mapping memory I/O, getting clocks or enabling runtime PM) to the > component master bind handler. > > This additionally fixes a real PM issue caused

Re: [PATCH] gpu/drm/udl: Replace struct_mutex with driver private lock

2018-02-11 Thread Shreeya Patel
On Fri, 2018-02-09 at 12:18 +, Chris Wilson wrote: > Quoting Shreeya Patel (2018-02-09 12:10:56) > > > > dev->struct_mutex is the Big DRM Lock and the only bit where > > it’s mandatory is serializing GEM buffer object destruction. > > Which unfortunately means drivers have to keep track of tha

Re: [PATCH] drm/edid: drop the dcc probe before drm_do_get_edid

2018-02-11 Thread Lubomir Rintel
On Sat, 2018-02-10 at 19:03 +0100, Lubomir Rintel wrote: > Now that drm_do_get_edid() handles override and firmware EDIDs it makes > no sense to conditionalize it with a DCC probe. On the contrary -- the > overrides are useful specifically when DCC is not functioning. > > drm_do_get_edid() already