Re: [PATCH] drm/i915/gvt: remove duplicate entry of trace

2019-06-11 Thread Zhenyu Wang
On 2019.05.26 13:26:33 +0530, Hariprasad Kelam wrote: > Remove duplicate include of trace.h > > Issue identified by includecheck > > Signed-off-by: Hariprasad Kelam > --- > drivers/gpu/drm/i915/gvt/trace_points.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git

[Bug 110822] [Bisected]Booting with kernel version 5.1.0 or higher on RX 580 hangs

2019-06-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110822 --- Comment #18 from Gobinda Joy --- (In reply to b6khqjqov4 from comment #17) > (In reply to Gobinda Joy from comment #16) > > This doesn't seems like the same bug. For instance, in my case the whole > > boot process hangs check the attached

[Bug 203627] [Regression] Boot fails with linux-firmware 20190514

2019-06-11 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=203627 --- Comment #5 from Aleksandr Mezin (mezin.alexan...@gmail.com) --- (In reply to Aleksandr Mezin from comment #2) > vega10_sos.bin > > Copying that file from previous firmware release into /lib/firmware/amdgpu > makes the system boot again with

[Bug 110749] [Vega 11] [amdgpu retry page fault VM_L2_PROTECTION_FAULT_STATUS] System lock up during playing Steam version of Saints Row 3

2019-06-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110749 --- Comment #4 from Cyrax --- Created attachment 144516 --> https://bugs.freedesktop.org/attachment.cgi?id=144516=edit dmesg event umr dumps as usual -- You are receiving this mail because: You are the assignee for the

[PATCH] video: backlight: Replace old GPIO APIs with GPIO Consumer APIs for sky81542-backlight driver

2019-06-11 Thread Shobhit Kukreti
Port the sky81452-backlight driver to adhere to new gpio descriptor based APIs. Modified the file sky81452-backlight.c and sky81452-backlight.h. The gpio descriptor property in device tree should be "sky81452-en-gpios" Removed unnecessary header files "linux/gpio.h" and "linux/of_gpio.h".

[Bug 110887] 5.0 kernel crash , drm:amdgpu_gem_va_ioctl [amdgpu]] *ERROR* Couldn't update BO_VA (-2)

2019-06-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110887 Bug ID: 110887 Summary: 5.0 kernel crash , drm:amdgpu_gem_va_ioctl [amdgpu]] *ERROR* Couldn't update BO_VA (-2) Product: DRI Version: DRI git Hardware: ARM

[Bug 110783] Mesa 19.1 rc crashing MPV with VAAPI

2019-06-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110783 --- Comment #3 from Gert Wollny --- R600 doesn't implement TGSI_OPCODE_DIV and in the Gentoo bug this is the one reported as being triggered. If think for glsl this is lowered, so maybe there is some compiler option missing in the vdpau state

Re: [PATCH v1 3/4] drm/mga: drop use of drmP.h

2019-06-11 Thread Thomas Zimmermann
Hi Am 08.06.19 um 10:19 schrieb Sam Ravnborg: > Drop the use of the deprecated drmP.h header file. > Clean up list of include files and sort them. > > Signed-off-by: Sam Ravnborg > Cc: Thomas Zimmermann > Cc: Daniel Vetter > Cc: David Airlie > --- > drivers/gpu/drm/mga/mga_dma.c | 2 -- >

Re: [PATCH v1 0/4] drm/{mga,mgag200}: drop use of drmP.h

2019-06-11 Thread Thomas Zimmermann
Hi Thanks a lot. There's some bike shedding in my other replies, but generally Acked-by: Thomas Zimmermann Best regard Thomas Am 08.06.19 um 10:19 schrieb Sam Ravnborg: > Drop use of the deprecated drmP.h header file. > Also drop use of drm_os_linux.h as it is deprecated too, > and was

Re: [PATCH 5/8] drivers: media: coda: fix warning same module names

2019-06-11 Thread Hans Verkuil
On 6/11/19 10:15 AM, Philipp Zabel wrote: > Hi, > > On Mon, 2019-06-10 at 13:14 +, Matt Redfearn wrote: >> >> On 10/06/2019 14:03, Anders Roxell wrote: >>> On Thu, 6 Jun 2019 at 12:13, Hans Verkuil wrote: On 6/6/19 11:47 AM, Anders Roxell wrote: > When building with

[Bug 110886] After S3 resume, kernel: [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] *ERROR* [CRTC:57:crtc-0] flip_done timed out

2019-06-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110886 --- Comment #1 from Kai-Heng Feng --- Created attachment 144498 --> https://bugs.freedesktop.org/attachment.cgi?id=144498=edit Full kernel log -- You are receiving this mail because: You are the assignee for the

Re: [PATCH v3 33/33] docs: EDID/HOWTO.txt: convert it and rename to howto.rst

2019-06-11 Thread Daniel Vetter
On Sat, Jun 08, 2019 at 11:27:23PM -0300, Mauro Carvalho Chehab wrote: > Sphinx need to know when a paragraph ends. So, do some adjustments > at the file for it to be properly parsed. > > At its new index.rst, let's add a :orphan: while this is not linked to > the main index.rst file, in order to

[Bug 110886] After S3 resume, kernel: [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] *ERROR* [CRTC:57:crtc-0] flip_done timed out

