[PATCH 4/6] drm/bridge: Add Analogix anx6345 support

2019-05-22 Thread Torsten Duwe
From: Icenowy Zheng The ANX6345 is an ultra-low power DisplayPower/eDP transmitter designed for portable devices. This driver adds initial support for RGB to eDP mode, without HPD and interrupts. This is a configuration usually seen in eDP applications. Signed-off-by: Icenowy Zheng Signed-off-

[PATCH 3/6] drm/bridge: extract some Analogix I2C DP common code

2019-05-22 Thread Torsten Duwe
From: Icenowy Zheng Some code can be shared within different DP bridges by Analogix. Extract them to a new module. Signed-off-by: Icenowy Zheng Signed-off-by: Vasily Khoruzhick Signed-off-by: Torsten Duwe --- drivers/gpu/drm/bridge/analogix/Kconfig| 4 + drivers/gpu/drm/bridge

[PATCH 5/6] dt-bindings: Add ANX6345 DP/eDP transmitter binding

2019-05-22 Thread Torsten Duwe
From: Icenowy Zheng The anx6345 is an ultra-low power DisplayPort/eDP transmitter designed for portable devices. Add a binding document for it. Signed-off-by: Icenowy Zheng Signed-off-by: Vasily Khoruzhick Reviewed-by: Rob Herring Signed-off-by: Torsten Duwe --- .../bindings/display/bridge

[PATCH 6/6] arm64: dts: allwinner: a64: enable ANX6345 bridge on Teres-I

2019-05-22 Thread Torsten Duwe
From: Icenowy Zheng Teres-I has an anx6345 bridge connected to the RGB666 LCD output, and the I2C controlling signals are connected to I2C0 bus. eDP output goes to an Innolux N116BGE panel. Enable it in the device tree. Signed-off-by: Icenowy Zheng Signed-off-by: Torsten Duwe --- arch/arm64/

[PATCH 1/6] drm/bridge: move ANA78xx driver to analogix subdirectory

2019-05-22 Thread Torsten Duwe
From: Icenowy Zheng As ANA78xx chips are designed and produced by Analogix Semiconductor, Inc, move their driver codes into analogix subdirectory. Signed-off-by: Icenowy Zheng Signed-off-by: Vasily Khoruzhick Reviewed-by: Laurent Pinchart Signed-off-by: Torsten Duwe --- drivers/gpu/drm/bri

[PATCH 2/6] drm/bridge: split some definitions of ANX78xx to dedicated headers

2019-05-22 Thread Torsten Duwe
From: Icenowy Zheng Some definitions currently in analogix-anx78xx.h are not restricted to the ANX78xx series, but also applicable to other DisplayPort transmitters by Analogix. Split out them to dedicated headers, and make analogix-anx78xx.h include them. Signed-off-by: Icenowy Zheng Signed-o

Re: [PATCH 2/5] drm/vmgfx: kill off unused init_mutex

2019-05-22 Thread Thomas Hellstrom
On Wed, 2019-05-22 at 17:41 +0100, Emil Velikov wrote: > From: Emil Velikov > > According to the docs - prevents firstopen/lastclose races. Yet never > used in practise. > > Cc: "VMware Graphics" > Cc: Thomas Hellstrom > Cc: Daniel Vetter > Signed-off-by: Emil Velikov Reviewed-by: Thomas He

Re: [PATCH 1/5] vmwgfx: drop empty lastclose stub

2019-05-22 Thread Thomas Hellstrom
On Wed, 2019-05-22 at 17:41 +0100, Emil Velikov wrote: > From: Emil Velikov > > Core DRM is safe when the callback is NULL. > > Cc: "VMware Graphics" > Cc: Thomas Hellstrom > Cc: Daniel Vetter > Signed-off-by: Emil Velikov Reviewed-by: Thomas Hellstrom > --- > drivers/gpu/drm/vmwgfx/vmw

Re: [PATCH 4/5] drm/vmwgfx: remove custom ioctl io encoding check

2019-05-22 Thread Thomas Hellstrom
Hi, Emil, On Wed, 2019-05-22 at 17:41 +0100, Emil Velikov wrote: > From: Emil Velikov > > Drop the custom ioctl io encoding check - core drm does it for us. I fail to see where the core does this, or do I miss something? Thanks, Thomas > > Cc: "VMware Graphics" > Cc: Thomas Hellstrom > Cc:

Re: [PATCH] drm/mediatek: Fix warning about unhandled enum value

2019-05-22 Thread CK Hu
Hi, Sean: On Wed, 2019-05-22 at 16:21 -0400, Sean Paul wrote: > From: Sean Paul > > Fixes the following build warning: > drivers/gpu/drm/mediatek/mtk_hdmi.c:327:2: warning: enumeration value > ‘HDMI_INFOFRAME_TYPE_DRM’ not handled in switch [-Wswitch] > > Introduced with the addition of HDMI_I

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

2019-05-22 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=203627 Alex Deucher (alexdeuc...@gmail.com) changed: What|Removed |Added CC||alexdeuc...@gmail.c

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

