Re: [PATCH v3 1/3] dt-bindings: Convert graph bindings to json-schema

2020-11-11 Thread Laurent Pinchart
Hi Rob, On Wed, Nov 11, 2020 at 05:03:26PM -0600, Rob Herring wrote: > On Wed, Nov 11, 2020 at 8:27 AM Laurent Pinchart wrote: > > On Wed, Nov 11, 2020 at 08:25:40AM -0600, Rob Herring wrote: > > > On Wed, Nov 11, 2020 at 8:00 AM Laurent Pinchart wrote: > > > > On Mon, Nov 02, 2020 at 02:36:54PM

Re: [PATCH v5 0/7] dma-buf: Performance improvements for system heap & a system-uncached implementation

2020-11-11 Thread Sumit Semwal
Hi John, On Tue, 10 Nov 2020 at 09:19, John Stultz wrote: > > Hey All, > So just wanted to send my last revision of my patch series > of performance optimizations to the dma-buf system heap. Thanks very much for your patches - I think the first 5 patches look good to me. I know there was a

Re: [PATCH v2 4/8] drm/amdgpu: Split amdgpu_device_fini into early and late

2020-11-11 Thread Andrey Grodzovsky
On 6/22/20 5:48 AM, Daniel Vetter wrote: On Sun, Jun 21, 2020 at 02:03:04AM -0400, Andrey Grodzovsky wrote: Some of the stuff in amdgpu_device_fini such as HW interrupts disable and pending fences finilization must be done right away on pci_remove while most of the stuff which relates to

[PULL] nouveau-fixes 5.10

2020-11-11 Thread Ben Skeggs
The following changes since commit 512bce50a41c528fa15c4c014293e7bebf018658: Merge v5.10-rc3 into drm-next (2020-11-10 14:36:36 +0100) are available in the Git repository at: git://github.com/skeggsb/linux linux-5.10 for you to fetch changes up to f67e5ecab785631cf7f776533432ba5aba06615a:

Re: [PATCH] drm/nouveau: Fix out-of-bounds access when deferencing MMU type

2020-11-11 Thread Ben Skeggs
On Thu, 12 Nov 2020 at 02:27, Ruhl, Michael J wrote: > > >-Original Message- > >From: Thomas Zimmermann > >Sent: Wednesday, November 11, 2020 7:08 AM > >To: Ruhl, Michael J ; bske...@redhat.com; > >airl...@linux.ie; dan...@ffwll.ch; christian.koe...@amd.com > >Cc:

Re: [PATCH v3 1/3] dt-bindings: Convert graph bindings to json-schema

2020-11-11 Thread Rob Herring
On Wed, Nov 11, 2020 at 8:27 AM Laurent Pinchart wrote: > > Hi Rob, > > On Wed, Nov 11, 2020 at 08:25:40AM -0600, Rob Herring wrote: > > On Wed, Nov 11, 2020 at 8:00 AM Laurent Pinchart wrote: > > > On Mon, Nov 02, 2020 at 02:36:54PM -0600, Rob Herring wrote: > > > > From: Sameer Pujar > > > > >

Re: [PATCH v2] dt-bindings: display: panel: one file of all simple LVDS panels with dual ports

2020-11-11 Thread Rob Herring
On Tue, Nov 10, 2020 at 03:36:37PM +0800, Liu Ying wrote: > To complement panel-simple.yaml, create panel-simple-lvds-dual-ports.yaml. > panel-simple-lvds-dual-ports.yaml is for all simple LVDS panels that > has dual LVDS ports and requires only a single power-supply. > One LVDS port receives even

Re: [PATCH v2] dt-bindings: display: panel: one file of all simple LVDS panels with dual ports

2020-11-11 Thread Rob Herring
On Tue, Nov 10, 2020 at 03:36:37PM +0800, Liu Ying wrote: > To complement panel-simple.yaml, create panel-simple-lvds-dual-ports.yaml. > panel-simple-lvds-dual-ports.yaml is for all simple LVDS panels that > has dual LVDS ports and requires only a single power-supply. > One LVDS port receives even

Re: [PATCH][next] drm/kmb: fix spelling mistakes in drm_info and drm_dbg messages

2020-11-11 Thread Sam Ravnborg
Hi Colin, On Mon, Nov 09, 2020 at 11:12:25AM +, Colin King wrote: > From: Colin Ian King > > There are two spelling mistakes of the word sync in drm_info > and drm_dbg messages. Fix these. > > Signed-off-by: Colin Ian King Thanks, applied to drm-misc-next. Sam

Re: [PATCH v2] dt-bindings: display: mcde: Convert to YAML schema

2020-11-11 Thread Sam Ravnborg
Hi Linus. A few comments when I read through this. Sam On Wed, Nov 11, 2020 at 02:07:54PM +0100, Linus Walleij wrote: > This moves the MCDE bindings over to using the YAML schema > to describe the ST-Ericsson MCDE display controller, > making use of the generic DSI controller schema. >

Re: [PATCH] drm/kmb: Fix build warnings

