[PATCH] drm/i915: Support RGB16161616_64B compressed formats

2024-06-04 Thread Melanie Lobo
Add support for a RGB64(FP16) format where each color component is a 16-bit floating point value. FP16 format which is a binary floating-point computer number format that occupies 16 bits in computer memory. Platform shall render compression in display engine to receive FP16 compressed formats.

[PATCH] drm/i915: Support RGB16161616_64B compressed formats

2024-06-04 Thread Melanie Lobo
Add support for a RGB64(FP16) format where each color component is a 16-bit floating point value. FP16 format which is a binary floating-point computer number format that occupies 16 bits in computer memory. Platform shall render compression in display engine to receive FP16 compressed formats.

✗ Fi.CI.IGT: failure for thunderbolt: Add Kconfig option to disable PCIe tunneling

2024-06-04 Thread Patchwork
== Series Details == Series: thunderbolt: Add Kconfig option to disable PCIe tunneling URL : https://patchwork.freedesktop.org/series/134460/ State : failure == Summary == CI Bug Log - changes from CI_DRM_14874_full -> Patchwork_134460v1_full

✗ Fi.CI.IGT: failure for drm/i915: finish the job of removing implicit dev_priv

2024-06-04 Thread Patchwork
== Series Details == Series: drm/i915: finish the job of removing implicit dev_priv URL : https://patchwork.freedesktop.org/series/134451/ State : failure == Summary == CI Bug Log - changes from CI_DRM_14874_full -> Patchwork_134451v1_full

Re: [core-for-CI PATCH] thunderbolt: Add Kconfig option to disable PCIe tunneling

2024-06-04 Thread Imre Deak
On Tue, Jun 04, 2024 at 02:27:54PM -0400, Rodrigo Vivi wrote: > On Tue, Jun 04, 2024 at 07:16:18PM +0300, Imre Deak wrote: > > From: Mika Westerberg > > > > In typical cases PCIe tunneling is needed to make the devices fully > > usable for the host system. However, it poses a security issue

Re: [PATCH 01/10] drm/i915/display: include gem/i915_gem_stolen.h where needed

2024-06-04 Thread Rodrigo Vivi
On Tue, Jun 04, 2024 at 02:41:11PM +0300, Jani Nikula wrote: > On Fri, 31 May 2024, Jani Nikula wrote: > > On Fri, 31 May 2024, Rodrigo Vivi wrote: > >> On Wed, May 29, 2024 at 08:48:05PM +0300, Jani Nikula wrote: > >>> Include what you use. We need to move the compat i915_gem_stolen.h under >

✓ Fi.CI.BAT: success for thunderbolt: Add Kconfig option to disable PCIe tunneling

2024-06-04 Thread Patchwork
== Series Details == Series: thunderbolt: Add Kconfig option to disable PCIe tunneling URL : https://patchwork.freedesktop.org/series/134460/ State : success == Summary == CI Bug Log - changes from CI_DRM_14874 -> Patchwork_134460v1

Re: [core-for-CI PATCH] thunderbolt: Add Kconfig option to disable PCIe tunneling

2024-06-04 Thread Rodrigo Vivi
On Tue, Jun 04, 2024 at 07:16:18PM +0300, Imre Deak wrote: > From: Mika Westerberg > > In typical cases PCIe tunneling is needed to make the devices fully > usable for the host system. However, it poses a security issue because > they can also use DMA to access the host memory. We already have

✓ Fi.CI.BAT: success for drm/i915: finish the job of removing implicit dev_priv

2024-06-04 Thread Patchwork
== Series Details == Series: drm/i915: finish the job of removing implicit dev_priv URL : https://patchwork.freedesktop.org/series/134451/ State : success == Summary == CI Bug Log - changes from CI_DRM_14874 -> Patchwork_134451v1 Summary

✗ Fi.CI.CHECKPATCH: warning for drm/i915: finish the job of removing implicit dev_priv

2024-06-04 Thread Patchwork
== Series Details == Series: drm/i915: finish the job of removing implicit dev_priv URL : https://patchwork.freedesktop.org/series/134451/ State : warning == Summary == Error: dim checkpatch failed 301fdadb6527 drm/i915: pass dev_priv explicitly to DPLL f37456cf6a7c drm/i915: pass dev_priv

✗ Fi.CI.BAT: failure for series starting with [v1,1/1] treewide: Align match_string() with sysfs_match_string()

2024-06-04 Thread Patchwork
== Series Details == Series: series starting with [v1,1/1] treewide: Align match_string() with sysfs_match_string() URL : https://patchwork.freedesktop.org/series/134452/ State : failure == Summary == CI Bug Log - changes from CI_DRM_14873 -> Patchwork_134452v1

✗ Fi.CI.SPARSE: warning for series starting with [v1,1/1] treewide: Align match_string() with sysfs_match_string()

2024-06-04 Thread Patchwork
== Series Details == Series: series starting with [v1,1/1] treewide: Align match_string() with sysfs_match_string() URL : https://patchwork.freedesktop.org/series/134452/ State : warning == Summary == Error: dim sparse failed Sparse version: v0.6.2 Fast mode used, each commit won't be