2019-05-22 Thread Stephen Rothwell
Hi Sean, On Tue, 21 May 2019 10:51:51 +1000 Stephen Rothwell wrote: > > Today's linux-next merge of the drm-misc tree got a conflict in: > > Documentation/devicetree/bindings/vendor-prefixes.txt > > between commit: > > 8122de54602e ("dt-bindings: Convert vendor prefixes to json-schema")

Re: [PATCH 2/2] drm/nouveau: remove open-coded drm_invalid_op()

2019-05-22 Thread Ben Skeggs
On Thu, 23 May 2019 at 01:03, Emil Velikov wrote: > > From: Emil Velikov > > Cc: Ben Skeggs > Cc: nouv...@lists.freedesktop.org > Signed-off-by: Emil Velikov Thanks! > --- > drivers/gpu/drm/nouveau/nouveau_abi16.c | 6 -- > drivers/gpu/drm/nouveau/nouveau_abi16.h | 1 - > drivers/gpu/drm/

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

2019-05-22 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the drm-misc tree got a conflict in: include/drm/drm_mode_config.h between commit: 585b000de23b ("drm: move content protection property to mode_config") from the drm-intel tree and commit: fbb5d0353c62 ("drm: Add HDR source metadata property") from t

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

2019-05-22 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the drm-misc tree got a conflict in: drivers/gpu/drm/drm_atomic_uapi.c between commit: 585b000de23b ("drm: move content protection property to mode_config") from the drm-intel tree and commit: fbb5d0353c62 ("drm: Add HDR source metadata property") fr

[PATCH] drm/rockchip: dw_hdmi: add basic rk3228 support

2019-05-22 Thread Justin Swartz
Like the RK3328, RK322x SoCs offer a Synopsis DesignWare HDMI transmitter and an Innosilicon HDMI PHY. Add a new dw_hdmi_plat_data struct, rk3228_hdmi_drv_data. Assign a set of mostly generic rk3228_hdmi_phy_ops functions. Add dw_hdmi_rk3228_setup_hpd() to enable the HDMI HPD and DDC lines. Signe

[Bug 108824] Invalid handling when GL buffer is bound on one context and invalidated on another

2019-05-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108824 --- Comment #14 from raffa...@zoho.com --- The patch fixes corruption caused by 78e35df52aa2f7d770f929a0866a0faa89c261a9 but not the one from 12bf7cfecf52083c484602f971738475edfe497e, which still persists in scroll bars of falkon and akregator. I

[Bug 110733] [Regression] Kernel 4.19.x + linux-firmware 20190514 + Vega 64: boot fails

2019-05-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110733 Bug ID: 110733 Summary: [Regression] Kernel 4.19.x + linux-firmware 20190514 + Vega 64: boot fails Product: DRI Version: unspecified Hardware: x86-64 (AMD64)

Re: [PATCH v2 00/17] kunit: introduce KUnit, the Linux kernel unit testing framework

2019-05-22 Thread Brendan Higgins
+Bjorn Helgaas On Wed, May 15, 2019 at 12:41 AM Daniel Vetter wrote: > > On Tue, May 14, 2019 at 11:36:18AM -0700, Brendan Higgins wrote: > > On Tue, May 14, 2019 at 02:05:05PM +0200, Daniel Vetter wrote: > > > On Tue, May 14, 2019 at 8:04 AM Brendan Higgins > > > wrote: > > > > > > > > On Mon,

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

2019-05-22 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=203679 Dmitry (nrn...@gmail.com) changed: What|Removed |Added URL||https://git.kernel.org/pub/

[Bug 203679] New: Revert 8059add0478e29cb641936011a8fcc9ce9fd80be for stable 5.1.x

2019-05-22 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=203679 Bug ID: 203679 Summary: Revert 8059add0478e29cb641936011a8fcc9ce9fd80be for stable 5.1.x Product: Drivers Version: 2.5 Kernel Version: 5.1.x Hardware: All

[pull] amdgpu, amdkfd drm-fixes-5.2

2019-05-22 Thread Alex Deucher
Hi Dave, Daniel, Fixes for 5.2: - Fix for DMCU firmware issues for stable - Add missing polaris10 pci id to kfd - Screen corruption fix on picasso - Fix for driver reload on vega10 - SR-IOV fixes - Locking fix in new SMU code - Compute profile switching fix for KFD The following changes since com

Re: [PATCH v6 0/6] Allwinner H6 Mali GPU support

2019-05-22 Thread Rob Herring
On Wed, May 22, 2019 at 2:41 PM Clément Péron wrote: > > Hi Rob, > > On Wed, 22 May 2019 at 21:27, Rob Herring wrote: > > > > On Tue, May 21, 2019 at 11:11 AM Clément Péron wrote: > > > > > > Hi, > > > > > > The Allwinner H6 has a Mali-T720 MP2 which should be supported by > > > the new panfrost

Re: [PATCH v15 00/17] arm64: untag user pointers passed to the kernel

2019-05-22 Thread Kees Cook
On Wed, May 22, 2019 at 05:35:27PM +0100, Catalin Marinas wrote: > The two hard requirements I have for supporting any new hardware feature > in Linux are (1) a single kernel image binary continues to run on old > hardware while making use of the new feature if available and (2) old > user space co

