Re: [PATCH v6 0/6] drm: exynos: dsi: Convert drm bridge

2022-04-07 Thread Marek Szyprowski
Dear All, On 31.03.2022 16:22, Robert Foss wrote: > On Fri, 25 Mar 2022 at 17:04, Adam Ford wrote: >> On Fri, Mar 25, 2022 at 10:00 AM Marek Szyprowski >> wrote: >>> On 03.03.2022 17:36, Jagan Teki wrote: Updated series about drm bridge conversion of exynos dsi. Previous version c

Re: [PATCH] drm: bridge: icn6211: Convert to regmap

2022-04-07 Thread Mark Brown
On Sun, Apr 03, 2022 at 07:10:04PM +0200, Marek Vasut wrote: > To make debugging easier, convert driver to regmap. Implement read and write > regmap tables for known registers, keep all known register readable and mark > those which are obviously read-only as not writeable. Acked-by: Mark Brown

[PATCH] futex: add missing rtmutex.h include

2022-04-07 Thread Christian König
Since this isn't included here any more since the removal of ww_mutex.h from seqlock.h which causes a build break. Signed-off-by: Christian König Fixes: 63e8768b2ad9 ("seqlock: drop seqcount_ww_mutex_t") --- kernel/futex/futex.h | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/futex/fu

Re: [PATCH v6 0/6] drm: exynos: dsi: Convert drm bridge

2022-04-07 Thread Jagan Teki
Hi Marek, On Thu, Apr 7, 2022 at 4:54 PM Marek Szyprowski wrote: > > Dear All, > > On 31.03.2022 16:22, Robert Foss wrote: > > On Fri, 25 Mar 2022 at 17:04, Adam Ford wrote: > >> On Fri, Mar 25, 2022 at 10:00 AM Marek Szyprowski > >> wrote: > >>> On 03.03.2022 17:36, Jagan Teki wrote: > Up

Re: [PATCH 15/15] seqlock: drop seqcount_ww_mutex_t

2022-04-07 Thread Christian König
Am 07.04.22 um 11:19 schrieb Daniel Vetter: On Thu, Apr 07, 2022 at 10:59:46AM +0200, Christian König wrote: Daniel pointed out that this series removes the last user of seqcount_ww_mutex_t, so let's drop this. Signed-off-by: Christian König Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Will Deacon

Re: [PULL] drm-misc-next-fixes

2022-04-07 Thread Maxime Ripard
Hi On Thu, Apr 07, 2022 at 12:56:27PM +0200, Maarten Lankhorst wrote: > drm-misc-next-fixes-2022-04-07: > drm-misc-next-fixes for v5.18-rc2: > - fix warning about fence containers > - fix logic error in new fence merge code > - handle empty dma_fence_arrays gracefully > - Try all possible cases fo

Re: [PATCH 03/12] drm/edid: refactor EDID block status printing

2022-04-07 Thread Ville Syrjälä
On Thu, Apr 07, 2022 at 12:14:29PM +0300, Jani Nikula wrote: > Split out a function to log EDID block status. The printouts get changed > slightly. > > Unfortunately, not all users will have struct drm_device available, so > we convert to pr_* debug logging instead of drm device based logging. >

Re: [PATCH 05/12] drm/edid: pass struct edid to connector_bad_edid()

2022-04-07 Thread Ville Syrjälä
On Thu, Apr 07, 2022 at 12:14:31PM +0300, Jani Nikula wrote: > Avoid casting here and there, and make it const. > > Signed-off-by: Jani Nikula > --- > drivers/gpu/drm/drm_edid.c | 15 ++- > 1 file changed, 6 insertions(+), 9 deletions(-) > > diff --git a/drivers/gpu/drm/drm_edid.c b

Re: [PATCH 06/12] drm/edid: add typedef for block read function

2022-04-07 Thread Ville Syrjälä
On Thu, Apr 07, 2022 at 12:14:32PM +0300, Jani Nikula wrote: > Make the callback a bit easier on the eye. > > Signed-off-by: Jani Nikula > --- > drivers/gpu/drm/drm_edid.c | 18 +- > 1 file changed, 9 insertions(+), 9 deletions(-) > > diff --git a/drivers/gpu/drm/drm_edid.c b/dr

[PATCH] drm/amdgpu: Ensure HDA function is suspended before ASIC reset

2022-04-07 Thread Kai-Heng Feng
DP/HDMI audio on AMD PRO VII stops working after S3: [ 149.450391] amdgpu :63:00.0: amdgpu: MODE1 reset [ 149.450395] amdgpu :63:00.0: amdgpu: GPU mode1 reset [ 149.450494] amdgpu :63:00.0: amdgpu: GPU psp mode1 reset [ 149.983693] snd_hda_intel :63:00.1: refused to change power

Re: [Intel-gfx] [PATCH 15/15] drm/i915/xehp: Eliminate shared/implicit steering

2022-04-07 Thread Tvrtko Ursulin
On 04/04/2022 22:35, Matt Roper wrote: On Thu, Mar 31, 2022 at 06:35:52PM +0100, Tvrtko Ursulin wrote: On 31/03/2022 00:28, Matt Roper wrote: Historically we've selected and programmed a single MCR group/instance ID at driver startup that will steer register accesses for GSLICE/DSS ranges to

Re: [Intel-gfx] [PATCH 15/15] drm/i915/xehp: Eliminate shared/implicit steering

2022-04-07 Thread Tvrtko Ursulin
On 04/04/2022 22:42, Matt Roper wrote: On Fri, Apr 01, 2022 at 09:34:04AM +0100, Tvrtko Ursulin wrote: On 31/03/2022 00:28, Matt Roper wrote: Historically we've selected and programmed a single MCR group/instance ID at driver startup that will steer register accesses for GSLICE/DSS ranges to

Re: [PATCH v18 1/3] drm/bridge: display-connector: add ddc-en gpio support