✗ Fi.CI.CHECKPATCH: warning for series starting with [v1,1/1] treewide: Align match_string() with sysfs_match_string()

2024-06-04 Thread Patchwork
== Series Details == Series: series starting with [v1,1/1] treewide: Align match_string() with sysfs_match_string() URL : https://patchwork.freedesktop.org/series/134452/ State : warning == Summary == Error: dim checkpatch failed 0fb53c53e046 treewide: Align match_string() with

Re: ✗ Fi.CI.IGT: failure for drm/i915: Fix assert on pending async-put power domain work when it requeues itself

2024-06-04 Thread Imre Deak
On Fri, May 31, 2024 at 07:22:14AM +, Patchwork wrote: > == Series Details == > > Series: drm/i915: Fix assert on pending async-put power domain work when it > requeues itself > URL : https://patchwork.freedesktop.org/series/134246/ > State : failure Thanks for the review, pushed to

[linux-next:master] BUILD REGRESSION d97496ca23a2d4ee80b7302849404859d9058bcd

2024-06-04 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master branch HEAD: d97496ca23a2d4ee80b7302849404859d9058bcd Add linux-next specific files for 20240604 Error/Warning reports: https://lore.kernel.org/oe-kbuild-all/202406041641.we3cct4c-...@intel.com Error

[core-for-CI PATCH] thunderbolt: Add Kconfig option to disable PCIe tunneling

2024-06-04 Thread Imre Deak
From: Mika Westerberg In typical cases PCIe tunneling is needed to make the devices fully usable for the host system. However, it poses a security issue because they can also use DMA to access the host memory. We already have two ways of preventing this, one an IOMMU that is enabled on recent

RE: [RFC PATCH 1/3] drm/fourcc: define Intel Xe2 related tile4 ccs modifier

2024-06-04 Thread Chery, Nanley G
> -Original Message- > From: Juha-Pekka Heikkila > Sent: Monday, May 6, 2024 2:53 PM > To: intel...@lists.freedesktop.org; intel-gfx@lists.freedesktop.org > Cc: Juha-Pekka Heikkila ; Chery, Nanley G > ; Saarinen, Jani > ; Graunke, Kenneth W ; > Souza, Jose ; Mathew, Alwin > ; Zhang,

Re: ✗ Fi.CI.IGT: failure for PCI: Revert the cfg_access_lock lockdep mechanism

2024-06-04 Thread Imre Deak
On Sun, Jun 02, 2024 at 03:46:56AM +, Patchwork wrote: > == Series Details == > > Series: PCI: Revert the cfg_access_lock lockdep mechanism > URL : https://patchwork.freedesktop.org/series/134316/ > State : failure Thanks for the ack, patch is pushed to core-for-CI. The failures are

[PATCH 65/65] drm/i915: pass dev_priv explicitly to MTL_CLKGATE_DIS_TRANS

2024-06-04 Thread Jani Nikula
Avoid the implicit dev_priv local variable use, and pass dev_priv explicitly to the MTL_CLKGATE_DIS_TRANS register macro. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/display/intel_psr.c | 5 +++-- drivers/gpu/drm/i915/i915_reg.h | 2 +- 2 files changed, 4 insertions(+), 3

[PATCH 64/65] drm/i915: pass dev_priv explicitly to TRANS_SET_CONTEXT_LATENCY

2024-06-04 Thread Jani Nikula
Avoid the implicit dev_priv local variable use, and pass dev_priv explicitly to the TRANS_SET_CONTEXT_LATENCY register macro. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/display/intel_display.c | 6 -- drivers/gpu/drm/i915/i915_reg.h | 2 +- 2 files changed, 5

[PATCH 60/65] drm/i915: pass dev_priv explicitly to TRANS_DDI_FUNC_CTL2

2024-06-04 Thread Jani Nikula
Avoid the implicit dev_priv local variable use, and pass dev_priv explicitly to the TRANS_DDI_FUNC_CTL2 register macro. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/display/icl_dsi.c | 6 -- drivers/gpu/drm/i915/display/intel_ddi.c | 9 ++---

[PATCH 63/65] drm/i915: pass dev_priv explicitly to TRANS_MSA_MISC

2024-06-04 Thread Jani Nikula
Avoid the implicit dev_priv local variable use, and pass dev_priv explicitly to the TRANS_MSA_MISC register macro. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/display/intel_ddi.c | 3 ++- drivers/gpu/drm/i915/i915_reg.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-)

[PATCH 58/65] drm/i915: pass dev_priv explicitly to HSW_STEREO_3D_CTL

2024-06-04 Thread Jani Nikula
Avoid the implicit dev_priv local variable use, and pass dev_priv explicitly to the HSW_STEREO_3D_CTL register macro. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/i915_reg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/i915_reg.h

[PATCH 56/65] drm/i915: pass dev_priv explicitly to PIPE_LINK_M2

2024-06-04 Thread Jani Nikula
Avoid the implicit dev_priv local variable use, and pass dev_priv explicitly to the PIPE_LINK_M2 register macro. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/display/intel_display.c | 6 -- drivers/gpu/drm/i915/i915_reg.h | 2 +-