2019-06-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110886 Bug ID: 110886 Summary: After S3 resume, kernel: [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] *ERROR* [CRTC:57:crtc-0] flip_done timed out

Re: [PATCH v1 1/4] drm/mga: drop dependency on drm_os_linux.h

2019-06-11 Thread Thomas Zimmermann
Hi Am 08.06.19 um 10:19 schrieb Sam Ravnborg: > Opencode all macros used from the deprecated drm_os_linux.h header file. > The DRM_WAIT_ON used 3 * HZ as timeout. > This was translated to 30 msec. > > Signed-off-by: Sam Ravnborg > Cc: Thomas Zimmermann > Cc: Daniel Vetter > Cc: David Airlie

Re: [PATCH 5/8] drivers: media: coda: fix warning same module names

2019-06-11 Thread Philipp Zabel
Hi, On Mon, 2019-06-10 at 13:14 +, Matt Redfearn wrote: > > On 10/06/2019 14:03, Anders Roxell wrote: > > On Thu, 6 Jun 2019 at 12:13, Hans Verkuil wrote: > > > > > > On 6/6/19 11:47 AM, Anders Roxell wrote: > > > > When building with CONFIG_VIDEO_CODA and CONFIG_CODA_FS enabled as > > > >

Re: WARNING in bpf_jit_free

2019-06-11 Thread Dmitry Vyukov
On Tue, Jun 11, 2019 at 10:04 AM Daniel Vetter wrote: > > On Sat, Jun 08, 2019 at 04:22:06AM -0700, syzbot wrote: > > syzbot has found a reproducer for the following crash on: > > > > HEAD commit:79c3ba32 Merge tag 'drm-fixes-2019-06-07-1' of git://anong.. > > git tree: upstream > >

[Bug 110888] 5.0.21 kernel crash when many GPU app run concurrently , error msg: amdgpu_vm_validate_pt_bos() failed. , Not enough memory for command submission!

2019-06-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110888 Bug ID: 110888 Summary: 5.0.21 kernel crash when many GPU app run concurrently , error msg: amdgpu_vm_validate_pt_bos() failed. , Not enough memory for command submission!

[PATCH] backlight: tdo24m: Switch to SPDX header

2019-06-11 Thread Lubomir Rintel
The original license text had a typo ("publishhed") which would be likely to confuse automated licensing auditing tools. Let's just switch to SPDX instead of fixing the wording. Signed-off-by: Lubomir Rintel --- drivers/video/backlight/tdo24m.c | 5 + 1 file changed, 1 insertion(+), 4

[GIT PULL] omapdrm changes for 5.3

2019-06-11 Thread Tomi Valkeinen
Hi Dave, Please pull omapdrm changes for 5.3. Tomi The following changes since commit 396f9acaffd87e44b8b02bc60f06dc949b832b7e: Merge branch 'drm-next-5.3' of git://people.freedesktop.org/~agd5f/linux into drm-next (2019-06-06 14:28:26 +1000) are available in the Git repository at:

Re: [PATCH] drm/fb-helper: Unexport cmdline helpers

2019-06-11 Thread Daniel Vetter
On Sat, Jun 08, 2019 at 05:41:49PM +0200, Noralf Trønnes wrote: > > > Den 07.06.2019 20.52, skrev Daniel Vetter: > > No longer needed since the i915 initial config logic was pulled into > > the shared helper by Noralf. > > > > I'm fixing this when I move the modeset code to drm_client. I hope

Re: [PATCH 1/2] drm: panels: Add MAINTAINERS entry for LVDS panel driver

2019-06-11 Thread Daniel Vetter
On Sat, Jun 08, 2019 at 05:12:41PM +0300, Laurent Pinchart wrote: > As the DRM LVDS panel driver uses a different approach to DT bindings > compared to what Thierry Reding advocates, add a specific MAINTAINERS > entry to avoid bothering Thierry with requests related to that driver. > >

Re: WARNING in bpf_jit_free

2019-06-11 Thread Daniel Vetter
On Sat, Jun 08, 2019 at 04:22:06AM -0700, syzbot wrote: > syzbot has found a reproducer for the following crash on: > > HEAD commit:79c3ba32 Merge tag 'drm-fixes-2019-06-07-1' of git://anong.. > git tree: upstream > console output:

Re: [PATCH 4/5] drm/connector: Split out orientation quirk detection

2019-06-11 Thread Jani Nikula
On Mon, 10 Jun 2019, Derek Basehore wrote: > This removes the orientation quirk detection from the code to add > an orientation property to a panel. This is used only for legacy x86 > systems, yet we'd like to start using this on devicetree systems where > quirk detection like this is not needed.

[Bug 110883] [Regression linux 5.2-rc4][bisected] hang on boot

2019-06-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110883 --- Comment #4 from Michel Dänzer --- Please add a reference to this bug report in the commit log, and send the patch to the amd-gfx mailing list for review. -- You are receiving this mail because: You are the assignee for the

Re: [PATCH 3/5] drm/panel: Add attach/detach callbacks

2019-06-11 Thread Daniel Vetter
On Mon, Jun 10, 2019 at 09:03:48PM -0700, Derek Basehore wrote: > This adds the attach/detach callbacks. These are for setting up > internal state for the connector/panel pair that can't be done at > probe (since the connector doesn't exist) and which don't need to be > repeatedly done for every

5.1 backport request