2022-04-07 Thread Neil Armstrong
On 07/04/2022 13:16, H. Nikolaus Schaller wrote: "hdmi-connector.yaml" bindings defines an optional property "ddc-en-gpios" for a single gpio to enable DDC operation. Usually this controls +5V power on the HDMI connector. This +5V may also be needed for HPD. This was not reflected in code but i

Re: [PATCH v18 2/3] drm/ingenic: Implement proper .atomic_get_input_bus_fmts

2022-04-07 Thread Neil Armstrong
On 07/04/2022 13:16, H. Nikolaus Schaller wrote: From: Paul Cercueil The .atomic_get_input_bus_fmts() callback of our top bridge should return the possible input formats for a given output format. If the requested output format is not supported, then NULL should be returned, otherwise the bus f

RE: [PATCH v6 6/8] drm/msm/dp: remove unnecessary delay during boot

2022-04-07 Thread Sankeerth Billakanti (QUIC)
Hi Dmitry, > > > On Wed, Mar 30, 2022 at 9:04 AM Sankeerth Billakanti > > > wrote: > > > > > > > > Remove the unnecessary delay in executing the EV_HPD_INIT_SETUP > > > event. > > > > > > Tell me more and put it in the commit message! Why did it used to be > > > necessary and why is it no longer

RE: [PATCH v6 7/8] drm/msm/dp: Support edp/dp without hpd

2022-04-07 Thread Sankeerth Billakanti (QUIC)
> > > On Wed, Mar 30, 2022 at 9:04 AM Sankeerth Billakanti > > > wrote: > > > > > > > > Some eDP sinks or platform boards will not support hpd. > > > > This patch adds support for those cases. > > > > > > You could say more, like: > > > > > > If we're not using HPD then _both_ the panel node and t

Re: [PATCH v2 3/3] ARM: dts: Use new media bus type macros

2022-04-07 Thread Alexandre TORGUE
Hi Laurent On 3/6/22 18:39, Laurent Pinchart wrote: Now that a header exists with macros for the media interface bus-type values, replace hardcoding numerical constants with the corresponding macros in the DT sources. Signed-off-by: Laurent Pinchart --- arch/arm/boot/dts/imx6ul-14x14-evk.dts

Re: [PATCH 00/12] drm/edid: low level EDID block read refactoring etc.

2022-04-07 Thread Ville Syrjälä
On Thu, Apr 07, 2022 at 12:14:26PM +0300, Jani Nikula wrote: > Ever so slowly moving towards cleaner EDID reading. > > Jani Nikula (12): > drm/edid: convert edid_is_zero() to edid_block_is_zero() for blocks > drm/edid: have edid_block_check() detect blocks that are all zero > drm/edid: refac

RE: [PATCH] futex: add missing rtmutex.h include

2022-04-07 Thread Sharma, Shashank
Acked-by: Shashank Sharma Regards Shashank -Original Message- From: dri-devel On Behalf Of Christian König Sent: Thursday, April 7, 2022 1:46 PM To: pet...@infradead.org; daniel.vet...@ffwll.ch; dri-devel@lists.freedesktop.org Cc: Koenig, Christian Subject: [PATCH] futex: add missing

Re: [PATCH 02/15] dma-buf: specify usage while adding fences to dma_resv obj v7

2022-04-07 Thread Javier Martinez Canillas
Hello Christian, On 4/7/22 10:59, Christian König wrote: > Instead of distingting between shared and exclusive fences specify > the fence usage while adding fences. > > Rework all drivers to use this interface instead and deprecate the old one. > This patch broke compilation for the vc4 DRM dri

Re: [PATCH 02/15] dma-buf: specify usage while adding fences to dma_resv obj v7

2022-04-07 Thread Christian König
Am 07.04.22 um 15:08 schrieb Javier Martinez Canillas: Hello Christian, On 4/7/22 10:59, Christian König wrote: Instead of distingting between shared and exclusive fences specify the fence usage while adding fences. Rework all drivers to use this interface instead and deprecate the old one.

Re: [PATCH v2] drm/hyperv: Added error message for fb size greater then allocated

2022-04-07 Thread Wei Liu
On Wed, Apr 06, 2022 at 11:27:07PM -0700, Saurabh Sengar wrote: > Added error message when the size of requested framebuffer is more then > the allocated size by vmbus mmio region for framebuffer > > Signed-off-by: Saurabh Sengar > --- > v1 -> v2 : Corrected Sign-off > > drivers/gpu/drm/hyperv/

Re: [PATCH 02/15] dma-buf: specify usage while adding fences to dma_resv obj v7

2022-04-07 Thread Javier Martinez Canillas
On 4/7/22 15:13, Christian König wrote: > Am 07.04.22 um 15:08 schrieb Javier Martinez Canillas: >> Hello Christian, >> >> On 4/7/22 10:59, Christian König wrote: >>> Instead of distingting between shared and exclusive fences specify >>> the fence usage while adding fences. >>> >>> Rework all drive

[PATCH] drm/vc4: Use newer fence API properly to fix build errors

2022-04-07 Thread Javier Martinez Canillas
The commit 73511edf8b19 ("dma-buf: specify usage while adding fences to dma_resv obj v7") ported all the DRM drivers to use the newer fence API that specifies the usage with the enum dma_resv_usage rather than doing an explicit shared / exclusive distinction. But the commit didn't do it properly i

Re: [PATCH] drm/vc4: Use newer fence API properly to fix build errors

2022-04-07 Thread Javier Martinez Canillas
On 4/7/22 15:19, Javier Martinez Canillas wrote: > The commit 73511edf8b19 ("dma-buf: specify usage while adding fences to > dma_resv obj v7") ported all the DRM drivers to use the newer fence API > that specifies the usage with the enum dma_resv_usage rather than doing > an explicit shared / exclu