[PATCH 62/65] drm/i915: pass dev_priv explicitly to TGL_DP_TP_STATUS

2024-06-04 Thread Jani Nikula
Avoid the implicit dev_priv local variable use, and pass dev_priv explicitly to the TGL_DP_TP_STATUS register macro. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/display/intel_ddi.c | 3 ++- drivers/gpu/drm/i915/i915_reg.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-)

[PATCH 61/65] drm/i915: pass dev_priv explicitly to TGL_DP_TP_CTL

2024-06-04 Thread Jani Nikula
Avoid the implicit dev_priv local variable use, and pass dev_priv explicitly to the TGL_DP_TP_CTL register macro. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/display/intel_ddi.c | 3 ++- drivers/gpu/drm/i915/i915_reg.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-)

[PATCH 57/65] drm/i915: pass dev_priv explicitly to PIPE_LINK_N2

2024-06-04 Thread Jani Nikula
Avoid the implicit dev_priv local variable use, and pass dev_priv explicitly to the PIPE_LINK_N2 register macro. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/display/intel_display.c | 4 ++-- drivers/gpu/drm/i915/i915_reg.h | 2 +- drivers/gpu/drm/i915/intel_gvt_mmio_table.c

[PATCH 59/65] drm/i915: pass dev_priv explicitly to TRANS_DDI_FUNC_CTL

2024-06-04 Thread Jani Nikula
Avoid the implicit dev_priv local variable use, and pass dev_priv explicitly to the TRANS_DDI_FUNC_CTL register macro. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/display/icl_dsi.c| 12 +--- drivers/gpu/drm/i915/display/intel_ddi.c | 29 ---

[PATCH 55/65] drm/i915: pass dev_priv explicitly to PIPE_LINK_N1

2024-06-04 Thread Jani Nikula
Avoid the implicit dev_priv local variable use, and pass dev_priv explicitly to the PIPE_LINK_N1 register macro. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/display/intel_display.c | 4 ++-- drivers/gpu/drm/i915/gvt/display.c | 4 ++-- drivers/gpu/drm/i915/gvt/handlers.c

[PATCH 54/65] drm/i915: pass dev_priv explicitly to PIPE_LINK_M1

2024-06-04 Thread Jani Nikula
Avoid the implicit dev_priv local variable use, and pass dev_priv explicitly to the PIPE_LINK_M1 register macro. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/display/intel_display.c | 6 -- drivers/gpu/drm/i915/gvt/display.c | 4 ++-- drivers/gpu/drm/i915/gvt/handlers.c

[PATCH 53/65] drm/i915: pass dev_priv explicitly to PIPE_DATA_N2

2024-06-04 Thread Jani Nikula
Avoid the implicit dev_priv local variable use, and pass dev_priv explicitly to the PIPE_DATA_N2 register macro. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/display/intel_display.c | 4 ++-- drivers/gpu/drm/i915/i915_reg.h | 2 +- drivers/gpu/drm/i915/intel_gvt_mmio_table.c

[PATCH 52/65] drm/i915: pass dev_priv explicitly to PIPE_DATA_M2

2024-06-04 Thread Jani Nikula
Avoid the implicit dev_priv local variable use, and pass dev_priv explicitly to the PIPE_DATA_M2 register macro. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/display/intel_display.c | 6 -- drivers/gpu/drm/i915/i915_reg.h | 2 +-

[PATCH 51/65] drm/i915: pass dev_priv explicitly to PIPE_DATA_N1

2024-06-04 Thread Jani Nikula
Avoid the implicit dev_priv local variable use, and pass dev_priv explicitly to the PIPE_DATA_N1 register macro. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/display/intel_display.c | 4 ++-- drivers/gpu/drm/i915/gvt/display.c | 4 ++-- drivers/gpu/drm/i915/i915_reg.h

[PATCH 50/65] drm/i915: pass dev_priv explicitly to PIPE_DATA_M1

2024-06-04 Thread Jani Nikula
Avoid the implicit dev_priv local variable use, and pass dev_priv explicitly to the PIPE_DATA_M1 register macro. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/display/intel_display.c | 6 -- drivers/gpu/drm/i915/display/intel_fdi.c | 6 +++--- drivers/gpu/drm/i915/gvt/display.c

[PATCH 47/65] drm/i915: pass dev_priv explicitly to _DSPBTILEOFF

2024-06-04 Thread Jani Nikula
Avoid the implicit dev_priv local variable use, and pass dev_priv explicitly to the _DSPBTILEOFF register macro. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/i915_reg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/i915_reg.h

[PATCH 48/65] drm/i915: pass dev_priv explicitly to _DSPBOFFSET

2024-06-04 Thread Jani Nikula
Avoid the implicit dev_priv local variable use, and pass dev_priv explicitly to the _DSPBOFFSET register macro. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/i915_reg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/i915_reg.h

[PATCH 49/65] drm/i915: pass dev_priv explicitly to _DSPBSURFLIVE

2024-06-04 Thread Jani Nikula
Avoid the implicit dev_priv local variable use, and pass dev_priv explicitly to the _DSPBSURFLIVE register macro. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/i915_reg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/i915_reg.h