2020-11-11 Thread Sam Ravnborg
Hi Anitha, On Tue, Nov 10, 2020 at 01:52:49PM -0800, Anitha Chrisanthus wrote: > Fixed the following W=1 kernel build warnings > drivers/gpu/drm/kmb/kmb_plane.h:74:18: warning: ‘kmb_formats_v’ > defined but not used [-Wunused-const-variable=] > drivers/gpu/drm/kmb/kmb_plane.h:61:18: warning:

Re: [PATCH v3 33/56] drm/omap: dsi: convert to drm_panel

2020-11-11 Thread Tomi Valkeinen
On 09/11/2020 12:39, Laurent Pinchart wrote: > On Thu, Nov 05, 2020 at 02:03:10PM +0200, Tomi Valkeinen wrote: >> From: Sebastian Reichel >> >> This converts the DSI module to expect common drm_panel display >> drivers instead of dssdev based ones. >> >> Signed-off-by: Sebastian Reichel >>

Re: [PATCH v3 30/56] drm/omap: dsi: move panel refresh function to host

2020-11-11 Thread Tomi Valkeinen
On 09/11/2020 12:10, Laurent Pinchart wrote: > Hi Tomi and Sebastian, > > Thank you for the patch. > > On Thu, Nov 05, 2020 at 02:03:07PM +0200, Tomi Valkeinen wrote: >> From: Sebastian Reichel >> >> This moves the panel refresh/update function from the panel >> driver into the DSI host driver

Re: [PATCH v3 29/56] drm/omap: dsi: do ULPS in host driver

2020-11-11 Thread Tomi Valkeinen
On 09/11/2020 12:03, Laurent Pinchart wrote: > Hi Tomi and Sebastian, > > Thank you for the patch. > > On Thu, Nov 05, 2020 at 02:03:06PM +0200, Tomi Valkeinen wrote: >> From: Sebastian Reichel >> >> Move ULPS handling into the DSI host controller, so that we >> no longer need a custom API for

[PATCH 18/19] drm/radeon/cik: Move 'vce_v2_0_enable_mgcg()'s prototype to shared header

2020-11-11 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/radeon/vce_v2_0.c:111:6: warning: no previous prototype for ‘vce_v2_0_enable_mgcg’ [-Wmissing-prototypes] 111 | void vce_v2_0_enable_mgcg(struct radeon_device *rdev, bool enable) | ^~~~ Cc: Alex Deucher Cc:

[PATCH 17/19] drm/radeon/si_dpm: Move 'vce_v1_0_enable_mgcg()'s prototype to shared header

2020-11-11 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/radeon/vce_v1_0.c:102:6: warning: no previous prototype for ‘vce_v1_0_enable_mgcg’ [-Wmissing-prototypes] 102 | void vce_v1_0_enable_mgcg(struct radeon_device *rdev, bool enable) | ^~~~ Cc: Alex Deucher Cc:

[PATCH 12/19] drm/radeon/evergreen: Move 'si_get_csb_*()'s prototypes to shared header

2020-11-11 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/radeon/si.c:5678:5: warning: no previous prototype for ‘si_get_csb_size’ [-Wmissing-prototypes] 5678 | u32 si_get_csb_size(struct radeon_device *rdev) | ^~~ drivers/gpu/drm/radeon/si.c:5710:6: warning: no previous

[PATCH 19/19] drm/radeon/evergreen_cs: Move 'r600_dma_cs_next_reloc()'s prototype to shared header