Re: [PATCH v2 3/3] ARM: dts: Use new media bus type macros

2022-04-07 Thread Laurent Pinchart
Hi Alexandre, On Thu, Apr 07, 2022 at 02:41:58PM +0200, Alexandre TORGUE wrote: > On 3/6/22 18:39, Laurent Pinchart wrote: > > Now that a header exists with macros for the media interface bus-type > > values, replace hardcoding numerical constants with the corresponding > > macros in the DT source

Re: [PATCH v2 0/4] drm/ssd130x: Add support for SINO WEALTH SH1106

2022-04-07 Thread Javier Martinez Canillas
On 4/6/22 19:29, Chen-Yu Tsai wrote: Pushed this series to drm-misc (drm-misc-next), thanks again for your patches! -- Best regards, Javier Martinez Canillas Linux Engineering Red Hat

Re: [PATCH 1/4] drm/fourcc: Introduce format modifiers for DG2 render and media compression

2022-04-07 Thread Juha-Pekka Heikkila
Reviewed-by: Juha-Pekka Heikkila On 4.4.2022 16.38, Imre Deak wrote: From: Matt Roper The render/media engines on DG2 unify render compression and media compression into a single format for the first time, using the Tile 4 layout for main surfaces. The compression algorithm is different from

Re: [PATCH v9 1/3] i915/gvt: Separate the MMIO tracking table from GVT-g

2022-04-07 Thread Zhenyu Wang
On 2022.04.07 03:19:43 -0400, Zhi Wang wrote: > From: Zhi Wang > > To support the new mdev interfaces and the re-factor patches from > Christoph, which moves the GVT-g code into a dedicated module, the GVT-g > MMIO tracking table needs to be separated from GVT-g. > Looks fine to me. Thanks! Rev

Re: [PATCH v12] drm/amdgpu: add drm buddy support to amdgpu

2022-04-07 Thread Paul Menzel
Dear Arunpravin, Thank you for your patch. Am 07.04.22 um 07:46 schrieb Arunpravin Paneer Selvam: - Switch to drm buddy allocator - Add resource cursor support for drm buddy I though after the last long discussion, you would actually act on the review comments. Daniel wrote a good summary,

Re: [PATCH v2 3/3] ARM: dts: Use new media bus type macros

2022-04-07 Thread Alexandre TORGUE
On 4/7/22 15:31, Laurent Pinchart wrote: Hi Alexandre, On Thu, Apr 07, 2022 at 02:41:58PM +0200, Alexandre TORGUE wrote: On 3/6/22 18:39, Laurent Pinchart wrote: Now that a header exists with macros for the media interface bus-type values, replace hardcoding numerical constants with the corres

RE: [PATCH v6 8/8] drm/msm/dp: Handle eDP mode_valid differently from dp

2022-04-07 Thread Sankeerth Billakanti (QUIC)
Hi Dmitry, > > > > > On Wed, 30 Mar 2022 at 19:04, Sankeerth Billakanti > > > > > wrote: > > > > > > > > > > > > The panel-edp driver modes needs to be validated differently > > > > > > from DP because the link capabilities are not available for EDP by > that time. > > > > > > > > > > > > Signed-

Re: [PATCH 1/5] drm/ttm: Add common debugfs code for resource managers

2022-04-07 Thread Zack Rusin
On Thu, 2022-04-07 at 08:01 +0200, Christian König wrote: > Am 07.04.22 um 04:56 schrieb Zack Rusin: > > From: Zack Rusin > > > > Drivers duplicate the code required to add debugfs entries for > > various > > ttm resource managers. To fix it add common TTM resource manager > > code that each driv

Re: [PATCH] drm/amd/display: Fix pointer dereferenced before checking

2022-04-07 Thread Harry Wentland
On 2022-04-07 01:52, Haowen Bai wrote: > The pointer dc is dereferencing pointer plane_state before plane_state > is being null checked. Fix this by assigning plane_state->ctx->dc to > dc only if plane_state is not NULL, otherwise just NULL. > > Signed-off-by: Haowen Bai > --- > drivers/gpu/d

Re: [PATCH] drm/amd/display: Fix indenting mistakes in dcn10_hw_sequencer.c

2022-04-07 Thread Harry Wentland
On 2022-04-07 02:00, Haowen Bai wrote: > Smatch reports the following: > drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_hw_sequencer.c:2174 > dcn10_enable_vblanks_synchronization() warn: if statement not indented > > Signed-off-by: Haowen Bai Reviewed-by: Harry Wentland Harry > --- >

RE: [PATCH v6 1/8] drm/msm/dp: Add eDP support via aux_bus

2022-04-07 Thread Sankeerth Billakanti (QUIC)
Hi Dmitry and Doug, > Hi, > > On Tue, Apr 5, 2022 at 10:36 AM Dmitry Baryshkov > wrote: > > > > On 05/04/2022 20:02, Doug Anderson wrote: > > > Hi, > > > > > > On Tue, Apr 5, 2022 at 5:54 AM Dmitry Baryshkov > > > wrote: > > >>> 3. For DP and eDP HPD means something a little different. > > >>>

Re: [PATCH v2] drm/amd/display: don't ignore alpha property on pre-multiplied mode

2022-04-07 Thread Rodrigo Siqueira Jordao
Patch merged to amd-staging-drm-next. Thanks a lot! On 2022-04-05 15:32, Simon Ser wrote: I've tested this patch and it fixes my bug [1]. Thanks! Tested-by: Simon Ser [1]: https://gitlab.freedesktop.org/drm/amd/-/issues/1734>

Re: [PATCH v9 00/23] drm/rockchip: RK356x VOP2 support