[PATCH 46/65] drm/i915: pass dev_priv explicitly to _DSPBSURF

2024-06-04 Thread Jani Nikula
Avoid the implicit dev_priv local variable use, and pass dev_priv explicitly to the _DSPBSURF register macro. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/gvt/handlers.c | 2 +- drivers/gpu/drm/i915/i915_reg.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 45/65] drm/i915: pass dev_priv explicitly to _DSPBSIZE

2024-06-04 Thread Jani Nikula
Avoid the implicit dev_priv local variable use, and pass dev_priv explicitly to the _DSPBSIZE register macro. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/i915_reg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/i915_reg.h

[PATCH 44/65] drm/i915: pass dev_priv explicitly to _DSPBPOS

2024-06-04 Thread Jani Nikula
Avoid the implicit dev_priv local variable use, and pass dev_priv explicitly to the _DSPBPOS register macro. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/i915_reg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/i915_reg.h

[PATCH 43/65] drm/i915: pass dev_priv explicitly to _DSPBSTRIDE

2024-06-04 Thread Jani Nikula
Avoid the implicit dev_priv local variable use, and pass dev_priv explicitly to the _DSPBSTRIDE register macro. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/i915_reg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/i915_reg.h

[PATCH 42/65] drm/i915: pass dev_priv explicitly to _DSPBADDR

2024-06-04 Thread Jani Nikula
Avoid the implicit dev_priv local variable use, and pass dev_priv explicitly to the _DSPBADDR register macro. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/i915_reg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/i915_reg.h

[PATCH 41/65] drm/i915: pass dev_priv explicitly to _DSPBCNTR

2024-06-04 Thread Jani Nikula
Avoid the implicit dev_priv local variable use, and pass dev_priv explicitly to the _DSPBCNTR register macro. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/i915_reg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/i915_reg.h

[PATCH 40/65] drm/i915: pass dev_priv explicitly to _PIPEB_FLIPCOUNT_G4X

2024-06-04 Thread Jani Nikula
Avoid the implicit dev_priv local variable use, and pass dev_priv explicitly to the _PIPEB_FLIPCOUNT_G4X register macro. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/i915_reg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/i915_reg.h

[PATCH 39/65] drm/i915: pass dev_priv explicitly to _PIPEB_FRMCOUNT_G4X

2024-06-04 Thread Jani Nikula
Avoid the implicit dev_priv local variable use, and pass dev_priv explicitly to the _PIPEB_FRMCOUNT_G4X register macro. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/i915_reg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/i915_reg.h

[PATCH 38/65] drm/i915: pass dev_priv explicitly to _PIPEBSTAT

2024-06-04 Thread Jani Nikula
Avoid the implicit dev_priv local variable use, and pass dev_priv explicitly to the _PIPEBSTAT register macro. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/i915_reg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/i915_reg.h

[PATCH 37/65] drm/i915: pass dev_priv explicitly to _TRANSBCONF

2024-06-04 Thread Jani Nikula
Avoid the implicit dev_priv local variable use, and pass dev_priv explicitly to the _TRANSBCONF register macro. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/i915_reg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/i915_reg.h

[PATCH 36/65] drm/i915: pass dev_priv explicitly to _PIPEBDSL

2024-06-04 Thread Jani Nikula
Avoid the implicit dev_priv local variable use, and pass dev_priv explicitly to the _PIPEBDSL register macro. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/i915_reg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/i915_reg.h

[PATCH 35/65] drm/i915: pass dev_priv explicitly to SWF3

2024-06-04 Thread Jani Nikula
Avoid the implicit dev_priv local variable use, and pass dev_priv explicitly to the SWF3 register macro. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/i915_reg.h | 2 +- drivers/gpu/drm/i915/i915_suspend.c | 12 2 files changed, 9 insertions(+), 5 deletions(-) diff

[PATCH 34/65] drm/i915: pass dev_priv explicitly to SWF1

2024-06-04 Thread Jani Nikula
Avoid the implicit dev_priv local variable use, and pass dev_priv explicitly to the SWF1 register macro. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/i915_reg.h | 2 +- drivers/gpu/drm/i915/i915_suspend.c | 18 -- 2 files changed, 13 insertions(+), 7 deletions(-)

[PATCH 33/65] drm/i915: pass dev_priv explicitly to SWF0

2024-06-04 Thread Jani Nikula
Avoid the implicit dev_priv local variable use, and pass dev_priv explicitly to the SWF0 register macro. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/i915_reg.h | 2 +- drivers/gpu/drm/i915/i915_suspend.c | 12 2 files changed, 9 insertions(+), 5 deletions(-) diff

[PATCH 32/65] drm/i915: pass dev_priv explicitly to CHV_CANVAS

2024-06-04 Thread Jani Nikula
Avoid the implicit dev_priv local variable use, and pass dev_priv explicitly to the CHV_CANVAS register macro. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/display/intel_display.c | 2 +- drivers/gpu/drm/i915/i915_reg.h | 2 +- 2 files changed, 2 insertions(+), 2

