Re: [Intel-gfx] [PATCH 1/3] drm: Add Adaptive Sync SDP logging

2023-11-23 Thread kernel test robot
Hi Mitul,

kernel test robot noticed the following build warnings:

[auto build test WARNING on drm-tip/drm-tip]

url:
https://github.com/intel-lab-lkp/linux/commits/Mitul-Golani/drm-Add-Adaptive-Sync-SDP-logging/20231123-220931
base:   git://anongit.freedesktop.org/drm/drm-tip drm-tip
patch link:
https://lore.kernel.org/r/20231123140244.4183869-2-mitulkumar.ajitkumar.golani%40intel.com
patch subject: [Intel-gfx] [PATCH 1/3] drm: Add Adaptive Sync SDP logging
config: x86_64-allyesconfig 
(https://download.01.org/0day-ci/archive/20231124/202311241251.zxizrjrp-...@intel.com/config)
compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git 
ae42196bc493ffe877a7e3dff8be32035dea4d07)
reproduce (this is a W=1 build): 
(https://download.01.org/0day-ci/archive/20231124/202311241251.zxizrjrp-...@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot 
| Closes: 
https://lore.kernel.org/oe-kbuild-all/202311241251.zxizrjrp-...@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/gpu/drm/display/drm_dp_helper.c:2927:36: warning: format specifies 
>> type 'char *' but the argument has type 'u16' (aka 'unsigned short') 
>> [-Wformat]
   DP_SDP_LOG("target_rr: %s\n", async->target_rr);
  ~~ ^~~~
  %hu
   drivers/gpu/drm/display/drm_dp_helper.c:2923:60: note: expanded from macro 
'DP_SDP_LOG'
   #define DP_SDP_LOG(fmt, ...) dev_printk(level, dev, fmt, ##__VA_ARGS__)
   ~~~^~~
   include/linux/dev_printk.h:129:34: note: expanded from macro 'dev_printk'
   _dev_printk(level, dev, fmt, ##__VA_ARGS__);\
   ~~~^~~
   1 warning generated.


vim +2927 drivers/gpu/drm/display/drm_dp_helper.c

  2919  
  2920  void drm_dp_as_sdp_log(const char *level, struct device *dev,
  2921 const struct drm_dp_as_sdp *async)
  2922  {
  2923  #define DP_SDP_LOG(fmt, ...) dev_printk(level, dev, fmt, ##__VA_ARGS__)
  2924  DP_SDP_LOG("DP SDP: %s, revision %u, length %u\n", "VSC",
  2925 async->revision, async->length);
  2926  DP_SDP_LOG("vmin: %d vmax: %d\n", async->vmin, async->vmax);
> 2927  DP_SDP_LOG("target_rr: %s\n", async->target_rr);
  2928  DP_SDP_LOG("duration_incr_ms: %u\n", 
async->duration_incr_ms);
  2929  DP_SDP_LOG("duration_decr_ms: %u\n", 
async->duration_decr_ms);
  2930  DP_SDP_LOG("operation_mode: %u\n", async->operation_mode);
  2931  #undef DP_SDP_LOG
  2932  }
  2933  EXPORT_SYMBOL(drm_dp_as_sdp_log);
  2934  

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki


Re: [Intel-gfx] [PATCH] drm/i915/irq: Improve error logging for unexpected DE Misc interrupts

2023-11-23 Thread Borah, Chaitanya Kumar
> -Original Message-
> From: Intel-gfx  On Behalf Of Rahul
> Rameshbabu
> Sent: Thursday, November 23, 2023 11:27 PM
> To: intel-gfx@lists.freedesktop.org
> Cc: Nikula, Jani ; dri-de...@lists.freedesktop.org;
> Rahul Rameshbabu 
> Subject: [Intel-gfx] [PATCH] drm/i915/irq: Improve error logging for
> unexpected DE Misc interrupts
> 
> Dump the iir value in hex when the interrupt is unexpected.
> 
> Link: https://gitlab.freedesktop.org/drm/intel/-/issues/9652#note_2178501
> Cc: Jani Nikula 
> Signed-off-by: Rahul Rameshbabu 
> ---
>  drivers/gpu/drm/i915/display/intel_display_irq.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/i915/display/intel_display_irq.c
> b/drivers/gpu/drm/i915/display/intel_display_irq.c
> index bff4a76310c0..1a5a9e0fc01e 100644
> --- a/drivers/gpu/drm/i915/display/intel_display_irq.c
> +++ b/drivers/gpu/drm/i915/display/intel_display_irq.c
> @@ -896,7 +896,7 @@ gen8_de_misc_irq_handler(struct drm_i915_private
> *dev_priv, u32 iir)
>   }
> 
>   if (!found)
> - drm_err(_priv->drm, "Unexpected DE Misc
> interrupt\n");
> + drm_err(_priv->drm, "Unexpected DE Misc interrupt:
> %#x\n", iir);

Nit: It could use a format specifier like "0x%08x" (like other instances in the 
file) to maintain uniform width.

Other than that. LGTM.

Reviewed-by: Chaitanya Kumar Borah 


>  }
> 
>  static void gen11_dsi_te_interrupt_handler(struct drm_i915_private
> *dev_priv,
> --
> 2.40.1
> 



[Intel-gfx] [PATCH] drm/i915/display: do not use cursor size reduction on MTL

2023-11-23 Thread Andrzej Hajda
Cursor size reduction is not supported since MTL.

Signed-off-by: Andrzej Hajda 
---
 drivers/gpu/drm/i915/display/intel_display_device.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/display/intel_display_device.h 
b/drivers/gpu/drm/i915/display/intel_display_device.h
index 4299cc452e0504..6610d73f55e6c4 100644
--- a/drivers/gpu/drm/i915/display/intel_display_device.h
+++ b/drivers/gpu/drm/i915/display/intel_display_device.h
@@ -36,7 +36,7 @@ struct drm_printer;
 #define HAS_ASYNC_FLIPS(i915)  (DISPLAY_VER(i915) >= 5)
 #define HAS_CDCLK_CRAWL(i915)  (DISPLAY_INFO(i915)->has_cdclk_crawl)
 #define HAS_CDCLK_SQUASH(i915) (DISPLAY_INFO(i915)->has_cdclk_squash)
-#define HAS_CUR_FBC(i915)  (!HAS_GMCH(i915) && DISPLAY_VER(i915) 
>= 7)
+#define HAS_CUR_FBC(i915)  (!HAS_GMCH(i915) && 
IS_DISPLAY_VER(i915, 7, 13))
 #define HAS_D12_PLANE_MINIMIZATION(i915) (IS_ROCKETLAKE(i915) || 
IS_ALDERLAKE_S(i915))
 #define HAS_DDI(i915)  (DISPLAY_INFO(i915)->has_ddi)
 #define HAS_DISPLAY(i915)  (DISPLAY_RUNTIME_INFO(i915)->pipe_mask 
!= 0)

---
base-commit: 94f973d8238e0d8fd1b0234f220783a1e346f60b
change-id: 20231124-cur_size_reduction-813979149f83

Best regards,
-- 
Andrzej Hajda 



Re: [Intel-gfx] [PATCH v2 0/4] eventfd: simplify signal helpers

2023-11-23 Thread Christian Brauner
On Wed, 22 Nov 2023 13:48:21 +0100, Christian Brauner wrote:
> Hey everyone,
> 
> This simplifies the eventfd_signal() and eventfd_signal_mask() helpers
> significantly. They can be made void and not take any unnecessary
> arguments.
> 
> I've added a few more simplifications based on Sean's suggestion.
> 
> [...]

Applied to the vfs.misc branch of the vfs/vfs.git tree.
Patches in the vfs.misc branch should appear in linux-next soon.

Please report any outstanding bugs that were missed during review in a
new review to the original patch series allowing us to drop it.

It's encouraged to provide Acked-bys and Reviewed-bys even though the
patch has now been applied. If possible patch trailers will be updated.

Note that commit hashes shown below are subject to change due to rebase,
trailer updates or similar. If in doubt, please check the listed branch.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git
branch: vfs.misc

[1/4] i915: make inject_virtual_interrupt() void
  https://git.kernel.org/vfs/vfs/c/858848719210
[2/4] eventfd: simplify eventfd_signal()
  https://git.kernel.org/vfs/vfs/c/ded0f31f825f
[3/4] eventfd: simplify eventfd_signal_mask()
  https://git.kernel.org/vfs/vfs/c/45ee1c990e88
[4/4] eventfd: make eventfd_signal{_mask}() void
  https://git.kernel.org/vfs/vfs/c/37d5d473e749


Re: [Intel-gfx] [PATCH 1/3] drm: Add Adaptive Sync SDP logging

2023-11-23 Thread kernel test robot
Hi Mitul,

kernel test robot noticed the following build warnings:

[auto build test WARNING on drm-tip/drm-tip]