2019-06-11 Thread Daniel Vetter
Hi stable team, Please backport dbb92471674a ("Revert "drm: allow render capable master with DRM_AUTH ioctls"") to 5.1, we accidentally forgot the Cc: stable and Fixes: line for that revert. Thanks to Michel for spotting this. Dave, for next time around there's $ dim fixes $broken_sha1 Thanks,

[Bug 110886] After S3 resume, kernel: [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] *ERROR* [CRTC:57:crtc-0] flip_done timed out

2019-06-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110886 --- Comment #2 from Kai-Heng Feng --- Created attachment 144502 --> https://bugs.freedesktop.org/attachment.cgi?id=144502=edit Another kind of fail Jun 11 03:02:41 u-HP-ProBook-645-G4 kernel: [drm] psp command failed and response status is

[Bug 110862] Dual-monitors invalid state after turning on

2019-06-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110862 --- Comment #2 from Michel Dänzer --- Probably best if you attach all of those from a bad and good boot each. -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel

Re: [PATCH v1 01/10] drm: fix build errors with drm_print.h

2019-06-11 Thread Daniel Vetter
On Tue, Jun 11, 2019 at 11:11:07AM +0200, Sam Ravnborg wrote: > Hi Daniel. > > On Tue, Jun 11, 2019 at 10:39:11AM +0200, Daniel Vetter wrote: > > On Mon, Jun 10, 2019 at 12:07:48AM +0200, Sam Ravnborg wrote: > > > drm_print.h requires to fix build when macros are used. > > > Pull in the header

Re: [PATCH v1 01/10] drm: fix build errors with drm_print.h

2019-06-11 Thread Sam Ravnborg
Hi Daniel. > > > > drm_print.h uses DRM_NAME - which is defined only in uapi/drm/drm.h. > > The error is seen when you include drm_print.h and not much other drm > > header files. > > Tiday we rely on other drm header files to pull in drm.h. > > > > Notice - the error only manifest itself when

Re: [PATCH 1/7] video: add HDMI state notifier support

2019-06-11 Thread Cheng-yi Chiang
On Tue, Jun 4, 2019 at 3:24 PM Daniel Vetter wrote: > > On Tue, Jun 04, 2019 at 10:32:50AM +0800, Cheng-yi Chiang wrote: > > On Mon, Jun 3, 2019 at 4:09 PM Daniel Vetter wrote: > > > > > > On Mon, Jun 03, 2019 at 09:45:49AM +0200, Hans Verkuil wrote: > > > > On 6/3/19 6:32 AM, Cheng-Yi Chiang

Re: [PATCH 6/8] drm/mgag200: Rewrite cursor handling

2019-06-11 Thread Thomas Zimmermann
Hi Am 05.06.19 um 11:58 schrieb Gerd Hoffmann: > On Tue, Jun 04, 2019 at 05:41:59PM +0200, Thomas Zimmermann wrote: >> The cursor handling in mgag200 is complicated to understand. It touches a >> number of different BOs, but doesn't really use all of them. >> >> Rewriting the cursor update

Re: WARNING in bpf_jit_free

2019-06-11 Thread Daniel Vetter
On Tue, Jun 11, 2019 at 10:33:21AM +0200, Dmitry Vyukov wrote: > On Tue, Jun 11, 2019 at 10:04 AM Daniel Vetter wrote: > > > > On Sat, Jun 08, 2019 at 04:22:06AM -0700, syzbot wrote: > > > syzbot has found a reproducer for the following crash on: > > > > > > HEAD commit:79c3ba32 Merge tag

[Bug 110866] Revert 8059add0478e29cb641936011a8fcc9ce9fd80be for stable 5.1.x

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

Re: [PATCH v1 01/10] drm: fix build errors with drm_print.h

2019-06-11 Thread Sam Ravnborg
Hi Daniel. On Tue, Jun 11, 2019 at 10:39:11AM +0200, Daniel Vetter wrote: > On Mon, Jun 10, 2019 at 12:07:48AM +0200, Sam Ravnborg wrote: > > drm_print.h requires to fix build when macros are used. > > Pull in the header file in drm_print.h so users do not have to do it. > > > > Signed-off-by:

[PATCH v2 1/2] drm/komeda: Add slave pipeline support

2019-06-11 Thread Lowry Li (Arm Technology China)
From: "Lowry Li (Arm Technology China)" One crtc can use two komeda_pipeline, and one works as master and as slave. the slave pipeline doesn't have its own output and timing ctrlr, but pre-composite the input layer data flow and then feed the result to master. the pipeline configuration like:

[PATCH v2 0/2] Adds slave pipeline support

2019-06-11 Thread Lowry Li (Arm Technology China)
Hi, This serie aims at adding the support for slave pipeline on Komeda driver. Also adds drop_master to shutdown the device and make sure all the komeda resources shared between crtcs have been released. Change since v1: Rebases the code and resolves the conflict. This patch series depends on:

[Bug 110781] Radeon: heavy r300 performance drop regression between 11.x and 19.x

2019-06-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110781 --- Comment #63 from Rui Salvaterra --- (In reply to Richard Thier from comment #62) > Added a blog post about the whole issue and its solving process here: > > http://ballmerpeak.web.elte.hu/devblog/debugging-mesa-and-the-linux-3d- >

Re: [PATCH v1 01/10] drm: fix build errors with drm_print.h