[PATCH 31/65] drm/i915: pass dev_priv explicitly to CHV_BLEND

2024-06-04 Thread Jani Nikula
Avoid the implicit dev_priv local variable use, and pass dev_priv explicitly to the CHV_BLEND register macro. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/display/intel_display.c | 3 ++- drivers/gpu/drm/i915/i915_reg.h | 2 +- 2 files changed, 3 insertions(+), 2

[PATCH 30/65] drm/i915: pass dev_priv explicitly to PIPE_FLIPCOUNT_G4X

2024-06-04 Thread Jani Nikula
Avoid the implicit dev_priv local variable use, and pass dev_priv explicitly to the PIPE_FLIPCOUNT_G4X register macro. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/gvt/cmd_parser.c | 2 +- drivers/gpu/drm/i915/gvt/handlers.c | 4 ++-- drivers/gpu/drm/i915/i915_reg.h

[PATCH 29/65] drm/i915: pass dev_priv explicitly to PIPE_FRMCOUNT_G4X

2024-06-04 Thread Jani Nikula
Avoid the implicit dev_priv local variable use, and pass dev_priv explicitly to the PIPE_FRMCOUNT_G4X register macro. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/display/intel_vblank.c | 2 +- drivers/gpu/drm/i915/gvt/display.c | 2 +- drivers/gpu/drm/i915/i915_reg.h

[PATCH 28/65] drm/i915: pass dev_priv explicitly to DSPFW3

2024-06-04 Thread Jani Nikula
Avoid the implicit dev_priv local variable use, and pass dev_priv explicitly to the DSPFW3 register macro. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/display/i9xx_wm.c| 27 ++- .../drm/i915/display/intel_display_debugfs.c | 2 +-

[PATCH 27/65] drm/i915: pass dev_priv explicitly to DSPFW2

2024-06-04 Thread Jani Nikula
Avoid the implicit dev_priv local variable use, and pass dev_priv explicitly to the DSPFW2 register macro. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/display/i9xx_wm.c | 13 +++-- drivers/gpu/drm/i915/i915_reg.h| 2 +- 2 files changed, 8 insertions(+), 7 deletions(-)

[PATCH 26/65] drm/i915: pass dev_priv explicitly to DSPFW1

2024-06-04 Thread Jani Nikula
Avoid the implicit dev_priv local variable use, and pass dev_priv explicitly to the DSPFW1 register macro. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/display/i9xx_wm.c | 25 + drivers/gpu/drm/i915/i915_reg.h| 2 +- 2 files changed, 14 insertions(+), 13

[PATCH 25/65] drm/i915: pass dev_priv explicitly to DSPARB

2024-06-04 Thread Jani Nikula
Avoid the implicit dev_priv local variable use, and pass dev_priv explicitly to the DSPARB register macro. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/display/i9xx_wm.c | 22 -- drivers/gpu/drm/i915/i915_reg.h| 2 +- drivers/gpu/drm/i915/i915_suspend.c|

[PATCH 24/65] drm/i915: pass dev_priv explicitly to ICL_PIPESTATUS

2024-06-04 Thread Jani Nikula
Avoid the implicit dev_priv local variable use, and pass dev_priv explicitly to the ICL_PIPESTATUS register macro. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/display/intel_fifo_underrun.c | 9 ++--- drivers/gpu/drm/i915/i915_reg.h| 2 +- 2 files changed, 7

[PATCH 23/65] drm/i915: pass dev_priv explicitly to PIPE_ARB_CTL

2024-06-04 Thread Jani Nikula
Avoid the implicit dev_priv local variable use, and pass dev_priv explicitly to the PIPE_ARB_CTL register macro. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/display/intel_display.c | 2 +- drivers/gpu/drm/i915/i915_reg.h | 2 +- 2 files changed, 2 insertions(+), 2

[PATCH 22/65] drm/i915: pass dev_priv explicitly to PIPESTAT

2024-06-04 Thread Jani Nikula
Avoid the implicit dev_priv local variable use, and pass dev_priv explicitly to the PIPESTAT register macro. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/display/intel_display_irq.c | 9 + drivers/gpu/drm/i915/display/intel_fifo_underrun.c | 4 ++--

[PATCH 21/65] drm/i915: pass dev_priv explicitly to PIPEFRAMEPIXEL

2024-06-04 Thread Jani Nikula
Avoid the implicit dev_priv local variable use, and pass dev_priv explicitly to the PIPEFRAMEPIXEL register macro. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/display/intel_vblank.c | 4 ++-- drivers/gpu/drm/i915/i915_reg.h | 2 +- 2 files changed, 3 insertions(+), 3

[PATCH 18/65] drm/i915: pass dev_priv explicitly to TRANSCONF

2024-06-04 Thread Jani Nikula
Avoid the implicit dev_priv local variable use, and pass dev_priv explicitly to the TRANSCONF register macro. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/display/icl_dsi.c| 12 +++-- drivers/gpu/drm/i915/display/intel_crt.c | 11 ++--

[PATCH 20/65] drm/i915: pass dev_priv explicitly to PIPEFRAME