Re: [v11 00/12] Add HDR Metadata Parsing and handling in DRM layer

2019-05-22 Thread Ville Syrjälä
On Thu, May 16, 2019 at 07:40:05PM +0530, Uma Shankar wrote: > This patch series enables HDR support in drm. It basically defines > HDR metadata structures, property to pass content (after blending) > metadata from user space compositors to driver. > > Dynamic Range and Mastering infoframe creatio

[PATCH] drm/mediatek: Fix warning about unhandled enum value

2019-05-22 Thread Sean Paul
From: Sean Paul Fixes the following build warning: drivers/gpu/drm/mediatek/mtk_hdmi.c:327:2: warning: enumeration value ‘HDMI_INFOFRAME_TYPE_DRM’ not handled in switch [-Wswitch] Introduced with the addition of HDMI_INFOFRAME_TYPE_DRM in the commit below, but the code really should have been f

[PULL] drm-misc-fixes

2019-05-22 Thread Sean Paul
Hi Da.*, First -fixes pull, predictably light. The merge here was bringing over some sun4i patches that missed the last -misc-next-fixes pull. drm-misc-fixes-2019-05-22: - sun4i fixes to hdmi phy as well as u16 overflow in dsi (left from -next-fixes) - gma500 fix to make lvds detection more reli

Re: [PATCH 10/10] drm/amdgpu: stop removing BOs from the LRU v3

2019-05-22 Thread Kuehling, Felix
Can you explain how this avoids OOM situations? When is it safe to leave a reserved BO on the LRU list? Could we do the same thing in amdgpu_amdkfd_gpuvm.c? And if we did, what would be the expected side effects or consequences? Thanks,   Felix On 2019-05-22 8:59 a.m., Christian König wrote:

Re: [PATCH] drm/panfrost: Select devfreq

2019-05-22 Thread Rob Herring
On Fri, May 17, 2019 at 10:33 AM Neil Armstrong wrote: > > On 17/05/2019 17:00, Ezequiel Garcia wrote: > > Currently, there is some logic for the driver to work without devfreq. > > However, the driver actually fails to probe if !CONFIG_PM_DEVFREQ. > > > > Fix this by selecting devfreq, and drop t

[Bug 110575] [R9 380X] Artifacts in CSGO

2019-05-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110575 --- Comment #5 from Danylo --- It helps, unfortunately it also reduces fps by around 15 - 20% -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel mailing list dri-

[PATCH AUTOSEL 4.19 029/244] drm/nouveau/bar/nv50: ensure BAR is mapped

2019-05-22 Thread Sasha Levin
From: Jon Derrick [ Upstream commit f10b83de1fd49216a4c657816f48001437e4bdd5 ] If the BAR is zero size, it indicates it was never successfully mapped. Ensure that the BAR is valid during initialization before attempting to use it. Signed-off-by: Jon Derrick Signed-off-by: Ben Skeggs Signed-of

Re: [PATCH v6 0/6] Allwinner H6 Mali GPU support

2019-05-22 Thread Rob Herring
On Tue, May 21, 2019 at 11:11 AM Clément Péron wrote: > > Hi, > > The Allwinner H6 has a Mali-T720 MP2 which should be supported by > the new panfrost driver. This series fix two issues and introduce the > dt-bindings but a simple benchmark show that it's still NOT WORKING. > > I'm pushing it in c

[PATCH AUTOSEL 5.0 037/317] drm/nouveau/bar/nv50: ensure BAR is mapped

2019-05-22 Thread Sasha Levin
From: Jon Derrick [ Upstream commit f10b83de1fd49216a4c657816f48001437e4bdd5 ] If the BAR is zero size, it indicates it was never successfully mapped. Ensure that the BAR is valid during initialization before attempting to use it. Signed-off-by: Jon Derrick Signed-off-by: Ben Skeggs Signed-of

[PATCH AUTOSEL 5.1 043/375] drm/nouveau/bar/nv50: ensure BAR is mapped

2019-05-22 Thread Sasha Levin
From: Jon Derrick [ Upstream commit f10b83de1fd49216a4c657816f48001437e4bdd5 ] If the BAR is zero size, it indicates it was never successfully mapped. Ensure that the BAR is valid during initialization before attempting to use it. Signed-off-by: Jon Derrick Signed-off-by: Ben Skeggs Signed-of

Re: [PATCH v15 00/17] arm64: untag user pointers passed to the kernel

2019-05-22 Thread Kees Cook
On Wed, May 22, 2019 at 08:30:21AM -0700, enh wrote: > On Wed, May 22, 2019 at 3:11 AM Catalin Marinas > wrote: > > On Tue, May 21, 2019 at 05:04:39PM -0700, Kees Cook wrote: > > > I just want to make sure I fully understand your concern about this > > > being an ABI break, and I work best with e

Re: [PATCH 3/5] drm/vmwgfx: use core drm to extend/check vmw_execbuf_ioctl

2019-05-22 Thread Daniel Vetter
On Wed, May 22, 2019 at 9:01 PM Thomas Hellstrom wrote: > > Hi, Emil, > > On Wed, 2019-05-22 at 17:41 +0100, Emil Velikov wrote: > > From: Emil Velikov > > > > Currently vmw_execbuf_ioctl() open-codes the permission checking, > > size > > extending and copying that is already done in core drm. >

