[Bug 203325] 5.1 amdgpu on polaris11: broken text-fb multihead, works in X

2019-04-18 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=203325 Duncan (1i5t5.dun...@cox.net) changed: What|Removed |Added Status|NEW |RESOLVED

Re: Support for 2D engines/blitters in V4L2 and DRM

2019-04-18 Thread Tomasz Figa
On Fri, Apr 19, 2019 at 9:30 AM Nicolas Dufresne wrote: > > Le jeudi 18 avril 2019 à 10:18 +0200, Daniel Vetter a écrit : > > > It would be cool if both could be used concurrently and not just return > > > -EBUSY when the device is used with the other subsystem. > > > > We live in this world

Re: [patch V2 01/29] tracing: Cleanup stack trace code

2019-04-18 Thread Steven Rostedt
On Fri, 19 Apr 2019 00:44:17 +0200 (CEST) Thomas Gleixner wrote: > On Thu, 18 Apr 2019, Steven Rostedt wrote: > > On Thu, 18 Apr 2019 10:41:20 +0200 > > Thomas Gleixner wrote: > > > > > @@ -412,23 +404,20 @@ stack_trace_sysctl(struct ctl_table *tab > > > void __user *buffer,

[PATCH 2/4] drm/v3d: Set the correct DMA mask according to the MMU's limits.

2019-04-18 Thread Eric Anholt
On 7278, we've got 40 bits to work with. Signed-off-by: Eric Anholt --- drivers/gpu/drm/v3d/v3d_debugfs.c | 1 + drivers/gpu/drm/v3d/v3d_drv.c | 6 +- drivers/gpu/drm/v3d/v3d_regs.h| 8 3 files changed, 14 insertions(+), 1 deletion(-) diff --git

[PATCH 3/4] drm/v3d: Dump V3D error debug registers in debugfs, and one at reset.

2019-04-18 Thread Eric Anholt
Looking at a hang recently, I noticed these registers that might tell me if something obvious was wrong. They didn't help in this case, but keep it around for the future. Signed-off-by: Eric Anholt --- drivers/gpu/drm/v3d/v3d_debugfs.c | 5 drivers/gpu/drm/v3d/v3d_gem.c | 4 +++-

[PATCH 1/4] drm/v3d: Fix debugfs reads of MMU regs.

2019-04-18 Thread Eric Anholt
They're in the hub, not the individual cores. Signed-off-by: Eric Anholt --- drivers/gpu/drm/v3d/v3d_debugfs.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/v3d/v3d_debugfs.c b/drivers/gpu/drm/v3d/v3d_debugfs.c index a2dc4262955e..356a8acfa72d

[PATCH 4/4] drm/v3d: Fix and extend MMU error handling.

2019-04-18 Thread Eric Anholt
We were setting the wrong flags to enable PTI errors, so we were seeing reads to invalid PTEs show up as write errors. Also, we weren't turning on the interrupts. The AXI IDs we were dumping included the outstanding write number and so they looked basically random. And the VIO_ADDR decoding was

[Bug 110214] radeonsi: xterm scrollback buffer disappears while Shift+PgUp and Shift+PgDn

2019-04-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110214 --- Comment #82 from Diego Viola --- I found that I can't reproduce this bug with Xephyr -glamor_gles2 (git) but it still happens with -glamor. -- You are receiving this mail because: You are the assignee for the

Re: [patch V2 01/29] tracing: Cleanup stack trace code

2019-04-18 Thread Steven Rostedt
On Thu, 18 Apr 2019 10:41:20 +0200 Thomas Gleixner wrote: > @@ -412,23 +404,20 @@ stack_trace_sysctl(struct ctl_table *tab > void __user *buffer, size_t *lenp, > loff_t *ppos) > { > - int ret; > + int ret, was_enabled; One small nit. Could this be:

Re: [patch V2 01/29] tracing: Cleanup stack trace code

2019-04-18 Thread Steven Rostedt
On Thu, 18 Apr 2019 17:24:43 -0400 Steven Rostedt wrote: > I believe it was for historical leftovers (there was a time it was > required), and left there for "paranoid" sake. But let me apply the > patch and see if it is really needed. I removed the +1 on the max_entries and set

Re: [PATCH] drm/nouveau/fb/ramgk104: fix spelling mistake "sucessfully" -> "successfully"

2019-04-18 Thread Mukesh Ojha
On 4/18/2019 10:23 PM, Colin King wrote: From: Colin Ian King There is a spelling mistake in a nvkm_debug message. Fix it. Signed-off-by: Colin Ian King Reviewed-by: Mukesh Ojha Cheers, -Mukesh --- drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c | 2 +- 1 file changed, 1

Re: [patch V2 01/29] tracing: Cleanup stack trace code

2019-04-18 Thread Steven Rostedt
On Thu, 18 Apr 2019 23:14:45 +0200 (CEST) Thomas Gleixner wrote: > On Thu, 18 Apr 2019, Josh Poimboeuf wrote: > > > On Thu, Apr 18, 2019 at 10:41:20AM +0200, Thomas Gleixner wrote: > > > - Remove the extra array member of stack_dump_trace[]. It's not required > > > as > > > the stack

Re: [PATCH 00/20] drm: Split out the formats API and move it to a common place

2019-04-18 Thread Maxime Ripard
On Thu, Apr 18, 2019 at 02:32:14PM +0200, Daniel Vetter wrote: > > > > > Unifying the formats themselves, and all the associated metadata is > > > > > imo a no-go, and was a pretty conscious decision when we implemented > > > > > drm_fourcc a few years back. > > > > > > > > > > > If we want to

Re: [patch V2 20/29] tracing: Simplify stacktrace retrieval in histograms

2019-04-18 Thread Steven Rostedt
On Thu, 18 Apr 2019 14:58:55 -0500 Tom Zanussi wrote: > > Tom, > > > > Can you review this too? > > Looks good to me too! > > Acked-by: Tom Zanussi > Would you be OK to upgrade this to a Reviewed-by tag? Thanks! -- Steve ___ dri-devel mailing

[Bug 110469] R5 M330 GPU Hung

2019-04-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110469 --- Comment #1 from Slava --- Created attachment 144038 --> https://bugs.freedesktop.org/attachment.cgi?id=144038=edit xorg log -- You are receiving this mail because: You are the assignee for the

[Bug 110469] R5 M330 GPU Hung

2019-04-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110469 Bug ID: 110469 Summary: R5 M330 GPU Hung Product: DRI Version: XOrg git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: major

[Bug 107612] [Vega10] Hard Lock [gfxhub] VMC page fault when opening Mario Kart 8 in Cemu under wine

2019-04-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107612 --- Comment #4 from bibitocarlos --- I would like to help with this bug. I get it with Raven ridge 2400G. All you have to do is play Mariokart 8 with CEMU. -- You are receiving this mail because: You are the assignee for the

Re: [PATCH 2/4] drm/amd/display: Fix and simplify apply_below_the_range()

2019-04-18 Thread Kazlauskas, Nicholas
On 4/17/19 11:51 PM, Mario Kleiner wrote: > The comparison of inserted_frame_duration_in_us against a > duration calculated from max_refresh_in_uhz is both wrong > in its math and not needed, as the min_duration_in_us value > is already cached in in_out_vrr for reuse. No need to > recalculate it

Re: [PATCH 1/4] drm/amd/display: Add some debug output for VRR BTR.

2019-04-18 Thread Kazlauskas, Nicholas
On 4/17/19 11:51 PM, Mario Kleiner wrote: > Helps with debugging issues with low framerate compensation. > > Signed-off-by: Mario Kleiner > --- This looks like it'd generate a ton of debug output (the flip stuff is already a bit too spammy). But more importantly the DC and module code doesn't

[Bug 110355] radeonsi: GTK elements become invisible in some applications (GIMP, LibreOffice)

2019-04-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110355 --- Comment #11 from Diego Viola --- (In reply to Marek Olšák from comment #10) > The bug has nothing to do with compute. The compute blit removed gfx-based > blits from the gfx pipeline, which uncovered a bug in the driver. Hi Marek, I

[PATCH v5 0/3] backlight: lm3630a: bug fix and fwnode support

2019-04-18 Thread Brian Masney
Here is a patch series that fixes a single bug and adds fwnode support to the lm3630a driver. This work was tested on a LG Nexus 5 (hammerhead) phone. My status page at https://masneyb.github.io/nexus-5-upstream/ describes what is working so far with the upstream kernel. See the individual

Re: [PATCH] drm/amd/amdgpu: fix spelling mistake "recieve" -> "receive"

2019-04-18 Thread Mukesh Ojha
On 4/18/2019 3:55 PM, Colin King wrote: From: Colin Ian King There is a spelling mistake in a pr_err message. Fix it. Signed-off-by: Colin Ian King Reviewed-by: Mukesh Ojha Cheers, -Mukesh --- drivers/gpu/drm/amd/amdgpu/mxgpu_vi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH v5 1/3] backlight: lm3630a: return 0 on success in update_status functions

2019-04-18 Thread Brian Masney
lm3630a_bank_a_update_status() and lm3630a_bank_b_update_status() both return the brightness value if the brightness was successfully updated. Writing to these attributes via sysfs would cause a 'Bad address' error to be returned. These functions should return 0 on success, so let's change it to

[Bug 110214] radeonsi: xterm scrollback buffer disappears while Shift+PgUp and Shift+PgDn

2019-04-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110214 --- Comment #81 from Diego Viola --- (In reply to Michel Dänzer from comment #80) > (In reply to Diego Viola from comment #79) > > Which might indicate this being a freetype problem? > > No. If it was a FreeType problem, R600_DEBUG=nodpbb or >

Re: [PATCH] drm/i915: fix spelling mistake "resseting" -> "resetting"

2019-04-18 Thread Mukesh Ojha
On 4/18/2019 4:36 PM, Colin King wrote: From: Colin Ian King There is a spelling mistake in a gvt_dbg_core debug message. Fix it. Signed-off-by: Colin Ian King Reviewed-by: Mukesh Ojha Cheers, -Mukesh --- drivers/gpu/drm/i915/gvt/vgpu.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH v5 2/3] dt-bindings: backlight: add lm3630a bindings