2022-04-07 Thread Piotr Oniszczuk
> Wiadomość napisana przez Sascha Hauer w dniu > 07.04.2022, o godz. 12:16: > > > Yes, and it raises a few more ;) pls see at end of email: DRI state with playback > >> >> player: >> >> 2022-04-06 17:52:26.424487 I Display: Geometry: 1920x1080+0+0 Size(Qt): >> 930mmx530mm >> 2022-04-06

Re: [PATCH v9 1/3] i915/gvt: Separate the MMIO tracking table from GVT-g

2022-04-07 Thread Jani Nikula
On Thu, 07 Apr 2022, Zhi Wang wrote: > diff --git a/drivers/gpu/drm/i915/intel_gvt.h > b/drivers/gpu/drm/i915/intel_gvt.h > index d7d3fb6186fd..7665d7cf0bdd 100644 > --- a/drivers/gpu/drm/i915/intel_gvt.h > +++ b/drivers/gpu/drm/i915/intel_gvt.h > @@ -26,7 +26,17 @@ > > struct drm_i915_private

[PATCH v2] drm/edid: add EDID block count and size helpers

2022-04-07 Thread Jani Nikula
Add some helpers to figure out the EDID extension block count, block count, size, pointers to blocks. Unfortunately, we'll need to cast away the const in a few places where we actually need to access the data. v2: fix s/j/i/ introduced in a rebase Signed-off-by: Jani Nikula --- drivers/gpu/drm

[PATCH 0/1] Inherit GPU scheduling priority from process nice

2022-04-07 Thread Tvrtko Ursulin
From: Tvrtko Ursulin Current processing landscape seems to be more and more composed of pipelines where computations are done on multiple hardware devices. Furthermore some of the non-CPU devices, like in this case many GPUs supported by the i915 driver, actually support priority based scheduling

[PATCH 1/1] drm/i915: Inherit submitter nice when scheduling requests

2022-04-07 Thread Tvrtko Ursulin
From: Tvrtko Ursulin Inherit submitter nice at point of request submission to account for long running processes getting either externally or self re-niced. This accounts for the current processing landscape where computational pipelines are composed of CPU and GPU parts working in tandem. Nice

Re: [PATCH v7 04/12] clk: Always clamp the rounded rate

2022-04-07 Thread Maxime Ripard
On Thu, Apr 07, 2022 at 08:27:39AM +, Yassine Oudjana wrote: > On Thursday, April 7th, 2022 at 12:08 PM, Maxime Ripard > wrote: > > I've been piling up few fixes already for other platforms, could you > > also test ? > > > > https://github.com/mripard/linux/tree/rpi/clk-improvements-more-fixe

[PATCH 0/1] Inherit GPU scheduling priority from process nice

2022-04-07 Thread Tvrtko Ursulin
From: Tvrtko Ursulin Current processing landscape seems to be more and more composed of pipelines where computations are done on multiple hardware devices. Furthermore some of the non-CPU devices, like in this case many GPUs supported by the i915 driver, actually support priority based scheduling

[PATCH 1/1] drm/i915: Inherit submitter nice when scheduling requests

2022-04-07 Thread Tvrtko Ursulin
From: Tvrtko Ursulin Inherit submitter nice at point of request submission to account for long running processes getting either externally or self re-niced. This accounts for the current processing landscape where computational pipelines are composed of CPU and GPU parts working in tandem. Nice

[RFC] drm/kms: control display brightness through drm_connector properties

2022-04-07 Thread Hans de Goede
As discussed already several times in the past: https://www.x.org/wiki/Events/XDC2014/XDC2014GoedeBacklight/ https://lore.kernel.org/all/4b17ba08-39f3-57dd-5aad-d37d844b0...@linux.intel.com/ The current userspace API for brightness control offered by /sys/class/backlight devices has various iss

[Bug 211807] [drm:drm_dp_mst_dpcd_read] *ERROR* mstb 000000004e6288dd port 3: DPCD read on addr 0x60 for 1 bytes NAKed

2022-04-07 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=211807 Fiona Buckner (pheonix...@gmail.com) changed: What|Removed |Added CC||pheonix...@gmail.co

Re: [Intel-gfx] [PATCH 1/1] drm/i915/uc: Use platform specific defaults for GuC/HuC enabling

2022-04-07 Thread Tvrtko Ursulin
On 03/06/2021 17:48, Matthew Brost wrote: From: John Harrison The meaning of 'default' for the enable_guc module parameter has been updated to accurately reflect what is supported on current platforms. So start using the defaults instead of forcing everything off. Although, note that right no

Re: [BUG] fbdev: i740fb: Divide error when ‘var->pixclock’ is zero

2022-04-07 Thread Helge Deller
On 4/6/22 03:24, Zheyu Ma wrote: > On Wed, Apr 6, 2022 at 2:23 AM Helge Deller wrote: >> >> On 4/5/22 19:46, Ondrej Zary wrote: >>> On Tuesday 05 April 2022 08:33:57 Helge Deller wrote: Hello Geert, On 4/4/22 13:46, Geert Uytterhoeven wrote: > Hi Helge, > > On Sun, Apr 3

Re: [PATCH] drm/amd/display: Fix indenting mistakes in dcn10_hw_sequencer.c

2022-04-07 Thread Alex Deucher
Applied. Thanks! Alex On Thu, Apr 7, 2022 at 10:18 AM Harry Wentland wrote: > > > > On 2022-04-07 02:00, Haowen Bai wrote: > > Smatch reports the following: > > drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_hw_sequencer.c:2174 > > dcn10_enable_vblanks_synchronization() warn: if statement

Re: [PATCH] drm/amdgpu: Ensure HDA function is suspended before ASIC reset

2022-04-07 Thread Alex Deucher
Applied. Thanks! Alex On Thu, Apr 7, 2022 at 8:21 AM Kai-Heng Feng wrote: > > DP/HDMI audio on AMD PRO VII stops working after S3: > [ 149.450391] amdgpu :63:00.0: amdgpu: MODE1 reset > [ 149.450395] amdgpu :63:00.0: amdgpu: GPU mode1 reset > [ 149.450494] amdgpu :63:00.0: amdgpu