[Bug 110721] graphics corruption on steam client with mesa 19.1.0 rc3 on polaris

2019-05-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110721 alvarex changed: What|Removed |Added Status|VERIFIED|REOPENED Resolution|FIXED

Re: [PATCH 3/5] drm/vmwgfx: use core drm to extend/check vmw_execbuf_ioctl

2019-05-22 Thread Thomas Hellstrom
Hi, Emil, On Wed, 2019-05-22 at 17:41 +0100, Emil Velikov wrote: > From: Emil Velikov > > Currently vmw_execbuf_ioctl() open-codes the permission checking, > size > extending and copying that is already done in core drm. > > Kill all the duplication, adding a few comments for clarity. Ah, ther

[Bug 110721] graphics corruption on steam client with mesa 19.1.0 rc3 on polaris

2019-05-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110721 alvarex changed: What|Removed |Added Status|RESOLVED|VERIFIED -- You are receiving this mail beca

[Bug 110721] graphics corruption on steam client with mesa 19.1.0 rc3 on polaris

2019-05-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110721 alvarex changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

Re: [PATCH 01/12] dma-buf: add dynamic caching of sg_table

2019-05-22 Thread Daniel Vetter
On Wed, May 22, 2019 at 7:28 PM Christian König wrote: > > Am 22.05.19 um 18:17 schrieb Sumit Semwal: > > Hi Christian, > > > > On Sat, 27 Apr 2019 at 05:31, Liam Mark wrote: > >> On Tue, 16 Apr 2019, Christian König wrote: > >> > >>> To allow a smooth transition from pinning buffer objects to dy

Re: [PATCHv6 4/4] drm/omap: add support for manually updated displays

2019-05-22 Thread Pavel Machek
On Wed 2019-04-03 17:11:09, Tony Lindgren wrote: > * Sebastian Reichel [190403 20:14]: > > This adds the required infrastructure for manually updated displays, > > such as DSI command mode panels. While those panels often support > > partial updates we currently always do a full refresh. > > > >

[Bug 110721] graphics corruption on steam client with mesa 19.1.0 rc3 on polaris

2019-05-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110721 --- Comment #11 from alvarex --- > The second one is 811fa9a79cf ("mesa: unreference current winsys buffers > when unbinding winsys buffers"). > I'm going to try reverting that commit and building anyway.(In reply to alvarex -- You are

[PATCH 5/5] drm/msm/a6xx: Rename a6xx_gmu_probe to a6xx_gmu_init

2019-05-22 Thread Sean Paul
From: Sean Paul This rename makes it more clear that everything initialized in the _init function must be cleaned up in a6xx_gmu_remove. This will hopefully dissuade people from using device managed resources (for reasons laid out in the previous patch). Signed-off-by: Sean Paul --- drivers/gp

[PATCH 4/5] drm/msm/a6xx: Remove devm calls from gmu driver

2019-05-22 Thread Sean Paul
From: Sean Paul The gmu driver is initalized and cleaned up with calls from the gpu driver. As such, the platform device stays valid after a6xx_gmu_remove is called and the device managed resources are not freed. In the case of gpu probe failures or unbind, these resources will remain managed. I

[PATCH 3/5] drm/msm/a6xx: Check for ERR or NULL before iounmap

2019-05-22 Thread Sean Paul
From: Sean Paul pdcptr and seqptr aren't necessarily valid, check them before trying to unmap them. Signed-off-by: Sean Paul --- drivers/gpu/drm/msm/adreno/a6xx_gmu.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/msm/adreno/a6xx_gmu.c b/drivers/gpu/

[PATCH 2/5] drm/msm/a6xx: Remove duplicate irq disable from remove

2019-05-22 Thread Sean Paul
From: Sean Paul a6xx_gmu_stop() already calls this function via shutdown or force_stop, so it's not necessary to call it twice. This also knocks the irq depth count out of sync, so nice to avoid. Signed-off-by: Sean Paul --- drivers/gpu/drm/msm/adreno/a6xx_gmu.c | 1 - 1 file changed, 1 deleti

[RESEND PATCH 1/5] drm/msm/a6xx: Avoid freeing gmu resources multiple times

2019-05-22 Thread Sean Paul
From: Sean Paul The driver checks for gmu->mmio as a sign that the device has been initialized, however there are failures in probe below the mmio init. If one of those is hit, mmio will be non-null but freed. In that case, a6xx_gmu_probe will return an error to a6xx_gpu_init which will in turn

[Bug 110721] graphics corruption on steam client with mesa 19.1.0 rc3 on polaris

2019-05-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110721 --- Comment #10 from alvarex --- (In reply to Pierre-Eric Pelloux-Prayer from comment #9) > > (In reply to Ropid from comment #6) > > @alvarex: > > > > Try starting chromium with this command line here, it makes it show > > corruption everywher

Re: [PATCH 01/12] dma-buf: add dynamic caching of sg_table