2019-04-18 Thread Brian Masney
Add new backlight bindings for the TI LM3630A dual-string white LED. Signed-off-by: Brian Masney --- Changes since v4: - Drop $ref from led-sources - Drop description from reg of i2c address - Expand description of reg for the control bank - Drop status from examples Changes since v3: - Add

[PATCH v5 3/3] backlight: lm3630a: add firmware node support

2019-04-18 Thread Brian Masney
Add fwnode support to the lm3630a driver and optionally allow configuring the label, default brightness level, and maximum brightness level. The two outputs can be controlled by bank A and B independently or bank A can control both outputs. If the platform data was not configured, then the driver

[patch V2 00/29] stacktrace: Consolidate stack trace usage

2019-04-18 Thread Thomas Gleixner
This is an update to V1: https://lkml.kernel.org/r/20190410102754.387743...@linutronix.de Struct stack_trace is a sinkhole for input and output parameters which is largely pointless for most usage sites. In fact if embedded into other data structures it creates indirections and extra storage

[patch V2 02/29] stacktrace: Provide helpers for common stack trace operations

2019-04-18 Thread Thomas Gleixner
All operations with stack traces are based on struct stack_trace. That's a horrible construct as the struct is a kitchen sink for input and output. Quite some usage sites embed it into their own data structures which creates weird indirections. There is absolutely no point in doing so. For all