Re: [PATCH] drm/amd/display: Fix indenting mistakes in dcn10_hw_sequencer.c

2022-04-07 Thread Alex Deucher
Actually this just causes another warning. Dropped for now. More below. On Thu, Apr 7, 2022 at 11:52 AM Alex Deucher wrote: > > Applied. Thanks! > > Alex > > On Thu, Apr 7, 2022 at 10:18 AM Harry Wentland wrote: > > > > > > > > On 2022-04-07 02:00, Haowen Bai wrote: > > > Smatch reports the f

[PATCH] drm/i915: Sunset igpu legacy mmap support based on GRAPHICS_VER_FULL

2022-04-07 Thread Matt Roper
The intent of the version check in the mmap ioctl was to maintain support for existing platforms (i.e., ADL/RPL and earlier), but drop support on all future igpu platforms. As we've seen on the dgpu side, the hardware teams are using a more fine-grained numbering system for IP version numbers thes

Re: [PATCH v2] drm/hyperv: Added error message for fb size greater then allocated

2022-04-07 Thread Deepak Rawat
On Wed, Apr 6, 2022 at 11:27 PM Saurabh Sengar wrote: > > Added error message when the size of requested framebuffer is more then > the allocated size by vmbus mmio region for framebuffer > > Signed-off-by: Saurabh Sengar > --- > v1 -> v2 : Corrected Sign-off > > drivers/gpu/drm/hyperv/hyperv_dr

[PATCH 1/2] drm/i915: fix broken build

2022-04-07 Thread Matthew Auld
I guess this was missed in the conversion or something. Fixes: 7bc80a5462c3 ("dma-buf: add enum dma_resv_usage v4") Signed-off-by: Matthew Auld Cc: Christian König Cc: Daniel Vetter --- drivers/gpu/drm/i915/i915_deps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers

[PATCH 2/2] drm/i915: fix i915_gem_object_wait_moving_fence

2022-04-07 Thread Matthew Auld
All of CI is just failing with the following, which prevents loading of the module: i915 :03:00.0: [drm] *ERROR* Scratch setup failed Best guess is that this comes from the pin_map() for the scratch page, which does an i915_gem_object_wait_moving_fence() somewhere. It looks like this now

Re: [PATCH 1/2] drm/i915: fix broken build

2022-04-07 Thread Christian König
Am 07.04.22 um 18:45 schrieb Matthew Auld: I guess this was missed in the conversion or something. Fixes: 7bc80a5462c3 ("dma-buf: add enum dma_resv_usage v4") Signed-off-by: Matthew Auld Cc: Christian König Cc: Daniel Vetter My best guess is that this is a rebase/merge conflict. I'm 100% su

Re: [RFC] drm/kms: control display brightness through drm_connector properties

2022-04-07 Thread Simon Ser
Very nice plan! Big +1 for the overall approach. On Thursday, April 7th, 2022 at 17:38, Hans de Goede wrote: > The drm_connector brightness properties > === > > bl_brightness: rw 0-int32_max property controlling the brightness setting > of the connected displ

[PATCH] drm/msm/dp: add fail safe mode outside of event_mutex context

2022-04-07 Thread Kuogee Hsieh
There is possible circular locking dependency detected on event_mutex. To break this possible circular locking, this patch move setting fail safe mode out of event_mutex scope. Fixes: d4aca422539c ("drm/msm/dp: always add fail-safe mode into connector mode list") Signed-off-by: Kuogee Hsieh ---

Re: [PATCH v8, 16/17] media: mediatek: vcodec: support stateless VP9 decoding

2022-04-07 Thread Nicolas Dufresne
Le jeudi 31 mars 2022 à 10:48 +0800, Yunfei Dong a écrit : > Add support for VP9 decoding using the stateless API, > as supported by MT8192. And the drivers is lat and core architecture. > > Signed-off-by: George Sun > Signed-off-by: Xiaoyong Lu > Signed-off-by: Yunfei Dong > Reviewed-by: Angel

Re: [PATCH v0 02/10] dt-bindings: display: imx: add binding for i.MX8MP HDMI TX

2022-04-07 Thread Rob Herring
On Thu, Apr 07, 2022 at 11:15:26AM +0200, Lucas Stach wrote: > Am Mittwoch, dem 06.04.2022 um 15:08 -0500 schrieb Rob Herring: > > On Wed, 06 Apr 2022 18:01:15 +0200, Lucas Stach wrote: > > > The HDMI TX controller on the i.MX8MP SoC is a Synopsys designware IP > > > core with a little bit of SoC i

Re: [PATCH 2/2] drm/i915/buddy: sanity check the size

2022-04-07 Thread Das, Nirmoy
|Reviewed-by: Nirmoy Das | On 4/7/2022 1:06 PM, Matthew Auld wrote: Ensure we check that the size is compatible with the requested page_size. For tiny objects that are automatically annotated with TTM_PL_FLAG_CONTIGUOUS(since they fit within a single page), we currently end up silently overridin

Re: [PATCH 1/2] drm/i915: fix broken build

2022-04-07 Thread Matthew Auld
On 07/04/2022 17:49, Christian König wrote: Am 07.04.22 um 18:45 schrieb Matthew Auld: I guess this was missed in the conversion or something. Fixes: 7bc80a5462c3 ("dma-buf: add enum dma_resv_usage v4") Signed-off-by: Matthew Auld Cc: Christian König Cc: Daniel Vetter My best guess is that

Re: [PATCH v6 1/8] drm/msm/dp: Add eDP support via aux_bus