2020-11-11 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/radeon/r600_cs.c:2343:5: warning: no previous prototype for ‘r600_dma_cs_next_reloc’ [-Wmissing-prototypes] 2343 | int r600_dma_cs_next_reloc(struct radeon_cs_parser *p, | ^~ Cc: Alex Deucher Cc: "Christian

[PATCH 05/19] drm/radeon/radeon_encoders: Move 'radeon_atom_backlight_init's prototype to shared header

2020-11-11 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/radeon/atombios_encoders.c:186:6: warning: no previous prototype for ‘radeon_atom_backlight_init’ [-Wmissing-prototypes] 186 | void radeon_atom_backlight_init(struct radeon_encoder *radeon_encoder, | ^~

[PATCH 09/19] drm/radeon/cik: Move 'si_*()'s prototypes to shared header

2020-11-11 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/radeon/si.c:4186:6: warning: no previous prototype for ‘si_vram_gtt_location’ [-Wmissing-prototypes] 4186 | void si_vram_gtt_location(struct radeon_device *rdev, | ^~~~ drivers/gpu/drm/radeon/si.c:5186:6:

[PATCH 11/19] drm/radeon/radeon_audio: Move 'dce6_*()'s prototypes to shared header

2020-11-11 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/radeon/dce6_afmt.c:32:5: warning: no previous prototype for ‘dce6_endpoint_rreg’ [-Wmissing-prototypes] 32 | u32 dce6_endpoint_rreg(struct radeon_device *rdev, | ^~ drivers/gpu/drm/radeon/dce6_afmt.c:46:6:

[PATCH 15/19] drm/radeon/ci_dpm: Move 'si_*()'s prototypes to shared header

2020-11-11 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/radeon/si_dpm.c:3802:4: warning: no previous prototype for ‘si_get_ddr3_mclk_frequency_ratio’ [-Wmissing-prototypes] 3802 | u8 si_get_ddr3_mclk_frequency_ratio(u32 memory_clock) | ^~~~

[PATCH 07/19] drm/radeon/si_dpm: Move 'si_mc_load_microcode()'s prototype to shared header

2020-11-11 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/radeon/si.c:1570:5: warning: no previous prototype for ‘si_mc_load_microcode’ [-Wmissing-prototypes] Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: amd-...@lists.freedesktop.org Cc:

[PATCH 16/19] drm/radeon/cik: Move 'Move 'cik_sdma_*()'s prototypes to shared header

2020-11-11 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/radeon/cik_sdma.c:331:6: warning: no previous prototype for ‘cik_sdma_enable’ [-Wmissing-prototypes] 331 | void cik_sdma_enable(struct radeon_device *rdev, bool enable) | ^~~ drivers/gpu/drm/radeon/cik_sdma.c:528:5:

[PATCH 01/19] drm/radeon/evergreen_dma: Move 'evergreen_gpu_check_soft_reset()'s prototype to shared header

2020-11-11 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/radeon/evergreen.c:3825:5: warning: no previous prototype for ‘evergreen_gpu_check_soft_reset’ [-Wmissing-prototypes] 3825 | u32 evergreen_gpu_check_soft_reset(struct radeon_device *rdev) | ^~ Cc:

[PATCH 13/19] drm/radeon/cik_sdma: Move 'amdgpu_cik_gpu_check_soft_reset()'s prototype to shared header

2020-11-11 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/radeon/cik.c:4845:5: warning: no previous prototype for ‘cik_gpu_check_soft_reset’ [-Wmissing-prototypes] 4845 | u32 cik_gpu_check_soft_reset(struct radeon_device *rdev) | ^~~~ Cc: Alex Deucher Cc:

[PATCH 02/19] drm/radeon/r600: Move 'evergreen_rlc_resume()'s prototype to shared header

2020-11-11 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/radeon/evergreen.c:4380:5: warning: no previous prototype for ‘evergreen_rlc_resume’ [-Wmissing-prototypes] 4380 | int evergreen_rlc_resume(struct radeon_device *rdev) | ^~~~ Cc: Alex Deucher Cc: "Christian

[PATCH 03/19] drm/radeon/ni_dma: Move 'cayman_gpu_check_soft_reset()'s prototype to shared header

2020-11-11 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/radeon/ni.c:1733:5: warning: no previous prototype for ‘cayman_gpu_check_soft_reset’ [-Wmissing-prototypes] 1733 | u32 cayman_gpu_check_soft_reset(struct radeon_device *rdev) | ^~~ Cc: Alex Deucher Cc:

[PATCH 14/19] drm/radeon/evergreen: Move 'cik_*()'s prototypes to shared header

2020-11-11 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/radeon/cik.c:6413:6: warning: no previous prototype for ‘cik_init_cp_pg_table’ [-Wmissing-prototypes] 6413 | void cik_init_cp_pg_table(struct radeon_device *rdev) | ^~~~ drivers/gpu/drm/radeon/cik.c:6670:5:

[PATCH 08/19] drm/radeon/si_dma: Move 'si_gpu_check_soft_reset()'s prototype to shared header

2020-11-11 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/radeon/si.c:3768:5: warning: no previous prototype for ‘si_gpu_check_soft_reset’ [-Wmissing-prototypes] 3768 | u32 si_gpu_check_soft_reset(struct radeon_device *rdev) | ^~~ Cc: Alex Deucher Cc: "Christian

[PATCH 00/19] [Set 5] Rid W=1 warnings from GPU

2020-11-11 Thread Lee Jones
This set is part of a larger effort attempting to clean-up W=1 kernel builds, which are currently overwhelmingly riddled with niggly little warnings. This finishes cleaning up Radeon. AMD next! Lee Jones (19): drm/radeon/evergreen_dma: Move 'evergreen_gpu_check_soft_reset()'s prototype to

[PATCH 10/19] drm/radeon/btc_dpm: Move 'evergreen_get_pi's prototype to shared header

2020-11-11 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/radeon/rv770_dpm.c:62:30: warning: no previous prototype for ‘evergreen_get_pi’ [-Wmissing-prototypes] 62 | struct evergreen_power_info *evergreen_get_pi(struct radeon_device *rdev) | ^~~~ Cc: Alex Deucher Cc:

[PATCH 04/19] drm/radeon/radeon_atombios: Move 'radeon_add_atom_encoder()'s prototype to shared header

2020-11-11 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/radeon/atombios_encoders.c:2721:1: warning: no previous prototype for ‘radeon_add_atom_encoder’ [-Wmissing-prototypes] 2721 | radeon_add_atom_encoder(struct drm_device *dev, | ^~~ Cc: Alex Deucher Cc:

[PATCH 06/19] drm/radeon/ci_dpm: Move 'ci_*()'s prototypes to shared header

2020-11-11 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/radeon/cik.c:1868:5: warning: no previous prototype for ‘ci_mc_load_microcode’ [-Wmissing-prototypes] 1868 | int ci_mc_load_microcode(struct radeon_device *rdev) | ^~~~ drivers/gpu/drm/radeon/cik.c:5847:6:

Re: [PATCH v2 1/2] drm: convert drm_atomic_uapi.c to new debug helpers

2020-11-11 Thread Sam Ravnborg
Hi Simon, On Wed, Nov 11, 2020 at 09:07:36AM +, Simon Ser wrote: > Migrate from DRM_DEBUG_ATOMIC to drm_dbg_atomic. > > Signed-off-by: Simon Ser > Cc: Daniel Vetter > Cc: Maarten Lankhorst > Cc: Maxime Ripard > Cc: Thomas Zimmermann > Cc: Sam Ravnborg > Cc: Ville Syrjala Thanks for

Re: [PATCH v2 2/2] drm: add debug logs for drm_mode_atomic_ioctl errors

2020-11-11 Thread Sam Ravnborg
On Wed, Nov 11, 2020 at 09:07:39AM +, Simon Ser wrote: > Be nice to user-space and log what happened when returning EINVAL in > drm_mode_atomic_ioctl. > > v2: > > - Migrate to drm_dbg_atomic (Sam) > - Add debug log for arg->reserved (Ville) > - Drop redundant "atomic" word in log messages

Re: [PATCH v3 28/56] drm/omap: dsi: untangle ulps ops from enable/disable

2020-11-11 Thread Tomi Valkeinen
On 09/11/2020 11:57, Laurent Pinchart wrote: > Hi Tomi and Sebastian, > > Thank you for the patch. > > On Thu, Nov 05, 2020 at 02:03:05PM +0200, Tomi Valkeinen wrote: >> From: Sebastian Reichel >> >> Create a custom function pointer for ULPS and use it instead of >> reusing disable/enable

Re: Why is atomic_disable callback's plane->state->crtc sometimes null?

2020-11-11 Thread Kevin Brace
Hi Ville, I was able to find a satisfactory workaround. What I was trying to do is to get a pointer to "struct drm_device" via crtc pointer. I switched to getting it from "struct drm_plane". On a separate note, I will look into using drm_atomic_get_new_plane_state() and

Re: [PATCH v3 27/56] drm/omap: dsi: do bus locking in host driver

2020-11-11 Thread Tomi Valkeinen
On 09/11/2020 15:27, Sebastian Reichel wrote: > Hi, > > On Mon, Nov 09, 2020 at 12:08:33PM +0200, Tomi Valkeinen wrote: >> On 09/11/2020 11:52, Laurent Pinchart wrote: >>> Hi Tomi, >>> >>> Thank you for the patch. >>> >>> On Thu, Nov 05, 2020 at 02:03:04PM +0200, Tomi Valkeinen wrote: From:

Re: [PATCH v3 25/56] drm/omap: dsi: move TE GPIO handling into core

2020-11-11 Thread Tomi Valkeinen
On 09/11/2020 11:19, Laurent Pinchart wrote: > Hi Tomi and Sebastian, > > Thank you for the patch. > > On Thu, Nov 05, 2020 at 02:03:02PM +0200, Tomi Valkeinen wrote: >> From: Sebastian Reichel >> >> In preparation for removing custom DSS calls from the DSI >> panel driver, this moves support

[Bug 209457] AMDGPU resume fail with RX 580 GPU

2020-11-11 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=209457 --- Comment #16 from fawz (f...@negentropy.io) --- Created attachment 293629 --> https://bugzilla.kernel.org/attachment.cgi?id=293629=edit dmesg output when booting with kernel 5.9, suspending, then resuming -- You are receiving this mail

[Bug 209457] AMDGPU resume fail with RX 580 GPU

2020-11-11 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=209457 --- Comment #15 from fawz (f...@negentropy.io) --- Hi all, I'm not sure if I'm experiencing the same bug, but the outcome and some of the log messages seem to be the same. For me, resuming from suspend is broken with kernel 5.9.0-2 and works

Re: [PATCH v2 2/2] drm: add debug logs for drm_mode_atomic_ioctl errors

2020-11-11 Thread Simon Ser
On Wednesday, November 11, 2020 5:48 PM, Daniel Vetter wrote: > Submission bikeshed: Patch 1&2 aren't threaded. I thought git send-email > gets that right by default nowadays ... Yeah, it's a bug in my SMTP server I haven't bothered to write a patch for yet. Sorry about that. > Anyway, on both

[Bug 209457] AMDGPU resume fail with RX 580 GPU

2020-11-11 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=209457 fawz (f...@negentropy.io) changed: What|Removed |Added CC||f...@negentropy.io ---

Re: [PATCH v2 2/2] drm: add debug logs for drm_mode_atomic_ioctl errors

2020-11-11 Thread Daniel Vetter
On Wed, Nov 11, 2020 at 09:07:39AM +, Simon Ser wrote: > Be nice to user-space and log what happened when returning EINVAL in > drm_mode_atomic_ioctl. > > v2: > > - Migrate to drm_dbg_atomic (Sam) > - Add debug log for arg->reserved (Ville) > - Drop redundant "atomic" word in log messages

Re: [PATCH v3 35/56] drm/omap: dsi: implement check timings

2020-11-11 Thread Tomi Valkeinen
On 09/11/2020 12:47, Laurent Pinchart wrote: > Hi Tomi and Sebastian, > > Thank you for the patch. > > On Thu, Nov 05, 2020 at 02:03:12PM +0200, Tomi Valkeinen wrote: >> From: Sebastian Reichel >> >> Implement check timings, which will check if its possible to > > s/its/it's/ > >> configure

Re: [PATCH v2 5/8] drm/amdgpu: Refactor sysfs removal

2020-11-11 Thread Andrey Grodzovsky
On 11/11/20 11:06 AM, Greg KH wrote: On Wed, Nov 11, 2020 at 10:45:53AM -0500, Andrey Grodzovsky wrote: On 11/11/20 10:34 AM, Greg KH wrote: On Wed, Nov 11, 2020 at 10:13:13AM -0500, Andrey Grodzovsky wrote: On 11/10/20 12:59 PM, Greg KH wrote: On Tue, Nov 10, 2020 at 12:54:21PM -0500,

Re: [PATCH v10 6/6] dma-buf: Document that dma-buf size is fixed

2020-11-11 Thread Daniel Vetter
On Tue, Nov 10, 2020 at 01:41:17PM -0800, Jianxin Xiong wrote: > The fact that the size of dma-buf is invariant over the lifetime of the > buffer is mentioned in the comment of 'dma_buf_ops.mmap', but is not > documented at where the info is defined. Add the missing documentation. > >

RE: [PATCH] drm/nouveau: Fix out-of-bounds access when deferencing MMU type

2020-11-11 Thread Ruhl, Michael J
>-Original Message- >From: Thomas Zimmermann >Sent: Wednesday, November 11, 2020 7:08 AM >To: Ruhl, Michael J ; bske...@redhat.com; >airl...@linux.ie; dan...@ffwll.ch; christian.koe...@amd.com >Cc: nouv...@lists.freedesktop.org; dri-devel@lists.freedesktop.org; >Maarten Lankhorst ; Maxime

Re: [PATCH v3 50/56] drm/omap: dsi: simplify pin config

2020-11-11 Thread Tomi Valkeinen
On 09/11/2020 13:09, Laurent Pinchart wrote: > Hi Tomi and Sebastian, > > Thank you for the patch. > > On Thu, Nov 05, 2020 at 02:03:27PM +0200, Tomi Valkeinen wrote: >> From: Sebastian Reichel >> >> Simplify DSI pin config, which always originates from DT >> nowadays. With the code being fully

Re: [PATCH v2 5/8] drm/amdgpu: Refactor sysfs removal

2020-11-11 Thread Greg KH
On Wed, Nov 11, 2020 at 10:45:53AM -0500, Andrey Grodzovsky wrote: > > On 11/11/20 10:34 AM, Greg KH wrote: > > On Wed, Nov 11, 2020 at 10:13:13AM -0500, Andrey Grodzovsky wrote: > > > On 11/10/20 12:59 PM, Greg KH wrote: > > > > On Tue, Nov 10, 2020 at 12:54:21PM -0500, Andrey Grodzovsky wrote:

Re: [PATCH v3 37/56] drm/omap: panel-dsi-cm: support unbinding

2020-11-11 Thread Tomi Valkeinen
On 09/11/2020 12:49, Laurent Pinchart wrote: > Hi Tomi and Sebastian, > > On Thu, Nov 05, 2020 at 02:03:14PM +0200, Tomi Valkeinen wrote: >> From: Sebastian Reichel >> >> Now, that the driver implements the common DRM panel API >> the unbind no longer needs to be suppressed. >> >> Signed-off-by:

Re: [PATCH v3 30/56] drm/omap: dsi: move panel refresh function to host

2020-11-11 Thread Laurent Pinchart
Hi Tomi, On Wed, Nov 11, 2020 at 05:34:52PM +0200, Tomi Valkeinen wrote: > On 09/11/2020 12:10, Laurent Pinchart wrote: > > On Thu, Nov 05, 2020 at 02:03:07PM +0200, Tomi Valkeinen wrote: > >> From: Sebastian Reichel > >> > >> This moves the panel refresh/update function from the panel > >>

Re: [PATCH v2 5/6] drm/tidss: Move to newer connector model

2020-11-11 Thread Tomi Valkeinen
On 09/11/2020 19:06, Nikhil Devshatwar wrote: > To be able to support connector operations across multiple > bridges, it is recommended that the connector should be > created by the SoC driver instead of the bridges. > > Modify the tidss modesetting initialization sequence to > create the

Re: [PATCH v2 4/6] drm/tidss: Set bus_format correctly from bridge/connector

2020-11-11 Thread Tomi Valkeinen
On 09/11/2020 19:05, Nikhil Devshatwar wrote: > When there is a chain of bridges attached to the encoder, > the bus_format should be ideally set from the input format of the > first bridge in the chain. > > Use the bridge state to get the negotiated bus_format. > If the bridge does not support

Re: [PATCH v2 5/8] drm/amdgpu: Refactor sysfs removal

2020-11-11 Thread Andrey Grodzovsky
On 11/11/20 10:34 AM, Greg KH wrote: On Wed, Nov 11, 2020 at 10:13:13AM -0500, Andrey Grodzovsky wrote: On 11/10/20 12:59 PM, Greg KH wrote: On Tue, Nov 10, 2020 at 12:54:21PM -0500, Andrey Grodzovsky wrote: Hi, back to this after a long context switch for some higher priority stuff. So

Re: [PATCH v2 3/6] drm/bridge: mhdp8546: Add minimal format negotiation

2020-11-11 Thread Tomi Valkeinen
On 09/11/2020 19:05, Nikhil Devshatwar wrote: > With new connector model, mhdp bridge will not create the connector and > SoC driver will rely on format negotiation to setup the encoder format. > > Support minimal format negotiations hooks in the drm_bridge_funcs. > Complete format negotiation

Re: [PATCH v2 2/6] drm/bridge: tfp410: Support format negotiation hooks

2020-11-11 Thread Tomi Valkeinen
On 09/11/2020 19:05, Nikhil Devshatwar wrote: > With new connector model, tfp410 will not create the connector and > SoC driver will rely on format negotiation to setup the encoder format. > > Support format negotiations hooks in the drm_bridge_funcs. > Use helper functions for state management.

Re: [PATCH v2 1/6] drm: bridge: Propagate the bus flags from bridge->timings

2020-11-11 Thread Tomi Valkeinen
On 09/11/2020 19:05, Nikhil Devshatwar wrote: > bus_flags can be specified by a bridge in the timings. > If the bridge provides it, Override the bus_flags when propagating > from next bridge. > > Signed-off-by: Nikhil Devshatwar > --- > drivers/gpu/drm/drm_bridge.c | 8 > 1 file

Re: [PATCH v2 5/8] drm/amdgpu: Refactor sysfs removal

2020-11-11 Thread Greg KH
On Wed, Nov 11, 2020 at 10:13:13AM -0500, Andrey Grodzovsky wrote: > > On 11/10/20 12:59 PM, Greg KH wrote: > > On Tue, Nov 10, 2020 at 12:54:21PM -0500, Andrey Grodzovsky wrote: > > > Hi, back to this after a long context switch for some higher priority > > > stuff. > > > > > > So here I was

Re: [PATCH v2 5/8] drm/amdgpu: Refactor sysfs removal

2020-11-11 Thread Andrey Grodzovsky
On 11/10/20 12:59 PM, Greg KH wrote: On Tue, Nov 10, 2020 at 12:54:21PM -0500, Andrey Grodzovsky wrote: Hi, back to this after a long context switch for some higher priority stuff. So here I was able eventually to drop all this code and this change here

Re: [PATCH v3 1/3] dt-bindings: Convert graph bindings to json-schema

2020-11-11 Thread Laurent Pinchart
Hi Rob, On Wed, Nov 11, 2020 at 08:25:40AM -0600, Rob Herring wrote: > On Wed, Nov 11, 2020 at 8:00 AM Laurent Pinchart wrote: > > On Mon, Nov 02, 2020 at 02:36:54PM -0600, Rob Herring wrote: > > > From: Sameer Pujar > > > > > > Convert device tree bindings of graph to YAML format. Currently

Re: [PATCH v3 1/3] dt-bindings: Convert graph bindings to json-schema

2020-11-11 Thread Rob Herring
On Wed, Nov 11, 2020 at 8:00 AM Laurent Pinchart wrote: > > Hi Rob and Sameer, > > Thank you for the patch. > > On Mon, Nov 02, 2020 at 02:36:54PM -0600, Rob Herring wrote: > > From: Sameer Pujar > > > > Convert device tree bindings of graph to YAML format. Currently graph.txt > > doc is

Re: [PATCH 2/2] drm/mediatek: Use struct dma_buf_map in GEM vmap ops

2020-11-11 Thread Chun-Kuang Hu
Hi, Thomas: Thomas Zimmermann 於 2020年11月9日 週一 下午6:32寫道: > > Fixes a build failure with mediatek. > > This change was supposed to be part of commit 49a3f51dfeee ("drm/gem: > Use struct dma_buf_map in GEM vmap ops and convert GEM backends"), but > mediatek was forgotten. Acked-by: Chun-Kuang Hu

Re: [PATCH v3 00/56] Convert DSI code to use drm_mipi_dsi and drm_panel

2020-11-11 Thread Tomi Valkeinen
On 11/11/2020 09:48, H. Nikolaus Schaller wrote: > >> Am 11.11.2020 um 07:40 schrieb Tomi Valkeinen : >> >> On 10/11/2020 23:04, H. Nikolaus Schaller wrote: >>> Am 10.11.2020 um 17:52 schrieb Tomi Valkeinen : On 10/11/2020 18:49, H. Nikolaus Schaller wrote: I guess you

Re: [PATCH v3 3/3] dt-bindings: panel: common: Add reference to graph schema

2020-11-11 Thread Laurent Pinchart
Hi Rob, Thank you for the patch. On Mon, Nov 02, 2020 at 02:36:56PM -0600, Rob Herring wrote: > Now that we have a graph schema, reference it from the common panel > schema. > > Cc: Thierry Reding > Cc: Sam Ravnborg > Cc: Laurent Pinchart > Signed-off-by: Rob Herring Reviewed-by: Laurent

Re: [PATCH v3 2/3] dt-bindings: usb-connector: Add reference to graph schema

2020-11-11 Thread Laurent Pinchart
Hi Rob, Thank you for the patch. On Mon, Nov 02, 2020 at 02:36:55PM -0600, Rob Herring wrote: > Now that we have a graph schema, reference it from the usb-connector > schema. > > Signed-off-by: Rob Herring Reviewed-by: Laurent Pinchart > --- > v3: new patch > >

Re: [PATCH v3 1/3] dt-bindings: Convert graph bindings to json-schema

2020-11-11 Thread Laurent Pinchart
Hi Rob and Sameer, Thank you for the patch. On Mon, Nov 02, 2020 at 02:36:54PM -0600, Rob Herring wrote: > From: Sameer Pujar > > Convert device tree bindings of graph to YAML format. Currently graph.txt > doc is referenced in multiple files and all of these need to use schema > references.

Re: [PATCH v3 1/3] dt-bindings: Convert graph bindings to json-schema

2020-11-11 Thread Rob Herring
On Wed, Nov 11, 2020 at 3:52 AM Sameer Pujar wrote: > > Hi Rob, > > > From: Sameer Pujar > > > > Convert device tree bindings of graph to YAML format. Currently graph.txt > > doc is referenced in multiple files and all of these need to use schema > > references. For now graph.txt is updated to

[PATCH v2] dt-bindings: display: mcde: Convert to YAML schema

2020-11-11 Thread Linus Walleij
This moves the MCDE bindings over to using the YAML schema to describe the ST-Ericsson MCDE display controller, making use of the generic DSI controller schema. We also add the "port" node, we will use this when adding LCD panels using the direct parallel interface DPI instead of DSI. Cc:

Re: [PATCH] drm: rcar-du: Fix the return check of of_parse_phandle and of_find_device_by_node

2020-11-11 Thread Kieran Bingham
Hi Wang Xiaojun, On 11/11/2020 03:14, Wang Xiaojun wrote: > of_parse_phandle and of_find_device_by_node may return NULL > which cannot be checked by IS_ERR. Indeed, both of these functions return either NULL or the correct value, and no an errno. > > Signed-off-by: Wang Xiaojun > Reported-by:

Re: linux-next: build failure after merge of the drm-misc tree

2020-11-11 Thread Michael S. Tsirkin
On Wed, Nov 11, 2020 at 05:10:15PM +1100, Stephen Rothwell wrote: > Hi Michael, > > On Mon, 2 Nov 2020 05:19:06 -0500 "Michael S. Tsirkin" > wrote: > > > > On Mon, Nov 02, 2020 at 12:43:27PM +1100, Stephen Rothwell wrote: > > > > > > After merging the drm-misc tree, today's linux-next build

Re: [PATCH] drm/nouveau: Fix out-of-bounds access when deferencing MMU type

2020-11-11 Thread Thomas Zimmermann
Hi Am 10.11.20 um 16:27 schrieb Ruhl, Michael J: > > >> -Original Message- >> From: Thomas Zimmermann >> Sent: Tuesday, November 10, 2020 8:37 AM >> To: bske...@redhat.com; airl...@linux.ie; dan...@ffwll.ch; Ruhl, Michael J >> ; christian.koe...@amd.com >> Cc:

Re: [PATCH v1 11/30] drm/tegra: dc: Support OPP and SoC core voltage scaling

2020-11-11 Thread Mark Brown
On Wed, Nov 11, 2020 at 12:23:41AM +0300, Dmitry Osipenko wrote: > 10.11.2020 23:32, Mark Brown пишет: > >>> + if (!device_property_present(dc->dev, "core-supply")) > >>> + return; > >> This is a potentially heavy operation, so I think we should avoid that > >> here. How about you use

Re: [PATCH v3 00/56] Convert DSI code to use drm_mipi_dsi and drm_panel

2020-11-11 Thread Tomi Valkeinen
On 10/11/2020 23:04, H. Nikolaus Schaller wrote: > >> Am 10.11.2020 um 17:52 schrieb Tomi Valkeinen : >> >> On 10/11/2020 18:49, H. Nikolaus Schaller wrote: >> >> I guess you have the same issue. It goes to dsi_bridge_mode_valid, then >> __dsi_calc_config, and stays >> there finding good clocks.

Re: [PATCH v2 00/16] drm/exynos: Convert driver to drm bridge

2020-11-11 Thread Michael Tretter
On Wed, 11 Nov 2020 12:11:15 +0900, Inki Dae wrote: > 20. 11. 11. 오후 12:04에 Inki Dae 이(가) 쓴 글: > > 20. 11. 10. 오후 5:13에 Michael Tretter 이(가) 쓴 글: > >> On Mon, 09 Nov 2020 12:15:39 +0900, Inki Dae wrote: > >>> 20. 9. 11. 오후 10:53에 Michael Tretter 이(가) 쓴 글: > This is v2 of the series to convert

Re: [PATCH v1 11/30] drm/tegra: dc: Support OPP and SoC core voltage scaling

2020-11-11 Thread Dan Carpenter
On Tue, Nov 10, 2020 at 09:29:45PM +0100, Thierry Reding wrote: > > + err = dev_pm_opp_of_add_table(dc->dev); > > + if (err) { > > + dev_err(dc->dev, "failed to add OPP table: %d\n", err); > > + goto put_hw; > > + } > > + > > + err = devm_add_action(dc->dev,

Re: [PATCH v8 11/26] memory: tegra124-emc: Make driver modular

2020-11-11 Thread Krzysztof Kozlowski
On Wed, Nov 11, 2020 at 12:17:37PM +0300, Dmitry Osipenko wrote: > 11.11.2020 12:04, Krzysztof Kozlowski пишет: > >> -obj-$(CONFIG_TEGRA124_EMC)+= clk-tegra124-emc.o > >> +obj-$(CONFIG_ARCH_TEGRA_124_SOC) += clk-tegra124-emc.o > >> +obj-$(CONFIG_ARCH_TEGRA_132_SOC) +=

[Bug 210123] drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] - flip_done time out with vmwgfx

2020-11-11 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=210123 --- Comment #2 from Michel Dänzer (mic...@daenzer.net) --- (In reply to Stefan Mayr from comment #1) > #208373 seems simliar but for us it started with an older kernel version It's about amdgpu, unlikely to be directly related. -- You are

Re: [PATCH] drm: add debug logs for drm_mode_atomic_ioctl errors

2020-11-11 Thread Simon Ser
On Tuesday, November 10, 2020 6:39 PM, Sam Ravnborg wrote: > You could consider migrating to drm_dbg_atomic() and friends while > touching this - so we get one more core file migrated. > You have a drm_device so the code is fine with the new drm_ based > logging. That's a good point! Sent a v2.

[PATCH v2 2/2] drm: add debug logs for drm_mode_atomic_ioctl errors

2020-11-11 Thread Simon Ser
Be nice to user-space and log what happened when returning EINVAL in drm_mode_atomic_ioctl. v2: - Migrate to drm_dbg_atomic (Sam) - Add debug log for arg->reserved (Ville) - Drop redundant "atomic" word in log messages (Ville) Signed-off-by: Simon Ser Cc: Daniel Vetter Cc: Maarten Lankhorst

[PATCH v2 1/2] drm: convert drm_atomic_uapi.c to new debug helpers

2020-11-11 Thread Simon Ser
Migrate from DRM_DEBUG_ATOMIC to drm_dbg_atomic. Signed-off-by: Simon Ser Cc: Daniel Vetter Cc: Maarten Lankhorst Cc: Maxime Ripard Cc: Thomas Zimmermann Cc: Sam Ravnborg Cc: Ville Syrjala --- drivers/gpu/drm/drm_atomic_uapi.c | 113 +- 1 file changed, 66

Re: [PATCH v8 11/26] memory: tegra124-emc: Make driver modular

2020-11-11 Thread Krzysztof Kozlowski
On Wed, Nov 11, 2020 at 04:14:41AM +0300, Dmitry Osipenko wrote: > Add modularization support to the Tegra124 EMC driver, which now can be > compiled as a loadable kernel module. > > Note that EMC clock must be registered at clk-init time, otherwise PLLM > will be disabled as unused clock at boot

Re: [PATCH v8 10/26] memory: tegra30-emc: Factor out clk initialization

2020-11-11 Thread Krzysztof Kozlowski
On Wed, Nov 11, 2020 at 09:51:15AM +0100, Krzysztof Kozlowski wrote: > On Wed, Nov 11, 2020 at 04:14:40AM +0300, Dmitry Osipenko wrote: > > Factor out clk initialization and make it resource-managed. This makes > > easier to follow code and will help to make further changes cleaner. > > > >

Re: [PATCH v8 10/26] memory: tegra30-emc: Factor out clk initialization

2020-11-11 Thread Krzysztof Kozlowski
On Wed, Nov 11, 2020 at 04:14:40AM +0300, Dmitry Osipenko wrote: > Factor out clk initialization and make it resource-managed. This makes > easier to follow code and will help to make further changes cleaner. > > Signed-off-by: Dmitry Osipenko > --- > drivers/memory/tegra/tegra30-emc.c | 70

Re: [PATCH 0/5] add KERN_LEVEL to printk

2020-11-11 Thread Thomas Zimmermann
Hi Am 11.11.20 um 09:31 schrieb Bernard Zhao: > Hi: > > When call printk, set the KERN_LEVEL is suggested by the community. > This patch sereies add KERN_* level to printk which do not set > this level. I have no say on the msm driver, but IMHO a much better change would be a conversion to