[patch V2 16/29] drm: Simplify stacktrace handling

2019-04-18 Thread Thomas Gleixner
Replace the indirection through struct stack_trace by using the storage array based interfaces. The original code in all printing functions is really wrong. It allocates a storage array on stack which is unused because depot_fetch_stack() does not store anything in it. It overwrites the entries

[Bug 110417] regression drm-next-5.2-wip: breaks vsync of new Compton xrender backend

2019-04-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110417 Michel Dänzer changed: What|Removed |Added Component|DRM/AMDgpu |Driver/AMDgpu Version|DRI

Re: [linux-sunxi] [PATCH 3/3] drm/sun4i: Fix component unbinding and component master deletion

2019-04-18 Thread Paul Kocialkowski
Hi, Le jeudi 18 avril 2019 à 08:03 -0700, Chen-Yu Tsai a écrit : > On Thu, Apr 18, 2019 at 6:27 AM Paul Kocialkowski > wrote: > > For our component-backed driver to be properly removed, we need to > > delete the component master in sun4i_drv_remove and make sure to call > > component_unbind_all

Re: [PATCH v3 6/6] drm/vc4: hdmi: Set default state margin at reset

2019-04-18 Thread Noralf Trønnes
Den 18.04.2019 14.41, skrev Maxime Ripard: > Now that the TV margins are properly parsed and filled into > drm_cmdline_mode, we just need to initialise the first state at reset to > get those values and start using them. > > Signed-off-by: Maxime Ripard > --- > drivers/gpu/drm/vc4/vc4_hdmi.c

[PATCH] drm/nouveau/fb/ramgk104: fix spelling mistake "sucessfully" -> "successfully"

2019-04-18 Thread Colin King
From: Colin Ian King There is a spelling mistake in a nvkm_debug message. Fix it. Signed-off-by: Colin Ian King --- drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgk104.c

Re: [PATCH v3 5/6] drm/selftests: Add command line parser selftests

2019-04-18 Thread Noralf Trønnes
Den 18.04.2019 14.41, skrev Maxime Ripard: > The command line parser is pretty tough to get right and very error prone, > so let's add a selftest to try to catch any regression. > > Signed-off-by: Maxime Ripard > --- Yay, unit tests \o/ Reviewed-by: Noralf Trønnes

[Bug 110443] vaapi/vpp: wrong output for non 64-bytes align width (ex: 1200)

2019-04-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110443 --- Comment #4 from Julien Isorce --- Something like this: --- a/src/gallium/include/pipe/p_screen.h +++ b/src/gallium/include/pipe/p_screen.h @@ -262,6 +262,15 @@ struct pipe_screen { struct winsys_handle

Re: [PATCH v3 4/6] drm/modes: Parse overscan properties

2019-04-18 Thread Noralf Trønnes
Den 18.04.2019 14.41, skrev Maxime Ripard: > Properly configuring the overscan properties might be needed for the > initial setup of the framebuffer for display that still have overscan. > Let's allow for more properties on the kernel command line to setup each > margin. > > Signed-off-by:

Re: [PATCH v3 3/6] drm/modes: Allow to specify rotation and reflection on the commandline

2019-04-18 Thread Noralf Trønnes
Den 18.04.2019 14.41, skrev Maxime Ripard: > Rotations and reflections setup are needed in some scenarios to initialise > properly the initial framebuffer. Some drivers already had a bunch of > quirks to deal with this, such as either a private kernel command line > parameter (omapdss) or on the

Re: [Intel-gfx] [PATCH v2] drm: Fire off KMS hotplug events if probe detect says the connector is connected