2024-06-04 Thread Jani Nikula
Avoid the implicit dev_priv local variable use, and pass dev_priv explicitly to the PIPEFRAME register macro. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/display/intel_vblank.c | 3 ++- drivers/gpu/drm/i915/i915_reg.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-)

[PATCH 19/65] drm/i915: pass dev_priv explicitly to PIPEDSL

2024-06-04 Thread Jani Nikula
Avoid the implicit dev_priv local variable use, and pass dev_priv explicitly to the PIPEDSL register macro. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/display/intel_crt.c| 6 +++--- drivers/gpu/drm/i915/display/intel_hdmi.c | 3 ++- drivers/gpu/drm/i915/display/intel_vblank.c | 7

[PATCH 16/65] drm/i915: pass dev_priv explicitly to PFIT_PGM_RATIOS

2024-06-04 Thread Jani Nikula
Avoid the implicit dev_priv local variable use, and pass dev_priv explicitly to the PFIT_PGM_RATIOS register macro. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/display/intel_display.c | 4 ++-- drivers/gpu/drm/i915/display/intel_overlay.c | 5 +++-- drivers/gpu/drm/i915/i915_reg.h

[PATCH 17/65] drm/i915: pass dev_priv explicitly to PFIT_AUTO_RATIOS

2024-06-04 Thread Jani Nikula
Avoid the implicit dev_priv local variable use, and pass dev_priv explicitly to the PFIT_AUTO_RATIOS register macro. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/display/intel_overlay.c | 3 ++- drivers/gpu/drm/i915/i915_reg.h | 2 +- 2 files changed, 3 insertions(+), 2

[PATCH 15/65] drm/i915: pass dev_priv explicitly to PFIT_CONTROL

2024-06-04 Thread Jani Nikula
Avoid the implicit dev_priv local variable use, and pass dev_priv explicitly to the PFIT_CONTROL register macro. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/display/intel_display.c | 11 ++- drivers/gpu/drm/i915/display/intel_lvds.c| 2 +-

[PATCH 14/65] drm/i915: pass dev_priv explicitly to PORT_HOTPLUG_STAT

2024-06-04 Thread Jani Nikula
Avoid the implicit dev_priv local variable use, and pass dev_priv explicitly to the PORT_HOTPLUG_STAT register macro. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/display/g4x_dp.c| 2 +- drivers/gpu/drm/i915/display/intel_crt.c | 5 +++--

[PATCH 13/65] drm/i915: pass dev_priv explicitly to PORT_HOTPLUG_EN

2024-06-04 Thread Jani Nikula
Avoid the implicit dev_priv local variable use, and pass dev_priv explicitly to the PORT_HOTPLUG_EN register macro. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/display/intel_crt.c | 2 +- drivers/gpu/drm/i915/display/intel_hotplug_irq.c | 3 ++- drivers/gpu/drm/i915/i915_reg.h

Re: [PATCH] drm/i915/gt: Fix potential UAF by revoke of fence registers

2024-06-04 Thread Janusz Krzysztofik
Hi Andi, Thanks for review. On Tuesday, 4 June 2024 02:48:43 GMT+2 Andi Shyti wrote: > Hi Janusz, > > On Mon, Jun 03, 2024 at 09:54:45PM +0200, Janusz Krzysztofik wrote: > > CI has been sporadically reporting the following issue triggered by > > igt@i915_selftest@live@hangcheck on ADL-P and

[PATCH 12/65] drm/i915: pass dev_priv explicitly to TRANS_MULT

2024-06-04 Thread Jani Nikula
Avoid the implicit dev_priv local variable use, and pass dev_priv explicitly to the TRANS_MULT register macro. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/display/intel_display.c | 4 ++-- drivers/gpu/drm/i915/i915_reg.h | 2 +- drivers/gpu/drm/i915/intel_gvt_mmio_table.c

[PATCH 10/65] drm/i915: pass dev_priv explicitly to TRANS_VSYNCSHIFT

2024-06-04 Thread Jani Nikula
Avoid the implicit dev_priv local variable use, and pass dev_priv explicitly to the TRANS_VSYNCSHIFT register macro. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/display/icl_dsi.c | 3 ++- drivers/gpu/drm/i915/display/intel_display.c | 3 ++-

[PATCH 11/65] drm/i915: pass dev_priv explicitly to PIPESRC

2024-06-04 Thread Jani Nikula
Avoid the implicit dev_priv local variable use, and pass dev_priv explicitly to the PIPESRC register macro. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/display/i9xx_plane.c| 2 +- drivers/gpu/drm/i915/display/intel_display.c | 6 +++--- drivers/gpu/drm/i915/gvt/fb_decoder.c|

[PATCH 08/65] drm/i915: pass dev_priv explicitly to TRANS_VSYNC

2024-06-04 Thread Jani Nikula
Avoid the implicit dev_priv local variable use, and pass dev_priv explicitly to the TRANS_VSYNC register macro. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/display/icl_dsi.c | 3 ++- drivers/gpu/drm/i915/display/intel_crt.c | 3 ++-

[PATCH 09/65] drm/i915: pass dev_priv explicitly to BCLRPAT