url:
https://github.com/intel-lab-lkp/linux/commits/Mitul-Golani/drm-Add-Adaptive-Sync-SDP-logging/20231123-220931
base:   git://anongit.freedesktop.org/drm/drm-tip drm-tip
patch link:
https://lore.kernel.org/r/20231123140244.4183869-2-mitulkumar.ajitkumar.golani%40intel.com
patch subject: [Intel-gfx] [PATCH 1/3] drm: Add Adaptive Sync SDP logging
config: x86_64-defconfig 
(https://download.01.org/0day-ci/archive/20231124/202311241136.tl5styqx-...@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-12) 11.3.0
reproduce (this is a W=1 build): 
(https://download.01.org/0day-ci/archive/20231124/202311241136.tl5styqx-...@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot 
| Closes: 
https://lore.kernel.org/oe-kbuild-all/202311241136.tl5styqx-...@intel.com/

All warnings (new ones prefixed by >>):

   In file included from include/linux/device.h:15,
from include/linux/backlight.h:12,
from drivers/gpu/drm/display/drm_dp_helper.c:23:
   drivers/gpu/drm/display/drm_dp_helper.c: In function 'drm_dp_as_sdp_log':
>> drivers/gpu/drm/display/drm_dp_helper.c:2927:20: warning: format '%s' 
>> expects argument of type 'char *', but argument 4 has type 'int' [-Wformat=]
2927 | DP_SDP_LOG("target_rr: %s\n", async->target_rr);
 |^  
 ||
 |int
   include/linux/dev_printk.h:129:41: note: in definition of macro 'dev_printk'
 129 | _dev_printk(level, dev, fmt, ##__VA_ARGS__); 
   \
 | ^~~
   drivers/gpu/drm/display/drm_dp_helper.c:2927:9: note: in expansion of macro 
'DP_SDP_LOG'
2927 | DP_SDP_LOG("target_rr: %s\n", async->target_rr);
 | ^~
   drivers/gpu/drm/display/drm_dp_helper.c:2927:37: note: format string is 
defined here
2927 | DP_SDP_LOG("target_rr: %s\n", async->target_rr);
 |~^
 | |
 | char *
 |%d


vim +2927 drivers/gpu/drm/display/drm_dp_helper.c

  2919  
  2920  void drm_dp_as_sdp_log(const char *level, struct device *dev,
  2921 const struct drm_dp_as_sdp *async)
  2922  {
  2923  #define DP_SDP_LOG(fmt, ...) dev_printk(level, dev, fmt, ##__VA_ARGS__)
  2924  DP_SDP_LOG("DP SDP: %s, revision %u, length %u\n", "VSC",
  2925 async->revision, async->length);
  2926  DP_SDP_LOG("vmin: %d vmax: %d\n", async->vmin, async->vmax);
> 2927  DP_SDP_LOG("target_rr: %s\n", async->target_rr);
  2928  DP_SDP_LOG("duration_incr_ms: %u\n", 
async->duration_incr_ms);
  2929  DP_SDP_LOG("duration_decr_ms: %u\n", 
async->duration_decr_ms);
  2930  DP_SDP_LOG("operation_mode: %u\n", async->operation_mode);
  2931  #undef DP_SDP_LOG
  2932  }
  2933  EXPORT_SYMBOL(drm_dp_as_sdp_log);
  2934  

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki


[Intel-gfx] ✓ Fi.CI.IGT: success for series starting with [v2,1/1] drm/i915/pxp: Add missing tag for Wa_14019159160

2023-11-23 Thread Patchwork
== Series Details ==

Series: series starting with [v2,1/1] drm/i915/pxp: Add missing tag for 
Wa_14019159160
URL   : https://patchwork.freedesktop.org/series/126784/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_13913_full -> Patchwork_126784v1_full


Summary
---

  **SUCCESS**

  No regressions found.

  External URL: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126784v1/index.html

Participating hosts (10 -> 10)
--

  No changes in participating hosts

Known issues


  Here are the changes found in Patchwork_126784v1_full that come from known 
issues:

### IGT changes ###

 Issues hit 

  * igt@drm_fdinfo@all-busy-check-all:
- shard-mtlp: NOTRUN -> [SKIP][1] ([i915#8414]) +8 other tests skip
   [1]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126784v1/shard-mtlp-7/igt@drm_fdi...@all-busy-check-all.html

  * igt@drm_fdinfo@most-busy-idle-check-all@vecs1:
- shard-dg2:  NOTRUN -> [SKIP][2] ([i915#8414]) +20 other tests skip
   [2]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126784v1/shard-dg2-11/igt@drm_fdinfo@most-busy-idle-check-...@vecs1.html

  * igt@gem_caching@reads:
- shard-mtlp: NOTRUN -> [SKIP][3] ([i915#4873])
   [3]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126784v1/shard-mtlp-8/igt@gem_cach...@reads.html

  * igt@gem_ccs@ctrl-surf-copy-new-ctx:
- shard-mtlp: NOTRUN -> [SKIP][4] ([i915#9323])
   [4]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126784v1/shard-mtlp-7/igt@gem_...@ctrl-surf-copy-new-ctx.html

  * igt@gem_create@create-ext-cpu-access-sanity-check:
- shard-mtlp: NOTRUN -> [SKIP][5] ([i915#6335])
   [5]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126784v1/shard-mtlp-6/igt@gem_cre...@create-ext-cpu-access-sanity-check.html

  * igt@gem_ctx_exec@basic-nohangcheck:
- shard-tglu: [PASS][6] -> [FAIL][7] ([i915#6268])
   [6]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13913/shard-tglu-8/igt@gem_ctx_e...@basic-nohangcheck.html
   [7]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126784v1/shard-tglu-7/igt@gem_ctx_e...@basic-nohangcheck.html

  * igt@gem_ctx_exec@basic-norecovery:
- shard-mtlp: [PASS][8] -> [ABORT][9] ([i915#9414])
   [8]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13913/shard-mtlp-2/igt@gem_ctx_e...@basic-norecovery.html
   [9]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126784v1/shard-mtlp-7/igt@gem_ctx_e...@basic-norecovery.html

  * igt@gem_ctx_persistence@file:
- shard-snb:  NOTRUN -> [SKIP][10] ([fdo#109271] / [i915#1099])
   [10]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126784v1/shard-snb5/igt@gem_ctx_persiste...@file.html

  * igt@gem_ctx_persistence@heartbeat-hang:
- shard-dg2:  NOTRUN -> [SKIP][11] ([i915#8555]) +3 other tests skip
   [11]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126784v1/shard-dg2-6/igt@gem_ctx_persiste...@heartbeat-hang.html
- shard-mtlp: NOTRUN -> [SKIP][12] ([i915#8555])
   [12]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126784v1/shard-mtlp-7/igt@gem_ctx_persiste...@heartbeat-hang.html

  * igt@gem_ctx_sseu@invalid-args:
- shard-mtlp: NOTRUN -> [SKIP][13] ([i915#280])
   [13]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126784v1/shard-mtlp-7/igt@gem_ctx_s...@invalid-args.html

  * igt@gem_ctx_sseu@invalid-sseu:
- shard-dg2:  NOTRUN -> [SKIP][14] ([i915#280]) +1 other test skip
   [14]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126784v1/shard-dg2-10/igt@gem_ctx_s...@invalid-sseu.html

  * igt@gem_eio@unwedge-stress:
- shard-dg1:  [PASS][15] -> [FAIL][16] ([i915#5784])
   [15]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13913/shard-dg1-16/igt@gem_...@unwedge-stress.html
   [16]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126784v1/shard-dg1-15/igt@gem_...@unwedge-stress.html

  * igt@gem_exec_balancer@bonded-pair:
- shard-mtlp: NOTRUN -> [SKIP][17] ([i915#4771])
   [17]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126784v1/shard-mtlp-6/igt@gem_exec_balan...@bonded-pair.html

  * igt@gem_exec_endless@dispatch@bcs0:
- shard-dg2:  [PASS][18] -> [TIMEOUT][19] ([i915#3778] / 
[i915#7016])
   [18]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13913/shard-dg2-6/igt@gem_exec_endless@dispa...@bcs0.html
   [19]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126784v1/shard-dg2-10/igt@gem_exec_endless@dispa...@bcs0.html

  * igt@gem_exec_fair@basic-none:
- shard-mtlp: NOTRUN -> [SKIP][20] ([i915#4473] / [i915#4771]) +2 
other tests skip
   [20]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126784v1/shard-mtlp-8/igt@gem_exec_f...@basic-none.html

  * igt@gem_exec_fair@basic-sync:
- shard-dg2:  NOTRUN -> [SKIP][21] ([i915#3539]) +1 other test skip
   [21]: 

[Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915/pxp: Add drm_dbgs for critical PXP events. (rev6)

2023-11-23 Thread Patchwork
== Series Details ==

Series: drm/i915/pxp: Add drm_dbgs for critical PXP events. (rev6)
URL   : https://patchwork.freedesktop.org/series/123803/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_13912_full -> Patchwork_123803v6_full


Summary
---

  **SUCCESS**

  No regressions found.

  

Participating hosts (10 -> 10)
--

  No changes in participating hosts

Possible new issues
---

  Here are the unknown changes that may have been introduced in 
Patchwork_123803v6_full:

### IGT changes ###

 Suppressed 

  The following results come from untrusted machines, tests, or statuses.
  They do not affect the overall result.

  * {igt@kms_dirtyfb@fbc-dirtyfb-ioctl@a-hdmi-a-3}:
- shard-dg1:  NOTRUN -> [SKIP][1]
   [1]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_123803v6/shard-dg1-12/igt@kms_dirtyfb@fbc-dirtyfb-io...@a-hdmi-a-3.html

  
Known issues


  Here are the changes found in Patchwork_123803v6_full that come from known 
issues:

### CI changes ###

 Issues hit 

  * boot:
- shard-glk:  ([PASS][2], [PASS][3], [PASS][4], [PASS][5], 
[PASS][6], [PASS][7], [PASS][8], [PASS][9], [PASS][10], [PASS][11], [PASS][12], 
[PASS][13], [PASS][14], [PASS][15], [PASS][16], [PASS][17], [PASS][18], 
[PASS][19], [PASS][20], [PASS][21], [PASS][22], [PASS][23], [PASS][24], 
[PASS][25], [PASS][26]) -> ([PASS][27], [PASS][28], [PASS][29], [PASS][30], 
[PASS][31], [PASS][32], [PASS][33], [PASS][34], [PASS][35], [PASS][36], 
[PASS][37], [PASS][38], [PASS][39], [PASS][40], [PASS][41], [PASS][42], 
[PASS][43], [PASS][44], [PASS][45], [PASS][46], [PASS][47], [PASS][48], 
[PASS][49], [FAIL][50], [PASS][51]) ([i915#8293])
   [2]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk7/boot.html
   [3]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk1/boot.html
   [4]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk1/boot.html
   [5]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk1/boot.html
   [6]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk2/boot.html
   [7]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk2/boot.html
   [8]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk2/boot.html
   [9]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk3/boot.html
   [10]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk3/boot.html
   [11]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk3/boot.html
   [12]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk9/boot.html
   [13]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk9/boot.html
   [14]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk4/boot.html
   [15]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk4/boot.html
   [16]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk4/boot.html
   [17]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk5/boot.html
   [18]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk5/boot.html
   [19]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk5/boot.html
   [20]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk6/boot.html
   [21]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk9/boot.html
   [22]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk6/boot.html
   [23]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk8/boot.html
   [24]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk8/boot.html
   [25]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk8/boot.html
   [26]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk6/boot.html
   [27]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_123803v6/shard-glk9/boot.html
   [28]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_123803v6/shard-glk9/boot.html
   [29]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_123803v6/shard-glk9/boot.html
   [30]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_123803v6/shard-glk1/boot.html
   [31]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_123803v6/shard-glk2/boot.html
   [32]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_123803v6/shard-glk8/boot.html
   [33]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_123803v6/shard-glk2/boot.html
   [34]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_123803v6/shard-glk2/boot.html
   [35]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_123803v6/shard-glk8/boot.html
   [36]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_123803v6/shard-glk3/boot.html
   [37]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_123803v6/shard-glk3/boot.html
   [38]: 

[Intel-gfx] ✓ Fi.CI.IGT: success for series starting with [1/4] drm/i915/psr: Don't send a NULL VSC SDP

2023-11-23 Thread Patchwork
== Series Details ==

Series: series starting with [1/4] drm/i915/psr: Don't send a NULL VSC SDP
URL   : https://patchwork.freedesktop.org/series/126779/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_13912_full -> Patchwork_126779v1_full


Summary
---

  **SUCCESS**

  No regressions found.

  

Participating hosts (10 -> 10)
--

  No changes in participating hosts

Known issues


  Here are the changes found in Patchwork_126779v1_full that come from known 
issues:

### CI changes ###

 Issues hit 

  * boot:
- shard-glk:  ([PASS][1], [PASS][2], [PASS][3], [PASS][4], 
[PASS][5], [PASS][6], [PASS][7], [PASS][8], [PASS][9], [PASS][10], [PASS][11], 
[PASS][12], [PASS][13], [PASS][14], [PASS][15], [PASS][16], [PASS][17], 
[PASS][18], [PASS][19], [PASS][20], [PASS][21], [PASS][22], [PASS][23], 
[PASS][24], [PASS][25]) -> ([FAIL][26], [PASS][27], [PASS][28], [PASS][29], 
[PASS][30], [PASS][31], [PASS][32], [PASS][33], [PASS][34], [PASS][35], 
[PASS][36], [PASS][37], [PASS][38], [PASS][39], [PASS][40], [PASS][41], 
[PASS][42], [FAIL][43], [PASS][44], [PASS][45], [PASS][46], [PASS][47], 
[PASS][48], [PASS][49], [PASS][50]) ([i915#8293])
   [1]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk7/boot.html
   [2]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk1/boot.html
   [3]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk1/boot.html
   [4]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk1/boot.html
   [5]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk2/boot.html
   [6]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk2/boot.html
   [7]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk2/boot.html
   [8]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk3/boot.html
   [9]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk3/boot.html
   [10]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk3/boot.html
   [11]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk9/boot.html
   [12]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk9/boot.html
   [13]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk4/boot.html
   [14]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk4/boot.html
   [15]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk4/boot.html
   [16]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk5/boot.html
   [17]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk5/boot.html
   [18]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk5/boot.html
   [19]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk6/boot.html
   [20]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk9/boot.html
   [21]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk6/boot.html
   [22]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk8/boot.html
   [23]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk8/boot.html
   [24]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk8/boot.html
   [25]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk6/boot.html
   [26]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126779v1/shard-glk1/boot.html
   [27]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126779v1/shard-glk1/boot.html
   [28]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126779v1/shard-glk2/boot.html
   [29]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126779v1/shard-glk2/boot.html
   [30]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126779v1/shard-glk2/boot.html
   [31]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126779v1/shard-glk2/boot.html
   [32]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126779v1/shard-glk3/boot.html
   [33]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126779v1/shard-glk3/boot.html
   [34]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126779v1/shard-glk3/boot.html
   [35]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126779v1/shard-glk4/boot.html
   [36]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126779v1/shard-glk4/boot.html
   [37]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126779v1/shard-glk4/boot.html
   [38]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126779v1/shard-glk5/boot.html
   [39]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126779v1/shard-glk5/boot.html
   [40]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126779v1/shard-glk5/boot.html
   [41]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126779v1/shard-glk6/boot.html
   [42]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126779v1/shard-glk6/boot.html
   [43]: 

[Intel-gfx] ✓ Fi.CI.IGT: success for drm: Add support for atomic async page-flip

2023-11-23 Thread Patchwork
== Series Details ==

Series: drm: Add support for atomic async page-flip
URL   : https://patchwork.freedesktop.org/series/126776/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_13912_full -> Patchwork_126776v1_full


Summary
---

  **SUCCESS**

  No regressions found.

  

Participating hosts (10 -> 9)
--

  Missing(1): shard-mtlp0 

Known issues


  Here are the changes found in Patchwork_126776v1_full that come from known 
issues:

### CI changes ###

 Issues hit 

  * boot:
- shard-glk:  ([PASS][1], [PASS][2], [PASS][3], [PASS][4], 
[PASS][5], [PASS][6], [PASS][7], [PASS][8], [PASS][9], [PASS][10], [PASS][11], 
[PASS][12], [PASS][13], [PASS][14], [PASS][15], [PASS][16], [PASS][17], 
[PASS][18], [PASS][19], [PASS][20], [PASS][21], [PASS][22], [PASS][23], 
[PASS][24], [PASS][25]) -> ([PASS][26], [PASS][27], [PASS][28], [PASS][29], 
[PASS][30], [PASS][31], [PASS][32], [PASS][33], [FAIL][34], [PASS][35], 
[FAIL][36], [PASS][37], [PASS][38], [PASS][39], [PASS][40], [PASS][41], 
[PASS][42], [PASS][43], [PASS][44], [PASS][45], [PASS][46], [PASS][47], 
[PASS][48], [PASS][49], [PASS][50]) ([i915#8293])
   [1]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk7/boot.html
   [2]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk1/boot.html
   [3]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk1/boot.html
   [4]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk1/boot.html
   [5]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk2/boot.html
   [6]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk2/boot.html
   [7]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk2/boot.html
   [8]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk3/boot.html
   [9]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk3/boot.html
   [10]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk3/boot.html
   [11]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk9/boot.html
   [12]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk9/boot.html
   [13]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk4/boot.html
   [14]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk4/boot.html
   [15]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk4/boot.html
   [16]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk5/boot.html
   [17]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk5/boot.html
   [18]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk5/boot.html
   [19]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk6/boot.html
   [20]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk9/boot.html
   [21]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk6/boot.html
   [22]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk8/boot.html
   [23]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk8/boot.html
   [24]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk8/boot.html
   [25]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk6/boot.html
   [26]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126776v1/shard-glk9/boot.html
   [27]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126776v1/shard-glk9/boot.html
   [28]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126776v1/shard-glk9/boot.html
   [29]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126776v1/shard-glk8/boot.html
   [30]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126776v1/shard-glk8/boot.html
   [31]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126776v1/shard-glk8/boot.html
   [32]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126776v1/shard-glk7/boot.html
   [33]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126776v1/shard-glk7/boot.html
   [34]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126776v1/shard-glk7/boot.html
   [35]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126776v1/shard-glk6/boot.html
   [36]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126776v1/shard-glk6/boot.html
   [37]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126776v1/shard-glk5/boot.html
   [38]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126776v1/shard-glk5/boot.html
   [39]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126776v1/shard-glk4/boot.html
   [40]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126776v1/shard-glk4/boot.html
   [41]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126776v1/shard-glk4/boot.html
   [42]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126776v1/shard-glk3/boot.html
   [43]: 

[Intel-gfx] ✓ Fi.CI.IGT: success for eventfd: simplify signal helpers (rev2)

2023-11-23 Thread Patchwork
== Series Details ==

Series: eventfd: simplify signal helpers (rev2)
URL   : https://patchwork.freedesktop.org/series/120668/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_13912_full -> Patchwork_120668v2_full


Summary
---

  **SUCCESS**

  No regressions found.

  External URL: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_120668v2/index.html

Participating hosts (10 -> 11)
--

  Additional (1): shard-tglu0 

Possible new issues
---

  Here are the unknown changes that may have been introduced in 
Patchwork_120668v2_full:

### IGT changes ###

 Suppressed 

  The following results come from untrusted machines, tests, or statuses.
  They do not affect the overall result.

  * {igt@kms_dirtyfb@fbc-dirtyfb-ioctl@a-hdmi-a-3}:
- shard-dg1:  NOTRUN -> [SKIP][1]
   [1]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_120668v2/shard-dg1-12/igt@kms_dirtyfb@fbc-dirtyfb-io...@a-hdmi-a-3.html

  
Known issues


  Here are the changes found in Patchwork_120668v2_full that come from known 
issues:

### CI changes ###

 Issues hit 

  * boot:
- shard-glk:  ([PASS][2], [PASS][3], [PASS][4], [PASS][5], 
[PASS][6], [PASS][7], [PASS][8], [PASS][9], [PASS][10], [PASS][11], [PASS][12], 
[PASS][13], [PASS][14], [PASS][15], [PASS][16], [PASS][17], [PASS][18], 
[PASS][19], [PASS][20], [PASS][21], [PASS][22], [PASS][23], [PASS][24], 
[PASS][25], [PASS][26]) -> ([PASS][27], [PASS][28], [PASS][29], [PASS][30], 
[PASS][31], [PASS][32], [PASS][33], [PASS][34], [PASS][35], [PASS][36], 
[PASS][37], [PASS][38], [PASS][39], [PASS][40], [PASS][41], [PASS][42], 
[PASS][43], [PASS][44], [PASS][45], [PASS][46], [PASS][47], [PASS][48], 
[FAIL][49], [PASS][50]) ([i915#8293])
   [2]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk7/boot.html
   [3]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk1/boot.html
   [4]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk1/boot.html
   [5]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk1/boot.html
   [6]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk2/boot.html
   [7]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk2/boot.html
   [8]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk2/boot.html
   [9]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk3/boot.html
   [10]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk3/boot.html
   [11]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk3/boot.html
   [12]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk9/boot.html
   [13]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk9/boot.html
   [14]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk4/boot.html
   [15]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk4/boot.html
   [16]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk4/boot.html
   [17]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk5/boot.html
   [18]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk5/boot.html
   [19]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk5/boot.html
   [20]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk6/boot.html
   [21]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk9/boot.html
   [22]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk6/boot.html
   [23]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk8/boot.html
   [24]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk8/boot.html
   [25]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk8/boot.html
   [26]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk6/boot.html
   [27]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_120668v2/shard-glk9/boot.html
   [28]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_120668v2/shard-glk9/boot.html
   [29]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_120668v2/shard-glk9/boot.html
   [30]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_120668v2/shard-glk8/boot.html
   [31]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_120668v2/shard-glk8/boot.html
   [32]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_120668v2/shard-glk8/boot.html
   [33]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_120668v2/shard-glk7/boot.html
   [34]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_120668v2/shard-glk7/boot.html
   [35]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_120668v2/shard-glk7/boot.html
   [36]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_120668v2/shard-glk6/boot.html
   [37]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_120668v2/shard-glk6/boot.html
   [38]: 

Re: [Intel-gfx] linux-next: manual merge of the drm-intel tree with the amdgpu tree

2023-11-23 Thread Stephen Rothwell
Hi all,

On Mon, 20 Nov 2023 12:28:18 +1100 Stephen Rothwell  
wrote:
> 
> Today's linux-next merge of the drm-intel tree got a conflict in:
> 
>   drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c
> 
> between commits:
> 
>   a58555359a9f ("drm/amd/display: Fix DSC not Enabled on Direct MST Sink")
>   c29085d29562 ("drm/amd/display: Enable DSC Flag in MST Mode Validation")
> 
> from the amdgpu tree and commit:
> 
>   7707dd602259 ("drm/dp_mst: Fix fractional DSC bpp handling")
> 
> from the drm-intel tree.
> 
> I fixed it up (see below) and can carry the fix as necessary. This
> is now fixed as far as linux-next is concerned, but any non trivial
> conflicts should be mentioned to your upstream maintainer when your tree
> is submitted for merging.  You may also want to consider cooperating
> with the maintainer of the conflicting tree to minimise any particularly
> complex conflicts.
> 
> -- 
> Cheers,
> Stephen Rothwell
> 
> diff --cc drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c
> index 8d7d4024f285,2afd1bc74978..
> --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c
> +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c
> @@@ -1650,7 -1636,8 +1650,7 @@@ enum dc_status dm_dp_mst_is_port_suppor
>   } else {
>   /* check if mode could be supported within full_pbn */
>   bpp = 
> convert_dc_color_depth_into_bpc(stream->timing.display_color_depth) * 3;
> - pbn = drm_dp_calc_pbn_mode(stream->timing.pix_clk_100hz / 10, 
> bpp, false);
> + pbn = drm_dp_calc_pbn_mode(stream->timing.pix_clk_100hz / 10, 
> bpp << 4);
>  -
>   if (pbn > aconnector->mst_output_port->full_pbn)
>   return DC_FAIL_BANDWIDTH_VALIDATE;
>   }

This is now a conflict between the amdgpu tree and the drm tree.

-- 
Cheers,
Stephen Rothwell


pgpuNUXMyVsIW.pgp
Description: OpenPGP digital signature


[Intel-gfx] ✗ Fi.CI.IGT: failure for drm/i915/psr: Fix unsigned expression compared with zero

2023-11-23 Thread Patchwork
== Series Details ==

Series: drm/i915/psr: Fix unsigned expression compared with zero
URL   : https://patchwork.freedesktop.org/series/126748/
State : failure

== Summary ==

CI Bug Log - changes from CI_DRM_13912_full -> Patchwork_126748v1_full


Summary
---

  **FAILURE**

  Serious unknown changes coming with Patchwork_126748v1_full absolutely need 
to be
  verified manually.
  
  If you think the reported changes have nothing to do with the changes
  introduced in Patchwork_126748v1_full, please notify your bug team 
(lgci.bug.fil...@intel.com) to allow them
  to document this new failure mode, which will reduce false positives in CI.

  

Participating hosts (10 -> 10)
--

  No changes in participating hosts

Possible new issues
---

  Here are the unknown changes that may have been introduced in 
Patchwork_126748v1_full:

### IGT changes ###

 Possible regressions 

  * igt@gem_exec_suspend@basic-s0@lmem0:
- shard-dg2:  NOTRUN -> [INCOMPLETE][1]
   [1]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126748v1/shard-dg2-3/igt@gem_exec_suspend@basic...@lmem0.html

  
Known issues


  Here are the changes found in Patchwork_126748v1_full that come from known 
issues:

### CI changes ###

 Issues hit 

  * boot:
- shard-glk:  ([PASS][2], [PASS][3], [PASS][4], [PASS][5], 
[PASS][6], [PASS][7], [PASS][8], [PASS][9], [PASS][10], [PASS][11], [PASS][12], 
[PASS][13], [PASS][14], [PASS][15], [PASS][16], [PASS][17], [PASS][18], 
[PASS][19], [PASS][20], [PASS][21], [PASS][22], [PASS][23], [PASS][24], 
[PASS][25], [PASS][26]) -> ([PASS][27], [PASS][28], [PASS][29], [PASS][30], 
[PASS][31], [PASS][32], [PASS][33], [FAIL][34], [FAIL][35], [PASS][36], 
[PASS][37], [FAIL][38], [PASS][39], [PASS][40], [PASS][41], [PASS][42], 
[PASS][43], [PASS][44], [PASS][45], [PASS][46], [PASS][47], [PASS][48], 
[FAIL][49], [PASS][50], [FAIL][51]) ([i915#8293])
   [2]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk7/boot.html
   [3]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk1/boot.html
   [4]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk1/boot.html
   [5]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk1/boot.html
   [6]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk2/boot.html
   [7]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk2/boot.html
   [8]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk2/boot.html
   [9]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk3/boot.html
   [10]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk3/boot.html
   [11]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk3/boot.html
   [12]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk9/boot.html
   [13]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk9/boot.html
   [14]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk4/boot.html
   [15]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk4/boot.html
   [16]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk4/boot.html
   [17]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk5/boot.html
   [18]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk5/boot.html
   [19]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk5/boot.html
   [20]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk6/boot.html
   [21]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk9/boot.html
   [22]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk6/boot.html
   [23]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk8/boot.html
   [24]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk8/boot.html
   [25]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk8/boot.html
   [26]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13912/shard-glk6/boot.html
   [27]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126748v1/shard-glk9/boot.html
   [28]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126748v1/shard-glk9/boot.html
   [29]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126748v1/shard-glk9/boot.html
   [30]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126748v1/shard-glk8/boot.html
   [31]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126748v1/shard-glk8/boot.html
   [32]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126748v1/shard-glk8/boot.html
   [33]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126748v1/shard-glk7/boot.html
   [34]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126748v1/shard-glk7/boot.html
   [35]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126748v1/shard-glk6/boot.html
   [36]: 

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/irq: Improve error logging for unexpected DE Misc interrupts

2023-11-23 Thread Patchwork
== Series Details ==

Series: drm/i915/irq: Improve error logging for unexpected DE Misc interrupts
URL   : https://patchwork.freedesktop.org/series/126843/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_13918 -> Patchwork_126843v1


Summary
---

  **SUCCESS**

  No regressions found.

  External URL: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126843v1/index.html

Participating hosts (37 -> 34)
--

  Additional (1): fi-pnv-d510 
  Missing(4): bat-kbl-2 fi-elk-e7500 fi-snb-2520m fi-bsw-n3050 

Known issues


  Here are the changes found in Patchwork_126843v1 that come from known issues:

### IGT changes ###

 Issues hit 

  * igt@gem_exec_suspend@basic-s0@smem:
- bat-dg2-9:  [PASS][1] -> [INCOMPLETE][2] ([i915#8797] / 
[i915#9275])
   [1]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13918/bat-dg2-9/igt@gem_exec_suspend@basic...@smem.html
   [2]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126843v1/bat-dg2-9/igt@gem_exec_suspend@basic...@smem.html

  * igt@gem_lmem_swapping@basic:
- fi-pnv-d510:NOTRUN -> [SKIP][3] ([fdo#109271]) +25 other tests 
skip
   [3]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126843v1/fi-pnv-d510/igt@gem_lmem_swapp...@basic.html

  * igt@i915_module_load@load:
- bat-adlp-6: [PASS][4] -> [DMESG-WARN][5] ([i915#1982])
   [4]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13918/bat-adlp-6/igt@i915_module_l...@load.html
   [5]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126843v1/bat-adlp-6/igt@i915_module_l...@load.html

  
 Possible fixes 

  * igt@gem_exec_suspend@basic-s0@smem:
- bat-jsl-3:  [INCOMPLETE][6] ([i915#9275]) -> [PASS][7]
   [6]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13918/bat-jsl-3/igt@gem_exec_suspend@basic...@smem.html
   [7]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126843v1/bat-jsl-3/igt@gem_exec_suspend@basic...@smem.html

  * igt@i915_suspend@basic-s3-without-i915:
- bat-jsl-3:  [FAIL][8] ([fdo#103375]) -> [PASS][9]
   [8]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13918/bat-jsl-3/igt@i915_susp...@basic-s3-without-i915.html
   [9]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126843v1/bat-jsl-3/igt@i915_susp...@basic-s3-without-i915.html

  * igt@kms_pipe_crc_basic@hang-read-crc@pipe-c-dp-5:
- bat-adlp-11:[DMESG-WARN][10] ([i915#4309]) -> [PASS][11]
   [10]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13918/bat-adlp-11/igt@kms_pipe_crc_basic@hang-read-...@pipe-c-dp-5.html
   [11]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126843v1/bat-adlp-11/igt@kms_pipe_crc_basic@hang-read-...@pipe-c-dp-5.html

  
  {name}: This element is suppressed. This means it is ignored when computing
  the status of the difference (SUCCESS, WARNING, or FAILURE).

  [fdo#103375]: https://bugs.freedesktop.org/show_bug.cgi?id=103375
  [fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
  [i915#1982]: https://gitlab.freedesktop.org/drm/intel/issues/1982
  [i915#4309]: https://gitlab.freedesktop.org/drm/intel/issues/4309
  [i915#8797]: https://gitlab.freedesktop.org/drm/intel/issues/8797
  [i915#9275]: https://gitlab.freedesktop.org/drm/intel/issues/9275


Build changes
-

  * Linux: CI_DRM_13918 -> Patchwork_126843v1

  CI-20190529: 20190529
  CI_DRM_13918: 30646f42536dc0986ef8b5339d37a958d0358dab @ 
git://anongit.freedesktop.org/gfx-ci/linux
  IGT_7600: b889fd01780dc79f6fcc8545346c81f5c79f5efb @ 
https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
  Patchwork_126843v1: 30646f42536dc0986ef8b5339d37a958d0358dab @ 
git://anongit.freedesktop.org/gfx-ci/linux


### Linux commits

7310abb911b5 drm/i915/irq: Improve error logging for unexpected DE Misc 
interrupts

== Logs ==

For more details see: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126843v1/index.html


Re: [Intel-gfx] [PATCH v5 00/20] remove I2C_CLASS_DDC support

2023-11-23 Thread Wolfram Sang
On Thu, Nov 23, 2023 at 10:40:20AM +0100, Heiner Kallweit wrote:
> After removal of the legacy EEPROM driver and I2C_CLASS_DDC support in
> olpc_dcon there's no i2c client driver left supporting I2C_CLASS_DDC.
> Class-based device auto-detection is a legacy mechanism and shouldn't
> be used in new code. So we can remove this class completely now.
> 
> Preferably this series should be applied via the i2c tree.
> 
> v2:
> - change tag in commit subject of patch 03
> - add ack tags
> v3:
> - fix a compile error in patch 5
> v4:
> - more ack and review tags
> v5:
> - more acks
> 
> Signed-off-by: Heiner Kallweit 

I created an immutable branch for this which the buildbots will
hopefully check over night. I will reply with comments tomorrow when I
got the buildbot results.



signature.asc
Description: PGP signature


[Intel-gfx] ✗ Fi.CI.BAT: failure for Update vtotal based on closest possible panel timings

2023-11-23 Thread Patchwork
== Series Details ==

Series: Update vtotal based on closest possible panel timings
URL   : https://patchwork.freedesktop.org/series/126839/
State : failure

== Summary ==

CI Bug Log - changes from CI_DRM_13918 -> Patchwork_126839v1


Summary
---

  **FAILURE**

  Serious unknown changes coming with Patchwork_126839v1 absolutely need to be
  verified manually.
  
  If you think the reported changes have nothing to do with the changes
  introduced in Patchwork_126839v1, please notify your bug team 
(lgci.bug.fil...@intel.com) to allow them
  to document this new failure mode, which will reduce false positives in CI.

  External URL: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126839v1/index.html

Participating hosts (37 -> 37)
--

  Additional (2): bat-dg2-8 fi-pnv-d510 
  Missing(2): bat-kbl-2 fi-snb-2520m 

Possible new issues
---

  Here are the unknown changes that may have been introduced in 
Patchwork_126839v1:

### IGT changes ###

 Possible regressions 

  * igt@i915_selftest@live@reset:
- fi-apl-guc: [PASS][1] -> [DMESG-WARN][2] +36 other tests 
dmesg-warn
   [1]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13918/fi-apl-guc/igt@i915_selftest@l...@reset.html
   [2]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126839v1/fi-apl-guc/igt@i915_selftest@l...@reset.html

  
Known issues


  Here are the changes found in Patchwork_126839v1 that come from known issues:

### IGT changes ###

 Issues hit 

  * igt@gem_lmem_swapping@basic:
- fi-pnv-d510:NOTRUN -> [SKIP][3] ([fdo#109271]) +25 other tests 
skip
   [3]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126839v1/fi-pnv-d510/igt@gem_lmem_swapp...@basic.html

  * igt@gem_mmap@basic:
- bat-dg2-8:  NOTRUN -> [SKIP][4] ([i915#4083])
   [4]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126839v1/bat-dg2-8/igt@gem_m...@basic.html

  * igt@gem_mmap_gtt@basic:
- bat-dg2-8:  NOTRUN -> [SKIP][5] ([i915#4077]) +2 other tests skip
   [5]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126839v1/bat-dg2-8/igt@gem_mmap_...@basic.html

  * igt@gem_tiled_pread_basic:
- bat-dg2-8:  NOTRUN -> [SKIP][6] ([i915#4079]) +1 other test skip
   [6]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126839v1/bat-dg2-8/igt@gem_tiled_pread_basic.html

  * igt@i915_module_load@reload:
- fi-apl-guc: [PASS][7] -> [DMESG-WARN][8] ([i915#180] / 
[i915#1982] / [i915#8585])
   [7]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13918/fi-apl-guc/igt@i915_module_l...@reload.html
   [8]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126839v1/fi-apl-guc/igt@i915_module_l...@reload.html

  * igt@i915_pm_rpm@module-reload:
- fi-apl-guc: [PASS][9] -> [DMESG-WARN][10] ([i915#180] / 
[i915#8585]) +1 other test dmesg-warn
   [9]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13918/fi-apl-guc/igt@i915_pm_...@module-reload.html
   [10]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126839v1/fi-apl-guc/igt@i915_pm_...@module-reload.html

  * igt@i915_pm_rps@basic-api:
- bat-dg1-7:  NOTRUN -> [SKIP][11] ([i915#6621])
   [11]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126839v1/bat-dg1-7/igt@i915_pm_...@basic-api.html
- bat-dg2-8:  NOTRUN -> [SKIP][12] ([i915#6621])
   [12]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126839v1/bat-dg2-8/igt@i915_pm_...@basic-api.html

  * igt@i915_suspend@basic-s3-without-i915:
- bat-dg2-8:  NOTRUN -> [SKIP][13] ([i915#6645])
   [13]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126839v1/bat-dg2-8/igt@i915_susp...@basic-s3-without-i915.html

  * igt@kms_addfb_basic@addfb25-y-tiled-small-legacy:
- bat-dg2-8:  NOTRUN -> [SKIP][14] ([i915#5190])
   [14]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126839v1/bat-dg2-8/igt@kms_addfb_ba...@addfb25-y-tiled-small-legacy.html

  * igt@kms_addfb_basic@basic-y-tiled-legacy:
- bat-dg2-8:  NOTRUN -> [SKIP][15] ([i915#4215] / [i915#5190])
   [15]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126839v1/bat-dg2-8/igt@kms_addfb_ba...@basic-y-tiled-legacy.html

  * igt@kms_addfb_basic@framebuffer-vs-set-tiling:
- bat-dg2-8:  NOTRUN -> [SKIP][16] ([i915#4212]) +6 other tests skip
   [16]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126839v1/bat-dg2-8/igt@kms_addfb_ba...@framebuffer-vs-set-tiling.html

  * igt@kms_addfb_basic@tile-pitch-mismatch:
- bat-dg2-8:  NOTRUN -> [SKIP][17] ([i915#4212] / [i915#5608])
   [17]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126839v1/bat-dg2-8/igt@kms_addfb_ba...@tile-pitch-mismatch.html

  * igt@kms_cursor_legacy@basic-busy-flip-before-cursor-legacy:
- bat-dg2-8:  NOTRUN -> [SKIP][18] ([i915#4103] / [i915#4213] / 
[i915#5608]) +1 other test skip
   [18]: 

[Intel-gfx] ✗ Fi.CI.BAT: failure for Enable Adaptive Sync SDP Support for DP

2023-11-23 Thread Patchwork
== Series Details ==

Series: Enable Adaptive Sync SDP Support for DP
URL   : https://patchwork.freedesktop.org/series/126829/
State : failure

== Summary ==

CI Bug Log - changes from CI_DRM_13917 -> Patchwork_126829v1


Summary
---

  **FAILURE**

  Serious unknown changes coming with Patchwork_126829v1 absolutely need to be
  verified manually.
  
  If you think the reported changes have nothing to do with the changes
  introduced in Patchwork_126829v1, please notify your bug team 
(lgci.bug.fil...@intel.com) to allow them
  to document this new failure mode, which will reduce false positives in CI.

  External URL: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126829v1/index.html

Participating hosts (37 -> 36)
--

  Additional (1): fi-pnv-d510 
  Missing(2): bat-kbl-2 fi-snb-2520m 

Possible new issues
---

  Here are the unknown changes that may have been introduced in 
Patchwork_126829v1:

### IGT changes ###

 Possible regressions 

  * igt@i915_selftest@live@client:
- bat-mtlp-6: [PASS][1] -> [INCOMPLETE][2]
   [1]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13917/bat-mtlp-6/igt@i915_selftest@l...@client.html
   [2]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126829v1/bat-mtlp-6/igt@i915_selftest@l...@client.html

  * igt@i915_selftest@live@gt_timelines:
- bat-atsm-1: [PASS][3] -> [TIMEOUT][4]
   [3]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13917/bat-atsm-1/igt@i915_selftest@live@gt_timelines.html
   [4]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126829v1/bat-atsm-1/igt@i915_selftest@live@gt_timelines.html

  * igt@i915_suspend@basic-s2idle-without-i915:
- bat-atsm-1: [PASS][5] -> [WARN][6]
   [5]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13917/bat-atsm-1/igt@i915_susp...@basic-s2idle-without-i915.html
   [6]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126829v1/bat-atsm-1/igt@i915_susp...@basic-s2idle-without-i915.html

  
Known issues


  Here are the changes found in Patchwork_126829v1 that come from known issues:

### IGT changes ###

 Issues hit 

  * igt@gem_lmem_swapping@basic:
- fi-pnv-d510:NOTRUN -> [SKIP][7] ([fdo#109271]) +25 other tests 
skip
   [7]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126829v1/fi-pnv-d510/igt@gem_lmem_swapp...@basic.html

  * igt@kms_pipe_crc_basic@nonblocking-crc-frame-sequence:
- bat-dg2-11: NOTRUN -> [SKIP][8] ([i915#1845] / [i915#9197]) +3 
other tests skip
   [8]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126829v1/bat-dg2-11/igt@kms_pipe_crc_ba...@nonblocking-crc-frame-sequence.html

  * igt@kms_pipe_crc_basic@read-crc-frame-sequence@pipe-d-edp-1:
- bat-rplp-1: [PASS][9] -> [ABORT][10] ([i915#8668])
   [9]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13917/bat-rplp-1/igt@kms_pipe_crc_basic@read-crc-frame-seque...@pipe-d-edp-1.html
   [10]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126829v1/bat-rplp-1/igt@kms_pipe_crc_basic@read-crc-frame-seque...@pipe-d-edp-1.html

  
 Possible fixes 

  * igt@gem_exec_suspend@basic-s0@lmem0:
- bat-dg2-9:  [INCOMPLETE][11] ([i915#9275]) -> [PASS][12]
   [11]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13917/bat-dg2-9/igt@gem_exec_suspend@basic...@lmem0.html
   [12]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126829v1/bat-dg2-9/igt@gem_exec_suspend@basic...@lmem0.html

  * igt@kms_flip@basic-flip-vs-wf_vblank@d-dp5:
- bat-adlp-11:[DMESG-WARN][13] ([i915#6868]) -> [PASS][14]
   [13]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13917/bat-adlp-11/igt@kms_flip@basic-flip-vs-wf_vbl...@d-dp5.html
   [14]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126829v1/bat-adlp-11/igt@kms_flip@basic-flip-vs-wf_vbl...@d-dp5.html

  
  {name}: This element is suppressed. This means it is ignored when computing
  the status of the difference (SUCCESS, WARNING, or FAILURE).

  [fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
  [i915#1845]: https://gitlab.freedesktop.org/drm/intel/issues/1845
  [i915#6868]: https://gitlab.freedesktop.org/drm/intel/issues/6868
  [i915#8668]: https://gitlab.freedesktop.org/drm/intel/issues/8668
  [i915#9197]: https://gitlab.freedesktop.org/drm/intel/issues/9197
  [i915#9275]: https://gitlab.freedesktop.org/drm/intel/issues/9275


Build changes
-

  * Linux: CI_DRM_13917 -> Patchwork_126829v1

  CI-20190529: 20190529
  CI_DRM_13917: e8f02d065ade740b7f56a134f6113e2777b5d11a @ 
git://anongit.freedesktop.org/gfx-ci/linux
  IGT_7600: b889fd01780dc79f6fcc8545346c81f5c79f5efb @ 
https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
  Patchwork_126829v1: e8f02d065ade740b7f56a134f6113e2777b5d11a @ 
git://anongit.freedesktop.org/gfx-ci/linux


### Linux commits

3abbe93e5b93 drm/i915/display/:Compute and enable daptive Sync SDP
2f4eb53e3034 

[Intel-gfx] ✗ Fi.CI.SPARSE: warning for Enable Adaptive Sync SDP Support for DP

2023-11-23 Thread Patchwork
== Series Details ==

Series: Enable Adaptive Sync SDP Support for DP
URL   : https://patchwork.freedesktop.org/series/126829/
State : warning

== Summary ==

Error: dim sparse failed
Sparse version: v0.6.2
Fast mode used, each commit won't be checked separately.




Re: [Intel-gfx] [PATCH v2 0/4] eventfd: simplify signal helpers

2023-11-23 Thread Jens Axboe
On 11/22/23 5:48 AM, Christian Brauner wrote:
> Hey everyone,
> 
> This simplifies the eventfd_signal() and eventfd_signal_mask() helpers
> significantly. They can be made void and not take any unnecessary
> arguments.
> 
> I've added a few more simplifications based on Sean's suggestion.
> 
> Signed-off-by: Christian Brauner 
> 
> Changes in v2:
> - further simplify helpers
> - Link to v1: 
> https://lore.kernel.org/r/20230713-vfs-eventfd-signal-v1-0-7fda6c5d2...@kernel.org

Only oddity I spotted was the kerneldoc, which someone else already
brought up.

Reviewed-by: Jens Axboe 

-- 
Jens Axboe



Re: [Intel-gfx] [PULL] drm-misc-next

2023-11-23 Thread Daniel Vetter
On Thu, Nov 23, 2023 at 01:58:50PM +0100, Maxime Ripard wrote:
> Hi,
> 
> Here's this week drm-misc-next PR.
> 
> It's been fairly calm, but there's one big change: the IMG GPU driver is
> now merged!
> 
> Maxime
> 
> drm-misc-next-2023-11-23:
> drm-misc-next for 6.8:
> 
> UAPI Changes:
> 
> Cross-subsystem Changes:
> 
> Core Changes:
>   - Drop deprecated drm_kms_helper.edid_firmware module parameter
> 
> Driver Changes:
>   - Convert platform drivers remove callback to return void
>   - imagination: Introduction of the Imagination GPU Support
>   - rockchip:
> - rk3066_hdmi: Convert to atomic
> - vop2: Support NV20 and NV30
>   - panel:
> - elida-kd35t133: PM reworks
> - New panels: Powkiddy RK2023
> The following changes since commit 3b434a3445fff3149128db0169da864d67057325:
> 
>   accel/ivpu: Use threaded IRQ to handle JOB done messages (2023-11-16 
> 13:41:49 +0100)
> 
> are available in the Git repository at:
> 
>   git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-2023-11-23

Merged to drm-next, thanks.
-Sima

> 
> for you to fetch changes up to 815d8b0425ad1164e45953ac3d56a9f6f63792cc:
> 
>   drm/imagination: Add driver documentation (2023-11-23 09:01:47 +0100)
> 
> 
> drm-misc-next for 6.8:
> 
> UAPI Changes:
> 
> Cross-subsystem Changes:
> 
> Core Changes:
>   - Drop deprecated drm_kms_helper.edid_firmware module parameter
> 
> Driver Changes:
>   - Convert platform drivers remove callback to return void
>   - imagination: Introduction of the Imagination GPU Support
>   - rockchip:
> - rk3066_hdmi: Convert to atomic
> - vop2: Support NV20 and NV30
>   - panel:
> - elida-kd35t133: PM reworks
> - New panels: Powkiddy RK2023
> 
> 
> Abhinav Singh (1):
>   drm/nouveau/fence:: fix warning directly dereferencing a rcu pointer
> 
> Arnd Bergmann (1):
>   drm/rockchip: rk3066_hdmi: include drm/drm_atomic.h
> 
> Chris Morgan (8):
>   dt-bindings: display: nv3051d: Update NewVision NV3051D compatibles
>   drm/panel: nv3051d: Hold panel in reset for unprepare
>   drm/panel: nv3051d: Add Powkiddy RK2023 Panel Support
>   drm/panel-elida-kd35t133: trival: update panel size from 5.5 to 3.5
>   drm/panel-elida-kd35t133: hold panel in reset for unprepare
>   drm/panel-elida-kd35t133: drop drm_connector_set_orientation_from_panel
>   drm/panel-elida-kd35t133: Drop shutdown logic
>   drm/panel-elida-kd35t133: Drop prepare/unprepare logic
> 
> Donald Robson (2):
>   drm/gpuvm: Helper to get range of unmap from a remap op.
>   drm/imagination: Add GEM and VM related code
> 
> Jani Nikula (1):
>   drm/edid/firmware: drop drm_kms_helper.edid_firmware backward compat
> 
> Jeffrey Hugo (1):
>   accel/qaic: Update MAX_ORDER use to be inclusive
> 
> Johan Jonker (2):
>   drm/rockchip: rk3066_hdmi: Remove useless mode_fixup
>   drm/rockchip: rk3066_hdmi: Switch encoder hooks to atomic
> 
> Jonas Karlman (1):
>   drm/rockchip: vop2: Add NV20 and NV30 support
> 
> Kees Cook (1):
>   dma-buf: Replace strlcpy() with strscpy()
> 
> Luben Tuikov (1):
>   drm/print: Handle NULL drm device in __drm_printk()
> 
> Matt Coster (1):
>   sizes.h: Add entries between SZ_32G and SZ_64T
> 
> Richard Acayan (1):
>   fbdev/simplefb: Suppress error on missing power domains
> 
> Sarah Walker (17):
>   dt-bindings: gpu: Add Imagination Technologies PowerVR/IMG GPU
>   drm/imagination/uapi: Add PowerVR driver UAPI
>   drm/imagination: Add skeleton PowerVR driver
>   drm/imagination: Get GPU resources
>   drm/imagination: Add GPU register headers
>   drm/imagination: Add firmware and MMU related headers
>   drm/imagination: Add FWIF headers
>   drm/imagination: Add GPU ID parsing and firmware loading
>   drm/imagination: Implement power management
>   drm/imagination: Implement firmware infrastructure and META FW support
>   drm/imagination: Implement MIPS firmware processor and MMU support
>   drm/imagination: Implement free list and HWRT create and destroy ioctls
>   drm/imagination: Implement context creation/destruction ioctls
>   drm/imagination: Implement job submission and scheduling
>   drm/imagination: Add firmware trace header
>   drm/imagination: Add firmware trace to debugfs
>   drm/imagination: Add driver documentation
> 
> Tomi Valkeinen (1):
>   drm/tilcdc: Fix irq free on unload
> 
> Uwe Kleine-König (14):
>   drm/bridge: tpd12s015: Drop buggy __exit annotation for remove function
>   drm/arcpgu: Convert to platform remove callback returning void
>   drm/armada: Convert to platform remove callback returning void
>   drm/bridge: cdns-mhdp8546: Improve error reporting in remove callback
>   drm/bridge: cdns-mhdp8546: Convert to platform remove callback 
> returning void
>   drm/bridge: 

Re: [Intel-gfx] [PULL] drm-intel-next

2023-11-23 Thread Daniel Vetter
On Thu, Nov 23, 2023 at 09:03:59PM +0200, Jani Nikula wrote:
> 
> Hi Dave & Sima -
> 
> The first i915 feature pull towards v6.8.
> 
> The one thing to single out are the major DP MST, UHBR, and DSC
> bandwidth management improvements from Imre.
> 
> Alas, they also need to be singled out because there are a number of
> updates in drm core and other drivers merged via drm-intel-next that
> will conflict with drm-next. Nothing that wasn't acked or discussed
> before, but maybe this time we erred a bit on the side of too much.
> 
> BR,
> Jani.
> 
> 
> drm-intel-next-2023-11-23:
> drm/i915 feature pull for v6.8:
> 
> Features and functionality:
> - Major DP MST improvements on bandwidth management, DSC (Imre, Stan, Ville)
> - DP panel replay enabling (Animesh, Jouni)
> - MTL C20 phy state verification (Mika)
> - MTL DP DSC fractional bpp support (Ankit, Vandita, Swati, Imre)
> - Audio fastset support (Ville)
> 
> Refactoring and cleanups:
> - Use dma fence interfaces instead of i915_sw_fence (Jouni)
> - Separate gem and display code (Jouni, Juha-Pekka)
> - AUX register macro refactoring (Jani)
> - Separate display module/device parameters from the rest (Jouni)
> - Move display capabilities debugfs under display (Vinod)
> - Makefile cleanup (Jani)
> - Register cleanups (Ville)
> - Enginer iterator cleanups (Tvrtko)
> - Move display lock inits under display/ (Jani)
> - VLV/CHV DPIO PHY register and interface refactoring (Jani)
> - DSI VBT sequence refactoring (Jani, Andy Shevchenko)
> - C10/C20 PHY PLL hardware readout and calculation abstractions (Lucas)
> - DPLL code cleanups (Ville)
> - Cleanup PXP plane protection checks (Jani)
> 
> Fixes:
> - Replace VLV/CHV DSI GPIO direct access with proper GPIO API usage (Andy 
> Shevchenko)
> - Fix VLV/CHV DSI GPIO wrong initial value (Hans de Goede)
> - Fix UHBR data, link M/N/TU and PBN values (Imre)
> - Fix HDCP state on an enable/disable cycle (Suraj)
> - Fix DP MST modeset sequence to be according to spec (Ville)
> - Improved atomicity for multi-pipe commits (Ville)
> - Update URLs in i915 MAINTAINERS entry and code (Jani)
> - Check for VGA converter presence in eDP probe (Ville)
> - Fix surface size checks (Ville)
> - Fix LNL port/phy assignment (Lucas)
> - Reset C10/C20 message bus harder to avoid sporadic failures (Mika)
> - Fix bogus VBT HDMI level shift on BDW (Ville)
> - Add workaround for LNL underruns when enabling FBC (Vinod)
> - DSB refactoring (Animesh)
> - DPT refactoring (Juha-Pekka)
> - Disable DSC on DP MST on ICL (Imre)
> - Fix PSR VSC packet setup timing (Mika)
> - Fix LUT rounding and conversions (Ville)
> 
> DRM core display changes:
> - DP MST fixes, helpers, refactoring to support bandwidth management (Imre)
> - DP MST PBN divider value refactoring and fixes (Imre)
> - DPCD register definitions (Ankit, Imre)
> - Add helper to get DSC bpp precision (Ankit)
> - Fix color LUT rounding (Ville)
> 
> BR,
> Jani.
> 
> The following changes since commit 213c43676beb5f5a63cb27a0c8e8e71035b08445:
> 
>   drm/i915/mtl: Remove the 'force_probe' requirement for Meteor Lake 
> (2023-10-18 06:23:41 +0200)
> 
> are available in the Git repository at:
> 
>   git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-next-2023-11-23

Merged to drm-next, thanks.
-Sima

> 
> for you to fetch changes up to deac453244d309ad7a94d0501eb5e0f9d8d1f1df:
> 
>   drm/i915: Fix glk+ degamma LUT conversions (2023-11-23 15:11:47 +0200)
> 
> 
> drm/i915 feature pull for v6.8:
> 
> Features and functionality:
> - Major DP MST improvements on bandwidth management, DSC (Imre, Stan, Ville)
> - DP panel replay enabling (Animesh, Jouni)
> - MTL C20 phy state verification (Mika)
> - MTL DP DSC fractional bpp support (Ankit, Vandita, Swati, Imre)
> - Audio fastset support (Ville)
> 
> Refactoring and cleanups:
> - Use dma fence interfaces instead of i915_sw_fence (Jouni)
> - Separate gem and display code (Jouni, Juha-Pekka)
> - AUX register macro refactoring (Jani)
> - Separate display module/device parameters from the rest (Jouni)
> - Move display capabilities debugfs under display (Vinod)
> - Makefile cleanup (Jani)
> - Register cleanups (Ville)
> - Enginer iterator cleanups (Tvrtko)
> - Move display lock inits under display/ (Jani)
> - VLV/CHV DPIO PHY register and interface refactoring (Jani)
> - DSI VBT sequence refactoring (Jani, Andy Shevchenko)
> - C10/C20 PHY PLL hardware readout and calculation abstractions (Lucas)
> - DPLL code cleanups (Ville)
> - Cleanup PXP plane protection checks (Jani)
> 
> Fixes:
> - Replace VLV/CHV DSI GPIO direct access with proper GPIO API usage (Andy 
> Shevchenko)
> - Fix VLV/CHV DSI GPIO wrong initial value (Hans de Goede)
> - Fix UHBR data, link M/N/TU and PBN values (Imre)
> - Fix HDCP state on an enable/disable cycle (Suraj)
> - Fix DP MST modeset sequence to be according to spec (Ville)
> - Improved atomicity for multi-pipe commits (Ville)
> - Update URLs in i915 MAINTAINERS 

[Intel-gfx] ✓ Fi.CI.BAT: success for Prepare intel_fb for Xe (rev7)

2023-11-23 Thread Patchwork
== Series Details ==

Series: Prepare intel_fb for Xe (rev7)
URL   : https://patchwork.freedesktop.org/series/126507/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_13917 -> Patchwork_126507v7


Summary
---

  **SUCCESS**

  No regressions found.

  External URL: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126507v7/index.html

Participating hosts (37 -> 36)
--

  Additional (1): fi-pnv-d510 
  Missing(2): bat-kbl-2 fi-snb-2520m 

Known issues


  Here are the changes found in Patchwork_126507v7 that come from known issues:

### IGT changes ###

 Issues hit 

  * igt@gem_lmem_swapping@basic:
- fi-pnv-d510:NOTRUN -> [SKIP][1] ([fdo#109271]) +25 other tests 
skip
   [1]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126507v7/fi-pnv-d510/igt@gem_lmem_swapp...@basic.html

  * igt@kms_pipe_crc_basic@read-crc-frame-sequence@pipe-d-edp-1:
- bat-rplp-1: [PASS][2] -> [ABORT][3] ([i915#8668])
   [2]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13917/bat-rplp-1/igt@kms_pipe_crc_basic@read-crc-frame-seque...@pipe-d-edp-1.html
   [3]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126507v7/bat-rplp-1/igt@kms_pipe_crc_basic@read-crc-frame-seque...@pipe-d-edp-1.html

  
 Possible fixes 

  * igt@gem_exec_suspend@basic-s0@lmem0:
- bat-dg2-9:  [INCOMPLETE][4] ([i915#9275]) -> [PASS][5]
   [4]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13917/bat-dg2-9/igt@gem_exec_suspend@basic...@lmem0.html
   [5]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126507v7/bat-dg2-9/igt@gem_exec_suspend@basic...@lmem0.html

  * igt@kms_flip@basic-flip-vs-wf_vblank@d-dp5:
- bat-adlp-11:[DMESG-WARN][6] ([i915#6868]) -> [PASS][7]
   [6]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13917/bat-adlp-11/igt@kms_flip@basic-flip-vs-wf_vbl...@d-dp5.html
   [7]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126507v7/bat-adlp-11/igt@kms_flip@basic-flip-vs-wf_vbl...@d-dp5.html

  
  {name}: This element is suppressed. This means it is ignored when computing
  the status of the difference (SUCCESS, WARNING, or FAILURE).

  [fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
  [i915#6868]: https://gitlab.freedesktop.org/drm/intel/issues/6868
  [i915#8668]: https://gitlab.freedesktop.org/drm/intel/issues/8668
  [i915#9275]: https://gitlab.freedesktop.org/drm/intel/issues/9275


Build changes
-

  * Linux: CI_DRM_13917 -> Patchwork_126507v7

  CI-20190529: 20190529
  CI_DRM_13917: e8f02d065ade740b7f56a134f6113e2777b5d11a @ 
git://anongit.freedesktop.org/gfx-ci/linux
  IGT_7600: b889fd01780dc79f6fcc8545346c81f5c79f5efb @ 
https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
  Patchwork_126507v7: e8f02d065ade740b7f56a134f6113e2777b5d11a @ 
git://anongit.freedesktop.org/gfx-ci/linux


### Linux commits

c3cb7c41407b drm/i915/display: Split i915 specific code away from intel_fb.c
18bf8509e0d2 drm/i915/display: Handle invalid fb_modifier in 
intel_fb_modifier_to_tiling
1a8e4e80487f drm/i915/display: Convert intel_fb_modifier_to_tiling as non-static
0ebc9a9b09cf drm/i915/display: use intel_bo_to_drm_bo in intel_fb.c

== Logs ==

For more details see: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126507v7/index.html


[Intel-gfx] ✗ Fi.CI.SPARSE: warning for Prepare intel_fb for Xe (rev7)

2023-11-23 Thread Patchwork
== Series Details ==

Series: Prepare intel_fb for Xe (rev7)
URL   : https://patchwork.freedesktop.org/series/126507/
State : warning

== Summary ==

Error: dim sparse failed
Sparse version: v0.6.2
Fast mode used, each commit won't be checked separately.
+./arch/x86/include/asm/bitops.h:116:1: warning: unreplaced symbol 'return'
+./arch/x86/include/asm/bitops.h:116:1: warning: unreplaced symbol 'return'
+./arch/x86/include/asm/bitops.h:116:1: warning: unreplaced symbol 'return'
+./arch/x86/include/asm/bitops.h:116:1: warning: unreplaced symbol 'return'
+./arch/x86/include/asm/bitops.h:116:1: warning: unreplaced symbol 'return'
+./arch/x86/include/asm/bitops.h:116:1: warning: unreplaced symbol 'return'
+./arch/x86/include/asm/bitops.h:116:1: warning: unreplaced symbol 'return'
+./arch/x86/include/asm/bitops.h:116:1: warning: unreplaced symbol 'return'
+./arch/x86/include/asm/bitops.h:116:1: warning: unreplaced symbol 'return'
+./arch/x86/include/asm/bitops.h:116:1: warning: unreplaced symbol 'return'
+./arch/x86/include/asm/bitops.h:116:1: warning: unreplaced symbol 'return'
+./arch/x86/include/asm/bitops.h:116:1: warning: unreplaced symbol 'return'
+./arch/x86/include/asm/bitops.h:116:1: warning: unreplaced symbol 'return'
+./arch/x86/include/asm/bitops.h:116:1: warning: unreplaced symbol 'return'
+./arch/x86/include/asm/bitops.h:116:1: warning: unreplaced symbol 'return'
+./arch/x86/include/asm/bitops.h:147:1: warning: unreplaced symbol 'return'
+./arch/x86/include/asm/bitops.h:147:1: warning: unreplaced symbol 'return'
+./arch/x86/include/asm/bitops.h:147:1: warning: unreplaced symbol 'return'
+./arch/x86/include/asm/bitops.h:147:1: warning: unreplaced symbol 'return'
+./arch/x86/include/asm/bitops.h:147:1: warning: unreplaced symbol 'return'
+./arch/x86/include/asm/bitops.h:147:1: warning: unreplaced symbol 'return'
+./arch/x86/include/asm/bitops.h:147:1: warning: unreplaced symbol 'return'
+./arch/x86/include/asm/bitops.h:147:1: warning: unreplaced symbol 'return'
+./arch/x86/include/asm/bitops.h:147:1: warning: unreplaced symbol 'return'
+./arch/x86/include/asm/bitops.h:147:1: warning: unreplaced symbol 'return'
+./arch/x86/include/asm/bitops.h:147:1: warning: unreplaced symbol 'return'
+./arch/x86/include/asm/bitops.h:147:1: warning: unreplaced symbol 'return'
+./arch/x86/include/asm/bitops.h:147:1: warning: unreplaced symbol 'return'
+./arch/x86/include/asm/bitops.h:147:1: warning: unreplaced symbol 'return'
+./arch/x86/include/asm/bitops.h:147:1: warning: unreplaced symbol 'return'
+./arch/x86/include/asm/bitops.h:149:9: warning: unreplaced symbol 'oldbit'
+./arch/x86/include/asm/bitops.h:149:9: warning: unreplaced symbol 'oldbit'
+./arch/x86/include/asm/bitops.h:149:9: warning: unreplaced symbol 'oldbit'
+./arch/x86/include/asm/bitops.h:149:9: warning: unreplaced symbol 'oldbit'
+./arch/x86/include/asm/bitops.h:149:9: warning: unreplaced symbol 'oldbit'
+./arch/x86/include/asm/bitops.h:149:9: warning: unreplaced symbol 'oldbit'
+./arch/x86/include/asm/bitops.h:149:9: warning: unreplaced symbol 'oldbit'
+./arch/x86/include/asm/bitops.h:149:9: warning: unreplaced symbol 'oldbit'
+./arch/x86/include/asm/bitops.h:149:9: warning: unreplaced symbol 'oldbit'
+./arch/x86/include/asm/bitops.h:149:9: warning: unreplaced symbol 'oldbit'
+./arch/x86/include/asm/bitops.h:149:9: warning: unreplaced symbol 'oldbit'
+./arch/x86/include/asm/bitops.h:149:9: warning: unreplaced symbol 'oldbit'
+./arch/x86/include/asm/bitops.h:149:9: warning: unreplaced symbol 'oldbit'
+./arch/x86/include/asm/bitops.h:149:9: warning: unreplaced symbol 'oldbit'
+./arch/x86/include/asm/bitops.h:149:9: warning: unreplaced symbol 'oldbit'
+./arch/x86/include/asm/bitops.h:153:26: warning: unreplaced symbol 'oldbit'
+./arch/x86/include/asm/bitops.h:153:26: warning: unreplaced symbol 'oldbit'
+./arch/x86/include/asm/bitops.h:153:26: warning: unreplaced symbol 'oldbit'
+./arch/x86/include/asm/bitops.h:153:26: warning: unreplaced symbol 'oldbit'
+./arch/x86/include/asm/bitops.h:153:26: warning: unreplaced symbol 'oldbit'
+./arch/x86/include/asm/bitops.h:153:26: warning: unreplaced symbol 'oldbit'
+./arch/x86/include/asm/bitops.h:153:26: warning: unreplaced symbol 'oldbit'
+./arch/x86/include/asm/bitops.h:153:26: warning: unreplaced symbol 'oldbit'
+./arch/x86/include/asm/bitops.h:153:26: warning: unreplaced symbol 'oldbit'
+./arch/x86/include/asm/bitops.h:153:26: warning: unreplaced symbol 'oldbit'
+./arch/x86/include/asm/bitops.h:153:26: warning: unreplaced symbol 'oldbit'
+./arch/x86/include/asm/bitops.h:153:26: warning: unreplaced symbol 'oldbit'
+./arch/x86/include/asm/bitops.h:153:26: warning: unreplaced symbol 'oldbit'
+./arch/x86/include/asm/bitops.h:153:26: warning: unreplaced symbol 'oldbit'
+./arch/x86/include/asm/bitops.h:153:26: warning: unreplaced symbol 'oldbit'
+./arch/x86/include/asm/bitops.h:155:16: warning: unreplaced symbol 'oldbit'
+./arch/x86/include/asm/bitops.h:155:16: warning: unreplaced symbol 'oldbit'

[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for Prepare intel_fb for Xe (rev7)

2023-11-23 Thread Patchwork
== Series Details ==

Series: Prepare intel_fb for Xe (rev7)
URL   : https://patchwork.freedesktop.org/series/126507/
State : warning

== Summary ==

Error: dim checkpatch failed
b6b023df5953 drm/i915/display: use intel_bo_to_drm_bo in intel_fb.c
5c4b02abe533 drm/i915/display: Convert intel_fb_modifier_to_tiling as non-static
e090bbc9 drm/i915/display: Handle invalid fb_modifier in 
intel_fb_modifier_to_tiling
2747f8b12af5 drm/i915/display: Split i915 specific code away from intel_fb.c
Traceback (most recent call last):
  File "scripts/spdxcheck.py", line 6, in 
from ply import lex, yacc
ModuleNotFoundError: No module named 'ply'
-:163: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does 
MAINTAINERS need updating?
#163: 
new file mode 100644

-:168: WARNING:SPDX_LICENSE_TAG: Improper SPDX comment style for 
'drivers/gpu/drm/i915/display/intel_fb_bo.c', please use '//' instead
#168: FILE: drivers/gpu/drm/i915/display/intel_fb_bo.c:1:
+/* SPDX-License-Identifier: MIT */

-:168: WARNING:SPDX_LICENSE_TAG: Missing or malformed SPDX-License-Identifier 
tag in line 1
#168: FILE: drivers/gpu/drm/i915/display/intel_fb_bo.c:1:
+/* SPDX-License-Identifier: MIT */

total: 0 errors, 3 warnings, 0 checks, 239 lines checked




[Intel-gfx] [RFC 1/1] drm/i915/display: Update vtotal based on closest possible panel timings

2023-11-23 Thread Mitul Golani
For edp VRR supported panel, vtotal should be updated
based on closest available panel timings and adjusted_mode
panel configuration, instead of rounding up to nearest possible
integer.  This is to facilitate user about the refreh rate
they're going to get when it is slightly off from list of available modes.

Signed-off-by: Mitul Golani 
---
 drivers/gpu/drm/i915/display/intel_panel.c | 53 ++
 drivers/gpu/drm/i915/display/intel_vrr.h   |  2 +
 2 files changed, 45 insertions(+), 10 deletions(-)

diff --git a/drivers/gpu/drm/i915/display/intel_panel.c 
b/drivers/gpu/drm/i915/display/intel_panel.c
index 0d8e5320a4f8..f53cea2d7b29 100644
--- a/drivers/gpu/drm/i915/display/intel_panel.c
+++ b/drivers/gpu/drm/i915/display/intel_panel.c
@@ -197,26 +197,56 @@ enum drrs_type intel_panel_drrs_type(struct 
intel_connector *connector)
return connector->panel.vbt.drrs_type;
 }
 
+static int
+mode_vrefresh_k(const struct drm_display_mode *mode)
+{
+   unsigned int num, den;
+
+   if (mode->htotal == 0 || mode->vtotal == 0)
+   return 0;
+
+   num = mode->clock;
+   den = mode->htotal * mode->vtotal;
+
+   if (mode->flags & DRM_MODE_FLAG_INTERLACE)
+   num *= 2;
+   if (mode->flags & DRM_MODE_FLAG_DBLSCAN)
+   den *= 2;
+   if (mode->vscan > 1)
+   den *= mode->vscan;
+
+   return mul_u64_u64_div_u64(num,
+  1000 * 
FIXED_POINT_PRECISION,
+  den);
+}
+
 int intel_panel_compute_config(struct intel_connector *connector,
   struct drm_display_mode *adjusted_mode)
 {
const struct drm_display_mode *fixed_mode =
intel_panel_fixed_mode(connector, adjusted_mode);
-   int vrefresh, fixed_mode_vrefresh;
+   int vrefresh_int, vrefresh_fraction;
+   int fixed_mode_vrefresh_int;
+   int vrefresh_k = mode_vrefresh_k(adjusted_mode);
+   int fixed_mode_vrefresh_k = mode_vrefresh_k(fixed_mode);
bool is_vrr;
 
if (!fixed_mode)
return 0;
 
-   vrefresh = drm_mode_vrefresh(adjusted_mode);
-   fixed_mode_vrefresh = drm_mode_vrefresh(fixed_mode);
+   vrefresh_int = vrefresh_k / FIXED_POINT_PRECISION;
+   vrefresh_fraction = do_div(vrefresh_k, FIXED_POINT_PRECISION);
+   fixed_mode_vrefresh_int = fixed_mode_vrefresh_k / FIXED_POINT_PRECISION;
 
/*
 * Assume that we shouldn't muck about with the
 * timings if they don't land in the VRR range.
 */
-   is_vrr = intel_vrr_is_in_range(connector, vrefresh) &&
-   intel_vrr_is_in_range(connector, fixed_mode_vrefresh);
+   is_vrr =
+   intel_vrr_is_in_range(connector,
+ drm_mode_vrefresh(adjusted_mode)) &&
+   intel_vrr_is_in_range(connector,
+ drm_mode_vrefresh(fixed_mode));
 
if (!is_vrr) {
/*
@@ -225,11 +255,12 @@ int intel_panel_compute_config(struct intel_connector 
*connector,
 * for Xorg since it likes to automagically cook up modes with 
slightly
 * off refresh rates.
 */
-   if (abs(vrefresh - fixed_mode_vrefresh) > 1) {
+   if (abs(vrefresh_int - fixed_mode_vrefresh_int) > 1) {
drm_dbg_kms(connector->base.dev,
"[CONNECTOR:%d:%s] Requested mode vrefresh 
(%d Hz) does not match fixed mode vrefresh (%d Hz)\n",
connector->base.base.id, 
connector->base.name,
-   vrefresh, fixed_mode_vrefresh);
+   DIV_ROUND_UP(vrefresh_k, 1000),
+   DIV_ROUND_UP(fixed_mode_vrefresh_k, 
1000));
 
return -EINVAL;
}
@@ -237,10 +268,12 @@ int intel_panel_compute_config(struct intel_connector 
*connector,
 
drm_mode_copy(adjusted_mode, fixed_mode);
 
-   if (is_vrr && fixed_mode_vrefresh != vrefresh)
+   if (is_vrr && fixed_mode_vrefresh_k != vrefresh_k)
adjusted_mode->vtotal =
-   DIV_ROUND_CLOSEST(adjusted_mode->clock * 1000,
- adjusted_mode->htotal * vrefresh);
+   mul_u64_u32_div(adjusted_mode->clock * 1000,
+   FIXED_POINT_PRECISION,
+   adjusted_mode->htotal *
+   (vrefresh_int * FIXED_POINT_PRECISION + 
vrefresh_fraction));
 
drm_mode_set_crtcinfo(adjusted_mode, 0);
 
diff --git a/drivers/gpu/drm/i915/display/intel_vrr.h 
b/drivers/gpu/drm/i915/display/intel_vrr.h
index 89937858200d..4bfabaac9ac8 100644
--- a/drivers/gpu/drm/i915/display/intel_vrr.h
+++ 

[Intel-gfx] [RFC 0/1] Update vtotal based on closest possible panel timings

2023-11-23 Thread Mitul Golani
For edp VRR supported panel, vtotal should be updated
based on closest available panel timings and adjusted_mode
panel configuration, instead of rounding up to nearest possible
integer.  This is to facilitate user about the refreh rate
they're going to get when it is slightly off from list of available modes.

Mitul Golani (1):
  drm/i915/display: Update vtotal based on closest possible panel
timings

 drivers/gpu/drm/i915/display/intel_panel.c | 53 ++
 drivers/gpu/drm/i915/display/intel_vrr.h   |  2 +
 2 files changed, 45 insertions(+), 10 deletions(-)

-- 
2.25.1



[Intel-gfx] [PULL] drm-intel-next

2023-11-23 Thread Jani Nikula


Hi Dave & Sima -

The first i915 feature pull towards v6.8.

The one thing to single out are the major DP MST, UHBR, and DSC
bandwidth management improvements from Imre.

Alas, they also need to be singled out because there are a number of
updates in drm core and other drivers merged via drm-intel-next that
will conflict with drm-next. Nothing that wasn't acked or discussed
before, but maybe this time we erred a bit on the side of too much.

BR,
Jani.


drm-intel-next-2023-11-23:
drm/i915 feature pull for v6.8:

Features and functionality:
- Major DP MST improvements on bandwidth management, DSC (Imre, Stan, Ville)
- DP panel replay enabling (Animesh, Jouni)
- MTL C20 phy state verification (Mika)
- MTL DP DSC fractional bpp support (Ankit, Vandita, Swati, Imre)
- Audio fastset support (Ville)

Refactoring and cleanups:
- Use dma fence interfaces instead of i915_sw_fence (Jouni)
- Separate gem and display code (Jouni, Juha-Pekka)
- AUX register macro refactoring (Jani)
- Separate display module/device parameters from the rest (Jouni)
- Move display capabilities debugfs under display (Vinod)
- Makefile cleanup (Jani)
- Register cleanups (Ville)
- Enginer iterator cleanups (Tvrtko)
- Move display lock inits under display/ (Jani)
- VLV/CHV DPIO PHY register and interface refactoring (Jani)
- DSI VBT sequence refactoring (Jani, Andy Shevchenko)
- C10/C20 PHY PLL hardware readout and calculation abstractions (Lucas)
- DPLL code cleanups (Ville)
- Cleanup PXP plane protection checks (Jani)

Fixes:
- Replace VLV/CHV DSI GPIO direct access with proper GPIO API usage (Andy 
Shevchenko)
- Fix VLV/CHV DSI GPIO wrong initial value (Hans de Goede)
- Fix UHBR data, link M/N/TU and PBN values (Imre)
- Fix HDCP state on an enable/disable cycle (Suraj)
- Fix DP MST modeset sequence to be according to spec (Ville)
- Improved atomicity for multi-pipe commits (Ville)
- Update URLs in i915 MAINTAINERS entry and code (Jani)
- Check for VGA converter presence in eDP probe (Ville)
- Fix surface size checks (Ville)
- Fix LNL port/phy assignment (Lucas)
- Reset C10/C20 message bus harder to avoid sporadic failures (Mika)
- Fix bogus VBT HDMI level shift on BDW (Ville)
- Add workaround for LNL underruns when enabling FBC (Vinod)
- DSB refactoring (Animesh)
- DPT refactoring (Juha-Pekka)
- Disable DSC on DP MST on ICL (Imre)
- Fix PSR VSC packet setup timing (Mika)
- Fix LUT rounding and conversions (Ville)

DRM core display changes:
- DP MST fixes, helpers, refactoring to support bandwidth management (Imre)
- DP MST PBN divider value refactoring and fixes (Imre)
- DPCD register definitions (Ankit, Imre)
- Add helper to get DSC bpp precision (Ankit)
- Fix color LUT rounding (Ville)

BR,
Jani.

The following changes since commit 213c43676beb5f5a63cb27a0c8e8e71035b08445:

  drm/i915/mtl: Remove the 'force_probe' requirement for Meteor Lake 
(2023-10-18 06:23:41 +0200)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-next-2023-11-23

for you to fetch changes up to deac453244d309ad7a94d0501eb5e0f9d8d1f1df:

  drm/i915: Fix glk+ degamma LUT conversions (2023-11-23 15:11:47 +0200)


drm/i915 feature pull for v6.8:

Features and functionality:
- Major DP MST improvements on bandwidth management, DSC (Imre, Stan, Ville)
- DP panel replay enabling (Animesh, Jouni)
- MTL C20 phy state verification (Mika)
- MTL DP DSC fractional bpp support (Ankit, Vandita, Swati, Imre)
- Audio fastset support (Ville)

Refactoring and cleanups:
- Use dma fence interfaces instead of i915_sw_fence (Jouni)
- Separate gem and display code (Jouni, Juha-Pekka)
- AUX register macro refactoring (Jani)
- Separate display module/device parameters from the rest (Jouni)
- Move display capabilities debugfs under display (Vinod)
- Makefile cleanup (Jani)
- Register cleanups (Ville)
- Enginer iterator cleanups (Tvrtko)
- Move display lock inits under display/ (Jani)
- VLV/CHV DPIO PHY register and interface refactoring (Jani)
- DSI VBT sequence refactoring (Jani, Andy Shevchenko)
- C10/C20 PHY PLL hardware readout and calculation abstractions (Lucas)
- DPLL code cleanups (Ville)
- Cleanup PXP plane protection checks (Jani)

Fixes:
- Replace VLV/CHV DSI GPIO direct access with proper GPIO API usage (Andy 
Shevchenko)
- Fix VLV/CHV DSI GPIO wrong initial value (Hans de Goede)
- Fix UHBR data, link M/N/TU and PBN values (Imre)
- Fix HDCP state on an enable/disable cycle (Suraj)
- Fix DP MST modeset sequence to be according to spec (Ville)
- Improved atomicity for multi-pipe commits (Ville)
- Update URLs in i915 MAINTAINERS entry and code (Jani)
- Check for VGA converter presence in eDP probe (Ville)
- Fix surface size checks (Ville)
- Fix LNL port/phy assignment (Lucas)
- Reset C10/C20 message bus harder to avoid sporadic failures (Mika)
- Fix bogus VBT HDMI level shift on BDW (Ville)
- Add workaround for LNL underruns when enabling FBC (Vinod)
- DSB 

Re: [Intel-gfx] [PATCH 0/4] drm/i915: Fix LUT rounding

2023-11-23 Thread Ville Syrjälä
On Tue, Nov 21, 2023 at 11:51:10AM +0100, Maxime Ripard wrote:
> On Mon, Nov 20, 2023 at 04:30:53PM +0200, Ville Syrjälä wrote:
> > On Fri, Oct 13, 2023 at 04:13:58PM +0300, Ville Syrjala wrote:
> > > From: Ville Syrjälä 
> > > 
> > > The current LUT rounding is generating weird results. Adjust
> > > it to follow the OpenGL int<->float conversion rules.
> > > 
> > > Ville Syrjälä (4):
> > >   drm: Fix color LUT rounding
> > ^
> > I'd like to merge this via drm-intel-next as needs to match
> > the rounding done in the readout path in i915.
> > 
> > Maarten,Maxime,Thomas can I get an ack for that?
> 
> Acked-by: Maxime Ripard 

Thanks. Series pushed to drm-intel-next.

-- 
Ville Syrjälä
Intel


[Intel-gfx] [PULL] drm-intel-fixes

2023-11-23 Thread Jani Nikula


Hi Dave & Sima -

drm-intel-fixes-2023-11-23:
drm/i915 fixes for v6.7-rc3:
- Fix race between DP MST connectore registration and setup
- Fix GT memory leak on probe error path

BR,
Jani.

The following changes since commit 98b1cc82c4affc16f5598d4fa14b1858671b2263:

  Linux 6.7-rc2 (2023-11-19 15:02:14 -0800)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2023-11-23

for you to fetch changes up to 0561794b6b642b84b879bf97061c4b4fa692839e:

  drm/i915: do not clean GT table on error path (2023-11-20 11:06:53 +0200)


drm/i915 fixes for v6.7-rc3:
- Fix race between DP MST connectore registration and setup
- Fix GT memory leak on probe error path


Andrzej Hajda (1):
  drm/i915: do not clean GT table on error path

Imre Deak (1):
  drm/i915/dp_mst: Fix race between connector registration and setup

 drivers/gpu/drm/i915/display/intel_dp_mst.c | 16 
 drivers/gpu/drm/i915/gt/intel_gt.c  | 11 ---
 drivers/gpu/drm/i915/i915_driver.c  |  4 +---
 3 files changed, 9 insertions(+), 22 deletions(-)

-- 
Jani Nikula, Intel


Re: [Intel-gfx] [PATCH v9 0/4] drm: Add support for atomic async page-flip

2023-11-23 Thread André Almeida

Em 23/11/2023 13:24, Simon Ser escreveu:

Thanks! This iteration of the first 3 patches LGTM, I've pushed them to
drm-misc-next. I've made two adjustments to make checkpatch.pl happy:



Thank you!


- s/uint64_t/u64/
- Fix indentation for a drm_dbg_atomic()


ops :)


Re: [Intel-gfx] [PATCH v9 0/4] drm: Add support for atomic async page-flip

2023-11-23 Thread Simon Ser
Thanks! This iteration of the first 3 patches LGTM, I've pushed them to
drm-misc-next. I've made two adjustments to make checkpatch.pl happy:

- s/uint64_t/u64/
- Fix indentation for a drm_dbg_atomic()


Re: [Intel-gfx] [PATCH 1/3] drm: Add Adaptive Sync SDP logging

2023-11-23 Thread Nautiyal, Ankit K



On 11/23/2023 7:32 PM, Mitul Golani wrote:

Add structure representing Adaptive Sync Secondary Data
Packet (AS SDP). Also, add Adaptive Sync SDP logging in
drm_dp_helper.c to facilitate debugging.

Signed-off-by: Mitul Golani 
---
  drivers/gpu/drm/display/drm_dp_helper.c | 15 +
  include/drm/display/drm_dp.h|  1 +
  include/drm/display/drm_dp_helper.h | 30 +
  3 files changed, 46 insertions(+)

diff --git a/drivers/gpu/drm/display/drm_dp_helper.c 
b/drivers/gpu/drm/display/drm_dp_helper.c
index d72b6f9a352c..a205e14a6681 100644
--- a/drivers/gpu/drm/display/drm_dp_helper.c
+++ b/drivers/gpu/drm/display/drm_dp_helper.c
@@ -2917,6 +2917,21 @@ void drm_dp_vsc_sdp_log(const char *level, struct device 
*dev,
  }
  EXPORT_SYMBOL(drm_dp_vsc_sdp_log);
  
+void drm_dp_as_sdp_log(const char *level, struct device *dev,

+  const struct drm_dp_as_sdp *async)


Perhaps as_sdp, instead of async to avoid confusion?



+{
+#define DP_SDP_LOG(fmt, ...) dev_printk(level, dev, fmt, ##__VA_ARGS__)
+   DP_SDP_LOG("DP SDP: %s, revision %u, length %u\n", "VSC",


I think you mean AS_SDP here.

Also, you need to send this to dri-devel as well.

Regards,

Ankit



+  async->revision, async->length);
+   DP_SDP_LOG("   vmin: %d vmax: %d\n", async->vmin, async->vmax);
+   DP_SDP_LOG("target_rr: %s\n", async->target_rr);
+   DP_SDP_LOG("duration_incr_ms: %u\n", async->duration_incr_ms);
+   DP_SDP_LOG("duration_decr_ms: %u\n", async->duration_decr_ms);
+   DP_SDP_LOG("operation_mode: %u\n", async->operation_mode);
+#undef DP_SDP_LOG
+}
+EXPORT_SYMBOL(drm_dp_as_sdp_log);
+
  /**
   * drm_dp_get_pcon_max_frl_bw() - maximum frl supported by PCON
   * @dpcd: DisplayPort configuration data
diff --git a/include/drm/display/drm_dp.h b/include/drm/display/drm_dp.h
index 83d2039c018b..0575ab8ea088 100644
--- a/include/drm/display/drm_dp.h
+++ b/include/drm/display/drm_dp.h
@@ -1578,6 +1578,7 @@ enum drm_dp_phy {
  #define DP_SDP_PPS0x10 /* DP 1.4 */
  #define DP_SDP_VSC_EXT_VESA   0x20 /* DP 1.4 */
  #define DP_SDP_VSC_EXT_CEA0x21 /* DP 1.4 */
+#define DP_SDP_ADAPTIVE_SYNC   0x22 /* DP 1.4 */
  /* 0x80+ CEA-861 infoframe types */
  
  #define DP_SDP_AUDIO_INFOFRAME_HB2	0x1b

diff --git a/include/drm/display/drm_dp_helper.h 
b/include/drm/display/drm_dp_helper.h
index 863b2e7add29..63b6bef3f21d 100644
--- a/include/drm/display/drm_dp_helper.h
+++ b/include/drm/display/drm_dp_helper.h
@@ -98,6 +98,36 @@ struct drm_dp_vsc_sdp {
enum dp_content_type content_type;
  };
  
+/**

+ * struct drm_dp_as_sdp - drm DP Adaptive Sync SDP
+ *
+ * This structure represents a DP AS SDP of drm
+ * It is based on DP 2.1 spec [Table 2-126:  Adaptive-Sync SDP Header Bytes] 
and
+ * [Table 2-127: Adaptive-Sync SDP Payload for DB0 through DB8]
+ *
+ * @sdp_type: secondary-data packet type
+ * @length: number of valid data bytes
+ * @vmin: minimum vtotal
+ * @vmax: maximum vtotal
+ * @duration_incr_ms: Successive frame duration increase
+ * @duration_decr_ms: Successive frame duration decrease
+ * @operation_mode: Adaptive Sync Operation Mode
+ */
+
+struct drm_dp_as_sdp {
+   unsigned char sdp_type;
+   unsigned char revision;
+   unsigned char length;
+   u16 vmin, vmax;
+   u16 target_rr;
+   u8 duration_incr_ms;
+   u8 duration_decr_ms;
+   u8 operation_mode;
+};
+
+void drm_dp_as_sdp_log(const char *level, struct device *dev,
+  const struct drm_dp_as_sdp *async);
+
  void drm_dp_vsc_sdp_log(const char *level, struct device *dev,
const struct drm_dp_vsc_sdp *vsc);
  


Re: [Intel-gfx] [PATCH v5 1/4] pwm: rename pwm_apply_state() to pwm_apply_cansleep()

2023-11-23 Thread Lee Jones
On Sat, 18 Nov 2023, Sean Young wrote:

> In order to introduce a pwm api which can be used from atomic context,
> we will need two functions for applying pwm changes:
> 
>   int pwm_apply_cansleep(struct pwm *, struct pwm_state *);
>   int pwm_apply_atomic(struct pwm *, struct pwm_state *);
> 
> This commit just deals with renaming pwm_apply_state(), a following
> commit will introduce the pwm_apply_atomic() function.
> 
> Acked-by: Hans de Goede 
> Acked-by: Jani Nikula 
> Signed-off-by: Sean Young 
> ---
>  Documentation/driver-api/pwm.rst  |  8 +++---
>  .../gpu/drm/i915/display/intel_backlight.c|  6 ++--
>  drivers/gpu/drm/solomon/ssd130x.c |  2 +-
>  drivers/hwmon/pwm-fan.c   |  8 +++---
>  drivers/input/misc/da7280.c   |  4 +--
>  drivers/input/misc/pwm-beeper.c   |  4 +--
>  drivers/input/misc/pwm-vibra.c|  8 +++---

>  drivers/leds/leds-pwm.c   |  2 +-
>  drivers/leds/rgb/leds-pwm-multicolor.c|  4 +--

Acked-by: Lee Jones 

>  drivers/media/rc/pwm-ir-tx.c  |  4 +--
>  drivers/platform/x86/lenovo-yogabook.c|  2 +-
>  drivers/pwm/core.c| 18 ++--
>  drivers/pwm/pwm-twl-led.c |  2 +-
>  drivers/pwm/pwm-vt8500.c  |  2 +-
>  drivers/pwm/sysfs.c   | 10 +++
>  drivers/regulator/pwm-regulator.c |  4 +--

>  drivers/video/backlight/lm3630a_bl.c  |  2 +-
>  drivers/video/backlight/lp855x_bl.c   |  2 +-
>  drivers/video/backlight/pwm_bl.c  | 12 

Acked-by: Lee Jones 

>  drivers/video/fbdev/ssd1307fb.c   |  2 +-
>  include/linux/pwm.h   | 28 +--
>  21 files changed, 67 insertions(+), 67 deletions(-)

[...]

-- 
Lee Jones [李琼斯]


[Intel-gfx] [PATCH 2/3] drm/i915/display/: Add Read/Write support for Adaptive Sync SDP

2023-11-23 Thread Mitul Golani
Add the necessary structures and functions to handle reading and
unpacking Adaptive Sync Secondary Data Packets. Also add support
to write and pack AS SDP.

Signed-off-by: Mitul Golani 
---
 .../drm/i915/display/intel_display_types.h|   1 +
 drivers/gpu/drm/i915/display/intel_dp.c   | 118 +-
 2 files changed, 114 insertions(+), 5 deletions(-)

diff --git a/drivers/gpu/drm/i915/display/intel_display_types.h 
b/drivers/gpu/drm/i915/display/intel_display_types.h
index 9a44350ba05d..7d87923f63af 100644
--- a/drivers/gpu/drm/i915/display/intel_display_types.h
+++ b/drivers/gpu/drm/i915/display/intel_display_types.h
@@ -1325,6 +1325,7 @@ struct intel_crtc_state {
union hdmi_infoframe hdmi;
union hdmi_infoframe drm;
struct drm_dp_vsc_sdp vsc;
+   struct drm_dp_as_sdp  async;
} infoframes;
 
u8 eld[MAX_ELD_BYTES];
diff --git a/drivers/gpu/drm/i915/display/intel_dp.c 
b/drivers/gpu/drm/i915/display/intel_dp.c
index 1422c2370269..39624746d612 100644
--- a/drivers/gpu/drm/i915/display/intel_dp.c
+++ b/drivers/gpu/drm/i915/display/intel_dp.c
@@ -94,6 +94,8 @@
 #define INTEL_DP_RESOLUTION_STANDARD   (2 << INTEL_DP_RESOLUTION_SHIFT_MASK)
 #define INTEL_DP_RESOLUTION_FAILSAFE   (3 << INTEL_DP_RESOLUTION_SHIFT_MASK)
 
+#define AS_SDP_ENABLE  REG_BIT(2)
+#define AS_SDP_OP_MODE REG_GENMASK(1, 0)
 
 /* Constants for DP DSC configurations */
 static const u8 valid_dsc_bpp[] = {6, 8, 10, 12, 15};
@@ -4113,6 +4115,42 @@ intel_dp_needs_vsc_sdp(const struct intel_crtc_state 
*crtc_state,
return false;
 }
 
+static ssize_t intel_dp_as_sdp_pack(const struct drm_dp_as_sdp *async,
+   struct dp_sdp *sdp, size_t size)
+{
+   size_t length = sizeof(struct dp_sdp);
+
+   if (size < length)
+   return -ENOSPC;
+
+   memset(sdp, 0, size);
+
+   /* Prepare AS (Adaptive Sync) VSC Header */
+   sdp->sdp_header.HB0 = 0;
+   sdp->sdp_header.HB1 = async->sdp_type;
+   sdp->sdp_header.HB2 = 0x02;
+   sdp->sdp_header.HB3 = async->length;
+
+   /* Fill AS (Adaptive Sync) SDP Payload */
+   if ((sdp->db[0] & 0x03) == 0) {
+   sdp->db[3] = 0;
+   sdp->db[4] &= 0xFC;
+   }
+
+   sdp->db[1] = async->vmin & 0xFF;
+   sdp->db[2] = (async->vmin >> 8) & 0xF;
+   sdp->db[17] = (async->vmin >> 8) & 0xFF;
+   sdp->db[18] = async->vmax & 0xFF;
+   sdp->db[19] = (async->vmax >> 8) & 0xFF;
+   sdp->db[20] = async->target_rr & 0xFF;
+   sdp->db[21] = (async->target_rr >> 8) & 0xFF;
+   sdp->db[22] = async->duration_incr_ms;
+   sdp->db[23] = async->duration_decr_ms;
+   sdp->db[24] = async->operation_mode;
+
+   return length;
+}
+
 static ssize_t intel_dp_vsc_sdp_pack(const struct drm_dp_vsc_sdp *vsc,
 struct dp_sdp *sdp, size_t size)
 {
@@ -4280,6 +4318,10 @@ static void intel_write_dp_sdp(struct intel_encoder 
*encoder,
   
_state->infoframes.drm.drm,
   , 
sizeof(sdp));
break;
+   case DP_SDP_ADAPTIVE_SYNC:
+   len = intel_dp_as_sdp_pack(_state->infoframes.async, ,
+  sizeof(sdp));
+   break;
default:
MISSING_CASE(type);
return;
@@ -4342,6 +4384,44 @@ void intel_dp_set_infoframes(struct intel_encoder 
*encoder,
intel_write_dp_sdp(encoder, crtc_state, 
HDMI_PACKET_TYPE_GAMUT_METADATA);
 }
 
+/*
+ * This function is to unpack AS SDP Packet
+ */
+static
+int intel_dp_as_sdp_unpack(struct drm_dp_as_sdp *async,
+  const void *buffer, size_t size)
+{
+   const struct dp_sdp *sdp = buffer;
+
+   if (size < sizeof(struct dp_sdp))
+   return -EINVAL;
+
+   memset(async, 0, sizeof(*async));
+
+   if (sdp->sdp_header.HB0 != 0)
+   return -EINVAL;
+
+   if (sdp->sdp_header.HB1 != DP_SDP_ADAPTIVE_SYNC)
+   return -EINVAL;
+
+   if (sdp->sdp_header.HB2 != 0x02)
+   return -EINVAL;
+
+   if ((sdp->sdp_header.HB3 & 0x3F) != 9)
+   return -EINVAL;
+
+   if (sdp->db[0] != (AS_SDP_ENABLE | AS_SDP_OP_MODE))
+   return -EINVAL;
+
+   async->vmin = ((u64)sdp->db[2] << 32) | (u64)sdp->db[1];
+   async->vmax = 0;
+   async->target_rr = 0;
+   async->duration_incr_ms = 0;
+   async->duration_decr_ms = 0;
+
+   return 0;
+}
+
 static int intel_dp_vsc_sdp_unpack(struct drm_dp_vsc_sdp *vsc,
   const void *buffer, size_t size)
 {
@@ -4412,12 +4492,35 @@ static int intel_dp_vsc_sdp_unpack(struct 
drm_dp_vsc_sdp *vsc,
return 0;
 }
 
+/*
+ * This function to read registers to fetch packets
+ */

[Intel-gfx] [PATCH 3/3] drm/i915/display/:Compute and enable daptive Sync SDP

2023-11-23 Thread Mitul Golani
Add necessary functions and register definitions to enable
and compute AS SDP data. The new `intel_dp_compute_as_sdp`
function computes AS SDP values based on the display
configuration, ensuring proper handling of Variable Refresh
Rate (VRR).

Signed-off-by: Mitul Golani 
---
 drivers/gpu/drm/i915/display/intel_dp.c   | 21 +
 drivers/gpu/drm/i915/display/intel_hdmi.c | 11 +--
 drivers/gpu/drm/i915/i915_reg.h   |  6 ++
 3 files changed, 36 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/i915/display/intel_dp.c 
b/drivers/gpu/drm/i915/display/intel_dp.c
index 39624746d612..b3eb2d342a99 100644
--- a/drivers/gpu/drm/i915/display/intel_dp.c
+++ b/drivers/gpu/drm/i915/display/intel_dp.c
@@ -2629,6 +2629,26 @@ static void intel_dp_compute_vsc_sdp(struct intel_dp 
*intel_dp,
 _state->infoframes.vsc);
 }
 
+static void intel_dp_compute_as_sdp(struct intel_dp *intel_dp,
+   struct intel_crtc_state *crtc_state,
+const struct drm_connector_state 
*conn_state)
+{
+   struct drm_dp_as_sdp *async = _state->infoframes.async;
+   struct intel_connector *connector = intel_dp->attached_connector;
+   int vrefresh = drm_mode_vrefresh(_state->hw.adjusted_mode);
+
+   if (intel_vrr_is_in_range(connector, vrefresh))
+   return;
+
+   crtc_state->infoframes.enable |= 
intel_hdmi_infoframe_enable(DP_SDP_ADAPTIVE_SYNC);
+   async->sdp_type = DP_SDP_ADAPTIVE_SYNC;
+   async->length = 0x9;
+   async->vmin = crtc_state->vrr.vmin;
+   async->vmax = crtc_state->vrr.vmax;
+   async->target_rr = 0;
+   async->operation_mode = 0x0;
+}
+
 void intel_dp_compute_psr_vsc_sdp(struct intel_dp *intel_dp,
  const struct intel_crtc_state *crtc_state,
  const struct drm_connector_state *conn_state,
@@ -2965,6 +2985,7 @@ intel_dp_compute_config(struct intel_encoder *encoder,
intel_psr_compute_config(intel_dp, pipe_config, conn_state);
intel_dp_drrs_compute_config(connector, pipe_config, link_bpp_x16);
intel_dp_compute_vsc_sdp(intel_dp, pipe_config, conn_state);
+   intel_dp_compute_as_sdp(intel_dp, pipe_config, conn_state);
intel_dp_compute_hdr_metadata_infoframe_sdp(intel_dp, pipe_config, 
conn_state);
 
return 0;
diff --git a/drivers/gpu/drm/i915/display/intel_hdmi.c 
b/drivers/gpu/drm/i915/display/intel_hdmi.c
index ab18cfc19c0a..abea359985ce 100644
--- a/drivers/gpu/drm/i915/display/intel_hdmi.c
+++ b/drivers/gpu/drm/i915/display/intel_hdmi.c
@@ -136,6 +136,8 @@ static u32 hsw_infoframe_enable(unsigned int type)
return VIDEO_DIP_ENABLE_GMP_HSW;
case DP_SDP_VSC:
return VIDEO_DIP_ENABLE_VSC_HSW;
+   case DP_SDP_ADAPTIVE_SYNC:
+   return VIDEO_DIP_ENABLE_AS_HSW;
case DP_SDP_PPS:
return VDIP_ENABLE_PPS;
case HDMI_INFOFRAME_TYPE_AVI:
@@ -163,6 +165,8 @@ hsw_dip_data_reg(struct drm_i915_private *dev_priv,
return HSW_TVIDEO_DIP_GMP_DATA(cpu_transcoder, i);
case DP_SDP_VSC:
return HSW_TVIDEO_DIP_VSC_DATA(cpu_transcoder, i);
+   case DP_SDP_ADAPTIVE_SYNC:
+   return HSW_TVIDEO_DIP_ASYNC_DATA(cpu_transcoder, i);
case DP_SDP_PPS:
return ICL_VIDEO_DIP_PPS_DATA(cpu_transcoder, i);
case HDMI_INFOFRAME_TYPE_AVI:
@@ -185,6 +189,8 @@ static int hsw_dip_data_size(struct drm_i915_private 
*dev_priv,
switch (type) {
case DP_SDP_VSC:
return VIDEO_DIP_VSC_DATA_SIZE;
+   case DP_SDP_ADAPTIVE_SYNC:
+   return VIDEO_DIP_ASYNC_DATA_SIZE;
case DP_SDP_PPS:
return VIDEO_DIP_PPS_DATA_SIZE;
case HDMI_PACKET_TYPE_GAMUT_METADATA:
@@ -555,7 +561,8 @@ static u32 hsw_infoframes_enabled(struct intel_encoder 
*encoder,
 
mask = (VIDEO_DIP_ENABLE_VSC_HSW | VIDEO_DIP_ENABLE_AVI_HSW |
VIDEO_DIP_ENABLE_GCP_HSW | VIDEO_DIP_ENABLE_VS_HSW |
-   VIDEO_DIP_ENABLE_GMP_HSW | VIDEO_DIP_ENABLE_SPD_HSW);
+   VIDEO_DIP_ENABLE_GMP_HSW | VIDEO_DIP_ENABLE_SPD_HSW |
+   VIDEO_DIP_ENABLE_AS_HSW);
 
if (DISPLAY_VER(dev_priv) >= 10)
mask |= VIDEO_DIP_ENABLE_DRM_GLK;
@@ -1209,7 +1216,7 @@ static void hsw_set_infoframes(struct intel_encoder 
*encoder,
val &= ~(VIDEO_DIP_ENABLE_VSC_HSW | VIDEO_DIP_ENABLE_AVI_HSW |
 VIDEO_DIP_ENABLE_GCP_HSW | VIDEO_DIP_ENABLE_VS_HSW |
 VIDEO_DIP_ENABLE_GMP_HSW | VIDEO_DIP_ENABLE_SPD_HSW |
-VIDEO_DIP_ENABLE_DRM_GLK);
+VIDEO_DIP_ENABLE_DRM_GLK | VIDEO_DIP_ENABLE_AS_HSW);
 
if (!enable) {
intel_de_write(dev_priv, reg, val);
diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h
index 

[Intel-gfx] [PATCH 1/3] drm: Add Adaptive Sync SDP logging

2023-11-23 Thread Mitul Golani
Add structure representing Adaptive Sync Secondary Data
Packet (AS SDP). Also, add Adaptive Sync SDP logging in
drm_dp_helper.c to facilitate debugging.

Signed-off-by: Mitul Golani 
---
 drivers/gpu/drm/display/drm_dp_helper.c | 15 +
 include/drm/display/drm_dp.h|  1 +
 include/drm/display/drm_dp_helper.h | 30 +
 3 files changed, 46 insertions(+)

diff --git a/drivers/gpu/drm/display/drm_dp_helper.c 
b/drivers/gpu/drm/display/drm_dp_helper.c
index d72b6f9a352c..a205e14a6681 100644
--- a/drivers/gpu/drm/display/drm_dp_helper.c
+++ b/drivers/gpu/drm/display/drm_dp_helper.c
@@ -2917,6 +2917,21 @@ void drm_dp_vsc_sdp_log(const char *level, struct device 
*dev,
 }
 EXPORT_SYMBOL(drm_dp_vsc_sdp_log);
 
+void drm_dp_as_sdp_log(const char *level, struct device *dev,
+  const struct drm_dp_as_sdp *async)
+{
+#define DP_SDP_LOG(fmt, ...) dev_printk(level, dev, fmt, ##__VA_ARGS__)
+   DP_SDP_LOG("DP SDP: %s, revision %u, length %u\n", "VSC",
+  async->revision, async->length);
+   DP_SDP_LOG("vmin: %d vmax: %d\n", async->vmin, async->vmax);
+   DP_SDP_LOG("target_rr: %s\n", async->target_rr);
+   DP_SDP_LOG("duration_incr_ms: %u\n", async->duration_incr_ms);
+   DP_SDP_LOG("duration_decr_ms: %u\n", async->duration_decr_ms);
+   DP_SDP_LOG("operation_mode: %u\n", async->operation_mode);
+#undef DP_SDP_LOG
+}
+EXPORT_SYMBOL(drm_dp_as_sdp_log);
+
 /**
  * drm_dp_get_pcon_max_frl_bw() - maximum frl supported by PCON
  * @dpcd: DisplayPort configuration data
diff --git a/include/drm/display/drm_dp.h b/include/drm/display/drm_dp.h
index 83d2039c018b..0575ab8ea088 100644
--- a/include/drm/display/drm_dp.h
+++ b/include/drm/display/drm_dp.h
@@ -1578,6 +1578,7 @@ enum drm_dp_phy {
 #define DP_SDP_PPS 0x10 /* DP 1.4 */
 #define DP_SDP_VSC_EXT_VESA0x20 /* DP 1.4 */
 #define DP_SDP_VSC_EXT_CEA 0x21 /* DP 1.4 */
+#define DP_SDP_ADAPTIVE_SYNC   0x22 /* DP 1.4 */
 /* 0x80+ CEA-861 infoframe types */
 
 #define DP_SDP_AUDIO_INFOFRAME_HB2 0x1b
diff --git a/include/drm/display/drm_dp_helper.h 
b/include/drm/display/drm_dp_helper.h
index 863b2e7add29..63b6bef3f21d 100644
--- a/include/drm/display/drm_dp_helper.h
+++ b/include/drm/display/drm_dp_helper.h
@@ -98,6 +98,36 @@ struct drm_dp_vsc_sdp {
enum dp_content_type content_type;
 };
 
+/**
+ * struct drm_dp_as_sdp - drm DP Adaptive Sync SDP
+ *
+ * This structure represents a DP AS SDP of drm
+ * It is based on DP 2.1 spec [Table 2-126:  Adaptive-Sync SDP Header Bytes] 
and
+ * [Table 2-127: Adaptive-Sync SDP Payload for DB0 through DB8]
+ *
+ * @sdp_type: secondary-data packet type
+ * @length: number of valid data bytes
+ * @vmin: minimum vtotal
+ * @vmax: maximum vtotal
+ * @duration_incr_ms: Successive frame duration increase
+ * @duration_decr_ms: Successive frame duration decrease
+ * @operation_mode: Adaptive Sync Operation Mode
+ */
+
+struct drm_dp_as_sdp {
+   unsigned char sdp_type;
+   unsigned char revision;
+   unsigned char length;
+   u16 vmin, vmax;
+   u16 target_rr;
+   u8 duration_incr_ms;
+   u8 duration_decr_ms;
+   u8 operation_mode;
+};
+
+void drm_dp_as_sdp_log(const char *level, struct device *dev,
+  const struct drm_dp_as_sdp *async);
+
 void drm_dp_vsc_sdp_log(const char *level, struct device *dev,
const struct drm_dp_vsc_sdp *vsc);
 
-- 
2.25.1



[Intel-gfx] [PATCH 0/3] Enable Adaptive Sync SDP Support for DP

2023-11-23 Thread Mitul Golani
An Adaptive Sync SDP allows a DP protocol converter to
forward Adaptive Sync video with minimal buffering overhead
within the converter. An Adaptive-Sync-capable DP protocol
converter indicates its support by setting the related bit
in the DPCD register.

Computes AS SDP values based on the display configuration,
ensuring proper handling of Variable Refresh Rate (VRR)
in the context of Adaptive Sync.

Mitul Golani (3):
  drm: Add Adaptive Sync SDP logging
  drm/i915/display/: Add Read/Write support for Adaptive Sync SDP
  drm/i915/display/:Compute and enable daptive Sync SDP

 drivers/gpu/drm/display/drm_dp_helper.c   |  15 ++
 .../drm/i915/display/intel_display_types.h|   1 +
 drivers/gpu/drm/i915/display/intel_dp.c   | 139 +-
 drivers/gpu/drm/i915/display/intel_hdmi.c |  11 +-
 drivers/gpu/drm/i915/i915_reg.h   |   6 +
 include/drm/display/drm_dp.h  |   1 +
 include/drm/display/drm_dp_helper.h   |  30 
 7 files changed, 196 insertions(+), 7 deletions(-)

-- 
2.25.1



Re: [Intel-gfx] [PATCH v2 2/4] eventfd: simplify eventfd_signal()

2023-11-23 Thread Christian Brauner
> >   * eventfd_signal - Adds @n to the eventfd counter.
> 
> This still refers to @n here, and in patch 4.

Fixed and folded. Thanks!


[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/mtl: Fix Wa_22016670082 (rev3)

2023-11-23 Thread Patchwork
== Series Details ==

Series: drm/i915/mtl: Fix Wa_22016670082 (rev3)
URL   : https://patchwork.freedesktop.org/series/126740/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_13914 -> Patchwork_126740v3


Summary
---

  **SUCCESS**

  No regressions found.

  External URL: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126740v3/index.html

Participating hosts (36 -> 37)
--

  Additional (3): bat-kbl-2 bat-dg2-9 fi-pnv-d510 
  Missing(2): bat-jsl-1 fi-snb-2520m 

Known issues


  Here are the changes found in Patchwork_126740v3 that come from known issues:

### CI changes ###

 Possible fixes 

  * boot:
- fi-bsw-n3050:   [FAIL][1] ([i915#8293]) -> [PASS][2]
   [1]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13914/fi-bsw-n3050/boot.html
   [2]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126740v3/fi-bsw-n3050/boot.html

  

### IGT changes ###

 Issues hit 

  * igt@fbdev@info:
- bat-kbl-2:  NOTRUN -> [SKIP][3] ([fdo#109271] / [i915#1849])
   [3]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126740v3/bat-kbl-2/igt@fb...@info.html

  * igt@gem_exec_parallel@engines@fds:
- fi-pnv-d510:NOTRUN -> [SKIP][4] ([fdo#109271]) +25 other tests 
skip
   [4]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126740v3/fi-pnv-d510/igt@gem_exec_parallel@engi...@fds.html

  * igt@gem_lmem_swapping@parallel-random-engines:
- bat-kbl-2:  NOTRUN -> [SKIP][5] ([fdo#109271]) +20 other tests 
skip
   [5]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126740v3/bat-kbl-2/igt@gem_lmem_swapp...@parallel-random-engines.html

  * igt@gem_mmap@basic:
- bat-dg2-9:  NOTRUN -> [SKIP][6] ([i915#4083])
   [6]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126740v3/bat-dg2-9/igt@gem_m...@basic.html

  * igt@gem_mmap_gtt@basic:
- bat-dg2-9:  NOTRUN -> [SKIP][7] ([i915#4077]) +2 other tests skip
   [7]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126740v3/bat-dg2-9/igt@gem_mmap_...@basic.html

  * igt@gem_tiled_blits@basic:
- fi-bsw-n3050:   NOTRUN -> [SKIP][8] ([fdo#109271]) +14 other tests 
skip
   [8]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126740v3/fi-bsw-n3050/igt@gem_tiled_bl...@basic.html

  * igt@gem_tiled_pread_basic:
- bat-dg2-9:  NOTRUN -> [SKIP][9] ([i915#4079]) +1 other test skip
   [9]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126740v3/bat-dg2-9/igt@gem_tiled_pread_basic.html

  * igt@i915_pm_rps@basic-api:
- bat-dg2-9:  NOTRUN -> [SKIP][10] ([i915#6621])
   [10]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126740v3/bat-dg2-9/igt@i915_pm_...@basic-api.html

  * igt@kms_addfb_basic@addfb25-y-tiled-small-legacy:
- bat-dg2-9:  NOTRUN -> [SKIP][11] ([i915#5190])
   [11]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126740v3/bat-dg2-9/igt@kms_addfb_ba...@addfb25-y-tiled-small-legacy.html

  * igt@kms_addfb_basic@basic-y-tiled-legacy:
- bat-dg2-9:  NOTRUN -> [SKIP][12] ([i915#4215] / [i915#5190])
   [12]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126740v3/bat-dg2-9/igt@kms_addfb_ba...@basic-y-tiled-legacy.html

  * igt@kms_addfb_basic@framebuffer-vs-set-tiling:
- bat-dg2-9:  NOTRUN -> [SKIP][13] ([i915#4212]) +6 other tests skip
   [13]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126740v3/bat-dg2-9/igt@kms_addfb_ba...@framebuffer-vs-set-tiling.html

  * igt@kms_addfb_basic@tile-pitch-mismatch:
- bat-dg2-9:  NOTRUN -> [SKIP][14] ([i915#4212] / [i915#5608])
   [14]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126740v3/bat-dg2-9/igt@kms_addfb_ba...@tile-pitch-mismatch.html

  * igt@kms_cursor_legacy@basic-busy-flip-before-cursor-legacy:
- bat-dg2-9:  NOTRUN -> [SKIP][15] ([i915#4103] / [i915#4213] / 
[i915#5608]) +1 other test skip
   [15]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126740v3/bat-dg2-9/igt@kms_cursor_leg...@basic-busy-flip-before-cursor-legacy.html

  * igt@kms_force_connector_basic@force-load-detect:
- bat-dg2-9:  NOTRUN -> [SKIP][16] ([fdo#109285])
   [16]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126740v3/bat-dg2-9/igt@kms_force_connector_ba...@force-load-detect.html

  * igt@kms_force_connector_basic@prune-stale-modes:
- bat-dg2-9:  NOTRUN -> [SKIP][17] ([i915#5274])
   [17]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126740v3/bat-dg2-9/igt@kms_force_connector_ba...@prune-stale-modes.html

  * igt@kms_hdmi_inject@inject-audio:
- fi-kbl-guc: [PASS][18] -> [FAIL][19] ([IGT#3])
   [18]: 
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13914/fi-kbl-guc/igt@kms_hdmi_inj...@inject-audio.html
   [19]: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126740v3/fi-kbl-guc/igt@kms_hdmi_inj...@inject-audio.html
- fi-bsw-n3050:   NOTRUN -> [FAIL][20] 

Re: [Intel-gfx] [PATCH v2 1/4] i915: make inject_virtual_interrupt() void

2023-11-23 Thread Christian Brauner
> > +   if (!vgpu->msi_trigger)
> > +   return;
> > +   eventfd_signal(vgpu->msi_trigger, 1);
> >  }
> 
> I think it's a little simpler to write as
> if (vgpu->msi_trigger)
> eventfd_signal(vgpu->msi_trigger, 1);

Good point. I folded that suggestion into the patch.


[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/mtl: Fix Wa_22016670082 (rev3)

2023-11-23 Thread Patchwork
== Series Details ==

Series: drm/i915/mtl: Fix Wa_22016670082 (rev3)
URL   : https://patchwork.freedesktop.org/series/126740/
State : warning

== Summary ==

Error: dim checkpatch failed
400788308645 drm/i915/mtl: Fix Wa_22016670082
-:14: ERROR:BAD_SIGN_OFF: Unrecognized email address: 'Radhakrishna Sripada'
#14: 
Reviewed-by: Radhakrishna Sripada

total: 1 errors, 0 warnings, 0 checks, 17 lines checked




[Intel-gfx] [PULL] drm-misc-next

2023-11-23 Thread Maxime Ripard
Hi,

Here's this week drm-misc-next PR.

It's been fairly calm, but there's one big change: the IMG GPU driver is
now merged!

Maxime

drm-misc-next-2023-11-23:
drm-misc-next for 6.8:

UAPI Changes:

Cross-subsystem Changes:

Core Changes:
  - Drop deprecated drm_kms_helper.edid_firmware module parameter

Driver Changes:
  - Convert platform drivers remove callback to return void
  - imagination: Introduction of the Imagination GPU Support
  - rockchip:
- rk3066_hdmi: Convert to atomic
- vop2: Support NV20 and NV30
  - panel:
- elida-kd35t133: PM reworks
- New panels: Powkiddy RK2023
The following changes since commit 3b434a3445fff3149128db0169da864d67057325:

  accel/ivpu: Use threaded IRQ to handle JOB done messages (2023-11-16 13:41:49 
+0100)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-2023-11-23

for you to fetch changes up to 815d8b0425ad1164e45953ac3d56a9f6f63792cc:

  drm/imagination: Add driver documentation (2023-11-23 09:01:47 +0100)


drm-misc-next for 6.8:

UAPI Changes:

Cross-subsystem Changes:

Core Changes:
  - Drop deprecated drm_kms_helper.edid_firmware module parameter

Driver Changes:
  - Convert platform drivers remove callback to return void
  - imagination: Introduction of the Imagination GPU Support
  - rockchip:
- rk3066_hdmi: Convert to atomic
- vop2: Support NV20 and NV30
  - panel:
- elida-kd35t133: PM reworks
- New panels: Powkiddy RK2023


Abhinav Singh (1):
  drm/nouveau/fence:: fix warning directly dereferencing a rcu pointer

Arnd Bergmann (1):
  drm/rockchip: rk3066_hdmi: include drm/drm_atomic.h

Chris Morgan (8):
  dt-bindings: display: nv3051d: Update NewVision NV3051D compatibles
  drm/panel: nv3051d: Hold panel in reset for unprepare
  drm/panel: nv3051d: Add Powkiddy RK2023 Panel Support
  drm/panel-elida-kd35t133: trival: update panel size from 5.5 to 3.5
  drm/panel-elida-kd35t133: hold panel in reset for unprepare
  drm/panel-elida-kd35t133: drop drm_connector_set_orientation_from_panel
  drm/panel-elida-kd35t133: Drop shutdown logic
  drm/panel-elida-kd35t133: Drop prepare/unprepare logic

Donald Robson (2):
  drm/gpuvm: Helper to get range of unmap from a remap op.
  drm/imagination: Add GEM and VM related code

Jani Nikula (1):
  drm/edid/firmware: drop drm_kms_helper.edid_firmware backward compat

Jeffrey Hugo (1):
  accel/qaic: Update MAX_ORDER use to be inclusive

Johan Jonker (2):
  drm/rockchip: rk3066_hdmi: Remove useless mode_fixup
  drm/rockchip: rk3066_hdmi: Switch encoder hooks to atomic

Jonas Karlman (1):
  drm/rockchip: vop2: Add NV20 and NV30 support

Kees Cook (1):
  dma-buf: Replace strlcpy() with strscpy()

Luben Tuikov (1):
  drm/print: Handle NULL drm device in __drm_printk()

Matt Coster (1):
  sizes.h: Add entries between SZ_32G and SZ_64T

Richard Acayan (1):
  fbdev/simplefb: Suppress error on missing power domains

Sarah Walker (17):
  dt-bindings: gpu: Add Imagination Technologies PowerVR/IMG GPU
  drm/imagination/uapi: Add PowerVR driver UAPI
  drm/imagination: Add skeleton PowerVR driver
  drm/imagination: Get GPU resources
  drm/imagination: Add GPU register headers
  drm/imagination: Add firmware and MMU related headers
  drm/imagination: Add FWIF headers
  drm/imagination: Add GPU ID parsing and firmware loading
  drm/imagination: Implement power management
  drm/imagination: Implement firmware infrastructure and META FW support
  drm/imagination: Implement MIPS firmware processor and MMU support
  drm/imagination: Implement free list and HWRT create and destroy ioctls
  drm/imagination: Implement context creation/destruction ioctls
  drm/imagination: Implement job submission and scheduling
  drm/imagination: Add firmware trace header
  drm/imagination: Add firmware trace to debugfs
  drm/imagination: Add driver documentation

Tomi Valkeinen (1):
  drm/tilcdc: Fix irq free on unload

Uwe Kleine-König (14):
  drm/bridge: tpd12s015: Drop buggy __exit annotation for remove function
  drm/arcpgu: Convert to platform remove callback returning void
  drm/armada: Convert to platform remove callback returning void
  drm/bridge: cdns-mhdp8546: Improve error reporting in remove callback
  drm/bridge: cdns-mhdp8546: Convert to platform remove callback returning 
void
  drm/bridge: tpd12s015: Convert to platform remove callback returning void
  drm/etnaviv: Convert to platform remove callback returning void
  drm/imx/dcss: Convert to platform remove callback returning void
  drm/imx: lcdc: Convert to platform remove callback returning void
  drm/kmb: Convert to platform remove callback returning void
  drm/mediatek: Convert to 

Re: [Intel-gfx] [1/3] drm/i915/display: Separate xe and i915 common dpt code into own file

2023-11-23 Thread Hogander, Jouni
On Tue, 2023-11-14 at 10:20 +, Hogander, Jouni wrote:
> On Mon, 2023-11-13 at 22:32 +0200, Juha-Pekka Heikkila wrote:
> > Here created intel_dpt_common.c to hold intel_dpt_configure which
> > is
> > needed for both xe and i915.
> 
> For the whole series:
> 
> Reviewed-by: Jouni Högander 

Thank you Juha-Pekka for the patches. These are now pushed to drm-
intel-next.

BR,

Jouni Högander

> 
> BR,
> 
> Jouni Högander
> 
> 
> > Signed-off-by: Juha-Pekka Heikkila 
> > ---
> >  drivers/gpu/drm/i915/Makefile |  1 +
> >  drivers/gpu/drm/i915/display/intel_display.c  |  1 +
> >  drivers/gpu/drm/i915/display/intel_dpt.c  | 26 --
> >  drivers/gpu/drm/i915/display/intel_dpt.h  |  2 --
> >  .../gpu/drm/i915/display/intel_dpt_common.c   | 34
> > +++
> >  .../gpu/drm/i915/display/intel_dpt_common.h   | 13 +++
> >  6 files changed, 49 insertions(+), 28 deletions(-)
> >  create mode 100644 drivers/gpu/drm/i915/display/intel_dpt_common.c
> >  create mode 100644 drivers/gpu/drm/i915/display/intel_dpt_common.h
> > 
> > diff --git a/drivers/gpu/drm/i915/Makefile
> > b/drivers/gpu/drm/i915/Makefile
> > index 239da40a401f..c18a20c47265 100644
> > --- a/drivers/gpu/drm/i915/Makefile
> > +++ b/drivers/gpu/drm/i915/Makefile
> > @@ -275,6 +275,7 @@ i915-y += \
> > display/intel_dpll.o \
> > display/intel_dpll_mgr.o \
> > display/intel_dpt.o \
> > +   display/intel_dpt_common.o \
> > display/intel_drrs.o \
> > display/intel_dsb.o \
> > display/intel_fb.o \
> > diff --git a/drivers/gpu/drm/i915/display/intel_display.c
> > b/drivers/gpu/drm/i915/display/intel_display.c
> > index 3effafcbb411..12c163203658 100644
> > --- a/drivers/gpu/drm/i915/display/intel_display.c
> > +++ b/drivers/gpu/drm/i915/display/intel_display.c
> > @@ -77,6 +77,7 @@
> >  #include "intel_dpll.h"
> >  #include "intel_dpll_mgr.h"
> >  #include "intel_dpt.h"
> > +#include "intel_dpt_common.h"
> >  #include "intel_drrs.h"
> >  #include "intel_dsb.h"
> >  #include "intel_dsi.h"
> > diff --git a/drivers/gpu/drm/i915/display/intel_dpt.c
> > b/drivers/gpu/drm/i915/display/intel_dpt.c
> > index 2b067cb952f0..b29bceff73f2 100644
> > --- a/drivers/gpu/drm/i915/display/intel_dpt.c
> > +++ b/drivers/gpu/drm/i915/display/intel_dpt.c
> > @@ -9,8 +9,6 @@
> >  #include "gt/gen8_ppgtt.h"
> >  
> >  #include "i915_drv.h"
> > -#include "i915_reg.h"
> > -#include "intel_de.h"
> >  #include "intel_display_types.h"
> >  #include "intel_dpt.h"
> >  #include "intel_fb.h"
> > @@ -318,27 +316,3 @@ void intel_dpt_destroy(struct
> > i915_address_space
> > *vm)
> > i915_vm_put(>vm);
> >  }
> >  
> > -void intel_dpt_configure(struct intel_crtc *crtc)
> > -{
> > -   struct drm_i915_private *i915 = to_i915(crtc->base.dev);
> > -
> > -   if (DISPLAY_VER(i915) == 14) {
> > -   enum pipe pipe = crtc->pipe;
> > -   enum plane_id plane_id;
> > -
> > -   for_each_plane_id_on_crtc(crtc, plane_id) {
> > -   if (plane_id == PLANE_CURSOR)
> > -   continue;
> > -
> > -   intel_de_rmw(i915, PLANE_CHICKEN(pipe,
> > plane_id),
> > -    PLANE_CHICKEN_DISABLE_DPT,
> > -    i915-
> > >display.params.enable_dpt
> > ? 0 :
> > -    PLANE_CHICKEN_DISABLE_DPT);
> > -   }
> > -   } else if (DISPLAY_VER(i915) == 13) {
> > -   intel_de_rmw(i915, CHICKEN_MISC_2,
> > -    CHICKEN_MISC_DISABLE_DPT,
> > -    i915->display.params.enable_dpt ? 0 :
> > -    CHICKEN_MISC_DISABLE_DPT);
> > -   }
> > -}
> > diff --git a/drivers/gpu/drm/i915/display/intel_dpt.h
> > b/drivers/gpu/drm/i915/display/intel_dpt.h
> > index d9a166550185..e18a9f767b11 100644
> > --- a/drivers/gpu/drm/i915/display/intel_dpt.h
> > +++ b/drivers/gpu/drm/i915/display/intel_dpt.h
> > @@ -10,7 +10,6 @@ struct drm_i915_private;
> >  
> >  struct i915_address_space;
> >  struct i915_vma;
> > -struct intel_crtc;
> >  struct intel_framebuffer;
> >  
> >  void intel_dpt_destroy(struct i915_address_space *vm);
> > @@ -20,6 +19,5 @@ void intel_dpt_suspend(struct drm_i915_private
> > *i915);
> >  void intel_dpt_resume(struct drm_i915_private *i915);
> >  struct i915_address_space *
> >  intel_dpt_create(struct intel_framebuffer *fb);
> > -void intel_dpt_configure(struct intel_crtc *crtc);
> >  
> >  #endif /* __INTEL_DPT_H__ */
> > diff --git a/drivers/gpu/drm/i915/display/intel_dpt_common.c
> > b/drivers/gpu/drm/i915/display/intel_dpt_common.c
> > new file mode 100644
> > index ..cdba47165c04
> > --- /dev/null
> > +++ b/drivers/gpu/drm/i915/display/intel_dpt_common.c
> > @@ -0,0 +1,34 @@
> > +// SPDX-License-Identifier: MIT
> > +/*
> > + * Copyright © 2023 Intel Corporation
> > + */
> > +
> > +#include "i915_reg.h"
> > 

Re: [Intel-gfx] [PATCH] drm/i915/display: Fix null pointer dereference in intel_dp_aux_wait_done and intel_dp_aux_xfer

2023-11-23 Thread Ville Syrjälä
On Thu, Nov 23, 2023 at 06:04:31PM +0800, Kunwu Chan wrote:
> kasprintf() returns a pointer to dynamically allocated memory
> which can be NULL upon failure. When "intel_dp->aux.name" is NULL,
>  these error messages will trigger the null pointer dereference issue.

How did you reach that conclusion?

> 
> Signed-off-by: Kunwu Chan 
> ---
>  drivers/gpu/drm/i915/display/intel_dp_aux.c | 12 ++--
>  1 file changed, 6 insertions(+), 6 deletions(-)
> 
> diff --git a/drivers/gpu/drm/i915/display/intel_dp_aux.c 
> b/drivers/gpu/drm/i915/display/intel_dp_aux.c
> index 2e2af71bcd5a..398c9064eb09 100644
> --- a/drivers/gpu/drm/i915/display/intel_dp_aux.c
> +++ b/drivers/gpu/drm/i915/display/intel_dp_aux.c
> @@ -67,7 +67,7 @@ intel_dp_aux_wait_done(struct intel_dp *intel_dp)
>   if (ret == -ETIMEDOUT)
>   drm_err(>drm,
>   "%s: did not complete or timeout within %ums (status 
> 0x%08x)\n",
> - intel_dp->aux.name, timeout_ms, status);
> + intel_dp->aux.name ? intel_dp->aux.name : "", 
> timeout_ms, status);
>  
>   return status;
>  }
> @@ -302,7 +302,7 @@ intel_dp_aux_xfer(struct intel_dp *intel_dp,
>   if (status != intel_dp->aux_busy_last_status) {
>   drm_WARN(>drm, 1,
>"%s: not started (status 0x%08x)\n",
> -  intel_dp->aux.name, status);
> +  intel_dp->aux.name ? intel_dp->aux.name : "", 
> status);
>   intel_dp->aux_busy_last_status = status;
>   }
>  
> @@ -362,7 +362,7 @@ intel_dp_aux_xfer(struct intel_dp *intel_dp,
>  
>   if ((status & DP_AUX_CH_CTL_DONE) == 0) {
>   drm_err(>drm, "%s: not done (status 0x%08x)\n",
> - intel_dp->aux.name, status);
> + intel_dp->aux.name ? intel_dp->aux.name : "", status);
>   ret = -EBUSY;
>   goto out;
>   }
> @@ -374,7 +374,7 @@ intel_dp_aux_xfer(struct intel_dp *intel_dp,
>*/
>   if (status & DP_AUX_CH_CTL_RECEIVE_ERROR) {
>   drm_err(>drm, "%s: receive error (status 0x%08x)\n",
> - intel_dp->aux.name, status);
> + intel_dp->aux.name ? intel_dp->aux.name : "", status);
>   ret = -EIO;
>   goto out;
>   }
> @@ -385,7 +385,7 @@ intel_dp_aux_xfer(struct intel_dp *intel_dp,
>*/
>   if (status & DP_AUX_CH_CTL_TIME_OUT_ERROR) {
>   drm_dbg_kms(>drm, "%s: timeout (status 0x%08x)\n",
> - intel_dp->aux.name, status);
> + intel_dp->aux.name ? intel_dp->aux.name : "", 
> status);
>   ret = -ETIMEDOUT;
>   goto out;
>   }
> @@ -401,7 +401,7 @@ intel_dp_aux_xfer(struct intel_dp *intel_dp,
>   if (recv_bytes == 0 || recv_bytes > 20) {
>   drm_dbg_kms(>drm,
>   "%s: Forbidden recv_bytes = %d on aux 
> transaction\n",
> - intel_dp->aux.name, recv_bytes);
> + intel_dp->aux.name ? intel_dp->aux.name : "", 
> recv_bytes);
>   ret = -EBUSY;
>   goto out;
>   }
> -- 
> 2.34.1

-- 
Ville Syrjälä
Intel


[Intel-gfx] [PULL] drm-misc-fixes

2023-11-23 Thread Maarten Lankhorst

Hi Dave, Daniel,

Lots of small fixes for various drivers.

Cheers,
~Maarten

drm-misc-fixes-2023-11-23:
Fixes for v6.7-rc3:
- Panel fixes for innolux and auo,b101uan08.3 panel.
- Fix ivpu MMIO reset.
- AST fix on connetor disconnection.
- nouveau gsp fix.
- rockchip color fix.
- Fix Himax83102-j02 timings.
The following changes since commit ae1aadb1eb8d3cbc52e42bee71d67bd4a71f9f07:

  nouveau: don't fail driver load if no display hw present. (2023-11-15 
18:23:31 +0100)


are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2023-11-23

for you to fetch changes up to ab93edb2f94c3c0d5965be3815782472adbe3f52:

  nouveau/gsp: allocate enough space for all channel ids. (2023-11-21 
22:28:01 +0100)



Fixes for v6.7-rc3:
- Panel fixes for innolux and auo,b101uan08.3 panel.
- Fix ivpu MMIO reset.
- AST fix on connetor disconnection.
- nouveau gsp fix.
- rockchip color fix.
- Fix Himax83102-j02 timings.


Cong Yang (1):
  drm/panel: boe-tv101wum-nl6: Fine tune Himax83102-j02 panel HFP 
and HBP


Dave Airlie (1):
  nouveau/gsp: allocate enough space for all channel ids.

Jacek Lawrynowicz (1):
  accel/ivpu/37xx: Fix hangs related to MMIO reset

Jonas Karlman (1):
  drm/rockchip: vop: Fix color for RGB888/BGR888 format on VOP full

Marek Vasut (2):
  drm/panel: simple: Fix Innolux G101ICE-L01 bus flags
  drm/panel: simple: Fix Innolux G101ICE-L01 timings

Thomas Zimmermann (1):
  drm/ast: Disconnect BMC if physical connector is connected

Xuxin Xiong (1):
  drm/panel: auo,b101uan08.3: Fine tune the panel power sequence

 drivers/accel/ivpu/ivpu_hw_37xx.c   | 46 +-
 drivers/gpu/drm/ast/ast_drv.h   | 13 +-
 drivers/gpu/drm/ast/ast_mode.c  | 62 
++---

 drivers/gpu/drm/nouveau/nvkm/engine/fifo/r535.c |  2 +-
 drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c  |  9 ++--
 drivers/gpu/drm/panel/panel-simple.c| 13 +++---
 drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 14 --
 7 files changed, 113 insertions(+), 46 deletions(-)


Re: [Intel-gfx] [PATCH v5 15/20] drivers/gpu/drm/i915/display: remove I2C_CLASS_DDC support

2023-11-23 Thread Andi Shyti
Hi Heiner,

On Thu, Nov 23, 2023 at 10:40:35AM +0100, Heiner Kallweit wrote:
> After removal of the legacy EEPROM driver and I2C_CLASS_DDC support in
> olpc_dcon there's no i2c client driver left supporting I2C_CLASS_DDC.
> Class-based device auto-detection is a legacy mechanism and shouldn't
> be used in new code. So we can remove this class completely now.
> 
> Preferably this series should be applied via the i2c tree.
> 
> Acked-by: Jani Nikula 
> Acked-by: Thomas Zimmermann 
> Signed-off-by: Heiner Kallweit 

Reviewed-by: Andi Shyti 

Thanks,
Andi


[Intel-gfx] [PATCH v5 15/20] drivers/gpu/drm/i915/display: remove I2C_CLASS_DDC support

2023-11-23 Thread Heiner Kallweit
After removal of the legacy EEPROM driver and I2C_CLASS_DDC support in
olpc_dcon there's no i2c client driver left supporting I2C_CLASS_DDC.
Class-based device auto-detection is a legacy mechanism and shouldn't
be used in new code. So we can remove this class completely now.

Preferably this series should be applied via the i2c tree.

Acked-by: Jani Nikula 
Acked-by: Thomas Zimmermann 
Signed-off-by: Heiner Kallweit 

---
 drivers/gpu/drm/i915/display/intel_gmbus.c |1 -
 drivers/gpu/drm/i915/display/intel_sdvo.c  |1 -
 2 files changed, 2 deletions(-)

diff --git a/drivers/gpu/drm/i915/display/intel_gmbus.c 
b/drivers/gpu/drm/i915/display/intel_gmbus.c
index 40d7b6f3f..e9e4dcf34 100644
--- a/drivers/gpu/drm/i915/display/intel_gmbus.c
+++ b/drivers/gpu/drm/i915/display/intel_gmbus.c
@@ -899,7 +899,6 @@ int intel_gmbus_setup(struct drm_i915_private *i915)
}
 
bus->adapter.owner = THIS_MODULE;
-   bus->adapter.class = I2C_CLASS_DDC;
snprintf(bus->adapter.name,
 sizeof(bus->adapter.name),
 "i915 gmbus %s", gmbus_pin->name);
diff --git a/drivers/gpu/drm/i915/display/intel_sdvo.c 
b/drivers/gpu/drm/i915/display/intel_sdvo.c
index a636f42ce..5e64d1baf 100644
--- a/drivers/gpu/drm/i915/display/intel_sdvo.c
+++ b/drivers/gpu/drm/i915/display/intel_sdvo.c
@@ -3311,7 +3311,6 @@ intel_sdvo_init_ddc_proxy(struct intel_sdvo_ddc *ddc,
ddc->ddc_bus = ddc_bus;
 
ddc->ddc.owner = THIS_MODULE;
-   ddc->ddc.class = I2C_CLASS_DDC;
snprintf(ddc->ddc.name, I2C_NAME_SIZE, "SDVO %c DDC%d",
 port_name(sdvo->base.port), ddc_bus);
ddc->ddc.dev.parent = >dev;



[Intel-gfx] [PATCH v5 00/20] remove I2C_CLASS_DDC support

2023-11-23 Thread Heiner Kallweit
After removal of the legacy EEPROM driver and I2C_CLASS_DDC support in
olpc_dcon there's no i2c client driver left supporting I2C_CLASS_DDC.
Class-based device auto-detection is a legacy mechanism and shouldn't
be used in new code. So we can remove this class completely now.

Preferably this series should be applied via the i2c tree.

v2:
- change tag in commit subject of patch 03
- add ack tags
v3:
- fix a compile error in patch 5
v4:
- more ack and review tags
v5:
- more acks

Signed-off-by: Heiner Kallweit 

---

 drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c   |1 -
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c |1 -
 drivers/gpu/drm/ast/ast_i2c.c |1 -
 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c |1 -
 drivers/gpu/drm/display/drm_dp_helper.c   |1 -
 drivers/gpu/drm/display/drm_dp_mst_topology.c |1 -
 drivers/gpu/drm/gma500/cdv_intel_dp.c |1 -
 drivers/gpu/drm/gma500/intel_gmbus.c  |1 -
 drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c|1 -
 drivers/gpu/drm/gma500/psb_intel_sdvo.c   |1 -
 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_i2c.c   |1 -
 drivers/gpu/drm/i915/display/intel_gmbus.c|1 -
 drivers/gpu/drm/i915/display/intel_sdvo.c |1 -
 drivers/gpu/drm/loongson/lsdc_i2c.c   |1 -
 drivers/gpu/drm/mediatek/mtk_hdmi_ddc.c   |1 -
 drivers/gpu/drm/mgag200/mgag200_i2c.c |1 -
 drivers/gpu/drm/msm/hdmi/hdmi_i2c.c   |1 -
 drivers/gpu/drm/radeon/radeon_i2c.c   |1 -
 drivers/gpu/drm/rockchip/inno_hdmi.c  |1 -
 drivers/gpu/drm/rockchip/rk3066_hdmi.c|1 -
 drivers/gpu/drm/sun4i/sun4i_hdmi_i2c.c|1 -
 drivers/video/fbdev/core/fb_ddc.c |1 -
 drivers/video/fbdev/cyber2000fb.c |1 -
 drivers/video/fbdev/i740fb.c  |1 -
 drivers/video/fbdev/intelfb/intelfb_i2c.c |   15 +--
 drivers/video/fbdev/matrox/i2c-matroxfb.c |   12 
 drivers/video/fbdev/s3fb.c|1 -
 drivers/video/fbdev/tdfxfb.c  |1 -
 drivers/video/fbdev/tridentfb.c   |1 -
 drivers/video/fbdev/via/via_i2c.c |1 -
 include/linux/i2c.h   |1 -
 31 files changed, 9 insertions(+), 47 deletions(-)


Re: [Intel-gfx] [PATCH v4 00/20] remove I2C_CLASS_DDC support

2023-11-23 Thread Thomas Zimmermann

Hi

Am 23.11.23 um 09:34 schrieb Heiner Kallweit:

On 23.11.2023 09:19, Thomas Zimmermann wrote:

Hi

Am 23.11.23 um 08:16 schrieb Heiner Kallweit:

On 23.11.2023 07:56, Thomas Zimmermann wrote:

Hi

Am 20.11.23 um 22:46 schrieb Heiner Kallweit:

After removal of the legacy EEPROM driver and I2C_CLASS_DDC support in
olpc_dcon there's no i2c client driver left supporting I2C_CLASS_DDC.
Class-based device auto-detection is a legacy mechanism and shouldn't
be used in new code. So we can remove this class completely now.

Preferably this series should be applied via the i2c tree.

v2:
- change tag in commit subject of patch 03
- add ack tags
v3:
- fix a compile error in patch 5
v4:
- more ack and review tags

Signed-off-by: Heiner Kallweit 


Acked-by: Thomas Zimmermann 

for the patches that don't already have my r-b.


This refers to which patches of the series?
Patches 8, 16, 18 are the remaining ones w/o A-b or R-b.


I've looked through the patchset. Feel free to add my a-b to patches 1 to 19; 
except for 2 and 17, which already have my r-b.

BTW I only received 19 patches. is there a patch 20/20?


Yes, see here:
https://patchwork.ozlabs.org/project/linux-i2c/patch/20231120214624.9378-21-hkallwe...@gmail.com/
If you're subscribed to linux-i2c or linux-kernel list you should have received 
it.


I see, I'm not on these lists. I don't have the authority to ack that 
final patch, but let me know if you want to merge anything through the 
DRM trees.


Best regards
Thomas




Best regards
Thomas




Best regards
Thomas


Thanks, Heiner



---

    drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c   |    1 -
    drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c |    1 -
    drivers/gpu/drm/ast/ast_i2c.c |    1 -
    drivers/gpu/drm/bridge/synopsys/dw-hdmi.c |    1 -
    drivers/gpu/drm/display/drm_dp_helper.c   |    1 -
    drivers/gpu/drm/display/drm_dp_mst_topology.c |    1 -
    drivers/gpu/drm/gma500/cdv_intel_dp.c |    1 -
    drivers/gpu/drm/gma500/intel_gmbus.c  |    1 -
    drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c    |    1 -
    drivers/gpu/drm/gma500/psb_intel_sdvo.c   |    1 -
    drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_i2c.c   |    1 -
    drivers/gpu/drm/i915/display/intel_gmbus.c    |    1 -
    drivers/gpu/drm/i915/display/intel_sdvo.c |    1 -
    drivers/gpu/drm/loongson/lsdc_i2c.c   |    1 -
    drivers/gpu/drm/mediatek/mtk_hdmi_ddc.c   |    1 -
    drivers/gpu/drm/mgag200/mgag200_i2c.c |    1 -
    drivers/gpu/drm/msm/hdmi/hdmi_i2c.c   |    1 -
    drivers/gpu/drm/radeon/radeon_i2c.c   |    1 -
    drivers/gpu/drm/rockchip/inno_hdmi.c  |    1 -
    drivers/gpu/drm/rockchip/rk3066_hdmi.c    |    1 -
    drivers/gpu/drm/sun4i/sun4i_hdmi_i2c.c    |    1 -
    drivers/video/fbdev/core/fb_ddc.c |    1 -
    drivers/video/fbdev/cyber2000fb.c |    1 -
    drivers/video/fbdev/i740fb.c  |    1 -
    drivers/video/fbdev/intelfb/intelfb_i2c.c |   15 +--
    drivers/video/fbdev/matrox/i2c-matroxfb.c |   12 
    drivers/video/fbdev/s3fb.c    |    1 -
    drivers/video/fbdev/tdfxfb.c  |    1 -
    drivers/video/fbdev/tridentfb.c   |    1 -
    drivers/video/fbdev/via/via_i2c.c |    1 -
    include/linux/i2c.h   |    1 -
    31 files changed, 9 insertions(+), 47 deletions(-)










--
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Frankenstrasse 146, 90461 Nuernberg, Germany
GF: Ivo Totev, Andrew Myers, Andrew McDonald, Boudien Moerman
HRB 36809 (AG Nuernberg)


OpenPGP_signature.asc
Description: OpenPGP digital signature


Re: [Intel-gfx] [PATCH v4 00/20] remove I2C_CLASS_DDC support

2023-11-23 Thread Heiner Kallweit
On 23.11.2023 09:19, Thomas Zimmermann wrote:
> Hi
> 
> Am 23.11.23 um 08:16 schrieb Heiner Kallweit:
>> On 23.11.2023 07:56, Thomas Zimmermann wrote:
>>> Hi
>>>
>>> Am 20.11.23 um 22:46 schrieb Heiner Kallweit:
 After removal of the legacy EEPROM driver and I2C_CLASS_DDC support in
 olpc_dcon there's no i2c client driver left supporting I2C_CLASS_DDC.
 Class-based device auto-detection is a legacy mechanism and shouldn't
 be used in new code. So we can remove this class completely now.

 Preferably this series should be applied via the i2c tree.

 v2:
 - change tag in commit subject of patch 03
 - add ack tags
 v3:
 - fix a compile error in patch 5
 v4:
 - more ack and review tags

 Signed-off-by: Heiner Kallweit 
>>>
>>> Acked-by: Thomas Zimmermann 
>>>
>>> for the patches that don't already have my r-b.
>>>
>> This refers to which patches of the series?
>> Patches 8, 16, 18 are the remaining ones w/o A-b or R-b.
> 
> I've looked through the patchset. Feel free to add my a-b to patches 1 to 19; 
> except for 2 and 17, which already have my r-b.
> 
> BTW I only received 19 patches. is there a patch 20/20?
> 
Yes, see here:
https://patchwork.ozlabs.org/project/linux-i2c/patch/20231120214624.9378-21-hkallwe...@gmail.com/
If you're subscribed to linux-i2c or linux-kernel list you should have received 
it.

> Best regards
> Thomas
> 
>>
>>> Best regards
>>> Thomas
>>>
>> Thanks, Heiner
>>

 ---

    drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c   |    1 -
    drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c |    1 -
    drivers/gpu/drm/ast/ast_i2c.c |    1 -
    drivers/gpu/drm/bridge/synopsys/dw-hdmi.c |    1 -
    drivers/gpu/drm/display/drm_dp_helper.c   |    1 -
    drivers/gpu/drm/display/drm_dp_mst_topology.c |    1 -
    drivers/gpu/drm/gma500/cdv_intel_dp.c |    1 -
    drivers/gpu/drm/gma500/intel_gmbus.c  |    1 -
    drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c    |    1 -
    drivers/gpu/drm/gma500/psb_intel_sdvo.c   |    1 -
    drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_i2c.c   |    1 -
    drivers/gpu/drm/i915/display/intel_gmbus.c    |    1 -
    drivers/gpu/drm/i915/display/intel_sdvo.c |    1 -
    drivers/gpu/drm/loongson/lsdc_i2c.c   |    1 -
    drivers/gpu/drm/mediatek/mtk_hdmi_ddc.c   |    1 -
    drivers/gpu/drm/mgag200/mgag200_i2c.c |    1 -
    drivers/gpu/drm/msm/hdmi/hdmi_i2c.c   |    1 -
    drivers/gpu/drm/radeon/radeon_i2c.c   |    1 -
    drivers/gpu/drm/rockchip/inno_hdmi.c  |    1 -
    drivers/gpu/drm/rockchip/rk3066_hdmi.c    |    1 -
    drivers/gpu/drm/sun4i/sun4i_hdmi_i2c.c    |    1 -
    drivers/video/fbdev/core/fb_ddc.c |    1 -
    drivers/video/fbdev/cyber2000fb.c |    1 -
    drivers/video/fbdev/i740fb.c  |    1 -
    drivers/video/fbdev/intelfb/intelfb_i2c.c |   15 +--
    drivers/video/fbdev/matrox/i2c-matroxfb.c |   12 
    drivers/video/fbdev/s3fb.c    |    1 -
    drivers/video/fbdev/tdfxfb.c  |    1 -
    drivers/video/fbdev/tridentfb.c   |    1 -
    drivers/video/fbdev/via/via_i2c.c |    1 -
    include/linux/i2c.h   |    1 -
    31 files changed, 9 insertions(+), 47 deletions(-)
>>>
>>
> 



Re: [Intel-gfx] ✗ Fi.CI.BAT: failure for Implement sel_fetch disable for planes (rev5)

2023-11-23 Thread Hogander, Jouni
Hello,

Possible regression here are not related to my patch. Both of them are seen 
already earlier:

https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13913/bat-adlp-11/igt@kms_pipe_crc_basic@nonblocking-crc-frame-seque...@pipe-d-dp-5.html

https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13906/bat-mtlp-6/igt@i915_selftest@l...@requests.html#dmesg-warnings741

Could you please re-report so I can get shards results as well?

BR,

Jouni Högander


On Wed, 2023-11-22 at 23:17 +, Patchwork wrote:
Patch Details
Series: Implement sel_fetch disable for planes (rev5)
URL:https://patchwork.freedesktop.org/series/114224/
State:  failure
Details:
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114224v5/index.html
CI Bug Log - changes from CI_DRM_13912 -> Patchwork_114224v5
Summary

FAILURE

Serious unknown changes coming with Patchwork_114224v5 absolutely need to be
verified manually.

If you think the reported changes have nothing to do with the changes
introduced in Patchwork_114224v5, please notify your bug team 
(lgci.bug.fil...@intel.com) to allow them
to document this new failure mode, which will reduce false positives in CI.

External URL: 
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_114224v5/index.html

Participating hosts (38 -> 36)

Additional (1): bat-dg1-5
Missing (3): bat-mtlp-8 fi-snb-2520m fi-pnv-d510

Possible new issues

Here are the unknown changes that may have been introduced in 
Patchwork_114224v5:

IGT changes
Possible regressions

  *   igt@i915_selftest@live@requests:

 *   bat-mtlp-6: 
PASS
 -> 
DMESG-FAIL
  *   igt@kms_pipe_crc_basic@compare-crc-sanitycheck-nv12@pipe-c-dp-5:

 *   bat-adlp-11: 
PASS
 -> 
FAIL

Known issues

Here are the changes found in Patchwork_114224v5 that come from known issues:

IGT changes
Issues hit

  *   igt@gem_mmap@basic:

 *   bat-dg1-5: NOTRUN -> 
SKIP
 (i915#4083)
  *   igt@gem_tiled_fence_blits@basic:

 *   bat-dg1-5: NOTRUN -> 
SKIP
 (i915#4077) +2 other 
tests skip
  *   igt@gem_tiled_pread_basic:

 *   bat-dg1-5: NOTRUN -> 
SKIP
 (i915#4079) +1 other 
test skip
  *   igt@i915_pm_rps@basic-api:

 *   bat-dg1-5: NOTRUN -> 
SKIP
 (i915#6621)
  *   igt@i915_selftest@live@hangcheck:

 *   bat-adls-5: 
PASS
 -> 
DMESG-WARN
 (i915#5591)
  *   igt@kms_addfb_basic@basic-x-tiled-legacy:

 *   bat-dg1-5: NOTRUN -> 
SKIP
 (i915#4212) +7 other 
tests skip
  *   igt@kms_addfb_basic@basic-y-tiled-legacy:

 *   bat-dg1-5: NOTRUN -> 
SKIP
 (i915#4215)
  *   igt@kms_cursor_legacy@basic-busy-flip-before-cursor-legacy:

 *   bat-dg1-5: NOTRUN -> 
SKIP
 (i915#4103 / 
i915#4213) +1 other test 
skip
  *   igt@kms_dsc@dsc-basic:

 *   bat-dg1-5: NOTRUN -> 
SKIP
 (i915#3555 / 
i915#3840)
  *   igt@kms_force_connector_basic@force-load-detect:

 *   bat-dg1-5: NOTRUN -> 

Re: [Intel-gfx] [PATCH v4 00/20] remove I2C_CLASS_DDC support

2023-11-23 Thread Thomas Zimmermann

Hi

Am 23.11.23 um 08:16 schrieb Heiner Kallweit:

On 23.11.2023 07:56, Thomas Zimmermann wrote:

Hi

Am 20.11.23 um 22:46 schrieb Heiner Kallweit:

After removal of the legacy EEPROM driver and I2C_CLASS_DDC support in
olpc_dcon there's no i2c client driver left supporting I2C_CLASS_DDC.
Class-based device auto-detection is a legacy mechanism and shouldn't
be used in new code. So we can remove this class completely now.

Preferably this series should be applied via the i2c tree.

v2:
- change tag in commit subject of patch 03
- add ack tags
v3:
- fix a compile error in patch 5
v4:
- more ack and review tags

Signed-off-by: Heiner Kallweit 


Acked-by: Thomas Zimmermann 

for the patches that don't already have my r-b.


This refers to which patches of the series?
Patches 8, 16, 18 are the remaining ones w/o A-b or R-b.


I've looked through the patchset. Feel free to add my a-b to patches 1 
to 19; except for 2 and 17, which already have my r-b.


BTW I only received 19 patches. is there a patch 20/20?

Best regards
Thomas




Best regards
Thomas


Thanks, Heiner



---

   drivers/gpu/drm/amd/amdgpu/amdgpu_i2c.c   |    1 -
   drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c |    1 -
   drivers/gpu/drm/ast/ast_i2c.c |    1 -
   drivers/gpu/drm/bridge/synopsys/dw-hdmi.c |    1 -
   drivers/gpu/drm/display/drm_dp_helper.c   |    1 -
   drivers/gpu/drm/display/drm_dp_mst_topology.c |    1 -
   drivers/gpu/drm/gma500/cdv_intel_dp.c |    1 -
   drivers/gpu/drm/gma500/intel_gmbus.c  |    1 -
   drivers/gpu/drm/gma500/oaktrail_hdmi_i2c.c    |    1 -
   drivers/gpu/drm/gma500/psb_intel_sdvo.c   |    1 -
   drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_i2c.c   |    1 -
   drivers/gpu/drm/i915/display/intel_gmbus.c    |    1 -
   drivers/gpu/drm/i915/display/intel_sdvo.c |    1 -
   drivers/gpu/drm/loongson/lsdc_i2c.c   |    1 -
   drivers/gpu/drm/mediatek/mtk_hdmi_ddc.c   |    1 -
   drivers/gpu/drm/mgag200/mgag200_i2c.c |    1 -
   drivers/gpu/drm/msm/hdmi/hdmi_i2c.c   |    1 -
   drivers/gpu/drm/radeon/radeon_i2c.c   |    1 -
   drivers/gpu/drm/rockchip/inno_hdmi.c  |    1 -
   drivers/gpu/drm/rockchip/rk3066_hdmi.c    |    1 -
   drivers/gpu/drm/sun4i/sun4i_hdmi_i2c.c    |    1 -
   drivers/video/fbdev/core/fb_ddc.c |    1 -
   drivers/video/fbdev/cyber2000fb.c |    1 -
   drivers/video/fbdev/i740fb.c  |    1 -
   drivers/video/fbdev/intelfb/intelfb_i2c.c |   15 +--
   drivers/video/fbdev/matrox/i2c-matroxfb.c |   12 
   drivers/video/fbdev/s3fb.c    |    1 -
   drivers/video/fbdev/tdfxfb.c  |    1 -
   drivers/video/fbdev/tridentfb.c   |    1 -
   drivers/video/fbdev/via/via_i2c.c |    1 -
   include/linux/i2c.h   |    1 -
   31 files changed, 9 insertions(+), 47 deletions(-)






--
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Frankenstrasse 146, 90461 Nuernberg, Germany
GF: Ivo Totev, Andrew Myers, Andrew McDonald, Boudien Moerman
HRB 36809 (AG Nuernberg)


OpenPGP_signature.asc
Description: OpenPGP digital signature