2022-04-07 Thread Doug Anderson
Hi, On Thu, Apr 7, 2022 at 7:19 AM Sankeerth Billakanti (QUIC) wrote: > > Hi Dmitry and Doug, > > > Hi, > > > > On Tue, Apr 5, 2022 at 10:36 AM Dmitry Baryshkov > > wrote: > > > > > > On 05/04/2022 20:02, Doug Anderson wrote: > > > > Hi, > > > > > > > > On Tue, Apr 5, 2022 at 5:54 AM Dmitry Bary

Re: [PATCH] drm/amdgpu: Ensure HDA function is suspended before ASIC reset

2022-04-07 Thread Alex Deucher
On Thu, Apr 7, 2022 at 8:21 AM Kai-Heng Feng wrote: > > DP/HDMI audio on AMD PRO VII stops working after S3: > [ 149.450391] amdgpu :63:00.0: amdgpu: MODE1 reset > [ 149.450395] amdgpu :63:00.0: amdgpu: GPU mode1 reset > [ 149.450494] amdgpu :63:00.0: amdgpu: GPU psp mode1 reset > [

Re: [PATCH v2 18/19] Revert "fbdev: Prevent probing generic drivers if a FB is already registered"

2022-04-07 Thread Greg KH
On Tue, Apr 05, 2022 at 07:29:22PM +0200, Daniel Vetter wrote: > On Tue, 5 Apr 2022 at 18:45, Greg KH wrote: > > > > On Tue, Apr 05, 2022 at 06:12:59PM +0200, Daniel Vetter wrote: > > > On Tue, Apr 05, 2022 at 03:33:17PM +0200, Greg KH wrote: > > > > On Tue, Apr 05, 2022 at 03:24:40PM +0200, Geert

Re: [PATCH] drm/amd/display: cleanup extern usage in function definition

2022-04-07 Thread Alex Deucher
Applied. Thanks! Alex On Mon, Apr 4, 2022 at 11:57 AM Harry Wentland wrote: > > > > On 2022-04-04 11:43, Tom Rix wrote: > > > > On 4/4/22 8:22 AM, Harry Wentland wrote: > >> > >> On 2022-04-03 10:21, Tom Rix wrote: > >>> Smatch reports this issue > >>> hdcp1_execution.c:500:29: warning: functio

Re: [PATCH] drm/amd/display: Fix indenting mistakes in dcn10_hw_sequencer.c

2022-04-07 Thread Harry Wentland
On 2022-04-07 12:07, Alex Deucher wrote: > Actually this just causes another warning. Dropped for now. More below. > > On Thu, Apr 7, 2022 at 11:52 AM Alex Deucher wrote: >> >> Applied. Thanks! >> >> Alex >> >> On Thu, Apr 7, 2022 at 10:18 AM Harry Wentland >> wrote: >>> >>> >>> >>> On 20

Re: [PATCH] drm/amd/display: Fix indenting mistakes in dcn10_hw_sequencer.c

2022-04-07 Thread Alex Deucher
On Thu, Apr 7, 2022 at 1:32 PM Harry Wentland wrote: > > > > On 2022-04-07 12:07, Alex Deucher wrote: > > Actually this just causes another warning. Dropped for now. More below. > > > > On Thu, Apr 7, 2022 at 11:52 AM Alex Deucher wrote: > >> > >> Applied. Thanks! > >> > >> Alex > >> > >> On T

Re: [RFC] drm/kms: control display brightness through drm_connector properties

2022-04-07 Thread Hans de Goede
Hi Simon, On 4/7/22 18:51, Simon Ser wrote: > Very nice plan! Big +1 for the overall approach. Thanks. > On Thursday, April 7th, 2022 at 17:38, Hans de Goede > wrote: > >> The drm_connector brightness properties >> === >> >> bl_brightness: rw 0-int32_max pr

Re: [PATCH] drm/amdgpu: Fix code with incorrect enum type

2022-04-07 Thread Alex Deucher
On Thu, Apr 7, 2022 at 2:21 AM Christian König wrote: > > Am 06.04.22 um 18:50 schrieb Grigory Vasilyev: > > Instead of the 'amdgpu_ring_priority_level' type, > > the 'amdgpu_gfx_pipe_priority' type was used, > > which is an error when setting ring priority. > > This is a minor error, but may caus

Re: [PATCH] drm/tegra: Stop using iommu_present()

2022-04-07 Thread Dmitry Osipenko
On 4/6/22 21:06, Robin Murphy wrote: > On 2022-04-06 15:32, Dmitry Osipenko wrote: >> On 4/5/22 17:19, Robin Murphy wrote: >>> Remove the pointless check. host1x_drm_wants_iommu() cannot return true >>> unless an IOMMU exists for the host1x platform device, which at the >>> moment >>> means the iom

Re: [PATCH v8, 16/17] media: mediatek: vcodec: support stateless VP9 decoding

2022-04-07 Thread Nicolas Dufresne
Le mercredi 06 avril 2022 à 15:23 -0400, Nicolas Dufresne a écrit : > Hi Yunfei, > > Le jeudi 31 mars 2022 à 10:48 +0800, Yunfei Dong a écrit : > > Add support for VP9 decoding using the stateless API, > > as supported by MT8192. And the drivers is lat and core architecture. > > > > Signed-off-by

Re: [PATCH 1/4] drm/fourcc: Introduce format modifiers for DG2 render and media compression

2022-04-07 Thread Juha-Pekka Heikkilä
Seems my first mail didn't come through so here's second time for this patch: Reviewed-by: Juha-Pekka Heikkila On Mon, Apr 4, 2022 at 4:39 PM Imre Deak wrote: > > From: Matt Roper > > The render/media engines on DG2 unify render compression and media > compression into a single format for the

Re: [Intel-gfx] [PATCH v2 21/22] drm/edid: Extract drm_edid_decode_mfg_id()

2022-04-07 Thread Jani Nikula
On Tue, 05 Apr 2022, Ville Syrjala wrote: > From: Ville Syrjälä > > Make the PNPID decoding available for other users. > > Cc: dri-devel@lists.freedesktop.org > Signed-off-by: Ville Syrjälä Reviewed-by: Jani Nikula > --- > include/drm/drm_edid.h | 21 + > 1 file changed,

RE: [PATCH] drm/amdgpu: Ensure HDA function is suspended before ASIC reset

2022-04-07 Thread Limonciello, Mario
[Public] > -Original Message- > From: Alex Deucher > Sent: Thursday, April 7, 2022 12:08 > To: Kai-Heng Feng > Cc: Deucher, Alexander ; Koenig, Christian > ; Pan, Xinhui ; David > Airlie ; Maling list - DRI developers de...@lists.freedesktop.org>; LKML ; amd- > gfx list ; Chiu, Solomon

[PATCH 1/2] drm/dp: Export drm_dp_dpcd_access()

2022-04-07 Thread Imre Deak
The next patch needs a way to read a DPCD register without the preceding wake-up read in drm_dp_dpcd_read(). Export drm_dp_dpcd_access() to allow this. Cc: dri-devel@lists.freedesktop.org Signed-off-by: Imre Deak --- drivers/gpu/drm/dp/drm_dp.c| 19 +-- include/drm/dp/drm_dp_

[PATCH 1/2] dt-bindings: display: bridge: icn6211: Document DSI data-lanes property

2022-04-07 Thread Marek Vasut
It is necessary to specify the number of connected/used DSI data lanes when using the DSI input port of this bridge. Document the 'data-lanes' property of the DSI input port. Signed-off-by: Marek Vasut Cc: Jagan Teki Cc: Laurent Pinchart Cc: Maxime Ripard Cc: Rob Herring Cc: Robert Foss Cc:

[PATCH 2/2] drm: bridge: icn6211: Add DSI lane count DT property parsing

2022-04-07 Thread Marek Vasut
The driver currently hard-codes DSI lane count to two, however the chip is capable of operating in 1..4 DSI lanes mode. Parse 'data-lanes' DT property and program the result into DSI_CTRL register. Signed-off-by: Marek Vasut Cc: Jagan Teki Cc: Laurent Pinchart Cc: Maxime Ripard Cc: Robert Foss

Re: [RFC] drm/kms: control display brightness through drm_connector properties

2022-04-07 Thread Carsten Haitzler
On Thu, 7 Apr 2022 17:38:59 +0200 Hans de Goede said: Below you covered our usual /sys/class/backlight device friends... what about DDC monitor controls? These function similarly but just remotely control a screen via I2C and also suffer from the same problems of "need root" and "have to do some

Re: [PATCH 1/2] drm/dp: Export drm_dp_dpcd_access()

2022-04-07 Thread Jani Nikula
On Thu, 07 Apr 2022, Imre Deak wrote: > The next patch needs a way to read a DPCD register without the preceding > wake-up read in drm_dp_dpcd_read(). Export drm_dp_dpcd_access() to allow > this. I think I'd rather you added a special "probe" function for this specific purpose. I think drm_dp_dpc

Re: [PATCH] video: fbdev: Fix missing of_node_put in imxfb_probe

2022-04-07 Thread Helge Deller
On 4/7/22 11:01, cgel@gmail.com wrote: > From: Lv Ruyi > > of_parse_phandle returns node pointer with refcount incremented, > use of_node_put() on it when done. > > Reported-by: Zeal Robot > Signed-off-by: Lv Ruyi applied. Thanks! Helge > --- > drivers/video/fbdev/imxfb.c | 2 ++ > 1 file

Re: [PATCH 1/7] video: fbdev: i740fb: Error out if 'pixclock' equals zero

2022-04-07 Thread Helge Deller
On 4/4/22 10:47, Zheyu Ma wrote: > The userspace program could pass any values to the driver through > ioctl() interface. If the driver doesn't check the value of 'pixclock', > it may cause divide error. > > Fix this by checking whether 'pixclock' is zero in the function > i740fb_check_var(). > > T

[PATCH 0/5] drm/solomon: Add SSD130x OLED displays SPI support

2022-04-07 Thread Javier Martinez Canillas
Hello, This series adds a ssd130x-spi driver that provides a 4-wire SPI transport support for SSD130x OLED controllers that can be accessed through a SPI. The driver is quite similar to existing ssd130x-i2c driver that is used by I2C controllers, but there is a difference in the protocol used by

[PATCH 2/5] dt-bindings: display: ssd1307fb: Extend schema for SPI controllers

2022-04-07 Thread Javier Martinez Canillas
The Solomon SSD130x OLED displays can either have an I2C or SPI interface, add to the schema the compatible strings, properties and examples for SPI. Signed-off-by: Javier Martinez Canillas --- .../bindings/display/solomon,ssd1307fb.yaml | 89 +++ 1 file changed, 71 insertions

[PATCH 1/5] dt-bindings: display: ssd1307fb: Deprecate fbdev compatible strings

2022-04-07 Thread Javier Martinez Canillas
The current compatible strings for SSD130x I2C controllers contain an -fb suffix, this seems to indicate that are for a fbdev driver. But the DT is supposed to describe the hardware and not Linux implementation details. Let's deprecate those compatible strings and add a new enum that contains comp

[PATCH 3/5] drm/solomon: Add ssd130x-i2c compatible strings without an -fb suffix

2022-04-07 Thread Javier Martinez Canillas
The current compatible strings for SSD130x I2C controllers contain an -fb suffix, this seems to indicate that are for a fbdev driver. But the DT is supposed to describe the hardware and not Linux implementation details. Let's deprecate those compatible strings and add new ones that don't have the

[PATCH 5/5] drm/solomon: Add SSD130x OLED displays SPI support

2022-04-07 Thread Javier Martinez Canillas
The ssd130x driver only provides the core support for these devices but it does not have any bus transport logic. Add a driver to interface over SPI. There is a difference in the communication protocol when using 4-wire SPI instead of I2C. For the latter, a control byte that contains a D/C# field

[PATCH 4/5] drm/solomon: Move device info from ssd130x-i2c to the core driver

2022-04-07 Thread Javier Martinez Canillas
These are declared in the ssd130x-i2c transport driver but the information is not I2C specific and could be used by other SSD130x transport drivers. Move them to the ssd130x core driver and just set the OF device entries to an ID that could be used to lookup the correct device into from an array.

Re: [PATCH v6 1/8] drm/msm/dp: Add eDP support via aux_bus

2022-04-07 Thread Abhinav Kumar
Hi Doug and Dmitry Sorry, but I caught up on this email just now. Some comments below. Thanks Abhinav On 4/7/2022 10:07 AM, Doug Anderson wrote: Hi, On Thu, Apr 7, 2022 at 7:19 AM Sankeerth Billakanti (QUIC) wrote: Hi Dmitry and Doug, Hi, On Tue, Apr 5, 2022 at 10:36 AM Dmitry Baryshko

[RESEND PATCH] drm/armada: drop unneeded MODULE_ALIAS

2022-04-07 Thread Krzysztof Kozlowski
The MODULE_DEVICE_TABLE already creates proper alias for platform driver. Having another MODULE_ALIAS causes the alias to be duplicated. Signed-off-by: Krzysztof Kozlowski --- drivers/gpu/drm/armada/armada_drv.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/armada/armada_dr

[PATCH] drm/msm: Fix range size vs end confusion

2022-04-07 Thread Rob Clark
From: Rob Clark The fourth param is size, rather than range_end. Note that we could increase the address space size if we had a way to prevent buffers from spanning a 4G split, mostly just to avoid fw bugs with 64b math. Fixes: 84c31ee16f90 ("drm/msm/a6xx: Add support for per-instance pagetable

Re: [PATCH v6 1/8] drm/msm/dp: Add eDP support via aux_bus

2022-04-07 Thread Doug Anderson
Hi, On Thu, Apr 7, 2022 at 1:11 PM Abhinav Kumar wrote: > > Hi Doug and Dmitry > > Sorry, but I caught up on this email just now. > > Some comments below. > > Thanks > > Abhinav > On 4/7/2022 10:07 AM, Doug Anderson wrote: > > Hi, > > > > On Thu, Apr 7, 2022 at 7:19 AM Sankeerth Billakanti (QUIC)

Re: [Intel-gfx] [PATCH 1/1] drm/i915/uc: Use platform specific defaults for GuC/HuC enabling

2022-04-07 Thread John Harrison
On 4/7/2022 08:49, Tvrtko Ursulin wrote: On 03/06/2021 17:48, Matthew Brost wrote: From: John Harrison The meaning of 'default' for the enable_guc module parameter has been updated to accurately reflect what is supported on current platforms. So start using the defaults instead of forcing ever

Re: [RFC] drm/kms: control display brightness through drm_connector properties

2022-04-07 Thread Alex Deucher
On Thu, Apr 7, 2022 at 1:43 PM Hans de Goede wrote: > > Hi Simon, > > On 4/7/22 18:51, Simon Ser wrote: > > Very nice plan! Big +1 for the overall approach. > > Thanks. > > > On Thursday, April 7th, 2022 at 17:38, Hans de Goede > > wrote: > > > >> The drm_connector brightness properties > >> ===

[PATCH] drm/radeon: change cayman_default_state table from global to static

2022-04-07 Thread Tom Rix
cayman_default_state and cayman_default_size are only used in ni.c. Single file symbols should be static. So move their definitions to cayman_blit_shaders.h and change their storage-class-specifier to static. Remove unneeded cayman_blit_shader.c cayman_ps/vs definitions were removed with commit

Re: [PATCH v6 1/8] drm/msm/dp: Add eDP support via aux_bus

2022-04-07 Thread Abhinav Kumar
Hi Doug Thanks for the response, some comments below. Abhinav On 4/7/2022 1:47 PM, Doug Anderson wrote: Hi, On Thu, Apr 7, 2022 at 1:11 PM Abhinav Kumar wrote: Hi Doug and Dmitry Sorry, but I caught up on this email just now. Some comments below. Thanks Abhinav On 4/7/2022 10:07 AM, Dou

Re: [PATCH] drm/atomic-helpers: remove legacy_cursor_update hacks

2022-04-07 Thread Rob Clark
On Wed, Apr 6, 2022 at 6:27 PM Jessica Zhang wrote: > > > > On 3/31/2022 8:20 AM, Daniel Vetter wrote: > > The stuff never really worked, and leads to lots of fun because it > > out-of-order frees atomic states. Which upsets KASAN, among other > > things. > > > > For async updates we now have a mo

Re: [PATCH] drm/atomic-helpers: remove legacy_cursor_update hacks

2022-04-07 Thread Abhinav Kumar
Hi Rob and Daniel On 4/7/2022 3:51 PM, Rob Clark wrote: On Wed, Apr 6, 2022 at 6:27 PM Jessica Zhang wrote: On 3/31/2022 8:20 AM, Daniel Vetter wrote: The stuff never really worked, and leads to lots of fun because it out-of-order frees atomic states. Which upsets KASAN, among other things

Re: [PATCH] drm/atomic-helpers: remove legacy_cursor_update hacks

2022-04-07 Thread Rob Clark
On Thu, Apr 7, 2022 at 3:59 PM Abhinav Kumar wrote: > > Hi Rob and Daniel > > On 4/7/2022 3:51 PM, Rob Clark wrote: > > On Wed, Apr 6, 2022 at 6:27 PM Jessica Zhang > > wrote: > >> > >> > >> > >> On 3/31/2022 8:20 AM, Daniel Vetter wrote: > >>> The stuff never really worked, and leads to lots of

<    1   2   3   >