2024-06-04 Thread Jani Nikula
Avoid the implicit dev_priv local variable use, and pass dev_priv explicitly to the BCLRPAT register macro. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/display/intel_crt.c | 10 ++ drivers/gpu/drm/i915/display/intel_display.c | 2 +- drivers/gpu/drm/i915/i915_reg.h

[PATCH 07/65] drm/i915: pass dev_priv explicitly to TRANS_VBLANK

2024-06-04 Thread Jani Nikula
Avoid the implicit dev_priv local variable use, and pass dev_priv explicitly to the TRANS_VBLANK register macro. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/display/icl_dsi.c | 3 ++- drivers/gpu/drm/i915/display/intel_crt.c | 10 +++---

[PATCH 06/65] drm/i915: pass dev_priv explicitly to TRANS_VTOTAL

2024-06-04 Thread Jani Nikula
Avoid the implicit dev_priv local variable use, and pass dev_priv explicitly to the TRANS_VTOTAL register macro. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/display/icl_dsi.c | 2 +- drivers/gpu/drm/i915/display/intel_crt.c | 3 ++-

[PATCH 05/65] drm/i915: pass dev_priv explicitly to TRANS_HSYNC

2024-06-04 Thread Jani Nikula
Avoid the implicit dev_priv local variable use, and pass dev_priv explicitly to the TRANS_HSYNC register macro. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/display/icl_dsi.c | 3 ++- drivers/gpu/drm/i915/display/intel_display.c | 6 +++---

[PATCH 04/65] drm/i915: pass dev_priv explicitly to TRANS_HBLANK

2024-06-04 Thread Jani Nikula
Avoid the implicit dev_priv local variable use, and pass dev_priv explicitly to the TRANS_HBLANK register macro. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/display/intel_display.c | 7 --- drivers/gpu/drm/i915/display/intel_pch_display.c | 2 +- drivers/gpu/drm/i915/i915_reg.h

Re: [PATCH v1 1/1] treewide: Align match_string() with sysfs_match_string()