2019-04-18 Thread Jani Nikula
On Thu, 18 Apr 2019, Gwan-gyeong Mun wrote: > The hotplug detection routine of drm_helper_hpd_irq_event() can detect > changing of status of connector, but it can not detect changing of > properties of the connector. > e.g. changing of edid while suspend/resume, changing of dp lanes in dp aux. >

Re: [PATCH v3 2/6] drm/modes: Support modes names on the command line

2019-04-18 Thread Noralf Trønnes
Den 18.04.2019 14.41, skrev Maxime Ripard: > From: Maxime Ripard > > The drm subsystem also uses the video= kernel parameter, and in the > documentation refers to the fbdev documentation for that parameter. > > However, that documentation also says that instead of giving the mode using > its

Re: [PATCH v3 1/6] drm/modes: Rewrite the command line parser

2019-04-18 Thread Noralf Trønnes
Den 18.04.2019 14.41, skrev Maxime Ripard: > From: Maxime Ripard > > Rewrite the command line parser in order to get away from the state machine > parsing the video mode lines. > > Hopefully, this will allow to extend it more easily to support named modes > and / or properties set directly on

Re: [patch V2 21/29] tracing: Use percpu stack trace buffer more intelligently

2019-04-18 Thread Steven Rostedt
On Thu, 18 Apr 2019 17:43:59 +0200 (CEST) Thomas Gleixner wrote: > On Thu, 18 Apr 2019, Steven Rostedt wrote: > > On Thu, 18 Apr 2019 10:41:40 +0200 > > Thomas Gleixner wrote: > > > -static DEFINE_PER_CPU(struct ftrace_stack, ftrace_stack); > > > +/* This allows 8 level nesting which is

[Bug 110371] HP Dreamcolor display *Error* No EDID read

2019-04-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110371 --- Comment #5 from Nicholas Kazlauskas --- (In reply to Michel Dänzer from comment #4) > (In reply to Nicholas Kazlauskas from comment #3) > > It's hitting the "." as part of the video mode and erroring out because DRM > > doesn't consider it

[Bug 101473] (SI) latest stable & cant boot

2019-04-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101473 qmaster...@gmail.com changed: What|Removed |Added Resolution|FIXED |--- Status|RESOLVED

Re: [git pull] drm fixes for 5.1-rc6

2019-04-18 Thread pr-tracker-bot
The pull request you sent on Thu, 18 Apr 2019 13:40:53 +1000: > git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2019-04-18 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/95ea55291e35107f6cc1838e499e57d236a45d44 Thank you! -- Deet-doot-dot, I am a bot.

[GIT PULL] drm/tegra: Changes for v5.2-rc1

2019-04-18 Thread Thierry Reding
Hi Dave, The following changes since commit 9e98c678c2d6ae3a17cb2de55d17f69dddaa231b: Linux 5.1-rc1 (2019-03-17 14:22:26 -0700) are available in the Git repository at: git://anongit.freedesktop.org/tegra/linux tags/drm/tegra/for-5.2-rc1 for you to fetch changes up to

[Bug 110371] HP Dreamcolor display *Error* No EDID read

2019-04-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110371 --- Comment #4 from Michel Dänzer --- (In reply to Nicholas Kazlauskas from comment #3) > It's hitting the "." as part of the video mode and erroring out because DRM > doesn't consider it a valid character. Or maybe there's two separate

Re: [linux-sunxi] [PATCH 3/3] drm/sun4i: Fix component unbinding and component master deletion

2019-04-18 Thread Chen-Yu Tsai
On Thu, Apr 18, 2019 at 6:27 AM Paul Kocialkowski wrote: > > For our component-backed driver to be properly removed, we need to > delete the component master in sun4i_drv_remove and make sure to call > component_unbind_all in the master's unbind so that all components are > unbound when the

[PATCH v5 6/6] drm/amdgpu: Avoid HW reset if guilty job already signaled.

2019-04-18 Thread Andrey Grodzovsky
Also reject TDRs if another one already running. v2: Stop all schedulers across device and entire XGMI hive before force signaling HW fences. Avoid passing job_signaled to helper fnctions to keep all the decision making about skipping HW reset in one place. v3: Fix SW sched. hang after non HW

[PATCH v5 3/6] drm/scheduler: rework job destruction

2019-04-18 Thread Andrey Grodzovsky
From: Christian König We now destroy finished jobs from the worker thread to make sure that we never destroy a job currently in timeout processing. By this we avoid holding lock around ring mirror list in drm_sched_stop which should solve a deadlock reported by a user. v2: Remove unused

[PATCH v5 2/6] drm/amd/display: Use a reasonable timeout for framebuffer fence waits

2019-04-18 Thread Andrey Grodzovsky
Patch '5edb0c9b Fix deadlock with display during hanged ring recovery' was accidentaly removed during one of DALs code merges. v4: Update description. Signed-off-by: Andrey Grodzovsky Reviewed-by: Nicholas Kazlauskas --- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 15 +--

[PATCH v5 4/6] drm/sched: Keep s_fence->parent pointer

2019-04-18 Thread Andrey Grodzovsky
For later driver's reference to see if the fence is signaled. v2: Move parent fence put to resubmit jobs. Signed-off-by: Andrey Grodzovsky Reviewed-by: Christian König --- drivers/gpu/drm/scheduler/sched_main.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git

[PATCH v5 5/6] drm/scheduler: Add flag to hint the release of guilty job.

2019-04-18 Thread Andrey Grodzovsky
Problem: Sched thread's cleanup function races against TO handler and removes the guilty job from mirror list and we have no way of differentiating if the job was removed from within the TO handler or from the sched thread's clean-up function. Fix: Add a flag to scheduler to hint the TO handler

[PATCH v5 1/6] drm/amd/display: wait for fence without holding reservation lock

2019-04-18 Thread Andrey Grodzovsky
From: Christian König Don't block others while waiting for the fences to finish, concurrent submission is perfectly valid in this case and holding the lock can prevent killed applications from terminating. Signed-off-by: Christian König Reviewed-by: Nicholas Kazlauskas ---

[Bug 110371] HP Dreamcolor display *Error* No EDID read

2019-04-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110371 Michel Dänzer changed: What|Removed |Added Component|DRM/AMDgpu |DRM/other -- You are receiving this

Re: [patch V2 21/29] tracing: Use percpu stack trace buffer more intelligently

2019-04-18 Thread Steven Rostedt
On Thu, 18 Apr 2019 10:41:40 +0200 Thomas Gleixner wrote: > The per cpu stack trace buffer usage pattern is odd at best. The buffer has > place for 512 stack trace entries on 64-bit and 1024 on 32-bit. When > interrupts or exceptions nest after the per cpu buffer was acquired the > stacktrace

Re: [patch V2 28/29] stacktrace: Provide common infrastructure

2019-04-18 Thread Josh Poimboeuf
On Thu, Apr 18, 2019 at 10:41:47AM +0200, Thomas Gleixner wrote: > All architectures which support stacktrace carry duplicated code and > do the stack storage and filtering at the architecture side. > > Provide a consolidated interface with a callback function for consuming the > stack entries

[PATCH v2 1/1] drm/i915: Use drm_dev_unplug()

2019-04-18 Thread Janusz Krzysztofik
From: Janusz Krzysztofik The driver does not currently support unbinding from a device which is in use. Since open file descriptors may still be pointing into kernel memory where the device structures used to be, entirely correct kernel panics protect the driver from being unbound as we should

[PATCH v2 0/1] Stop users from using the device on driver unbind

2019-04-18 Thread Janusz Krzysztofik
Use drm_dev_unplug() to have device resources protected from user access by DRM layer as soon as the driver is going to be unbound. Janusz Krzysztofik (1): drm/i915: Use drm_dev_unplug() drivers/gpu/drm/i915/i915_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Since this patch

[Bug 110371] HP Dreamcolor display *Error* No EDID read

2019-04-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110371 --- Comment #3 from Nicholas Kazlauskas --- Looks like this is a bug in DRM itself with the parsing. [1.325111] [drm] parse error at position 12 in video mode '1920x1080@59.94' [1.335096] [drm:dc_link_detect [amdgpu]] *ERROR* No EDID

Re: Improvements to VRR below-the-range/low framerate compensation.

2019-04-18 Thread Kazlauskas, Nicholas
On 4/18/19 10:24 AM, Michel Dänzer wrote: > On 2019-04-18 5:51 a.m., Mario Kleiner wrote: >> >> My desired application of VRR for neuroscience/vision research >> is to control the timing of when frames show up onscreen, e.g., >> to show animations at different "unconventional" framerates, >> so

Re: [PATCH -next] drm/panfrost: depend on !GENERIC_ATOMIC64 when using COMPILE_TEST

2019-04-18 Thread Rob Herring
On Wed, Apr 17, 2019 at 10:29 AM Steven Price wrote: > > Since panfrost has a 'select' on IOMMU_IO_PGTABLE_LPAE we must depend on > the same set of flags. Otherwise IOMMU_IO_PGTABLE_LPAE will be forced on > even though it cannot build (no support for cmpxchg64). > > This fixes the following

Re: [PATCH] drm/panfrost: Prevent concurrent resets

2019-04-18 Thread Rob Herring
On Thu, Apr 18, 2019 at 3:43 AM Tomeu Vizoso wrote: > > If a job times out in slot 0 while a reset is performed because a job > timed out in slot 1, the drm-sched core can get into a deadlock. > > Signed-off-by: Tomeu Vizoso > --- > drivers/gpu/drm/panfrost/panfrost_device.c | 1 + >

Re: [PATCH -next] drm/panfrost: Make panfrost_gem_free_object() static

2019-04-18 Thread Rob Herring
On Wed, Apr 17, 2019 at 9:51 AM Steven Price wrote: > > On 16/04/2019 16:00, Yue Haibing wrote: > > From: YueHaibing > > > > Fix sparse warning: > > > > drivers/gpu/drm/panfrost/panfrost_gem.c:17:6: > > warning: symbol 'panfrost_gem_free_object' was not declared. Should it be > > static? > > >

Re: [PATCH -next] drm/panfrost: Make panfrost_gem_free_object() static

2019-04-18 Thread Rob Herring
On Tue, Apr 16, 2019 at 10:01 AM Yue Haibing wrote: > > From: YueHaibing > > Fix sparse warning: > > drivers/gpu/drm/panfrost/panfrost_gem.c:17:6: > warning: symbol 'panfrost_gem_free_object' was not declared. Should it be > static? > > Reported-by: Hulk Robot > Signed-off-by: YueHaibing >

Re: [PATCH 0/3] sun4i/drm: Fixes for removing and re-probing the driver

2019-04-18 Thread Maxime Ripard
On Thu, Apr 18, 2019 at 03:27:24PM +0200, Paul Kocialkowski wrote: > This series brings-in some fixes that are necessary to be able to > remove the driver at run-time (when built as a module) and properly > re-probe it afterwards. Applied all three, thanks Maxime -- Maxime Ripard, Bootlin

Re: [PATCH v2] drm/sun4i: Use DRM_GEM_CMA_VMAP_DRIVER_OPS for GEM operations

2019-04-18 Thread Maxime Ripard
On Thu, Apr 18, 2019 at 03:05:09PM +0200, Paul Kocialkowski wrote: > Our driver makes a typical use of CMA, with GEM object allocated as > GEM CMA objects. Use DRM_GEM_CMA_VMAP_DRIVER_OPS to describe the ops > instead of duplicating them. > > Because DRM_GEM_CMA_VMAP_DRIVER_OPS implements a

Re: Improvements to VRR below-the-range/low framerate compensation.

2019-04-18 Thread Michel Dänzer
On 2019-04-18 5:51 a.m., Mario Kleiner wrote: > > My desired application of VRR for neuroscience/vision research > is to control the timing of when frames show up onscreen, e.g., > to show animations at different "unconventional" framerates, > so i'm mostly interested in how well one can control

[Bug 109456] KVM VFIO guest X hang with guest kernel > 4.15

2019-04-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109456 --- Comment #2 from libgra...@gmail.com --- Created attachment 144034 --> https://bugs.freedesktop.org/attachment.cgi?id=144034=edit Git bisect log + result -- You are receiving this mail because: You are the assignee for the

Re: [PATCH] drm/amdgpu: fix drm leases being broken on radv

2019-04-18 Thread Emil Velikov
On Wed, 17 Apr 2019 at 21:49, Dave Airlie wrote: > > On Thu, 18 Apr 2019 at 03:30, Koenig, Christian > wrote: > > > > Am 17.04.19 um 17:51 schrieb Emil Velikov: > > > Hi guys, > > > > > > On 2019/04/17, Daniel Vetter wrote: > > >> On Wed, Apr 17, 2019 at 02:46:06PM +0200, Christian König wrote:

Re: [patch V2 01/29] tracing: Cleanup stack trace code

2019-04-18 Thread Josh Poimboeuf
On Thu, Apr 18, 2019 at 10:41:20AM +0200, Thomas Gleixner wrote: > - Remove the extra array member of stack_dump_trace[]. It's not required as > the stack tracer stores at max array size - 1 entries so there is still > an empty slot. What is the empty slot used for? -- Josh

Re: [patch V2 20/29] tracing: Simplify stacktrace retrieval in histograms

2019-04-18 Thread Steven Rostedt
[ Added Tom Zanussi ] On Thu, 18 Apr 2019 10:41:39 +0200 Thomas Gleixner wrote: > The indirection through struct stack_trace is not necessary at all. Use the > storage array based interface. > > Signed-off-by: Thomas Gleixner > Cc: Steven Rostedt Looks fine to me Acked-by: Steven Rostedt

Re: [patch V2 14/29] dm bufio: Simplify stack trace retrieval

2019-04-18 Thread Steven Rostedt
On Thu, 18 Apr 2019 14:11:44 +0200 Alexander Potapenko wrote: > On Thu, Apr 18, 2019 at 1:54 PM Thomas Gleixner wrote: > > > > On Thu, 18 Apr 2019, Alexander Potapenko wrote: > > > On Thu, Apr 18, 2019 at 11:06 AM Thomas Gleixner > > > wrote: > > > > -

[PATCH 2/3] drm/sun4i: Set device driver data at bind time for use in unbind

2019-04-18 Thread Paul Kocialkowski
Our sun4i_drv_unbind gets the drm device using dev_get_drvdata. However, that driver data is never set in sun4i_drv_bind. Set it there to avoid getting a NULL pointer at unbind time. Fixes: 9026e0d122ac ("drm: Add Allwinner A10 Display Engine support") Signed-off-by: Paul Kocialkowski ---

[PATCH 3/3] drm/sun4i: Fix component unbinding and component master deletion

2019-04-18 Thread Paul Kocialkowski
For our component-backed driver to be properly removed, we need to delete the component master in sun4i_drv_remove and make sure to call component_unbind_all in the master's unbind so that all components are unbound when the master is. Fixes: 9026e0d122ac ("drm: Add Allwinner A10 Display Engine

[PATCH 0/3] sun4i/drm: Fixes for removing and re-probing the driver

2019-04-18 Thread Paul Kocialkowski
This series brings-in some fixes that are necessary to be able to remove the driver at run-time (when built as a module) and properly re-probe it afterwards. Cheers, Paul Paul Kocialkowski (3): drm/sun4i: Add missing drm_atomic_helper_shutdown at driver unbind drm/sun4i: Set device driver

[PATCH 1/3] drm/sun4i: Add missing drm_atomic_helper_shutdown at driver unbind

2019-04-18 Thread Paul Kocialkowski
A call to drm_atomic_helper_shutdown is required to properly release the internal references taken by the core and avoid warnings about leaking objects. Add it since it was missing. Fixes: 9026e0d122ac ("drm: Add Allwinner A10 Display Engine support") Signed-off-by: Paul Kocialkowski ---

[PATCH v2] drm: Fire off KMS hotplug events if probe detect says the connector is connected

2019-04-18 Thread Gwan-gyeong Mun
The hotplug detection routine of drm_helper_hpd_irq_event() can detect changing of status of connector, but it can not detect changing of properties of the connector. e.g. changing of edid while suspend/resume, changing of dp lanes in dp aux. Following scenario explains one of them; A detection

Re: [PATCH] drm: Fire off KMS hotplug events if probe detect says the connector is connected

2019-04-18 Thread Mun, Gwan-gyeong
On Thu, 2019-04-18 at 10:28 +0200, Daniel Vetter wrote: > On Thu, Apr 18, 2019 at 11:09:29AM +0300, Gwan-gyeong Mun wrote: > > The hotplug detection routine of drm_helper_hpd_irq_event() can > > detect > > changing of status of connector, but it can not detect changing of > > properties of the

Re: [v3 0/7] Add Multi Segment Gamma Support

2019-04-18 Thread Ville Syrjälä
On Thu, Apr 18, 2019 at 09:13:04AM +0200, Daniel Vetter wrote: > On Wed, Apr 17, 2019 at 02:57:31PM +0300, Ville Syrjälä wrote: > > On Wed, Apr 17, 2019 at 09:28:19AM +0200, Daniel Vetter wrote: > > > On Fri, Apr 12, 2019 at 03:50:56PM +0530, Uma Shankar wrote: > > > > This series adds support for

[PATCH v2] drm/sun4i: Use DRM_GEM_CMA_VMAP_DRIVER_OPS for GEM operations

2019-04-18 Thread Paul Kocialkowski
Our driver makes a typical use of CMA, with GEM object allocated as GEM CMA objects. Use DRM_GEM_CMA_VMAP_DRIVER_OPS to describe the ops instead of duplicating them. Because DRM_GEM_CMA_VMAP_DRIVER_OPS implements a gem_create_object op which sets per-object funcs (drm_cma_gem_default_funcs), we

Re: [PATCH] drm: Fix timestamp docs for variable refresh properties.

2019-04-18 Thread Kazlauskas, Nicholas
On 4/18/19 2:01 AM, Mario Kleiner wrote: > As discussed with Nicholas and Daniel Vetter (patchwork > link to discussion below), the VRR timestamping behaviour > produced utterly useless and bogus vblank/pageflip > timestamps. We have found a way to fix this and provide > sane behaviour. > > As of

Avoiding merge conflicts while adding new docs - Was: Re: [PATCH 00/57] Convert files to ReST

2019-04-18 Thread Mauro Carvalho Chehab
Jon, Em Mon, 15 Apr 2019 23:55:25 -0300 Mauro Carvalho Chehab escreveu: > I have a separate patch series with do the actual rename and > adjustment of references. I opted to submit this first, as it > sounds easier to merge this way, as each subsystem maintainer > can apply the conversion

[PATCH v3 4/6] drm/modes: Parse overscan properties

2019-04-18 Thread Maxime Ripard
Properly configuring the overscan properties might be needed for the initial setup of the framebuffer for display that still have overscan. Let's allow for more properties on the kernel command line to setup each margin. Signed-off-by: Maxime Ripard --- drivers/gpu/drm/drm_modes.c | 44

[PATCH v3 3/6] drm/modes: Allow to specify rotation and reflection on the commandline

2019-04-18 Thread Maxime Ripard
Rotations and reflections setup are needed in some scenarios to initialise properly the initial framebuffer. Some drivers already had a bunch of quirks to deal with this, such as either a private kernel command line parameter (omapdss) or on the device tree (various panels). In order to

[PATCH v3 0/6] drm/vc4: Allow for more boot-time configuration

2019-04-18 Thread Maxime Ripard
Hi, The proprietary stack for the RaspberryPi allows for a number of video parameters widely used by their users, but yet don't have any equivalents in the mainline kernel. Those options are detailed here: https://www.raspberrypi.org/documentation/configuration/config-txt/video.md While not all

[PATCH v3 6/6] drm/vc4: hdmi: Set default state margin at reset

2019-04-18 Thread Maxime Ripard
Now that the TV margins are properly parsed and filled into drm_cmdline_mode, we just need to initialise the first state at reset to get those values and start using them. Signed-off-by: Maxime Ripard --- drivers/gpu/drm/vc4/vc4_hdmi.c | 16 +++- 1 file changed, 15 insertions(+), 1

[PATCH v3 1/6] drm/modes: Rewrite the command line parser

2019-04-18 Thread Maxime Ripard
From: Maxime Ripard Rewrite the command line parser in order to get away from the state machine parsing the video mode lines. Hopefully, this will allow to extend it more easily to support named modes and / or properties set directly on the command line. Signed-off-by: Maxime Ripard ---

[PATCH v3 5/6] drm/selftests: Add command line parser selftests

2019-04-18 Thread Maxime Ripard
The command line parser is pretty tough to get right and very error prone, so let's add a selftest to try to catch any regression. Signed-off-by: Maxime Ripard --- drivers/gpu/drm/selftests/Makefile | 2 +- drivers/gpu/drm/selftests/drm_cmdline_selftests.h | 49 +-

[PATCH v3 2/6] drm/modes: Support modes names on the command line

2019-04-18 Thread Maxime Ripard
From: Maxime Ripard The drm subsystem also uses the video= kernel parameter, and in the documentation refers to the fbdev documentation for that parameter. However, that documentation also says that instead of giving the mode using its resolution we can also give a name. However, DRM doesn't

Re: [PATCH 00/20] drm: Split out the formats API and move it to a common place

2019-04-18 Thread Daniel Vetter
On Thu, Apr 18, 2019 at 2:01 PM Maxime Ripard wrote: > On Thu, Apr 18, 2019 at 12:07:44PM +0200, Daniel Vetter wrote: > > On Thu, Apr 18, 2019 at 11:02 AM Maxime Ripard > > wrote: > > > > > > On Thu, Apr 18, 2019 at 09:52:10AM +0200, Daniel Vetter wrote: > > > > On Thu, Apr 18, 2019 at 8:22 AM

DMA-buf P2P

2019-04-18 Thread Christian König
Hi guys, as promised this is the patch set which enables P2P buffer sharing with DMA-buf. Basic idea is that importers can set a flag noting that they can deal with and sgt which doesn't contains pages. This in turn is the signal to the exporter that we don't need to move a buffer to system

[PATCH 6/6] drm/amdgpu: add support for exporting VRAM using DMA-buf v2

2019-04-18 Thread Christian König
We should be able to do this now after checking all the prerequisites. v2: fix entrie count in the sgt Signed-off-by: Christian König --- drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c| 46 -- drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h | 9 ++

[PATCH 2/6] PCI/P2PDMA: start with a whitelist for root complexes

2019-04-18 Thread Christian König
A lot of root complexes can still do P2P even when PCI devices don't share a common upstream bridge. Start adding a whitelist and allow P2P if both participants are attached to known good root complex. Signed-off-by: Christian König --- drivers/pci/p2pdma.c | 38

[PATCH 1/6] lib/scatterlist: add sg_set_dma_addr() helper

2019-04-18 Thread Christian König
Use this function to set an sg entry to point to device resources mapped using dma_map_resource(). The page pointer is set to NULL and only the DMA address, length and offset values are valid. Signed-off-by: Christian König --- include/linux/scatterlist.h | 23 +++ 1 file

[PATCH 5/6] drm/amdgpu: add checks if DMA-buf P2P is supported

2019-04-18 Thread Christian König
Check if we can do peer2peer on the PCIe bus. Signed-off-by: Christian König --- drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c | 17 - 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c

[PATCH 3/6] dma-buf: add peer2peer flag

2019-04-18 Thread Christian König
Add a peer2peer flag noting that the importer can deal with device resources which are not backed by pages. Signed-off-by: Christian König --- drivers/dma-buf/dma-buf.c | 1 + include/linux/dma-buf.h | 4 2 files changed, 5 insertions(+) diff --git a/drivers/dma-buf/dma-buf.c

[PATCH 4/6] drm/amdgpu: note that we can handle peer2peer DMA-buf

2019-04-18 Thread Christian König
Importing should work out of the box. Signed-off-by: Christian König --- drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c index 30634396719b..af103b7e21e8 100644

Re: [PATCH 00/20] drm: Split out the formats API and move it to a common place

2019-04-18 Thread Maxime Ripard
On Thu, Apr 18, 2019 at 12:07:44PM +0200, Daniel Vetter wrote: > On Thu, Apr 18, 2019 at 11:02 AM Maxime Ripard > wrote: > > > > On Thu, Apr 18, 2019 at 09:52:10AM +0200, Daniel Vetter wrote: > > > On Thu, Apr 18, 2019 at 8:22 AM Maxime Ripard > > > wrote: > > > > On Wed, Apr 17, 2019 at

Re: [PATCH 00/20] drm: Split out the formats API and move it to a common place

2019-04-18 Thread Paul Kocialkowski
Hi, On Thu, 2019-04-18 at 11:02 +0200, Maxime Ripard wrote: > On Thu, Apr 18, 2019 at 09:52:10AM +0200, Daniel Vetter wrote: > > And a lot of people pushed for the "fourcc is a standard", when > > really it's totally not. > > Even if it's not a standard, having consistency would be a good thing.

  1   2   >