[pull] amdgpu, radeon, scheduler drm-next-5.7

2020-03-26 Thread Alex Deucher
Hi Dave, Daniel, Fixes for 5.7. The following changes since commit cb7adfd6ad12a11902ebe374bec7fd4efa2cec1c: Merge tag 'mediatek-drm-next-5.7' of https://github.com/ckhu-mediatek/linux.git-tags into drm-next (2020-03-20 13:08:38 +1000) are available in the Git repository at:

Re: [Intel-gfx] [PATCH v5 14/16] drm/mst: Add support for QUERY_STREAM_ENCRYPTION_STATUS MST sideband message

2020-03-26 Thread Lyude Paul
On Thu, 2020-03-05 at 15:12 -0500, Sean Paul wrote: > From: Sean Paul > > Used to query whether an MST stream is encrypted or not. > > Signed-off-by: Sean Paul > > Link: > https://patchwork.freedesktop.org/patch/msgid/20200218220242.107265-14-s...@poorly.run > #v4 > > Changes in v4: >

Re: [PATCH] drm/vc4: Fix HDMI mode validation

2020-03-26 Thread Stefan Wahren
Am 26.03.20 um 13:20 schrieb Nicolas Saenz Julienne: > Current mode validation impedes setting up some video modes which should > be supported otherwise. Namely 1920x1200@60Hz. > > Fix this by lowering the minimum HDMI state machine clock to pixel clock > ratio allowed. > > Fixes: 32e823c63e90

Re: [PATCH v2 5/5] drm/i915: Enable scaling filter for plane and CRTC

2020-03-26 Thread Ville Syrjälä
On Thu, Mar 26, 2020 at 08:45:59PM +0530, Bharadiya,Pankaj wrote: > On Tue, Mar 24, 2020 at 06:46:10PM +0200, Ville Syrjälä wrote: > > On Tue, Mar 24, 2020 at 03:32:09PM +, Laxminarayan Bharadiya, Pankaj > > wrote: > > > > > > > > > > -Original Message- > > > > From: Ville Syrjälä

Re: [PATCH v9 1/2] dt-bindings: display: add visionox rm69299 panel variant

2020-03-26 Thread Rob Herring
On Mon, Mar 23, 2020 at 10:33:15AM +0530, Harigovindan P wrote: > Add bindings for visionox rm69299 panel. > > Signed-off-by: Harigovindan P > --- > > Changes in v2: > - Removed unwanted properties from description. > - Creating source files without execute permissions(Rob Herring). >

Re: [PATCH] drm/vc4: Fix HDMI mode validation

2020-03-26 Thread Stefan Wahren
Am 26.03.20 um 18:19 schrieb Stefan Wahren: > Am 26.03.20 um 13:20 schrieb Nicolas Saenz Julienne: >> Current mode validation impedes setting up some video modes which should >> be supported otherwise. Namely 1920x1200@60Hz. >> >> Fix this by lowering the minimum HDMI state machine clock to pixel

Re: [PATCH] drm/vc4: Fix HDMI mode validation

2020-03-26 Thread Stefan Wahren
Am 26.03.20 um 18:36 schrieb Nicolas Saenz Julienne: > On Thu, 2020-03-26 at 18:19 +0100, Stefan Wahren wrote: >> Am 26.03.20 um 13:20 schrieb Nicolas Saenz Julienne: >>> Current mode validation impedes setting up some video modes which should >>> be supported otherwise. Namely 1920x1200@60Hz. >>>

Re: [PATCH v8 2/3] dt-bindings: Add binding for IT6505.

2020-03-26 Thread Rob Herring
On Mon, Mar 23, 2020 at 01:21:53PM +0800, allen wrote: > Add a DT binding documentation for IT6505. > > Acked-by: Sam Ravnborg > Signed-off-by: Allen Chen > Signed-off-by: Pi-Hsun Shih > --- > cros-ec does not have an associated driver that uses the standard Linux USB-C > driver class. >

Re: [PATCH] drm/fb-helper: Add TODO for making drm_fb_helper_alloc_fbi fill apertures

2020-03-26 Thread Daniel Vetter
On Thu, Mar 26, 2020 at 4:10 PM Hans de Goede wrote: > > Currently drivers using drm_fbdev_generic_setup() end up with a single > empty aperture in their fb_info struct. > > Not having the proper info in the apertures list causes > register_framebuffer to not remove conflicting framebuffers, >

Re: [PATCH][next] drm/vmwgfx: fix spelling mistake "Cound" -> "Could"

2020-03-26 Thread Roland Scheidegger
Am 26.03.20 um 11:19 schrieb Colin King: > From: Colin Ian King > > There is a spelling mistake in a DRM_ERROR error message. Fix it. > > Signed-off-by: Colin Ian King > --- > drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

[Bug 206987] [drm] [amdgpu] Whole system crashes when the driver is in mode_support_and_system_configuration

2020-03-26 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=206987 --- Comment #2 from Cyrax (ev...@hotmail.com) --- Created attachment 288079 --> https://bugzilla.kernel.org/attachment.cgi?id=288079=edit dmesg output -- You are receiving this mail because: You are watching the assignee of the bug.

[PATCH 3/6] drm/i2c/sil164: convert to use i2c_new_client_device()

2020-03-26 Thread Wolfram Sang
Move away from the deprecated API and return the shiny new ERRPTR where useful. Signed-off-by: Wolfram Sang --- drivers/gpu/drm/i2c/sil164_drv.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/i2c/sil164_drv.c b/drivers/gpu/drm/i2c/sil164_drv.c index

Re: [PATCH 4/4] dt-bindings: Add missing 'additionalProperties: false'