2024-06-04 Thread Daniel Bristot de Oliveira
On 6/2/24 17:57, Andy Shevchenko wrote: > diff --git a/kernel/trace/trace_osnoise.c b/kernel/trace/trace_osnoise.c > index a8e28f9b9271..7bed499effd3 100644 > --- a/kernel/trace/trace_osnoise.c > +++ b/kernel/trace/trace_osnoise.c > @@ -2230,9 +2230,9 @@ static ssize_t osnoise_options_write(struct

[PATCH 01/65] drm/i915: pass dev_priv explicitly to DPLL

2024-06-04 Thread Jani Nikula
Avoid the implicit dev_priv local variable use, and pass dev_priv explicitly to the DPLL register macro. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/display/intel_display.c | 21 - .../drm/i915/display/intel_display_power.c| 2 +-

[PATCH 02/65] drm/i915: pass dev_priv explicitly to DPLL_MD

2024-06-04 Thread Jani Nikula
Avoid the implicit dev_priv local variable use, and pass dev_priv explicitly to the DPLL_MD register macro. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/display/intel_dpll.c | 18 +++--- drivers/gpu/drm/i915/i915_reg.h | 2 +- 2 files changed, 12 insertions(+), 8

[PATCH 03/65] drm/i915: pass dev_priv explicitly to TRANS_HTOTAL

2024-06-04 Thread Jani Nikula
Avoid the implicit dev_priv local variable use, and pass dev_priv explicitly to the TRANS_HTOTAL register macro. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/display/icl_dsi.c | 2 +- drivers/gpu/drm/i915/display/intel_display.c | 6 +++---

[PATCH v1 1/1] treewide: Align match_string() with sysfs_match_string()

2024-06-04 Thread Andy Shevchenko
Make two APIs look similar. Hence convert match_string() to be a 2-argument macro. In order to avoid unneeded churn, convert all users as well. There is no functional change intended. Signed-off-by: Andy Shevchenko --- Compile tested with `make allyesconfig` and `make allmodconfig` on x86_64,

Re: [PATCH v1 1/1] treewide: Align match_string() with sysfs_match_string()

2024-06-04 Thread Damien Le Moal
On 6/3/24 00:57, Andy Shevchenko wrote: > Make two APIs look similar. Hence convert match_string() to be > a 2-argument macro. In order to avoid unneeded churn, convert > all users as well. There is no functional change intended. > > Signed-off-by: Andy Shevchenko > --- [...] > diff --git

Re: [PATCH v1 1/1] treewide: Align match_string() with sysfs_match_string()

2024-06-04 Thread Heiko Stübner
Am Sonntag, 2. Juni 2024, 17:57:12 CEST schrieb Andy Shevchenko: > Make two APIs look similar. Hence convert match_string() to be > a 2-argument macro. In order to avoid unneeded churn, convert > all users as well. There is no functional change intended. > > Signed-off-by: Andy Shevchenko > ---

Re: [PATCH v1 1/1] treewide: Align match_string() with sysfs_match_string()

2024-06-04 Thread Sakari Ailus
Hi Andy, On Sun, Jun 02, 2024 at 06:57:12PM +0300, Andy Shevchenko wrote: > diff --git a/drivers/acpi/scan.c b/drivers/acpi/scan.c > index 503773707e01..9cb350de30f0 100644 > --- a/drivers/acpi/scan.c > +++ b/drivers/acpi/scan.c > @@ -798,7 +798,7 @@ static bool acpi_info_matches_ids(struct

Re: [PATCH v1 1/1] treewide: Align match_string() with sysfs_match_string()

2024-06-04 Thread Bjorn Helgaas
On Sun, Jun 02, 2024 at 06:57:12PM +0300, Andy Shevchenko wrote: > Make two APIs look similar. Hence convert match_string() to be > a 2-argument macro. In order to avoid unneeded churn, convert > all users as well. There is no functional change intended. Looks nice, thanks for doing this. > diff

Re: [PATCH v1 1/1] treewide: Align match_string() with sysfs_match_string()

2024-06-04 Thread Wolfram Sang
On Sun, Jun 02, 2024 at 06:57:12PM +0300, Andy Shevchenko wrote: > Make two APIs look similar. Hence convert match_string() to be > a 2-argument macro. In order to avoid unneeded churn, convert > all users as well. There is no functional change intended. > > Signed-off-by: Andy Shevchenko

Re: [PATCH v1 1/1] treewide: Align match_string() with sysfs_match_string()

2024-06-04 Thread Andi Shyti
Hi Andy, On Sun, Jun 02, 2024 at 06:57:12PM +0300, Andy Shevchenko wrote: > Make two APIs look similar. Hence convert match_string() to be > a 2-argument macro. In order to avoid unneeded churn, convert > all users as well. There is no functional change intended. > > Signed-off-by: Andy

Re: [PATCH v1 1/1] treewide: Align match_string() with sysfs_match_string()

2024-06-04 Thread Vinod Koul
On 02-06-24, 18:57, Andy Shevchenko wrote: > Make two APIs look similar. Hence convert match_string() to be > a 2-argument macro. In order to avoid unneeded churn, convert > all users as well. There is no functional change intended. > .. > drivers/phy/mediatek/phy-mtk-tphy.c | 8

Re: [PATCH v1 1/1] treewide: Align match_string() with sysfs_match_string()

2024-06-04 Thread Zhihao Cheng
在 2024/6/2 23:57, Andy Shevchenko 写道: Make two APIs look similar. Hence convert match_string() to be a 2-argument macro. In order to avoid unneeded churn, convert all users as well. There is no functional change intended. Signed-off-by: Andy Shevchenko --- Compile tested with `make

Re: [PATCH v1 1/1] treewide: Align match_string() with sysfs_match_string()

2024-06-04 Thread Jani Nikula
On Sun, 02 Jun 2024, Andy Shevchenko wrote: > Make two APIs look similar. Hence convert match_string() to be > a 2-argument macro. In order to avoid unneeded churn, convert > all users as well. There is no functional change intended. Why do we think it's a good idea to increase and normalize the

[PATCH 00/65] drm/i915: finish the job of removing implicit dev_priv

2024-06-04 Thread Jani Nikula
Rip the band-aid. Finish the job of removing implicit dev_priv usage. It's a lot, but it's straightforward. BR, Jani. Jani Nikula (65): drm/i915: pass dev_priv explicitly to DPLL drm/i915: pass dev_priv explicitly to DPLL_MD drm/i915: pass dev_priv explicitly to TRANS_HTOTAL drm/i915:

[PULL] drm-xe-fixes

2024-06-04 Thread Thomas Hellstrom
Dave and Sima, A single fix for a missing Local Memory Translation Table update for -rc3. Thanks, Thomas drm-xe-fixes-2024-06-04: Driver Changes: - drm/xe/pf: Update the LMTT when freeing VF GT config The following changes since commit 6c5cd0807c79eb4c0cda70b48f6be668a241d584: drm/xe:

Re: ✗ Fi.CI.IGT: failure for drm/i915/gt: Fix potential UAF by revoke of fence registers

2024-06-04 Thread Janusz Krzysztofik
On Tuesday, 4 June 2024 12:01:43 GMT+2 Patchwork wrote: > == Series Details == > > Series: drm/i915/gt: Fix potential UAF by revoke of fence registers > URL : https://patchwork.freedesktop.org/series/134411/ > State : failure > > == Summary == > > CI Bug Log - changes from CI_DRM_14870_full

✓ Fi.CI.BAT: success for drm/i915/display/bmg: Add platform descriptor

2024-06-04 Thread Patchwork
== Series Details == Series: drm/i915/display/bmg: Add platform descriptor URL : https://patchwork.freedesktop.org/series/134448/ State : success == Summary == CI Bug Log - changes from CI_DRM_14870 -> Patchwork_134448v1 Summary ---

✗ Fi.CI.SPARSE: warning for drm/i915/display/bmg: Add platform descriptor

2024-06-04 Thread Patchwork
== Series Details == Series: drm/i915/display/bmg: Add platform descriptor URL : https://patchwork.freedesktop.org/series/134448/ State : warning == Summary == Error: dim sparse failed Sparse version: v0.6.2 Fast mode used, each commit won't be checked separately.

  1   2   >