2019-05-22 Thread Christian König
Am 22.05.19 um 18:17 schrieb Sumit Semwal: Hi Christian, On Sat, 27 Apr 2019 at 05:31, Liam Mark wrote: On Tue, 16 Apr 2019, Christian König wrote: To allow a smooth transition from pinning buffer objects to dynamic invalidation we first start to cache the sg_table for an attachment unless t

[Bug 110731] ui issues

2019-05-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110731 Andre Klapper changed: What|Removed |Added Product|DRI |Spam Resolution|---

[Bug 110721] graphics corruption on steam client with mesa 19.1.0 rc3 on polaris

2019-05-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110721 --- Comment #9 from Pierre-Eric Pelloux-Prayer --- > (In reply to Ropid from comment #6) > @alvarex: > > Try starting chromium with this command line here, it makes it show > corruption everywhere for me here: > > chromium --ignore-gpu-blackli

[PATCH 4/5] drm/vmwgfx: remove custom ioctl io encoding check

2019-05-22 Thread Emil Velikov
From: Emil Velikov Drop the custom ioctl io encoding check - core drm does it for us. Cc: "VMware Graphics" Cc: Thomas Hellstrom Cc: Daniel Vetter Signed-off-by: Emil Velikov --- drivers/gpu/drm/vmwgfx/vmwgfx_drv.c | 9 - 1 file changed, 9 deletions(-) diff --git a/drivers/gpu/drm/

[PATCH 3/5] drm/vmwgfx: use core drm to extend/check vmw_execbuf_ioctl

2019-05-22 Thread Emil Velikov
From: Emil Velikov Currently vmw_execbuf_ioctl() open-codes the permission checking, size extending and copying that is already done in core drm. Kill all the duplication, adding a few comments for clarity. Cc: "VMware Graphics" Cc: Thomas Hellstrom Cc: Daniel Vetter Signed-off-by: Emil Veli

[PATCH 2/5] drm/vmgfx: kill off unused init_mutex

2019-05-22 Thread Emil Velikov
From: Emil Velikov According to the docs - prevents firstopen/lastclose races. Yet never used in practise. Cc: "VMware Graphics" Cc: Thomas Hellstrom Cc: Daniel Vetter Signed-off-by: Emil Velikov --- drivers/gpu/drm/vmwgfx/vmwgfx_drv.c | 1 - drivers/gpu/drm/vmwgfx/vmwgfx_drv.h | 5 - 2

[PATCH 5/5] drm: make drm_ioctl_permit() internal

2019-05-22 Thread Emil Velikov
From: Emil Velikov As of earlier commit the function is used only within drm core. Cc: Daniel Vetter Signed-off-by: Emil Velikov --- drivers/gpu/drm/drm_ioctl.c | 3 +-- include/drm/drm_ioctl.h | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpu/drm/drm_ioctl.

[PATCH 1/5] vmwgfx: drop empty lastclose stub

2019-05-22 Thread Emil Velikov
From: Emil Velikov Core DRM is safe when the callback is NULL. Cc: "VMware Graphics" Cc: Thomas Hellstrom Cc: Daniel Vetter Signed-off-by: Emil Velikov --- drivers/gpu/drm/vmwgfx/vmwgfx_drv.c | 5 - 1 file changed, 5 deletions(-) diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c b/driv

[PATCH] backlight: pwm_bl: Set pin to sleep state when powered down

2019-05-22 Thread Paul Cercueil
When the driver probes, the PWM pin is automatically configured to its default state, which should be the "pwm" function. However, at this point we don't know the actual level of the pin, which may be active or inactive. As a result, if the driver probes without enabling the backlight, the PWM pin

[Bug 110721] graphics corruption on steam client with mesa 19.1.0 rc3 on polaris

2019-05-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110721 --- Comment #8 from Ropid --- $ chromium --version Chromium 74.0.3729.157 Arch Linux -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel mailing list dri-devel@list

[Bug 110721] graphics corruption on steam client with mesa 19.1.0 rc3 on polaris

2019-05-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110721 --- Comment #7 from alvarex --- (In reply to Ropid from comment #6) > @alvarex: > > Try starting chromium with this command line here, it makes it show > corruption everywhere for me here: > > chromium --ignore-gpu-blacklist --enable-gpu-raste

[Bug 110721] graphics corruption on steam client with mesa 19.1.0 rc3 on polaris

2019-05-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110721 --- Comment #6 from Ropid --- @alvarex: Try starting chromium with this command line here, it makes it show corruption everywhere for me here: chromium --ignore-gpu-blacklist --enable-gpu-rasterization --enable-native-gpu-memory-buffers --enab

Re: [PATCH 01/12] dma-buf: add dynamic caching of sg_table

2019-05-22 Thread Sumit Semwal
Hi Christian, On Sat, 27 Apr 2019 at 05:31, Liam Mark wrote: > > On Tue, 16 Apr 2019, Christian König wrote: > > > To allow a smooth transition from pinning buffer objects to dynamic > > invalidation we first start to cache the sg_table for an attachment > > unless the driver explicitly says to n

Re: [PATCH 4/4] drm/TODO: add a task to kill DRM_UNLOCKED