2020-03-26 Thread Ardelean, Alexandru
On Wed, 2020-03-25 at 16:05 -0600, Rob Herring wrote: > Setting 'additionalProperties: false' is frequently omitted, but is > important in order to check that there aren't extra undocumented > properties in a binding. > > Ideally, we'd just add this automatically and make this the default, but >

Re: [PATCH v12 4/5] soc / drm: mediatek: Move routing control to mmsys device

2020-03-26 Thread Matthias Brugger
On 26/03/2020 15:51, CK Hu wrote: > Hi, Matthias: > > On Thu, 2020-03-26 at 12:54 +0100, Matthias Brugger wrote: >> Hi CK, >> >> On 26/03/2020 00:05, CK Hu wrote: >>> Hi, Matthias: >>> >>> On Wed, 2020-03-25 at 17:16 +0100, Matthias Brugger wrote: On 11/03/2020 17:53, Enric Balletbo

[PATCH 0/6] gpu: convert to use new I2C API

2020-03-26 Thread Wolfram Sang
We are deprecating calls which return NULL in favor of new variants which return an ERR_PTR. Only build tested. Wolfram Sang (6): drm/amdgpu: convert to use i2c_new_client_device() drm/gma500: convert to use i2c_new_client_device() drm/i2c/sil164: convert to use i2c_new_client_device()

[PATCH 6/6] drm/radeon: convert to use i2c_new_client_device()

2020-03-26 Thread Wolfram Sang
Move away from the deprecated API. Signed-off-by: Wolfram Sang --- drivers/gpu/drm/radeon/radeon_atombios.c | 4 ++-- drivers/gpu/drm/radeon/radeon_combios.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_atombios.c

Re: [PATCH 4/4] dt-bindings: Add missing 'additionalProperties: false'

2020-03-26 Thread Jonathan Cameron
On Wed, 25 Mar 2020 16:05:41 -0600 Rob Herring wrote: > Setting 'additionalProperties: false' is frequently omitted, but is > important in order to check that there aren't extra undocumented > properties in a binding. > > Ideally, we'd just add this automatically and make this the default, but

[PULL] drm-misc-next-fixes

2020-03-26 Thread Maxime Ripard
Hi Daniel, Dave, Here's the first drm-misc-next-fixes PR for 5.7. Thanks! Maxime drm-misc-next-fixes-2020-03-26: Two main topics in that first drm-misc-next-fixes PR, first a revert of the data-mapping property in the DT that turned out to be non-optimal (but hasn't reached a stable release

[PATCH 5/6] drm/nouveau/therm: convert to use i2c_new_client_device()

2020-03-26 Thread Wolfram Sang
Move away from the deprecated API and return the shiny new ERRPTR where useful. Signed-off-by: Wolfram Sang --- drivers/gpu/drm/nouveau/nvkm/subdev/therm/ic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/therm/ic.c

[Bug 206987] [drm] [amdgpu] Whole system crashes when the driver is in mode_support_and_system_configuration

2020-03-26 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=206987 --- Comment #3 from Cyrax (ev...@hotmail.com) --- GCC is "gcc (Arch Linux 9.3.0-1) 9.3.0" -- You are receiving this mail because: You are watching the assignee of the bug. ___ dri-devel mailing list

Re: [PATCH] drm/i915: Cast remain to unsigned long in eb_relocate_vma

2020-03-26 Thread Jani Nikula
On Thu, 26 Mar 2020, Nathan Chancellor wrote: > This is the only warning on an x86_64 defconfig build. Apologies if we > are being too persistent or nagging but we need guidance from the i915 > maintainers on which solution they would prefer so it can be picked up. > I understand you all are busy

[PATCH AUTOSEL 5.5 02/28] drm/bridge: dw-hdmi: fix AVI frame colorimetry

2020-03-26 Thread Sasha Levin
From: Jernej Skrabec [ Upstream commit e8dca30f7118461d47e1c3510d0e31b277439151 ] CTA-861-F explicitly states that for RGB colorspace colorimetry should be set to "none". Fix that. Acked-by: Laurent Pinchart Fixes: def23aa7e982 ("drm: bridge: dw-hdmi: Switch to V4L bus format and encodings")

[Bug 206987] New: [drm] [amdgpu] Whole system crashes when the driver is in mode_support_and_system_configuration

2020-03-26 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=206987 Bug ID: 206987 Summary: [drm] [amdgpu] Whole system crashes when the driver is in mode_support_and_system_configuration Product: Drivers Version: 2.5 Kernel Version: 5.5.11

[Bug 206987] [drm] [amdgpu] Whole system crashes when the driver is in mode_support_and_system_configuration

2020-03-26 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=206987 Alex Deucher (alexdeuc...@gmail.com) changed: What|Removed |Added CC|

Re: [PATCH v2 00/16] x86, crypto: remove always-defined CONFIG_AS_* and cosolidate Kconfig/Makefiles

2020-03-26 Thread Masahiro Yamada
Hi all, On Thu, Mar 26, 2020 at 6:22 PM Ingo Molnar wrote: > > > * Jason A. Donenfeld wrote: > > > Very little has changed from last time, and this whole series still > > looks good to me. I think I already ack'd most packages, but in case > > it helps: > > > > Reviewed-by: Jason A. Donenfeld

Re: [PATCH v2 hmm 0/9] Small hmm_range_fault() cleanups

2020-03-26 Thread Ralph Campbell
On 3/23/20 6:14 PM, Jason Gunthorpe wrote: From: Jason Gunthorpe This is v2 of the first simple series with a few additional patches of little adjustments. This needs an additional patch to the hmm tester: diff --git a/tools/testing/selftests/vm/hmm-tests.c

Re: [PATCH v2 00/16] x86, crypto: remove always-defined CONFIG_AS_* and cosolidate Kconfig/Makefiles