2019-06-11 Thread Daniel Vetter
On Mon, Jun 10, 2019 at 12:07:48AM +0200, Sam Ravnborg wrote: > drm_print.h requires to fix build when macros are used. > Pull in the header file in drm_print.h so users do not have to do it. > > Signed-off-by: Sam Ravnborg > Cc: Maarten Lankhorst > Cc: Maxime Ripard > Cc: Sean Paul > Cc:

Re: drm-tip: Possible deadlock in DRM FB helpers

2019-06-11 Thread Daniel Vetter
On Tue, Jun 11, 2019 at 11:27 AM Thomas Zimmermann wrote: > > Hi, > > since a few days, I get a deadlock warning about the DRM FB helpers in > drm-tip. I was able to trace the problem back to > > d81294afe drm/fb-helper: Remove drm_fb_helper_crtc > > It moves around some lock operations, which

[Bug 110888] 5.0.21 kernel crash when many GPU app run concurrently , error msg: amdgpu_vm_validate_pt_bos() failed. , Not enough memory for command submission!

2019-06-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110888 --- Comment #1 from wormwang --- Created attachment 144503 --> https://bugs.freedesktop.org/attachment.cgi?id=144503=edit radeontop just before kernel crash radeontop just before the kernel crash. VRAM just is about 65% free. -- You are

[PATCH 00/13] tda998x updates

2019-06-11 Thread Russell King - ARM Linux admin
This series represents development work collected over the last six months to improve the TDA998x driver, particularly for the audio side. These patches can be found in my "drm-tda998x-devel" branch at git://git.armlinux.org.uk/~rmk/linux-arm.git - Introduce an audio_settings structure so we can

[PATCH] drm/fb: document dirty helper better

2019-06-11 Thread Daniel Vetter
Apparently little none fact that there's no need to hand-roll your own anymore. Cc'ing a bunch of driver people who might want to know this too. Cc: Rob Clark Cc: Sebastian Reichel Cc: Tomi Valkeinen Cc: Maarten Lankhorst Cc: Maxime Ripard Cc: Sean Paul Cc: Gerd Hoffmann Cc: David Lechner

[PATCH] drm: Reverse lock order in pan_display_legacy()