2019-05-22 Thread Daniel Vetter
On Wed, May 22, 2019 at 04:47:02PM +0100, Emil Velikov wrote: > From: Emil Velikov > > Should minimise the copy/paste mistakes, fixed with previous patches. > > Cc: Daniel Vetter > Signed-off-by: Emil Velikov > --- > Daniel, not 100% sold on the idea. That plus listing you as a contact > point

[Bug 110721] graphics corruption on steam client with mesa 19.1.0 rc3 on polaris

2019-05-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110721 --- Comment #5 from alvarex --- I need help, I build up mesa and set the git bisect good and bad commits, but steam does not start because it needs 32bits libs and I can't seem to build them. What option should I pass to meson or ninja to compil

[PATCH 4/4] drm/TODO: add a task to kill DRM_UNLOCKED

2019-05-22 Thread Emil Velikov
From: Emil Velikov Should minimise the copy/paste mistakes, fixed with previous patches. Cc: Daniel Vetter Signed-off-by: Emil Velikov --- Daniel, not 100% sold on the idea. That plus listing you as a contact point ;-) What do you thing? Emil --- Documentation/gpu/todo.rst | 19 +

[PATCH 3/4] drm/i915: remove irrelevant DRM_UNLOCKED flag

2019-05-22 Thread Emil Velikov
From: Emil Velikov DRM_UNLOCKED doesn't do anything for non-legacy drivers. Remove it. Cc: intel-...@lists.freedesktop.org Cc: Daniel Vetter Signed-off-by: Emil Velikov --- drivers/gpu/drm/i915/i915_drv.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/dr

[PATCH 2/4] drm/virtio: remove irrelevant DRM_UNLOCKED flag

2019-05-22 Thread Emil Velikov
From: Emil Velikov DRM_UNLOCKED doesn't do anything for non-legacy drivers. Remove it. Cc: David Airlie Cc: Gerd Hoffmann Cc: virtualizat...@lists.linux-foundation.org Cc: Daniel Vetter Signed-off-by: Emil Velikov --- drivers/gpu/drm/virtio/virtgpu_ioctl.c | 18 +- 1 file ch

[PATCH 1/4] drm/tegra: remove irrelevant DRM_UNLOCKED flag

2019-05-22 Thread Emil Velikov
From: Emil Velikov DRM_UNLOCKED doesn't do anything for non-legacy drivers. Remove it. Cc: Thierry Reding Cc: linux-te...@vger.kernel.org Cc: Daniel Vetter Signed-off-by: Emil Velikov --- drivers/gpu/drm/tegra/drm.c | 28 ++-- 1 file changed, 14 insertions(+), 14 dele

[Bug 110575] [R9 380X] Artifacts in CSGO

2019-05-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110575 --- Comment #4 from Danylo --- I'll try it later when will come home, thanks. It also happens in Minecraft but much rarer (so I wasn't patient enough to bisect with it). -- You are receiving this mail because: You are the assignee for the bug.

Re: [PATCH] drm/cirrus: remove leftover files

2019-05-22 Thread Sam Ravnborg
On Wed, May 22, 2019 at 12:33:07PM +0200, Gerd Hoffmann wrote: > cirrus_drv.h and cirrus_ttm.c are unused since commit ab3e023b1b4c > ("drm/cirrus: rewrite and modernize driver"), apparently I ran "rm" > instead of "git rm" on them so they are still in present the tree. > > Signed-off-by: Gerd Hof

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

2019-05-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107612 --- Comment #7 from bibitocarlos --- Yeah, it's fixed. thanks -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel mailing list dri-devel@lists.freedesktop.org https

[PATCH 1/2] drm/omap: remove open-coded drm_invalid_op()

2019-05-22 Thread Emil Velikov
From: Emil Velikov Cc: Tomi Valkeinen Signed-off-by: Emil Velikov --- drivers/gpu/drm/omapdrm/omap_drv.c | 16 +--- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/drivers/gpu/drm/omapdrm/omap_drv.c b/drivers/gpu/drm/omapdrm/omap_drv.c index 1b9b6f5e48e1..672e0f8ad11

[PATCH 2/2] drm/nouveau: remove open-coded drm_invalid_op()

2019-05-22 Thread Emil Velikov
From: Emil Velikov Cc: Ben Skeggs Cc: nouv...@lists.freedesktop.org Signed-off-by: Emil Velikov --- drivers/gpu/drm/nouveau/nouveau_abi16.c | 6 -- drivers/gpu/drm/nouveau/nouveau_abi16.h | 1 - drivers/gpu/drm/nouveau/nouveau_drm.c | 2 +- 3 files changed, 1 insertion(+), 8 deletions(-)

[Bug 110575] [R9 380X] Artifacts in CSGO

2019-05-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110575 --- Comment #3 from tempel.jul...@gmail.com --- Can you try R600_DEBUG=nohyperz? I have this kind of glitches in almost every game with OpenGL/Gallium Nine on Polaris and this variable seems to help at least in Skyrim with Gallium Nine (haven't t

Re: [PATCH] drm_edid-load: Fix a missing-check bug in drivers/gpu/drm/drm_edid_load.c