2020-03-26 Thread Masahiro Yamada
On Fri, Mar 27, 2020 at 5:46 AM Jason A. Donenfeld wrote: > > On Thu, Mar 26, 2020 at 2:44 PM Masahiro Yamada wrote: > > I collected more Reviewed-by and Acked-by, > > then pushed this series to > > > > git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git > > kbuild-asinstr >

[PATCH AUTOSEL 4.19 04/15] drm/amd/display: Add link_rate quirk for Apple 15" MBP 2017

2020-03-26 Thread Sasha Levin
From: Mario Kleiner [ Upstream commit dec9de2ada523b344eb2428abfedf9d6cd0a0029 ] This fixes a problem found on the MacBookPro 2017 Retina panel: The panel reports 10 bpc color depth in its EDID, and the firmware chooses link settings at boot which support enough bandwidth for 10 bpc (324000

[PATCH AUTOSEL 4.19 01/15] drm/bridge: dw-hdmi: fix AVI frame colorimetry

2020-03-26 Thread Sasha Levin
From: Jernej Skrabec [ Upstream commit e8dca30f7118461d47e1c3510d0e31b277439151 ] CTA-861-F explicitly states that for RGB colorspace colorimetry should be set to "none". Fix that. Acked-by: Laurent Pinchart Fixes: def23aa7e982 ("drm: bridge: dw-hdmi: Switch to V4L bus format and encodings")

[PATCH AUTOSEL 5.4 06/19] drm/bochs: downgrade pci_request_region failure from error to warning

2020-03-26 Thread Sasha Levin
From: Gerd Hoffmann [ Upstream commit 8c34cd1a7f089dc03933289c5d4a4d1489549828 ] Shutdown of firmware framebuffer has a bunch of problems. Because of this the framebuffer region might still be reserved even after drm_fb_helper_remove_conflicting_pci_framebuffers() returned. Don't consider

[PATCH AUTOSEL 5.4 05/19] drm/amd/display: Add link_rate quirk for Apple 15" MBP 2017

2020-03-26 Thread Sasha Levin
From: Mario Kleiner [ Upstream commit dec9de2ada523b344eb2428abfedf9d6cd0a0029 ] This fixes a problem found on the MacBookPro 2017 Retina panel: The panel reports 10 bpc color depth in its EDID, and the firmware chooses link settings at boot which support enough bandwidth for 10 bpc (324000

[PATCH AUTOSEL 4.19 09/15] drm/amdgpu: fix typo for vcn1 idle check

2020-03-26 Thread Sasha Levin
From: James Zhu [ Upstream commit acfc62dc68770aa665cc606891f6df7d6d1e52c0 ] fix typo for vcn1 idle check Signed-off-by: James Zhu Reviewed-by: Leo Liu Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin --- drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c | 2 +- 1 file changed, 1 insertion(+),

[PATCH AUTOSEL 4.19 05/15] drm/bochs: downgrade pci_request_region failure from error to warning

2020-03-26 Thread Sasha Levin
From: Gerd Hoffmann [ Upstream commit 8c34cd1a7f089dc03933289c5d4a4d1489549828 ] Shutdown of firmware framebuffer has a bunch of problems. Because of this the framebuffer region might still be reserved even after drm_fb_helper_remove_conflicting_pci_framebuffers() returned. Don't consider

[PATCH AUTOSEL 4.19 15/15] drm/lease: fix WARNING in idr_destroy

2020-03-26 Thread Sasha Levin
From: Qiujun Huang [ Upstream commit b216a8e7908cd750550c0480cf7d2b3a37f06954 ] drm_lease_create takes ownership of leases. And leases will be released by drm_master_put. drm_master_put ->drm_master_destroy ->idr_destroy So we needn't call idr_destroy again.

[PATCH AUTOSEL 5.4 01/19] drm/bridge: dw-hdmi: fix AVI frame colorimetry

2020-03-26 Thread Sasha Levin
From: Jernej Skrabec [ Upstream commit e8dca30f7118461d47e1c3510d0e31b277439151 ] CTA-861-F explicitly states that for RGB colorspace colorimetry should be set to "none". Fix that. Acked-by: Laurent Pinchart Fixes: def23aa7e982 ("drm: bridge: dw-hdmi: Switch to V4L bus format and encodings")

[PATCH AUTOSEL 4.14 01/10] drm/bridge: dw-hdmi: fix AVI frame colorimetry

2020-03-26 Thread Sasha Levin
From: Jernej Skrabec [ Upstream commit e8dca30f7118461d47e1c3510d0e31b277439151 ] CTA-861-F explicitly states that for RGB colorspace colorimetry should be set to "none". Fix that. Acked-by: Laurent Pinchart Fixes: def23aa7e982 ("drm: bridge: dw-hdmi: Switch to V4L bus format and encodings")

[PATCH AUTOSEL 5.5 17/28] drm/amdgpu: fix typo for vcn1 idle check

2020-03-26 Thread Sasha Levin
From: James Zhu [ Upstream commit acfc62dc68770aa665cc606891f6df7d6d1e52c0 ] fix typo for vcn1 idle check Signed-off-by: James Zhu Reviewed-by: Leo Liu Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin --- drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c | 2 +- 1 file changed, 1 insertion(+),

[PATCH AUTOSEL 5.4 10/19] drm/amdgpu: fix typo for vcn1 idle check

2020-03-26 Thread Sasha Levin
From: James Zhu [ Upstream commit acfc62dc68770aa665cc606891f6df7d6d1e52c0 ] fix typo for vcn1 idle check Signed-off-by: James Zhu Reviewed-by: Leo Liu Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin --- drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c | 2 +- 1 file changed, 1 insertion(+),

[PATCH AUTOSEL 5.4 19/19] drm/lease: fix WARNING in idr_destroy

2020-03-26 Thread Sasha Levin
From: Qiujun Huang [ Upstream commit b216a8e7908cd750550c0480cf7d2b3a37f06954 ] drm_lease_create takes ownership of leases. And leases will be released by drm_master_put. drm_master_put ->drm_master_destroy ->idr_destroy So we needn't call idr_destroy again.

[PATCH AUTOSEL 5.5 28/28] drm/lease: fix WARNING in idr_destroy

2020-03-26 Thread Sasha Levin
From: Qiujun Huang [ Upstream commit b216a8e7908cd750550c0480cf7d2b3a37f06954 ] drm_lease_create takes ownership of leases. And leases will be released by drm_master_put. drm_master_put ->drm_master_destroy ->idr_destroy So we needn't call idr_destroy again.

[PATCH AUTOSEL 4.4 2/4] drm/bochs: downgrade pci_request_region failure from error to warning

2020-03-26 Thread Sasha Levin
From: Gerd Hoffmann [ Upstream commit 8c34cd1a7f089dc03933289c5d4a4d1489549828 ] Shutdown of firmware framebuffer has a bunch of problems. Because of this the framebuffer region might still be reserved even after drm_fb_helper_remove_conflicting_pci_framebuffers() returned. Don't consider

[PATCH AUTOSEL 4.9 2/7] drm/bochs: downgrade pci_request_region failure from error to warning

2020-03-26 Thread Sasha Levin
From: Gerd Hoffmann [ Upstream commit 8c34cd1a7f089dc03933289c5d4a4d1489549828 ] Shutdown of firmware framebuffer has a bunch of problems. Because of this the framebuffer region might still be reserved even after drm_fb_helper_remove_conflicting_pci_framebuffers() returned. Don't consider

[PATCH AUTOSEL 4.14 03/10] drm/bochs: downgrade pci_request_region failure from error to warning

2020-03-26 Thread Sasha Levin
From: Gerd Hoffmann [ Upstream commit 8c34cd1a7f089dc03933289c5d4a4d1489549828 ] Shutdown of firmware framebuffer has a bunch of problems. Because of this the framebuffer region might still be reserved even after drm_fb_helper_remove_conflicting_pci_framebuffers() returned. Don't consider

[PATCH AUTOSEL 5.5 09/28] drm/amd/display: Add link_rate quirk for Apple 15" MBP 2017

2020-03-26 Thread Sasha Levin
From: Mario Kleiner [ Upstream commit dec9de2ada523b344eb2428abfedf9d6cd0a0029 ] This fixes a problem found on the MacBookPro 2017 Retina panel: The panel reports 10 bpc color depth in its EDID, and the firmware chooses link settings at boot which support enough bandwidth for 10 bpc (324000

[PATCH AUTOSEL 5.5 08/28] drm/amdgpu: add fbdev suspend/resume on gpu reset

2020-03-26 Thread Sasha Levin
From: Evan Quan [ Upstream commit 063e768ebd27d3ec0d6908b7f8ea9b0a732b9949 ] This can fix the baco reset failure seen on Navi10. And this should be a low risk fix as the same sequence is already used for system suspend/resume. Signed-off-by: Evan Quan Reviewed-by: Alex Deucher Signed-off-by:

[PATCH AUTOSEL 5.5 10/28] drm/bochs: downgrade pci_request_region failure from error to warning

2020-03-26 Thread Sasha Levin
From: Gerd Hoffmann [ Upstream commit 8c34cd1a7f089dc03933289c5d4a4d1489549828 ] Shutdown of firmware framebuffer has a bunch of problems. Because of this the framebuffer region might still be reserved even after drm_fb_helper_remove_conflicting_pci_framebuffers() returned. Don't consider

Re: [PATCH v12 4/5] soc / drm: mediatek: Move routing control to mmsys device

2020-03-26 Thread CK Hu
Hi, Matthias: On Thu, 2020-03-26 at 16:45 +0100, Matthias Brugger wrote: > > On 26/03/2020 15:51, CK Hu wrote: > > Hi, Matthias: > > > > On Thu, 2020-03-26 at 12:54 +0100, Matthias Brugger wrote: > >> Hi CK, > >> > >> On 26/03/2020 00:05, CK Hu wrote: > >>> Hi, Matthias: > >>> > >>> On Wed,

[PATCH 2/6] drm/gma500: convert to use i2c_new_client_device()

2020-03-26 Thread Wolfram Sang
Move away from the deprecated API and return the shiny new ERRPTR where useful. Signed-off-by: Wolfram Sang --- drivers/gpu/drm/gma500/tc35876x-dsi-lvds.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/gma500/tc35876x-dsi-lvds.c

[PATCH 1/1] video: backlight: tosa_lcd: convert to use i2c_new_client_device()

2020-03-26 Thread Wolfram Sang
Move away from the deprecated API and return the shiny new ERRPTR where useful. Signed-off-by: Wolfram Sang --- drivers/video/backlight/tosa_lcd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/video/backlight/tosa_lcd.c b/drivers/video/backlight/tosa_lcd.c

[PATCH] drm/vc4: Fix HDMI mode validation

2020-03-26 Thread Nicolas Saenz Julienne
Current mode validation impedes setting up some video modes which should be supported otherwise. Namely 1920x1200@60Hz. Fix this by lowering the minimum HDMI state machine clock to pixel clock ratio allowed. Fixes: 32e823c63e90 ("drm/vc4: Reject HDMI modes with too high of clocks") Reported-by:

Re: [PATCH] drm/vc4: Fix HDMI mode validation

2020-03-26 Thread Maxime Ripard
On Thu, Mar 26, 2020 at 01:20:01PM +0100, Nicolas Saenz Julienne wrote: > Current mode validation impedes setting up some video modes which should > be supported otherwise. Namely 1920x1200@60Hz. > > Fix this by lowering the minimum HDMI state machine clock to pixel clock > ratio allowed. > >

Re: [PATCH 3/4] dt-bindings: Clean-up schema errors due to missing 'addtionalProperties: false'

2020-03-26 Thread Ardelean, Alexandru
On Wed, 2020-03-25 at 16:05 -0600, Rob Herring wrote: > Numerous schemas are missing 'additionalProperties: false' statements which > ensures a binding doesn't have any extra undocumented properties or child > nodes. Fixing this reveals various missing properties, so let's fix all > those

Re: [PATCH] drm/i915: Cast remain to unsigned long in eb_relocate_vma

2020-03-26 Thread Nathan Chancellor
On Mon, Mar 16, 2020 at 02:41:23PM -0700, Nick Desaulniers wrote: > On Fri, Feb 14, 2020 at 7:36 AM Michel Dänzer wrote: > > > > On 2020-02-14 12:49 p.m., Jani Nikula wrote: > > > On Fri, 14 Feb 2020, Chris Wilson wrote: > > >> Quoting Jani Nikula (2020-02-14 06:36:15) > > >>> On Thu, 13 Feb

Re: [PATCH 3/4] dt-bindings: Clean-up schema errors due to missing 'addtionalProperties: false'

2020-03-26 Thread Jonathan Cameron
On Wed, 25 Mar 2020 16:05:40 -0600 Rob Herring wrote: > Numerous schemas are missing 'additionalProperties: false' statements which > ensures a binding doesn't have any extra undocumented properties or child > nodes. Fixing this reveals various missing properties, so let's fix all > those

Re: [PATCH v12 4/5] soc / drm: mediatek: Move routing control to mmsys device

2020-03-26 Thread Matthias Brugger
Hi CK, On 26/03/2020 00:05, CK Hu wrote: > Hi, Matthias: > > On Wed, 2020-03-25 at 17:16 +0100, Matthias Brugger wrote: >> >> On 11/03/2020 17:53, Enric Balletbo i Serra wrote: >>> Provide a mtk_mmsys_ddp_connect() and mtk_mmsys_disconnect() functions to >>> replace mtk_ddp_add_comp_to_path()

Re: [PATCH] drm/vc4: Fix HDMI mode validation

2020-03-26 Thread Nicolas Saenz Julienne
On Thu, 2020-03-26 at 18:19 +0100, Stefan Wahren wrote: > Am 26.03.20 um 13:20 schrieb Nicolas Saenz Julienne: > > Current mode validation impedes setting up some video modes which should > > be supported otherwise. Namely 1920x1200@60Hz. > > > > Fix this by lowering the minimum HDMI state

Re: [PATCH 1/4] dt-bindings: iio/accel: Drop duplicate adi, adxl345/6 from trivial-devices.yaml

2020-03-26 Thread Ardelean, Alexandru
On Wed, 2020-03-25 at 16:05 -0600, Rob Herring wrote: > [External] > > The 'adi,adxl345' definition is a duplicate as there's a full binding in: > Documentation/devicetree/bindings/iio/accel/adi,adxl345.yaml > > The trivial-devices binding doesn't capture that 'adi,adxl346' has a > fallback

[PATCH 0/1] video: convert to use new I2C API

2020-03-26 Thread Wolfram Sang
We are deprecating calls which return NULL in favor of new variants which return an ERR_PTR. Only build tested. Wolfram Sang (1): video: backlight: tosa_lcd: convert to use i2c_new_client_device() drivers/video/backlight/tosa_lcd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

[PATCH 4/6] drm/i2c/tda998x: convert to use i2c_new_client_device()

2020-03-26 Thread Wolfram Sang
Move away from the deprecated API and return the shiny new ERRPTR where useful. Signed-off-by: Wolfram Sang --- drivers/gpu/drm/i2c/tda998x_drv.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/i2c/tda998x_drv.c b/drivers/gpu/drm/i2c/tda998x_drv.c

[PATCH 1/6] drm/amdgpu: convert to use i2c_new_client_device()

2020-03-26 Thread Wolfram Sang
Move away from the deprecated API. Signed-off-by: Wolfram Sang --- drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_dpm.c index ba1bb95a3cf9..0e8018c9aa8e

Re: [PATCH 1/4] dt-bindings: iio/accel: Drop duplicate adi, adxl345/6 from trivial-devices.yaml

2020-03-26 Thread Jonathan Cameron
On Thu, 26 Mar 2020 07:57:31 + "Ardelean, Alexandru" wrote: > On Wed, 2020-03-25 at 16:05 -0600, Rob Herring wrote: > > [External] > > > > The 'adi,adxl345' definition is a duplicate as there's a full binding in: > > Documentation/devicetree/bindings/iio/accel/adi,adxl345.yaml > > > > The

Re: [PATCH v2 09/16] drm/i915: remove always-defined CONFIG_AS_MOVNTDQA

2020-03-26 Thread Jani Nikula
On Thu, 26 Mar 2020, Masahiro Yamada wrote: > CONFIG_AS_MOVNTDQA was introduced by commit 0b1de5d58e19 ("drm/i915: > Use SSE4.1 movntdqa to accelerate reads from WC memory"). > > We raise the minimal supported binutils version from time to time. > The last bump was commit 1fb12b35e5ff ("kbuild:

Re: [PATCH v4 7/8] drm/fourcc: amlogic: Add modifier definitions for the Scatter layout

2020-03-26 Thread Pekka Paalanen
On Wed, 25 Mar 2020 17:18:15 +0100 Neil Armstrong wrote: > Hi, > > On 25/03/2020 14:49, Pekka Paalanen wrote: > > On Wed, 25 Mar 2020 11:24:15 +0100 > > Neil Armstrong wrote: > > > >> Hi, > >> > >> On 25/03/2020 10:04, Simon Ser wrote: > >>> On Wednesday, March 25, 2020 9:50 AM, Neil

Re: [PATCH 3/4] dt-bindings: Clean-up schema errors due to missing 'addtionalProperties: false'

2020-03-26 Thread Neil Armstrong
On 25/03/2020 23:05, Rob Herring wrote: > Numerous schemas are missing 'additionalProperties: false' statements which > ensures a binding doesn't have any extra undocumented properties or child > nodes. Fixing this reveals various missing properties, so let's fix all > those occurrences. > > Cc:

[PATCH v2 00/16] x86, crypto: remove always-defined CONFIG_AS_* and cosolidate Kconfig/Makefiles

2020-03-26 Thread Masahiro Yamada
This series of cleanups was prompted by Linus: https://lkml.org/lkml/2020/3/12/726 First, this series drop always-on CONFIG_AS_* options. Some of those options were introduced in old days. For example, the check for CONFIG_AS_CFI dates back to 2006. We raise the minimal tool versions from time

[PATCH v2 09/16] drm/i915: remove always-defined CONFIG_AS_MOVNTDQA

2020-03-26 Thread Masahiro Yamada
CONFIG_AS_MOVNTDQA was introduced by commit 0b1de5d58e19 ("drm/i915: Use SSE4.1 movntdqa to accelerate reads from WC memory"). We raise the minimal supported binutils version from time to time. The last bump was commit 1fb12b35e5ff ("kbuild: Raise the minimum required binutils version to 2.21").

Re: [PATCH 00/16] x86, crypto: remove always-defined CONFIG_AS_* and cosolidate Kconfig/Makefiles

2020-03-26 Thread Ingo Molnar
* Masahiro Yamada wrote: > > LGTM. I've got these four from Jason A. Donenfeld queued up in > > tip:WIP.x86/asm: > > > > bd5b1283e41c: ("crypto: Curve25519 - do not pollute dispatcher based on > > assembler") > > 829f32d78588: ("crypto: X86 - rework configuration, based on Kconfig") > >

Re: [PATCH v12 4/5] soc / drm: mediatek: Move routing control to mmsys device

2020-03-26 Thread Matthias Brugger
On 11/03/2020 17:53, Enric Balletbo i Serra wrote: > Provide a mtk_mmsys_ddp_connect() and mtk_mmsys_disconnect() functions to > replace mtk_ddp_add_comp_to_path() and mtk_ddp_remove_comp_from_path(). > Those functions will allow DRM driver and others to control the data > path routing. > >

Re: [PATCH 2/4] dt-bindings: sram: qcom: Clean-up 'ranges' and child node names

2020-03-26 Thread Brian Masney
On Wed, Mar 25, 2020 at 04:05:39PM -0600, Rob Herring wrote: > The regex for child nodes doesn't match the example. This wasn't flagged > with 'additionalProperties: false' missing. The child node schema was also > incorrect with 'ranges' property as it applies to child nodes and should > be moved

[RESEND PATCH v12 4/5] soc / drm: mediatek: Move routing control to mmsys device

2020-03-26 Thread Enric Balletbo i Serra
Provide a mtk_mmsys_ddp_connect() and mtk_mmsys_disconnect() functions to replace mtk_ddp_add_comp_to_path() and mtk_ddp_remove_comp_from_path(). Those functions will allow DRM driver and others to control the data path routing. Signed-off-by: Enric Balletbo i Serra Reviewed-by: Matthias Brugger

[RESEND PATCH v12 1/5] drm/mediatek: Omit warning on probe defers

2020-03-26 Thread Enric Balletbo i Serra
From: Matthias Brugger It can happen that the mmsys clock drivers aren't probed before the platform driver gets invoked. The platform driver used to print a warning that the driver failed to get the clocks. Omit this error on the defered probe path. Signed-off-by: Matthias Brugger Reviewed-by:

Re: [PATCH v7 1/9] fs: Constify vma argument to vma_is_dax

2020-03-26 Thread Matthew Wilcox
On Tue, Mar 24, 2020 at 09:11:15PM +0100, Thomas Hellström (VMware) wrote: > From: "Thomas Hellstrom (VMware)" > > The function is used by upcoming vma_is_special_huge() with which we want > to use a const vma argument. Since for vma_is_dax() the vma argument is > only dereferenced for reading,

[RESEND PATCH v12 5/5] soc / drm: mediatek: Fix mediatek-drm device probing

2020-03-26 Thread Enric Balletbo i Serra
In the actual implementation the same compatible string "mediatek,-mmsys" is used to bind the clock drivers (drivers/soc/mediatek) as well as to the gpu driver (drivers/gpu/drm/mediatek/mtk_drm_drv.c). This ends with the problem that the only probed driver is the clock driver and there is no

Re: [PATCH v7 1/9] fs: Constify vma argument to vma_is_dax

2020-03-26 Thread Pankaj Gupta
> From: "Thomas Hellstrom (VMware)" > > The function is used by upcoming vma_is_special_huge() with which we want > to use a const vma argument. Since for vma_is_dax() the vma argument is > only dereferenced for reading, constify it. > > Cc: Andrew Morton > Cc: Michal Hocko > Cc: "Matthew

[RESEND PATCH v12 2/5] dt-bindings: mediatek: Update mmsys binding to reflect it is a system controller

2020-03-26 Thread Enric Balletbo i Serra
The mmsys system controller is not only a pure clock controller, so update the binding documentation to reflect that apart from providing clocks, it also provides routing and miscellaneous control registers. Signed-off-by: Enric Balletbo i Serra Reviewed-by: Matthias Brugger Reviewed-by: CK Hu

Re: [PATCH] drm/msm/dpu: ensure device suspend happens during PM sleep

2020-03-26 Thread kalyan_t
On 2020-03-25 21:20, Doug Anderson wrote: Hi, On Wed, Mar 25, 2020 at 8:40 AM Rob Clark wrote: On Tue, Mar 24, 2020 at 7:35 AM Doug Anderson wrote: > > Hi, > > On Sun, Mar 22, 2020 at 11:14 PM Kalyan Thota wrote: > > > > "The PM core always increments the runtime usage counter > > before

[RESEND PATCH v12 0/5] arm/arm64: mediatek: Fix mt8173 mmsys device probing

2020-03-26 Thread Enric Balletbo i Serra
[Patches rebased on top of a clean 5.6-rc1 branch] Dear all, These patches are intended to solve an old standing issue on some Mediatek devices (mt8173, mt2701 and mt2712 are affected by this issue). Up to now both drivers, clock and drm are probed with the same device tree compatible. But only

[RESEND PATCH v12 3/5] clk / soc: mediatek: Move mt8173 MMSYS to platform driver

2020-03-26 Thread Enric Balletbo i Serra
From: Matthias Brugger There is no strong reason for this to use CLK_OF_DECLARE instead of being a platform driver. Plus, MMSYS provides clocks but also a shared register space for the mediatek-drm and the mediatek-mdp driver. So move the MMSYS clocks to a new platform driver and also create a

Re: [PATCH 4/4] dt-bindings: Add missing 'additionalProperties: false'

2020-03-26 Thread Neil Armstrong
On 25/03/2020 23:05, Rob Herring wrote: > Setting 'additionalProperties: false' is frequently omitted, but is > important in order to check that there aren't extra undocumented > properties in a binding. > > Ideally, we'd just add this automatically and make this the default, but > there's some

Re: [PATCH v2 00/16] x86, crypto: remove always-defined CONFIG_AS_* and cosolidate Kconfig/Makefiles

2020-03-26 Thread Ingo Molnar
* Jason A. Donenfeld wrote: > Very little has changed from last time, and this whole series still > looks good to me. I think I already ack'd most packages, but in case > it helps: > > Reviewed-by: Jason A. Donenfeld Acked-by: Ingo Molnar > Since this touches a lot of stuff, it might be

Re: Variable Refresh Rate & flickering screens

2020-03-26 Thread Simon Ser
On Wednesday, March 25, 2020 7:53 PM, Manasi Navare wrote: > But I am still figuring out how the panel indicates this restriction that we > need to program > in the HW registers. > > Harry/SImon, do you know of any such panels that have these restrictions and > if they > indicate this

[PATCH][next] drm/vmwgfx: fix spelling mistake "Cound" -> "Could"

2020-03-26 Thread Colin King
From: Colin Ian King There is a spelling mistake in a DRM_ERROR error message. Fix it. Signed-off-by: Colin Ian King --- drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c

Re: [PATCH] drm/vboxvideo: Add missing remove_conflicting_pci_framebuffers call

2020-03-26 Thread Daniel Vetter
On Wed, Mar 25, 2020 at 03:43:10PM +0100, Hans de Goede wrote: > The vboxvideo driver is missing a call to remove conflicting framebuffers. > > Surprisingly, when using legacy BIOS booting this does not really cause > any issues. But when using UEFI to boot the VM then plymouth will draw > on

Re: [Intel-gfx] [PATCH 02/51] drm/i915: Don't clear drvdata in ->release

2020-03-26 Thread Jani Nikula
On Wed, 25 Mar 2020, Jani Nikula wrote: > On Mon, 23 Mar 2020, Daniel Vetter wrote: >> For two reasons: >> >> - The driver core clears this already for us after we're unloaded in >> __device_release_driver(). >> >> - It's way too late, the drm_device ->release callback might massively >>

Re: [PATCH] drm/vboxvideo: Add missing remove_conflicting_pci_framebuffers call

2020-03-26 Thread Hans de Goede
Hi, On 3/26/20 12:29 PM, Daniel Vetter wrote: On Wed, Mar 25, 2020 at 03:43:10PM +0100, Hans de Goede wrote: The vboxvideo driver is missing a call to remove conflicting framebuffers. Surprisingly, when using legacy BIOS booting this does not really cause any issues. But when using UEFI to

Re: [PATCH 4/4] dt-bindings: Add missing 'additionalProperties: false'

2020-03-26 Thread Benjamin Gaignard
Le mer. 25 mars 2020 à 23:06, Rob Herring a écrit : > > Setting 'additionalProperties: false' is frequently omitted, but is > important in order to check that there aren't extra undocumented > properties in a binding. > > Ideally, we'd just add this automatically and make this the default, but >

[PULL] drm-misc-fixes

2020-03-26 Thread Maarten Lankhorst
drm-misc-fixes-2020-03-26: drm-misc-fixes for v5.6: - SG fixes for prime, radeon and amdgpu. The following changes since commit b216a8e7908cd750550c0480cf7d2b3a37f06954: drm/lease: fix WARNING in idr_destroy (2020-03-18 14:42:18 +0100) are available in the Git repository at:

[pull] gpu scheduler 5.6 fixes

2020-03-26 Thread Alex Deucher
Hi Dave, Daniel, Just one small fix for the scheduler. The following changes since commit 16fbf79b0f83bc752cee8589279f1ebfe57b3b6e: Linux 5.6-rc7 (2020-03-22 18:31:56 -0700) are available in the Git repository at: git://people.freedesktop.org/~agd5f/linux tags/amd-drm-fixes-5.6-2020-03-26

Re: [PATCH] drm/vboxvideo: Add missing remove_conflicting_pci_framebuffers call

2020-03-26 Thread Hans de Goede
Hi, On 3/26/20 2:39 PM, Daniel Vetter wrote: On Thu, Mar 26, 2020 at 2:18 PM Hans de Goede wrote: Hi, On 3/26/20 12:29 PM, Daniel Vetter wrote: On Wed, Mar 25, 2020 at 03:43:10PM +0100, Hans de Goede wrote: The vboxvideo driver is missing a call to remove conflicting framebuffers.

Re: [PATCH] drm/vboxvideo: Add missing remove_conflicting_pci_framebuffers call

2020-03-26 Thread Daniel Vetter
On Thu, Mar 26, 2020 at 3:40 PM Hans de Goede wrote: > > Hi, > > On 3/26/20 2:39 PM, Daniel Vetter wrote: > > On Thu, Mar 26, 2020 at 2:18 PM Hans de Goede wrote: > >> > >> Hi, > >> > >> On 3/26/20 12:29 PM, Daniel Vetter wrote: > >>> On Wed, Mar 25, 2020 at 03:43:10PM +0100, Hans de Goede

Re: [PATCH v12 4/5] soc / drm: mediatek: Move routing control to mmsys device

2020-03-26 Thread CK Hu
Hi, Matthias: On Thu, 2020-03-26 at 12:54 +0100, Matthias Brugger wrote: > Hi CK, > > On 26/03/2020 00:05, CK Hu wrote: > > Hi, Matthias: > > > > On Wed, 2020-03-25 at 17:16 +0100, Matthias Brugger wrote: > >> > >> On 11/03/2020 17:53, Enric Balletbo i Serra wrote: > >>> Provide a

Re: [PATCH 08/51] drm/i915: Use drmm_add_final_kfree

2020-03-26 Thread Jani Nikula
On Mon, 23 Mar 2020, Daniel Vetter wrote: > With this we can drop the final kfree from the release function. > > The mock device in the selftests needed it's pci_device split > up from the drm_device. In the future we could simplify this again > by allocating the pci_device as a managed

Re: [PATCH 08/51] drm/i915: Use drmm_add_final_kfree

2020-03-26 Thread Daniel Vetter
On Thu, Mar 26, 2020 at 2:11 PM Jani Nikula wrote: > > On Mon, 23 Mar 2020, Daniel Vetter wrote: > > With this we can drop the final kfree from the release function. > > > > The mock device in the selftests needed it's pci_device split > > up from the drm_device. In the future we could simplify

Re: [PATCH] drm/vboxvideo: Add missing remove_conflicting_pci_framebuffers call

2020-03-26 Thread Daniel Vetter
On Thu, Mar 26, 2020 at 2:18 PM Hans de Goede wrote: > > Hi, > > On 3/26/20 12:29 PM, Daniel Vetter wrote: > > On Wed, Mar 25, 2020 at 03:43:10PM +0100, Hans de Goede wrote: > >> The vboxvideo driver is missing a call to remove conflicting framebuffers. > >> > >> Surprisingly, when using legacy

Re: [PATCH 01/51] mm/sl[uo]b: export __kmalloc_track(_node)_caller

2020-03-26 Thread Daniel Vetter
On Mon, Mar 23, 2020 at 03:49:00PM +0100, Daniel Vetter wrote: > slab does this already, and I want to use this in a memory allocation > tracker in drm for stuff that's tied to the lifetime of a drm_device, > not the underlying struct device. Kinda like devres, but for drm. > > Acked-by: Andrew

Re: [RESEND PATCH v6 00/17] add drm support for MT8183

2020-03-26 Thread CK Hu
Hi, Yongqiang: In [1], Matthias has applied below series to fix mmsys driver probe problem. Please base on that series to resend your patches. soc / drm: mediatek: Fix mediatek-drm device probingsoc / drm: mediatek: Move routing control to mmsys device clk / soc: mediatek: Move mt8173 MMSYS

Re: [PATCH] drm/vboxvideo: Add missing remove_conflicting_pci_framebuffers call

2020-03-26 Thread Hans de Goede
Hi, On 3/26/20 3:47 PM, Daniel Vetter wrote: On Thu, Mar 26, 2020 at 3:40 PM Hans de Goede wrote: Hi, On 3/26/20 2:39 PM, Daniel Vetter wrote: On Thu, Mar 26, 2020 at 2:18 PM Hans de Goede wrote: Hi, On 3/26/20 12:29 PM, Daniel Vetter wrote: On Wed, Mar 25, 2020 at 03:43:10PM +0100,

Re: [PATCH 00/51] drm_device managed resources, v5

2020-03-26 Thread Daniel Vetter
On Mon, Mar 23, 2020 at 03:48:59PM +0100, Daniel Vetter wrote: > Hi all, > > Another round, another set of polish all over. intel-gfx-ci was happy last > time around (after I fixed a fumble), so really just review and comments > needed now. There's still a few patches at the beginning holding the

[PATCH] drm/fb-helper: Add TODO for making drm_fb_helper_alloc_fbi fill apertures

2020-03-26 Thread Hans de Goede
Currently drivers using drm_fbdev_generic_setup() end up with a single empty aperture in their fb_info struct. Not having the proper info in the apertures list causes register_framebuffer to not remove conflicting framebuffers, which some drivers currently workaround by manually calling

Re: [PATCH v2 5/5] drm/i915: Enable scaling filter for plane and CRTC

2020-03-26 Thread Bharadiya,Pankaj
On Tue, Mar 24, 2020 at 06:46:10PM +0200, Ville Syrjälä wrote: > On Tue, Mar 24, 2020 at 03:32:09PM +, Laxminarayan Bharadiya, Pankaj > wrote: > > > > > > > -Original Message- > > > From: Ville Syrjälä > > > Sent: 23 March 2020 20:18 > > > To: Laxminarayan Bharadiya, Pankaj > > >

  1   2   >