2019-06-11 Thread Thomas Zimmermann
Acquiring drm_client_dev.modeset_mutex after the locks in drm_fb_helper.dev creates a deadlock with drm_setup_crtcs() as shown below: [4.959319] fbcon: radeondrmfb (fb0) is primary device [4.993952] Console: switching to colour frame buffer device 240x67 [4.994040] [

Re: [PATCH 1/7] video: add HDMI state notifier support

2019-06-11 Thread Daniel Vetter
On Tue, Jun 11, 2019 at 08:10:38PM +0800, Cheng-yi Chiang wrote: > On Tue, Jun 4, 2019 at 3:24 PM Daniel Vetter wrote: > > > > On Tue, Jun 04, 2019 at 10:32:50AM +0800, Cheng-yi Chiang wrote: > > > On Mon, Jun 3, 2019 at 4:09 PM Daniel Vetter wrote: > > > > > > > > On Mon, Jun 03, 2019 at

[PATCH v4 8/9] drm/vmwgfx: Implement an infrastructure for read-coherent resources

2019-06-11 Thread VMware
From: Thomas Hellstrom Similar to write-coherent resources, make sure that from the user-space point of view, GPU rendered contents is automatically available for reading by the CPU. Signed-off-by: Thomas Hellstrom Reviewed-by: Deepak Rawat --- drivers/gpu/drm/vmwgfx/vmwgfx_drv.h |

[PATCH v4 5/9] drm/ttm: TTM fault handler helpers

2019-06-11 Thread VMware
From: Thomas Hellstrom With the vmwgfx dirty tracking, the default TTM fault handler is not completely sufficient (vmwgfx need to modify the vma->vm_flags member, and also needs to restrict the number of prefaults). We also want to replicate the new ttm_bo_vm_reserve() functionality So start

[PATCH v4 4/9] drm/ttm: Allow the driver to provide the ttm struct vm_operations_struct

2019-06-11 Thread VMware
From: Thomas Hellstrom Add a pointer to the struct vm_operations_struct in the bo_device, and assign that pointer to the default value currently used. The driver can then optionally modify that pointer and the new value can be used for each new vma created. Cc: "Christian König"

Re: [PATCH v3 33/33] docs: EDID/HOWTO.txt: convert it and rename to howto.rst

2019-06-11 Thread Mauro Carvalho Chehab
Em Tue, 11 Jun 2019 10:37:31 +0200 Daniel Vetter escreveu: > On Sat, Jun 08, 2019 at 11:27:23PM -0300, Mauro Carvalho Chehab wrote: > > Sphinx need to know when a paragraph ends. So, do some adjustments > > at the file for it to be properly parsed. > > > > At its new index.rst, let's add a

[Bug 110862] Dual-monitors invalid state after turning on

2019-06-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110862 --- Comment #1 from Michel Dänzer --- Please attach the corresponding Xorg log file and output of xrandr and dmesg. -- You are receiving this mail because: You are the assignee for the bug.___

Re: [PATCH 1/2] dt-bindings: pwm-backlight: Add 'max-brightness' property

2019-06-11 Thread Pavel Machek
On Mon 2019-06-10 16:37:38, Matthias Kaehlcke wrote: > Add an optional 'max-brightness' property, which is used to specify > the number of brightness levels (max-brightness + 1) when the node > has no 'brightness-levels' table. > > Signed-off-by: Matthias Kaehlcke Acked-by: Pavel Machek --

Re: [PATCH v1 1/4] drm/mga: drop dependency on drm_os_linux.h

2019-06-11 Thread Sam Ravnborg
Hi Thomas. > > +#define MGA_READ8(reg) \ > > + readb(((void __iomem *)dev_priv->mmio->handle) + (reg)) > > +#define MGA_READ(reg) \ > > + readl(((void __iomem *)dev_priv->mmio->handle) + (reg)) > > +#define MGA_WRITE8(reg, val) \ > > + writeb(val, ((void __iomem *)dev_priv->mmio->handle) +

[Bug 110883] [Regression linux 5.2-rc4][bisected] hang on boot

2019-06-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110883 --- Comment #5 from Sibren Vasse --- A (similar) patch was already submitted to amd-gfx (https://lists.freedesktop.org/archives/amd-gfx/2019-June/034946.html) However, applying this to v5.2-rc4 does not solve the issue. -- You are receiving

Re: [PATCH v1 1/4] drm/mga: drop dependency on drm_os_linux.h

2019-06-11 Thread Thomas Zimmermann
Hi Am 11.06.19 um 12:44 schrieb Sam Ravnborg: > Hi Thomas. > >>> +#define MGA_READ8(reg) \ >>> + readb(((void __iomem *)dev_priv->mmio->handle) + (reg)) >>> +#define MGA_READ(reg) \ >>> + readl(((void __iomem *)dev_priv->mmio->handle) + (reg)) >>> +#define MGA_WRITE8(reg, val) \ >>> +

Re: [PATCH] drm/bridge/synopsys: dw-hdmi: Fix unwedge crash when no pinctrl entries

2019-06-11 Thread Erico Nunes
On Mon, Jun 10, 2019 at 10:51 PM Sean Paul wrote: > > On Mon, Jun 10, 2019 at 1:52 PM Douglas Anderson > wrote: > > > > In commit 50f9495efe30 ("drm/bridge/synopsys: dw-hdmi: Add "unwedge" > > for ddc bus") I stupidly used IS_ERR() to check for whether we have an > > "unwedge" pinctrl state

Re: [PATCH v2 2/2] drm/komeda: Adds komeda_kms_drop_master

2019-06-11 Thread Daniel Vetter
On Tue, Jun 11, 2019 at 11:13:45AM +, Lowry Li (Arm Technology China) wrote: > From: "Lowry Li (Arm Technology China)" > > The komeda internal resources (pipelines) are shared between crtcs, > and resources release by disable_crtc. This commit is working for once > user forgot disabling crtc

Re: WARNING in bpf_jit_free

2019-06-11 Thread Dmitry Vyukov
On Tue, Jun 11, 2019 at 11:01 AM Daniel Vetter wrote: > > On Tue, Jun 11, 2019 at 10:51:23AM +0200, Daniel Vetter wrote: > > On Tue, Jun 11, 2019 at 10:33:21AM +0200, Dmitry Vyukov wrote: > > > On Tue, Jun 11, 2019 at 10:04 AM Daniel Vetter wrote: > > > > > > > > On Sat, Jun 08, 2019 at

drm-tip: Possible deadlock in DRM FB helpers

2019-06-11 Thread Thomas Zimmermann
Hi, since a few days, I get a deadlock warning about the DRM FB helpers in drm-tip. I was able to trace the problem back to d81294afe drm/fb-helper: Remove drm_fb_helper_crtc It moves around some lock operations, which breaks non-atomic drivers (radeon, mgag200, ast). An lspci and dmesg

Re: [GIT PULL] omapdrm changes for 5.3

2019-06-11 Thread Daniel Vetter
On Tue, Jun 11, 2019 at 11:05:40AM +0300, Tomi Valkeinen wrote: > Hi Dave, > > Please pull omapdrm changes for 5.3. > > Tomi > > The following changes since commit 396f9acaffd87e44b8b02bc60f06dc949b832b7e: > > Merge branch 'drm-next-5.3' of git://people.freedesktop.org/~agd5f/linux > into

[PATCH v4 6/9] drm/vmwgfx: Implement an infrastructure for write-coherent resources

2019-06-11 Thread VMware
From: Thomas Hellstrom This infrastructure will, for coherent resources, make sure that from the user-space point of view, data written by the CPU is immediately automatically available to the GPU at resource validation time. Signed-off-by: Thomas Hellstrom Reviewed-by: Deepak Rawat ---

[PATCH v4 9/9] drm/vmwgfx: Add surface dirty-tracking callbacks

2019-06-11 Thread VMware
From: Thomas Hellstrom Add the callbacks necessary to implement emulated coherent memory for surfaces. Add a flag to the gb_surface_create ioctl to indicate that surface memory should be coherent. Also bump the drm minor version to signal the availability of coherent surfaces. Signed-off-by:

[PATCH v4 0/9] Emulated coherent graphics memory

2019-06-11 Thread VMware
Planning to merge this through the drm/vmwgfx tree soon, so if there are any objections, please speak up. Graphics APIs like OpenGL 4.4 and Vulkan require the graphics driver to provide coherent graphics memory, meaning that the GPU sees any content written to the coherent memory on the next GPU

[PATCH v4 7/9] drm/vmwgfx: Use an RBtree instead of linked list for MOB resources

2019-06-11 Thread VMware
From: Thomas Hellstrom With emulated coherent memory we need to be able to quickly look up a resource from the MOB offset. Instead of traversing a linked list with O(n) worst case, use an RBtree with O(log n) worst case complexity. Signed-off-by: Thomas Hellstrom Reviewed-by: Deepak Rawat ---

Re: [PATCH v1 1/4] drm/mga: drop dependency on drm_os_linux.h

2019-06-11 Thread Daniel Vetter
On Tue, Jun 11, 2019 at 09:48:16AM +0200, Thomas Zimmermann wrote: > Hi > > Am 08.06.19 um 10:19 schrieb Sam Ravnborg: > > Opencode all macros used from the deprecated drm_os_linux.h header file. > > The DRM_WAIT_ON used 3 * HZ as timeout. > > This was translated to 30 msec. > > > >

Re: [PATCH v1 3/4] drm/mga: drop use of drmP.h

2019-06-11 Thread Daniel Vetter
On Tue, Jun 11, 2019 at 09:53:51AM +0200, Thomas Zimmermann wrote: > Hi > > Am 08.06.19 um 10:19 schrieb Sam Ravnborg: > > Drop the use of the deprecated drmP.h header file. > > Clean up list of include files and sort them. > > > > Signed-off-by: Sam Ravnborg > > Cc: Thomas Zimmermann > > Cc:

Re: [alsa-devel] Linking ALSA playback devices and DRM connectors

2019-06-11 Thread Takashi Iwai
On Tue, 04 Jun 2019 18:25:53 +0200, Ville Syrjälä wrote: > > On Tue, Jun 04, 2019 at 05:24:35PM +0200, Daniel Vetter wrote: > > On Tue, Jun 4, 2019 at 5:15 PM Christian König > > wrote: > > > > > > Am 04.06.19 um 17:05 schrieb Ser, Simon: > > > > Hi, > > > > > > > > I'm trying to link ALSA

Re: [PATCH 1/2] dt-bindings: pwm-backlight: Add 'max-brightness' property

2019-06-11 Thread Thierry Reding
On Mon, Jun 10, 2019 at 04:37:38PM -0700, Matthias Kaehlcke wrote: > Add an optional 'max-brightness' property, which is used to specify > the number of brightness levels (max-brightness + 1) when the node > has no 'brightness-levels' table. > > Signed-off-by: Matthias Kaehlcke > --- >

Re: [RFC v2 01/11] OPP: Don't overwrite rounded clk rate

2019-06-11 Thread Viresh Kumar
On 20-03-19, 15:19, Rajendra Nayak wrote: > From: Stephen Boyd > > Doing this allows us to call this API with any rate requested and have > it not need to match in the OPP table. Instead, we'll round the rate up > to the nearest OPP that we see so that we can get the voltage or level > that's

[PATCH v2 2/2] drm/komeda: Adds komeda_kms_drop_master

2019-06-11 Thread Lowry Li (Arm Technology China)
From: "Lowry Li (Arm Technology China)" The komeda internal resources (pipelines) are shared between crtcs, and resources release by disable_crtc. This commit is working for once user forgot disabling crtc like app quit abnomally, and then the resources can not be used by another crtc. Adds

Re: [PATCH] drm/fb: document dirty helper better

2019-06-11 Thread Chris Wilson
Quoting Daniel Vetter (2019-06-11 12:28:59) > Apparently little none fact that there's no need to hand-roll your own s/none/known/ > anymore. Cc'ing a bunch of driver people who might want to know this > too. ___ dri-devel mailing list

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

2019-06-11 Thread Maxime Ripard
Hi Noralf, On Thu, Apr 18, 2019 at 06:40:42PM +0200, Noralf Trønnes wrote: > Den 18.04.2019 14.41, skrev Maxime Ripard: > > + /** > > +* We want the rotation on the command line to overwrite > > +* whatever comes from the panel. > > +*/ > > + cmdline = >cmdline_mode; > > + if

Re: [PATCH 4/5] drm/connector: Split out orientation quirk detection

2019-06-11 Thread Hans de Goede
Hi, On 11-06-19 10:08, Jani Nikula wrote: On Mon, 10 Jun 2019, Derek Basehore wrote: This removes the orientation quirk detection from the code to add an orientation property to a panel. This is used only for legacy x86 systems, yet we'd like to start using this on devicetree systems where

Re: WARNING in bpf_jit_free

2019-06-11 Thread Daniel Vetter
On Tue, Jun 11, 2019 at 10:51:23AM +0200, Daniel Vetter wrote: > On Tue, Jun 11, 2019 at 10:33:21AM +0200, Dmitry Vyukov wrote: > > On Tue, Jun 11, 2019 at 10:04 AM Daniel Vetter wrote: > > > > > > On Sat, Jun 08, 2019 at 04:22:06AM -0700, syzbot wrote: > > > > syzbot has found a reproducer for

Re: [PATCH v3 33/33] docs: EDID/HOWTO.txt: convert it and rename to howto.rst

2019-06-11 Thread Daniel Vetter
On Tue, Jun 11, 2019 at 06:02:15AM -0300, Mauro Carvalho Chehab wrote: > Em Tue, 11 Jun 2019 10:37:31 +0200 > Daniel Vetter escreveu: > > > On Sat, Jun 08, 2019 at 11:27:23PM -0300, Mauro Carvalho Chehab wrote: > > > Sphinx need to know when a paragraph ends. So, do some adjustments > > > at the

Re: [PATCH 2/2] backlight: pwm_bl: Get number of brightness levels for CIE 1931 from the device tree

2019-06-11 Thread Pavel Machek
On Mon 2019-06-10 16:37:39, Matthias Kaehlcke wrote: > Commit 88ba95bedb79 ("backlight: pwm_bl: Compute brightness of LED > linearly to human eye") uses pwm_period / hweight32(pwm_period) as > as heuristic to determine the number of brightness levels when the DT > doesn't provide a brightness

Re: [GIT PULL FOR v5.3] R-Car DU changes, v2

2019-06-11 Thread Daniel Vetter
On Sat, Jun 08, 2019 at 04:46:52PM +0300, Laurent Pinchart wrote: > Hi Dave, > > If you haven't pulled the previous pull request yet, please disregard it > and process this one instead. It contains additional patches that add > support for more plane formats. > > The following changes since

Re: [PATCH] drm: Reverse lock order in pan_display_legacy()

2019-06-11 Thread Daniel Vetter
On Tue, Jun 11, 2019 at 01:57:16PM +0200, Thomas Zimmermann wrote: > Acquiring drm_client_dev.modeset_mutex after the locks in drm_fb_helper.dev > creates a deadlock with drm_setup_crtcs() as shown below: > > [4.959319] fbcon: radeondrmfb (fb0) is primary device > [4.993952] Console:

Re: [PATCH v8 0/5] drm/fb-helper: Move modesetting code to drm_client

2019-06-11 Thread Noralf Trønnes
Den 08.06.2019 17.26, skrev Noralf Trønnes: > This moves the modesetting code from drm_fb_helper to drm_client so it > can be shared by all internal clients. > > Let's see what the CI says about the remaining patches. I have added the > bootsplash todo entry patch adding Sam as contact. > >

Re: [PATCH] drm/fb-helper: Unexport cmdline helpers

2019-06-11 Thread Noralf Trønnes
Den 11.06.2019 10.06, skrev Daniel Vetter: > On Sat, Jun 08, 2019 at 05:41:49PM +0200, Noralf Trønnes wrote: >> >> >> Den 07.06.2019 20.52, skrev Daniel Vetter: >>> No longer needed since the i915 initial config logic was pulled into >>> the shared helper by Noralf. >>> >> >> I'm fixing this

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

2019-06-11 Thread Maxime Ripard
Hi Noralf, On Fri, Apr 19, 2019 at 10:53:28AM +0200, Noralf Trønnes wrote: > Den 18.04.2019 18.40, skrev 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.

[PATCH v1 08/11] dt-bindings: display/bridge: Add bindings for ti949

2019-06-11 Thread Michael Drake
Adds device tree bindings for: TI DS90UB949-Q1 1080p HDMI to FPD-Link III bridge serializer It supports instantiation via device tree / ACPI table. The device has the compatible string "ti,ds90ub949", and and allows an arrray of strings to be provided as regulator names to enable for

Re: [PATCH] efifb: BGRT: Add check for new BGRT status field rotation bits

2019-06-11 Thread Ard Biesheuvel
On Mon, 10 Jun 2019 at 17:12, Ard Biesheuvel wrote: > > On Wed, 29 May 2019 at 17:46, Hans de Goede wrote: > > > > Starting with ACPI 6.2 bits 1 and 2 of the BGRT status field are no longer > > reserved. These bits are now used to indicate if the image needs to be > > rotated before being

[PATCH] drm/etnaviv: Use dev_info() instead of pr_info()

2019-06-11 Thread Fabio Estevam
dev_info() is more appropriate for printing error messages inside drivers, so switch to dev_info(). Signed-off-by: Fabio Estevam --- drivers/gpu/drm/etnaviv/etnaviv_buffer.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git

Re: [PATCH] drm/virtio: drop framebuffer dirty tracking code

2019-06-11 Thread Daniel Vetter
On Tue, Jun 11, 2019 at 02:54:07PM +0200, Gerd Hoffmann wrote: > No need to have our own implementation, > atomic helpers can do it for us. > > Signed-off-by: Gerd Hoffmann Nice! I think you got it all, most of the custom code already disappeared with the switch to generic fbdev code.

[Bug 110896] [CI][RESUME] igt@kms_chamelium@hdmi-audio - warn - Home directory not accessible: Permission denied

2019-06-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110896 Martin Peres changed: What|Removed |Added Assignee|dri-devel@lists.freedesktop |cont...@emersion.fr

Re: [PATCH 00/33] fbcon notifier begone v3!

2019-06-11 Thread Daniel Thompson
On Fri, Jun 07, 2019 at 12:07:55PM +0200, Bartlomiej Zolnierkiewicz wrote: > > On 6/6/19 9:38 AM, Daniel Vetter wrote: > > Hi Bart, > > Hi Daniel, > > > On Tue, May 28, 2019 at 11:02:31AM +0200, Daniel Vetter wrote: > >> Hi all, > >> > >> I think we're slowly getting there. Previous cover

Re: [PATCH] efifb: BGRT: Add check for new BGRT status field rotation bits

2019-06-11 Thread Hans de Goede
Hi, On 11-06-19 16:04, Ard Biesheuvel wrote: On Mon, 10 Jun 2019 at 17:12, Ard Biesheuvel wrote: On Wed, 29 May 2019 at 17:46, Hans de Goede wrote: Starting with ACPI 6.2 bits 1 and 2 of the BGRT status field are no longer reserved. These bits are now used to indicate if the image needs

[PATCH v2] drm: Reverse lock order in DRM display-panning helpers()

2019-06-11 Thread Thomas Zimmermann
During display panning, acquiring drm_client_dev.modeset_mutex after the locks in drm_fb_helper.dev creates a deadlock with drm_setup_crtcs() as shown below: [4.959319] fbcon: radeondrmfb (fb0) is primary device [4.993952] Console: switching to colour frame buffer device 240x67 [

[PATCH v2 3/9] drm/ast: Remove obsolete or unused cursor state

2019-06-11 Thread Thomas Zimmermann
The ast driver's data structures store unused or uncecessary cursor state. Most of the cursor state is already stored elsewhere and can be retrieved when necessary. Remove the obsolete fields and adapt users accordingly. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/ast/ast_drv.h | 7

[PATCH v2 7/9] drm/mgag200: Rewrite cursor handling

2019-06-11 Thread Thomas Zimmermann
The cursor handling in mgag200 is complicated to understand. It touches a number of different BOs, but doesn't really use all of them. Rewriting the cursor update reduces the amount of cursor state. There are two BOs for double-buffered HW updates. The source BO updates the one that is currently

[PATCH v2 6/9] drm/mgag200: Pin framebuffer BO during dirty update

2019-06-11 Thread Thomas Zimmermann
Another explicit lock operation of a GEM VRAM BO is located in mgag200's framebuffer update code. Instead of locking the BO, we pin it to wherever it is. v2: * update with pin flag of 0 Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/mgag200/mgag200_fb.c | 27

[PATCH v2 8/9] drm: Remove lock interfaces from GEM VRAM helpers

2019-06-11 Thread Thomas Zimmermann
The lock functions and the locked-pin/unpin functions of GEM VRAM are not requried any longer. Remove them. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/drm_gem_vram_helper.c | 109 -- include/drm/drm_gem_vram_helper.h | 5 -- 2 files changed, 114

[PATCH v2 0/9] Remove explicit locking and kmap arguments from GEM VRAM interface

2019-06-11 Thread Thomas Zimmermann
Drivers should not have to care about internal locking of GEM VRAM objects and their memory-mapping structures. This patch set removes both from the GEM VRAM interface. This affects the ast and mgag200 drivers. In places where GEM objects are being locked by the driver, the patch converts the

[PATCH v2 5/9] drm/ast: Pin framebuffer BO during dirty update

2019-06-11 Thread Thomas Zimmermann
Another explicit lock operation of a GEM VRAM BO is located in AST's framebuffer update code. Instead of locking the BO, we pin it to wherever it is. v2: * update with pin flag of 0 Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/ast/ast_fb.c | 33 -

[PATCH v2 9/9] drm: Remove functions with kmap-object argument from GEM VRAM helpers

2019-06-11 Thread Thomas Zimmermann
The GEM VRAM functions with kmap-object argument are not requried any longer. Remove them. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/drm_gem_vram_helper.c | 50 +-- include/drm/drm_gem_vram_helper.h | 4 --- 2 files changed, 8 insertions(+), 46

[PATCH v2 1/9] drm/gem-vram: Support pinning buffers to current location

2019-06-11 Thread Thomas Zimmermann
Pinning a buffer prevents it from being moved to a different memory location. For some operations, such as buffer updates, it is not important where the buffer is located. Setting the pin function's pl_flag argument to 0 will pin the buffer to whereever it is stored. Signed-off-by: Thomas

Re: [PATCH] drm: Reverse lock order in pan_display_legacy()

2019-06-11 Thread Noralf Trønnes
Den 11.06.2019 14.37, skrev Daniel Vetter: > On Tue, Jun 11, 2019 at 01:57:16PM +0200, Thomas Zimmermann wrote: >> Acquiring drm_client_dev.modeset_mutex after the locks in drm_fb_helper.dev >> creates a deadlock with drm_setup_crtcs() as shown below: >> >> [4.959319] fbcon: radeondrmfb

[PATCH v1 06/11] ti948: Reconfigure in the alive check when device returns

2019-06-11 Thread Michael Drake
If the alive check detects a transition to the alive state, the device configuration is rewritten. Signed-off-by: Michael Drake Cc: Patrick Glaser Cc: Nate Case --- drivers/gpu/drm/bridge/ti948.c | 19 ++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git

[PATCH v1 10/11] dt-bindings: display/bridge: Add config property for ti949

2019-06-11 Thread Michael Drake
The config property can be used to provide an array of register addresses and values to be written to configure the device for the board. Signed-off-by: Michael Drake Cc: Patrick Glaser Cc: Nate Case --- .../bindings/display/bridge/ti,ds90ub949.txt| 13 + 1 file changed,

[PATCH v1 09/11] ti949: i2c device driver for TI DS90UB949-Q1

2019-06-11 Thread Michael Drake
This is a regmap i2c device driver for: TI DS90UB949-Q1 1080p HDMI to FPD-Link III bridge serializer It supports instantiation via device tree / ACPI table. A list of regulators to enable for use of the device (e.g. GPIOs for turning on power) may be provided as device tree properties. These

  1   2   3   >