2019-05-22 Thread Jani Nikula
On Wed, 22 May 2019, Gen Zhang wrote: > In drm_load_edid_firmware(), fwstr is allocated by kstrdup(). And fwstr > is dereferenced in the following codes. However, memory allocation > functions such as kstrdup() may fail and returns NULL. Dereferencing > this null pointer may cause the kernel go

Re: [PATCHv2 03/22] drm/bridge: tc358767: fix ansi 8b10b use

2019-05-22 Thread Andrey Smirnov
On Mon, May 6, 2019 at 2:59 AM Tomi Valkeinen wrote: > > Hi Laurent, Andrey, > > On 03/05/2019 20:11, Laurent Pinchart wrote: > >> I agree that if the panel Andrey mentioned is still used, we need to > >> handle it somehow. But I think explicitly handling such a case is better > >> than guessing.

Re: WARNING: locking bug in inet_autobind

2019-05-22 Thread syzbot
syzbot has bisected this bug to: commit c0d9271ecbd891cdeb0fad1edcdd99ee717a655f Author: Yong Zhao Date: Fri Feb 1 23:36:21 2019 + drm/amdgpu: Delete user queue doorbell variables bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=1433ece4a0 start commit: f49aa1de Mer

XDC 2019: Registration & Call for Proposals now open!

2019-05-22 Thread Mark Filion
Hello! Registration & Call for Proposals are now open for XDC 2019, which will take place at the Concordia University Conference Centre in Montréal, Canada on October 2-4, 2019. Thanks to LWN.net, this year we have a brand new website using the Indico platform, a fully open source event managemen

[PATCH v3 2/2] drm/panfrost: Use drm_gem_shmem_map_offset()

2019-05-22 Thread Steven Price
panfrost_ioctl_mmap_bo() contains a reimplementation of drm_gem_map_offset() but with a bug - it allows mapping imported objects (without going through the exporter). Fix this by switching to use the newly renamed drm_gem_map_offset() function instead which has the bonus of simplifying the code. C

[PATCH v6 0/6] Allwinner H6 Mali GPU support

2019-05-22 Thread Clément Péron
Hi, The Allwinner H6 has a Mali-T720 MP2 which should be supported by the new panfrost driver. This series fix two issues and introduce the dt-bindings but a simple benchmark show that it's still NOT WORKING. I'm pushing it in case someone want to continue the work. This has been tested with Mes

[PATCH] drm/nouveau/svm: Convert to use hmm_range_fault()

2019-05-22 Thread Souptick Joarder
Convert to use hmm_range_fault(). Signed-off-by: Souptick Joarder --- drivers/gpu/drm/nouveau/nouveau_svm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/nouveau/nouveau_svm.c b/drivers/gpu/drm/nouveau/nouveau_svm.c index 93ed43c..8d56bd6 100644 --- a/drive

Re: [PATCH] video: fbdev: mxsfb: Remove driver

2019-05-22 Thread Marek Vasut
On 5/20/19 3:06 PM, Fabio Estevam wrote: > There is a DRM version of the mxsfb driver for quite some time > at drivers/gpu/drm/mxsfb/, so there is no need to keep maintaining > the fbdev version any longer. > > Remove the fbdev mxsfb driver in favour of the DRM version. > > Signed-off-by: Fabio E

[PATCH v3 0/2] drm/panfrost: drm_gem_map_offset() helper

2019-05-22 Thread Steven Price
Panfrost has a re-implementation of drm_gem_dumb_map_offset() with an extra bug regarding the handling of imported buffers. However we don't really want Panfrost calling _dumb functions because it's not a KMS driver. This series renames drm_gem_dumb_map_offset() to drop the '_dumb' and updates Pan

[PATCH v6 3/6] dt-bindings: gpu: add bus clock for Mali Midgard GPUs

2019-05-22 Thread Clément Péron
From: Icenowy Zheng Some SoCs adds a bus clock gate to the Mali Midgard GPU. Add the binding for the bus clock. Signed-off-by: Icenowy Zheng Signed-off-by: Clément Péron Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/gpu/arm,mali-midgard.txt | 6 ++ 1 file changed, 6 ins

[PATCH v6 1/6] drm: panfrost: add optional bus_clock

2019-05-22 Thread Clément Péron
Allwinner H6 has an ARM Mali-T720 MP2 which required a bus_clock. Add an optional bus_clock at the init of the panfrost driver. Signed-off-by: Clément Péron --- drivers/gpu/drm/panfrost/panfrost_device.c | 22 ++ drivers/gpu/drm/panfrost/panfrost_device.h | 1 + 2 files cha

[PATCH 1/4] drm/msm: Fix improper uses of smp_mb__{before, after}_atomic()

2019-05-22 Thread Andrea Parri
These barriers only apply to the read-modify-write operations; in particular, they do not apply to the atomic_set() primitive. Replace the barriers with smp_mb()s. Fixes: b1fc2839d2f92 ("drm/msm: Implement preemption for A5XX targets") Cc: sta...@vger.kernel.org Reported-by: "Paul E. McKenney" R

[PATCH] gpu: drm: use struct_size() in kmalloc()

2019-05-22 Thread xiaolinkui
Use struct_size() helper to keep code simple. Signed-off-by: xiaolinkui --- drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c index 22bd21e..4717a64 1006

[PATCH] dt-bindings: backlight: lm3630a: correct schema validation

2019-05-22 Thread Brian Masney
The '#address-cells' and '#size-cells' properties were not defined in the lm3630a bindings and would cause the following error when attempting to validate the examples against the schema: Documentation/devicetree/bindings/leds/backlight/lm3630a-backlight.example.dt.yaml: '#address-cells', '#size-c

Re: lima_bo memory leak after drm_sched job destruction rework

2019-05-22 Thread Erico Nunes
On Fri, May 17, 2019 at 10:43 PM Grodzovsky, Andrey wrote: > On 5/17/19 3:35 PM, Erico Nunes wrote: > > Lima currently defaults to an "infinite" timeout. Setting a 500ms > > default timeout like most other drm_sched users do fixed the leak for > > me. > > I am not very clear about the problem - so

[PATCH] gpu: fix typos in code comments

2019-05-22 Thread Weitao Hou
fix eror to error Signed-off-by: Weitao Hou --- drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c b/drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c index f7043

[PATCH RESEND] drm/msm/mdp5: Fix mdp5_cfg_init error return

2019-05-22 Thread Jeffrey Hugo
If mdp5_cfg_init fails because of an unknown major version, a null pointer dereference occurs. This is because the caller of init expects error pointers, but init returns NULL on error. Fix this by returning the expected values on error. Fixes: 2e362e1772b8 (drm/msm/mdp5: introduce mdp5_cfg modu

lima_bo memory leak after drm_sched job destruction rework

2019-05-22 Thread Erico Nunes
Hello, I have recently observed a memory leak issue with lima using drm-misc-next, which I initially reported here: https://gitlab.freedesktop.org/lima/linux/issues/24 It is an easily reproduceable memory leak which I was able to bisect to commit: 5918045c4ed4 drm/scheduler: rework job destructio

Re: [PATCH RE-RESEND 1/2] drm/panel: Add support for Armadeus ST0700 Adapt

2019-05-22 Thread Sébastien Szymanski
Hello Sam, On 5/8/19 11:06 AM, Daniel Vetter wrote: > On Wed, May 08, 2019 at 10:33:03AM +0200, Daniel Vetter wrote: >> On Tue, May 07, 2019 at 06:19:50PM +0200, Sam Ravnborg wrote: >>> Hi Fabio >>> >>> On Tue, May 07, 2019 at 12:33:39PM -0300, Fabio Estevam wrote: [Adding Sam, who is helping

[PATCH v6 4/6] dt-bindings: gpu: mali-midgard: Add H6 mali gpu compatible

2019-05-22 Thread Clément Péron
This add the H6 mali compatible in the dt-bindings to later support specific implementation. Signed-off-by: Clément Péron Reviewed-by: Rob Herring --- .../devicetree/bindings/gpu/arm,mali-midgard.txt | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Documentati

[Bug 110729] Broken links on Linux Man Pages

2019-05-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110729 Eric Engestrom changed: What|Removed |Added Product|Mesa|DRI Version|19.1

[Bug 110721] graphics corruption on steam client with mesa 19.1.0 rc3 on polaris

2019-05-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110721 --- Comment #4 from alvarex --- yes the bug was not present on 19.0.4. I'll give it a shot, I don't compile mesa from git in a standard way, I compile it on opensuse build service. -- You are receiving this mail because: You are the assignee f

Re: [PATCH] drm/sched: Fix static checker warning for potential NULL ptr

2019-05-22 Thread Christian König
Am 22.05.19 um 15:57 schrieb Andrey Grodzovsky: Signed-off-by: Andrey Grodzovsky Reviewed-by: Christian König --- drivers/gpu/drm/scheduler/sched_main.c | 17 + 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/drivers/gpu/drm/scheduler/sched_main.c b/drivers

[Bug 110721] graphics corruption on steam client with mesa 19.1.0 rc3 on polaris

2019-05-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110721 --- Comment #3 from Eric Engestrom --- (In reply to alvarex from comment #2) > now the bug has hit 19.0.5. Are you saying the bug was not present in 19.0.4, but is now present in 19.0.5? If so, that's only 22 new commits, 10 if you exclude obv

[PATCH] drm/sched: Fix static checker warning for potential NULL ptr

2019-05-22 Thread Andrey Grodzovsky
Signed-off-by: Andrey Grodzovsky --- drivers/gpu/drm/scheduler/sched_main.c | 17 + 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/drivers/gpu/drm/scheduler/sched_main.c b/drivers/gpu/drm/scheduler/sched_main.c index 90d7a82..ec7faca 100644 --- a/drivers/gpu/drm/sc

Re: [bug report] drm/scheduler: rework job destruction

2019-05-22 Thread Grodzovsky, Andrey
Thanks for letting know, I will send a fix soon. Andrey On 5/22/19 9:07 AM, Dan Carpenter wrote: > [CAUTION: External Email] > > Hello Christian König, > > The patch 5918045c4ed4: "drm/scheduler: rework job destruction" from > Apr 18, 2019, leads to the following static checker warning: > >

  1   2   >