* [Intel-gfx] [PATCH 0/3] Expose max and current bpc via debugfs
@ 2022-04-08 6:53 Bhanuprakash Modem
2022-04-08 6:53 ` [Intel-gfx] [PATCH 1/3] drm/debug: Expose connector's max supported " Bhanuprakash Modem
` (7 more replies)
0 siblings, 8 replies; 16+ messages in thread
From: Bhanuprakash Modem @ 2022-04-08 6:53 UTC (permalink / raw)
To: intel-gfx, dri-devel, amd-gfx, jani.nikula, ville.syrjala,
harry.wentland, swati2.sharma
This series will expose the Connector's max supported bpc via connector
debugfs and Crtc's current bpc via crtc debugfs. Also move the existing
vendor specific "output_bpc" logic to drm.
Test-with: 20220408065143.1485069-2-bhanuprakash.modem@intel.com
Bhanuprakash Modem (3):
drm/debug: Expose connector's max supported bpc via debugfs
drm/i915/display/debug: Expose crtc current bpc via debugfs
drm/amd/display: Move connector debugfs to drm
.../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 4 --
.../amd/display/amdgpu_dm/amdgpu_dm_debugfs.c | 38 +++++++------------
.../amd/display/amdgpu_dm/amdgpu_dm_debugfs.h | 2 -
drivers/gpu/drm/drm_debugfs.c | 21 ++++++++++
.../drm/i915/display/intel_display_debugfs.c | 28 ++++++++++++++
5 files changed, 62 insertions(+), 31 deletions(-)
--
2.35.1
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Intel-gfx] [PATCH 1/3] drm/debug: Expose connector's max supported bpc via debugfs
2022-04-08 6:53 [Intel-gfx] [PATCH 0/3] Expose max and current bpc via debugfs Bhanuprakash Modem
@ 2022-04-08 6:53 ` Bhanuprakash Modem
2022-04-08 15:02 ` Harry Wentland
2022-04-11 3:57 ` [Intel-gfx] [V2 " Bhanuprakash Modem
2022-04-08 6:53 ` [Intel-gfx] [PATCH 2/3] drm/i915/display/debug: Expose crtc current " Bhanuprakash Modem
` (6 subsequent siblings)
7 siblings, 2 replies; 16+ messages in thread
From: Bhanuprakash Modem @ 2022-04-08 6:53 UTC (permalink / raw)
To: intel-gfx, dri-devel, amd-gfx, jani.nikula, ville.syrjala,
harry.wentland, swati2.sharma
It's useful to know the connector's max supported bpc for IGT
testing. Expose it via a debugfs file on the connector "output_bpc".
Example: cat /sys/kernel/debug/dri/0/DP-1/output_bpc
Cc: Jani Nikula <jani.nikula@linux.intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
---
drivers/gpu/drm/drm_debugfs.c | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/drivers/gpu/drm/drm_debugfs.c b/drivers/gpu/drm/drm_debugfs.c
index 7f1b82dbaebb..33e5345c6f3e 100644
--- a/drivers/gpu/drm/drm_debugfs.c
+++ b/drivers/gpu/drm/drm_debugfs.c
@@ -395,6 +395,23 @@ static int vrr_range_show(struct seq_file *m, void *data)
}
DEFINE_SHOW_ATTRIBUTE(vrr_range);
+/*
+ * Returns Connector's max supported bpc through debugfs file.
+ * Example usage: cat /sys/kernel/debug/dri/0/DP-1/max_bpc
+ */
+static int output_bpc_show(struct seq_file *m, void *data)
+{
+ struct drm_connector *connector = m->private;
+
+ if (connector->status != connector_status_connected)
+ return -ENODEV;
+
+ seq_printf(m, "Maximum: %u\n", connector->display_info.bpc);
+
+ return 0;
+}
+DEFINE_SHOW_ATTRIBUTE(output_bpc);
+
static const struct file_operations drm_edid_fops = {
.owner = THIS_MODULE,
.open = edid_open,
@@ -437,6 +454,10 @@ void drm_debugfs_connector_add(struct drm_connector *connector)
debugfs_create_file("vrr_range", S_IRUGO, root, connector,
&vrr_range_fops);
+ /* max bpc */
+ debugfs_create_file("output_bpc", 0444, root, connector,
+ &output_bpc_fops);
+
if (connector->funcs->debugfs_init)
connector->funcs->debugfs_init(connector, root);
}
--
2.35.1
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [Intel-gfx] [PATCH 2/3] drm/i915/display/debug: Expose crtc current bpc via debugfs
2022-04-08 6:53 [Intel-gfx] [PATCH 0/3] Expose max and current bpc via debugfs Bhanuprakash Modem
2022-04-08 6:53 ` [Intel-gfx] [PATCH 1/3] drm/debug: Expose connector's max supported " Bhanuprakash Modem
@ 2022-04-08 6:53 ` Bhanuprakash Modem
2022-04-08 6:53 ` [Intel-gfx] [PATCH 3/3] drm/amd/display: Move connector debugfs to drm Bhanuprakash Modem
` (5 subsequent siblings)
7 siblings, 0 replies; 16+ messages in thread
From: Bhanuprakash Modem @ 2022-04-08 6:53 UTC (permalink / raw)
To: intel-gfx, dri-devel, amd-gfx, jani.nikula, ville.syrjala,
harry.wentland, swati2.sharma
This new debugfs will expose the currently using bpc by crtc.
It is very useful for verifying whether we enter the correct
output color depth from IGT.
This patch will also add the connector's max supported bpc to
"i915_display_info" debugfs.
Example:
cat /sys/kernel/debug/dri/0/crtc-0/i915_current_bpc
Current: 8
Cc: Jani Nikula <jani.nikula@linux.intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Uma Shankar <uma.shankar@intel.com>
Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
---
.../drm/i915/display/intel_display_debugfs.c | 28 +++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/drivers/gpu/drm/i915/display/intel_display_debugfs.c b/drivers/gpu/drm/i915/display/intel_display_debugfs.c
index 452d773fd4e3..6c3954479047 100644
--- a/drivers/gpu/drm/i915/display/intel_display_debugfs.c
+++ b/drivers/gpu/drm/i915/display/intel_display_debugfs.c
@@ -590,6 +590,8 @@ static void intel_connector_info(struct seq_file *m,
seq_puts(m, "\tHDCP version: ");
intel_hdcp_info(m, intel_connector);
+ seq_printf(m, "\tmax bpc: %u\n", connector->display_info.bpc);
+
intel_panel_info(m, intel_connector);
seq_printf(m, "\tmodes:\n");
@@ -2202,6 +2204,29 @@ static const struct file_operations i915_dsc_bpp_fops = {
.write = i915_dsc_bpp_write
};
+/*
+ * Returns the Current CRTC's bpc.
+ * Example usage: cat /sys/kernel/debug/dri/0/crtc-0/i915_current_bpc
+ */
+static int i915_current_bpc_show(struct seq_file *m, void *data)
+{
+ struct intel_crtc *crtc = to_intel_crtc(m->private);
+ struct intel_crtc_state *crtc_state;
+ int ret;
+
+ ret = drm_modeset_lock_single_interruptible(&crtc->base.mutex);
+ if (ret)
+ return ret;
+
+ crtc_state = to_intel_crtc_state(crtc->base.state);
+ seq_printf(m, "Current: %u\n", crtc_state->pipe_bpp / 3);
+
+ drm_modeset_unlock(&crtc->base.mutex);
+
+ return ret;
+}
+DEFINE_SHOW_ATTRIBUTE(i915_current_bpc);
+
/**
* intel_connector_debugfs_add - add i915 specific connector debugfs files
* @connector: pointer to a registered drm_connector
@@ -2272,4 +2297,7 @@ void intel_crtc_debugfs_add(struct drm_crtc *crtc)
crtc_updates_add(crtc);
intel_fbc_crtc_debugfs_add(to_intel_crtc(crtc));
+
+ debugfs_create_file("i915_current_bpc", 0444, crtc->debugfs_entry, crtc,
+ &i915_current_bpc_fops);
}
--
2.35.1
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [Intel-gfx] [PATCH 3/3] drm/amd/display: Move connector debugfs to drm
2022-04-08 6:53 [Intel-gfx] [PATCH 0/3] Expose max and current bpc via debugfs Bhanuprakash Modem
2022-04-08 6:53 ` [Intel-gfx] [PATCH 1/3] drm/debug: Expose connector's max supported " Bhanuprakash Modem
2022-04-08 6:53 ` [Intel-gfx] [PATCH 2/3] drm/i915/display/debug: Expose crtc current " Bhanuprakash Modem
@ 2022-04-08 6:53 ` Bhanuprakash Modem
2022-04-08 12:56 ` kernel test robot
2022-04-08 15:03 ` Harry Wentland
2022-04-08 12:54 ` [Intel-gfx] ✗ Fi.CI.SPARSE: warning for Expose max and current bpc via debugfs Patchwork
` (4 subsequent siblings)
7 siblings, 2 replies; 16+ messages in thread
From: Bhanuprakash Modem @ 2022-04-08 6:53 UTC (permalink / raw)
To: intel-gfx, dri-devel, amd-gfx, jani.nikula, ville.syrjala,
harry.wentland, swati2.sharma
Cc: Rodrigo Siqueira
As drm_connector already have the display_info, instead of creating
"output_bpc" debugfs in vendor specific driver, move the logic to
the drm layer.
This patch will also move "Current" bpc to the crtc debugfs from
connector debugfs, since we are getting this info from crtc_state.
Cc: Harry Wentland <harry.wentland@amd.com>
Cc: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
---
.../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 4 --
.../amd/display/amdgpu_dm/amdgpu_dm_debugfs.c | 38 +++++++------------
.../amd/display/amdgpu_dm/amdgpu_dm_debugfs.h | 2 -
3 files changed, 13 insertions(+), 31 deletions(-)
diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
index 73423b805b54..f89651c71ec7 100644
--- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
+++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
@@ -6615,14 +6615,12 @@ dm_crtc_duplicate_state(struct drm_crtc *crtc)
return &state->base;
}
-#ifdef CONFIG_DRM_AMD_SECURE_DISPLAY
static int amdgpu_dm_crtc_late_register(struct drm_crtc *crtc)
{
crtc_debugfs_init(crtc);
return 0;
}
-#endif
static inline int dm_set_vupdate_irq(struct drm_crtc *crtc, bool enable)
{
@@ -6720,9 +6718,7 @@ static const struct drm_crtc_funcs amdgpu_dm_crtc_funcs = {
.enable_vblank = dm_enable_vblank,
.disable_vblank = dm_disable_vblank,
.get_vblank_timestamp = drm_crtc_vblank_helper_get_vblank_timestamp,
-#if defined(CONFIG_DRM_AMD_SECURE_DISPLAY)
.late_register = amdgpu_dm_crtc_late_register,
-#endif
};
static enum drm_connector_status
diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c
index da17ece1a2c5..3ee26083920b 100644
--- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c
+++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c
@@ -873,28 +873,18 @@ static int psr_capability_show(struct seq_file *m, void *data)
}
/*
- * Returns the current and maximum output bpc for the connector.
- * Example usage: cat /sys/kernel/debug/dri/0/DP-1/output_bpc
+ * Returns the current bpc for the crtc.
+ * Example usage: cat /sys/kernel/debug/dri/0/crtc-0/amdgpu_current_bpc
*/
-static int output_bpc_show(struct seq_file *m, void *data)
+static int amdgpu_current_bpc_show(struct seq_file *m, void *data)
{
- struct drm_connector *connector = m->private;
- struct drm_device *dev = connector->dev;
- struct drm_crtc *crtc = NULL;
+ struct drm_crtc *crtc = m->private;
+ struct drm_device *dev = crtc->dev;
struct dm_crtc_state *dm_crtc_state = NULL;
int res = -ENODEV;
unsigned int bpc;
mutex_lock(&dev->mode_config.mutex);
- drm_modeset_lock(&dev->mode_config.connection_mutex, NULL);
-
- if (connector->state == NULL)
- goto unlock;
-
- crtc = connector->state->crtc;
- if (crtc == NULL)
- goto unlock;
-
drm_modeset_lock(&crtc->mutex, NULL);
if (crtc->state == NULL)
goto unlock;
@@ -924,18 +914,15 @@ static int output_bpc_show(struct seq_file *m, void *data)
}
seq_printf(m, "Current: %u\n", bpc);
- seq_printf(m, "Maximum: %u\n", connector->display_info.bpc);
res = 0;
unlock:
- if (crtc)
- drm_modeset_unlock(&crtc->mutex);
-
- drm_modeset_unlock(&dev->mode_config.connection_mutex);
+ drm_modeset_unlock(&crtc->mutex);
mutex_unlock(&dev->mode_config.mutex);
return res;
}
+DEFINE_SHOW_ATTRIBUTE(amdgpu_current_bpc);
/*
* Example usage:
@@ -2541,7 +2528,6 @@ static int target_backlight_show(struct seq_file *m, void *unused)
DEFINE_SHOW_ATTRIBUTE(dp_dsc_fec_support);
DEFINE_SHOW_ATTRIBUTE(dmub_fw_state);
DEFINE_SHOW_ATTRIBUTE(dmub_tracebuffer);
-DEFINE_SHOW_ATTRIBUTE(output_bpc);
DEFINE_SHOW_ATTRIBUTE(dp_lttpr_status);
#ifdef CONFIG_DRM_AMD_DC_HDCP
DEFINE_SHOW_ATTRIBUTE(hdcp_sink_capability);
@@ -2788,7 +2774,6 @@ static const struct {
const struct file_operations *fops;
} connector_debugfs_entries[] = {
{"force_yuv420_output", &force_yuv420_output_fops},
- {"output_bpc", &output_bpc_fops},
{"trigger_hotplug", &trigger_hotplug_debugfs_fops},
{"internal_display", &internal_display_fops}
};
@@ -3172,9 +3157,10 @@ static int crc_win_update_get(void *data, u64 *val)
DEFINE_DEBUGFS_ATTRIBUTE(crc_win_update_fops, crc_win_update_get,
crc_win_update_set, "%llu\n");
-
+#endif
void crtc_debugfs_init(struct drm_crtc *crtc)
{
+#ifdef CONFIG_DRM_AMD_SECURE_DISPLAY
struct dentry *dir = debugfs_lookup("crc", crtc->debugfs_entry);
if (!dir)
@@ -3190,9 +3176,11 @@ void crtc_debugfs_init(struct drm_crtc *crtc)
&crc_win_y_end_fops);
debugfs_create_file_unsafe("crc_win_update", 0644, dir, crtc,
&crc_win_update_fops);
-
-}
#endif
+ debugfs_create_file("amdgpu_current_bpc", 0644, crtc->debugfs_entry,
+ crtc, &amdgpu_current_bpc_fops);
+}
+
/*
* Writes DTN log state to the user supplied buffer.
* Example usage: cat /sys/kernel/debug/dri/0/amdgpu_dm_dtn_log
diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.h b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.h
index 3366cb644053..071200473c27 100644
--- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.h
+++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.h
@@ -31,8 +31,6 @@
void connector_debugfs_init(struct amdgpu_dm_connector *connector);
void dtn_debugfs_init(struct amdgpu_device *adev);
-#if defined(CONFIG_DRM_AMD_SECURE_DISPLAY)
void crtc_debugfs_init(struct drm_crtc *crtc);
-#endif
#endif
--
2.35.1
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [Intel-gfx] ✗ Fi.CI.SPARSE: warning for Expose max and current bpc via debugfs
2022-04-08 6:53 [Intel-gfx] [PATCH 0/3] Expose max and current bpc via debugfs Bhanuprakash Modem
` (2 preceding siblings ...)
2022-04-08 6:53 ` [Intel-gfx] [PATCH 3/3] drm/amd/display: Move connector debugfs to drm Bhanuprakash Modem
@ 2022-04-08 12:54 ` Patchwork
2022-04-08 13:27 ` [Intel-gfx] ✗ Fi.CI.BAT: failure " Patchwork
` (3 subsequent siblings)
7 siblings, 0 replies; 16+ messages in thread
From: Patchwork @ 2022-04-08 12:54 UTC (permalink / raw)
To: Modem, Bhanuprakash; +Cc: intel-gfx
== Series Details ==
Series: Expose max and current bpc via debugfs
URL : https://patchwork.freedesktop.org/series/102390/
State : warning
== Summary ==
$ dim sparse --fast origin/drm-tip
Sparse version: 0.5.1 (Ubuntu: 0.5.1-2)
Fast mode used, each commit won't be checked separately.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Intel-gfx] [PATCH 3/3] drm/amd/display: Move connector debugfs to drm
2022-04-08 6:53 ` [Intel-gfx] [PATCH 3/3] drm/amd/display: Move connector debugfs to drm Bhanuprakash Modem
@ 2022-04-08 12:56 ` kernel test robot
2022-04-08 15:03 ` Harry Wentland
1 sibling, 0 replies; 16+ messages in thread
From: kernel test robot @ 2022-04-08 12:56 UTC (permalink / raw)
To: Bhanuprakash Modem, intel-gfx, dri-devel, amd-gfx, jani.nikula,
ville.syrjala, harry.wentland, swati2.sharma
Cc: Rodrigo Siqueira, kbuild-all
Hi Bhanuprakash,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on drm-intel/for-linux-next]
[also build test ERROR on drm-tip/drm-tip next-20220408]
[cannot apply to drm/drm-next v5.18-rc1]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/intel-lab-lkp/linux/commits/Bhanuprakash-Modem/Expose-max-and-current-bpc-via-debugfs/20220408-145638
base: git://anongit.freedesktop.org/drm-intel for-linux-next
config: s390-randconfig-r022-20220408 (https://download.01.org/0day-ci/archive/20220408/202204082024.SJWgNUte-lkp@intel.com/config)
compiler: s390-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/intel-lab-lkp/linux/commit/25c70426c3d3454fc0c82bc71b101bf7b8bdf11f
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Bhanuprakash-Modem/Expose-max-and-current-bpc-via-debugfs/20220408-145638
git checkout 25c70426c3d3454fc0c82bc71b101bf7b8bdf11f
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=s390 SHELL=/bin/bash drivers/gpu/drm/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
In file included from drivers/gpu/drm/amd/amdgpu/../display/dmub/dmub_srv.h:67,
from drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:35:
drivers/gpu/drm/amd/amdgpu/../display/dmub/inc/dmub_cmd.h: In function 'dmub_rb_flush_pending':
drivers/gpu/drm/amd/amdgpu/../display/dmub/inc/dmub_cmd.h:2961:26: warning: variable 'temp' set but not used [-Wunused-but-set-variable]
2961 | uint64_t temp;
| ^~~~
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c: In function 'amdgpu_dm_crtc_late_register':
>> drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:6614:9: error: implicit declaration of function 'crtc_debugfs_init'; did you mean 'amdgpu_debugfs_init'? [-Werror=implicit-function-declaration]
6614 | crtc_debugfs_init(crtc);
| ^~~~~~~~~~~~~~~~~
| amdgpu_debugfs_init
In file included from drivers/gpu/drm/amd/amdgpu/../display/dc/inc/core_types.h:32,
from drivers/gpu/drm/amd/amdgpu/../display/dc/inc/link_enc_cfg.h:33,
from drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:32:
At top level:
drivers/gpu/drm/amd/amdgpu/../display/include/ddc_service_types.h:128:22: warning: 'SYNAPTICS_DEVICE_ID' defined but not used [-Wunused-const-variable=]
128 | static const uint8_t SYNAPTICS_DEVICE_ID[] = "SYNA";
| ^~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/ddc_service_types.h:125:22: warning: 'DP_SINK_DEVICE_STR_ID_2' defined but not used [-Wunused-const-variable=]
125 | static const uint8_t DP_SINK_DEVICE_STR_ID_2[] = {7, 1, 8, 7, 5, 0};
| ^~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/include/ddc_service_types.h:124:22: warning: 'DP_SINK_DEVICE_STR_ID_1' defined but not used [-Wunused-const-variable=]
124 | static const uint8_t DP_SINK_DEVICE_STR_ID_1[] = {7, 1, 8, 7, 3, 0};
| ^~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +6614 drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c
e7b07ceef2a650 Harry Wentland 2017-08-10 6611
e69231c4451ae0 Wayne Lin 2021-03-08 6612 static int amdgpu_dm_crtc_late_register(struct drm_crtc *crtc)
86bc221918925a Wayne Lin 2021-03-02 6613 {
86bc221918925a Wayne Lin 2021-03-02 @6614 crtc_debugfs_init(crtc);
86bc221918925a Wayne Lin 2021-03-02 6615
86bc221918925a Wayne Lin 2021-03-02 6616 return 0;
86bc221918925a Wayne Lin 2021-03-02 6617 }
86bc221918925a Wayne Lin 2021-03-02 6618
--
0-DAY CI Kernel Test Service
https://01.org/lkp
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Intel-gfx] ✗ Fi.CI.BAT: failure for Expose max and current bpc via debugfs
2022-04-08 6:53 [Intel-gfx] [PATCH 0/3] Expose max and current bpc via debugfs Bhanuprakash Modem
` (3 preceding siblings ...)
2022-04-08 12:54 ` [Intel-gfx] ✗ Fi.CI.SPARSE: warning for Expose max and current bpc via debugfs Patchwork
@ 2022-04-08 13:27 ` Patchwork
2022-04-11 4:46 ` [Intel-gfx] ✓ Fi.CI.BAT: success for Expose max and current bpc via debugfs (rev2) Patchwork
` (2 subsequent siblings)
7 siblings, 0 replies; 16+ messages in thread
From: Patchwork @ 2022-04-08 13:27 UTC (permalink / raw)
To: Modem, Bhanuprakash; +Cc: intel-gfx
[-- Attachment #1: Type: text/plain, Size: 10320 bytes --]
== Series Details ==
Series: Expose max and current bpc via debugfs
URL : https://patchwork.freedesktop.org/series/102390/
State : failure
== Summary ==
CI Bug Log - changes from CI_DRM_11477 -> Patchwork_22825
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with Patchwork_22825 absolutely need to be
verified manually.
If you think the reported changes have nothing to do with the changes
introduced in Patchwork_22825, please notify your bug team 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_22825/index.html
Participating hosts (46 -> 38)
------------------------------
Additional (2): fi-bxt-dsi fi-icl-u2
Missing (10): fi-bdw-samus bat-dg1-6 bat-dg2-8 bat-dg2-9 fi-bsw-cyan bat-adlp-6 bat-adlp-4 fi-pnv-d510 bat-rpls-2 bat-jsl-1
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_22825:
### IGT changes ###
#### Possible regressions ####
* igt@core_hotunplug@unbind-rebind:
- fi-icl-u2: NOTRUN -> [DMESG-WARN][1]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22825/fi-icl-u2/igt@core_hotunplug@unbind-rebind.html
Known issues
------------
Here are the changes found in Patchwork_22825 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@core_hotunplug@unbind-rebind:
- fi-bxt-dsi: NOTRUN -> [DMESG-WARN][2] ([i915#5437])
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22825/fi-bxt-dsi/igt@core_hotunplug@unbind-rebind.html
- fi-cml-u2: NOTRUN -> [DMESG-WARN][3] ([i915#5437])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22825/fi-cml-u2/igt@core_hotunplug@unbind-rebind.html
* igt@gem_huc_copy@huc-copy:
- fi-cml-u2: NOTRUN -> [SKIP][4] ([i915#2190])
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22825/fi-cml-u2/igt@gem_huc_copy@huc-copy.html
- fi-bxt-dsi: NOTRUN -> [SKIP][5] ([fdo#109271] / [i915#2190])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22825/fi-bxt-dsi/igt@gem_huc_copy@huc-copy.html
- fi-icl-u2: NOTRUN -> [SKIP][6] ([i915#2190])
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22825/fi-icl-u2/igt@gem_huc_copy@huc-copy.html
* igt@gem_lmem_swapping@parallel-random-engines:
- fi-icl-u2: NOTRUN -> [SKIP][7] ([i915#4613]) +3 similar issues
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22825/fi-icl-u2/igt@gem_lmem_swapping@parallel-random-engines.html
- fi-cml-u2: NOTRUN -> [SKIP][8] ([i915#4613]) +3 similar issues
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22825/fi-cml-u2/igt@gem_lmem_swapping@parallel-random-engines.html
* igt@gem_lmem_swapping@verify-random:
- fi-bxt-dsi: NOTRUN -> [SKIP][9] ([fdo#109271] / [i915#4613]) +3 similar issues
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22825/fi-bxt-dsi/igt@gem_lmem_swapping@verify-random.html
* igt@kms_chamelium@common-hpd-after-suspend:
- fi-bxt-dsi: NOTRUN -> [SKIP][10] ([fdo#109271] / [fdo#111827]) +8 similar issues
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22825/fi-bxt-dsi/igt@kms_chamelium@common-hpd-after-suspend.html
* igt@kms_chamelium@dp-hpd-fast:
- fi-cml-u2: NOTRUN -> [SKIP][11] ([fdo#109284] / [fdo#111827]) +8 similar issues
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22825/fi-cml-u2/igt@kms_chamelium@dp-hpd-fast.html
* igt@kms_chamelium@hdmi-hpd-fast:
- fi-icl-u2: NOTRUN -> [SKIP][12] ([fdo#111827]) +8 similar issues
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22825/fi-icl-u2/igt@kms_chamelium@hdmi-hpd-fast.html
* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-atomic:
- fi-cml-u2: NOTRUN -> [SKIP][13] ([fdo#109278]) +1 similar issue
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22825/fi-cml-u2/igt@kms_cursor_legacy@basic-busy-flip-before-cursor-atomic.html
* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-legacy:
- fi-icl-u2: NOTRUN -> [SKIP][14] ([fdo#109278]) +2 similar issues
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22825/fi-icl-u2/igt@kms_cursor_legacy@basic-busy-flip-before-cursor-legacy.html
* igt@kms_force_connector_basic@force-load-detect:
- fi-bxt-dsi: NOTRUN -> [SKIP][15] ([fdo#109271]) +13 similar issues
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22825/fi-bxt-dsi/igt@kms_force_connector_basic@force-load-detect.html
- fi-cml-u2: NOTRUN -> [SKIP][16] ([fdo#109285])
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22825/fi-cml-u2/igt@kms_force_connector_basic@force-load-detect.html
- fi-icl-u2: NOTRUN -> [SKIP][17] ([fdo#109285])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22825/fi-icl-u2/igt@kms_force_connector_basic@force-load-detect.html
* igt@kms_frontbuffer_tracking@basic:
- fi-cfl-8109u: [PASS][18] -> [DMESG-FAIL][19] ([i915#62])
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11477/fi-cfl-8109u/igt@kms_frontbuffer_tracking@basic.html
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22825/fi-cfl-8109u/igt@kms_frontbuffer_tracking@basic.html
* igt@kms_pipe_crc_basic@compare-crc-sanitycheck-pipe-b:
- fi-cfl-8109u: [PASS][20] -> [DMESG-WARN][21] ([i915#62]) +9 similar issues
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11477/fi-cfl-8109u/igt@kms_pipe_crc_basic@compare-crc-sanitycheck-pipe-b.html
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22825/fi-cfl-8109u/igt@kms_pipe_crc_basic@compare-crc-sanitycheck-pipe-b.html
* igt@kms_pipe_crc_basic@compare-crc-sanitycheck-pipe-c:
- fi-cfl-8109u: [PASS][22] -> [DMESG-WARN][23] ([i915#5341] / [i915#62])
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11477/fi-cfl-8109u/igt@kms_pipe_crc_basic@compare-crc-sanitycheck-pipe-c.html
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22825/fi-cfl-8109u/igt@kms_pipe_crc_basic@compare-crc-sanitycheck-pipe-c.html
* igt@kms_pipe_crc_basic@compare-crc-sanitycheck-pipe-d:
- fi-cml-u2: NOTRUN -> [SKIP][24] ([fdo#109278] / [i915#533])
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22825/fi-cml-u2/igt@kms_pipe_crc_basic@compare-crc-sanitycheck-pipe-d.html
- fi-bxt-dsi: NOTRUN -> [SKIP][25] ([fdo#109271] / [i915#533])
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22825/fi-bxt-dsi/igt@kms_pipe_crc_basic@compare-crc-sanitycheck-pipe-d.html
* igt@kms_setmode@basic-clone-single-crtc:
- fi-icl-u2: NOTRUN -> [SKIP][26] ([i915#3555])
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22825/fi-icl-u2/igt@kms_setmode@basic-clone-single-crtc.html
- fi-cml-u2: NOTRUN -> [SKIP][27] ([i915#3555])
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22825/fi-cml-u2/igt@kms_setmode@basic-clone-single-crtc.html
* igt@prime_vgem@basic-userptr:
- fi-icl-u2: NOTRUN -> [SKIP][28] ([i915#3301])
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22825/fi-icl-u2/igt@prime_vgem@basic-userptr.html
- fi-cml-u2: NOTRUN -> [SKIP][29] ([i915#3301])
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22825/fi-cml-u2/igt@prime_vgem@basic-userptr.html
* igt@runner@aborted:
- fi-icl-u2: NOTRUN -> [FAIL][30] ([i915#4312] / [i915#5257])
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22825/fi-icl-u2/igt@runner@aborted.html
- fi-cml-u2: NOTRUN -> [FAIL][31] ([i915#4312] / [i915#5257])
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22825/fi-cml-u2/igt@runner@aborted.html
- fi-bxt-dsi: NOTRUN -> [FAIL][32] ([i915#4312] / [i915#5257])
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22825/fi-bxt-dsi/igt@runner@aborted.html
#### Possible fixes ####
* igt@gem_exec_suspend@basic-s3@smem:
- fi-cml-u2: [INCOMPLETE][33] -> [PASS][34]
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11477/fi-cml-u2/igt@gem_exec_suspend@basic-s3@smem.html
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22825/fi-cml-u2/igt@gem_exec_suspend@basic-s3@smem.html
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109278]: https://bugs.freedesktop.org/show_bug.cgi?id=109278
[fdo#109284]: https://bugs.freedesktop.org/show_bug.cgi?id=109284
[fdo#109285]: https://bugs.freedesktop.org/show_bug.cgi?id=109285
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
[i915#3301]: https://gitlab.freedesktop.org/drm/intel/issues/3301
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#4312]: https://gitlab.freedesktop.org/drm/intel/issues/4312
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#5257]: https://gitlab.freedesktop.org/drm/intel/issues/5257
[i915#533]: https://gitlab.freedesktop.org/drm/intel/issues/533
[i915#5341]: https://gitlab.freedesktop.org/drm/intel/issues/5341
[i915#5437]: https://gitlab.freedesktop.org/drm/intel/issues/5437
[i915#62]: https://gitlab.freedesktop.org/drm/intel/issues/62
Build changes
-------------
* IGT: IGT_6415 -> IGTPW_6902
* Linux: CI_DRM_11477 -> Patchwork_22825
CI-20190529: 20190529
CI_DRM_11477: 3e999ce5dcc2d39d18f6eedeaa3237246eae629c @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_6902: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6902/index.html
IGT_6415: c3b690bd5f7fb1fb7ed786ab0f3b815930a6a55f @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_22825: c25b47eca519d09e9de1ce48a725cbe687249b40 @ git://anongit.freedesktop.org/gfx-ci/linux
== Linux commits ==
c25b47eca519 drm/amd/display: Move connector debugfs to drm
69ebec731d61 drm/i915/display/debug: Expose crtc current bpc via debugfs
620311637846 drm/debug: Expose connector's max supported bpc via debugfs
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22825/index.html
[-- Attachment #2: Type: text/html, Size: 13157 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Intel-gfx] [PATCH 1/3] drm/debug: Expose connector's max supported bpc via debugfs
2022-04-08 6:53 ` [Intel-gfx] [PATCH 1/3] drm/debug: Expose connector's max supported " Bhanuprakash Modem
@ 2022-04-08 15:02 ` Harry Wentland
2022-04-08 15:25 ` Modem, Bhanuprakash
2022-04-11 3:57 ` [Intel-gfx] [V2 " Bhanuprakash Modem
1 sibling, 1 reply; 16+ messages in thread
From: Harry Wentland @ 2022-04-08 15:02 UTC (permalink / raw)
To: Bhanuprakash Modem, intel-gfx, dri-devel, amd-gfx, jani.nikula,
ville.syrjala, swati2.sharma
On 2022-04-08 02:53, Bhanuprakash Modem wrote:
> It's useful to know the connector's max supported bpc for IGT
> testing. Expose it via a debugfs file on the connector "output_bpc".
>
> Example: cat /sys/kernel/debug/dri/0/DP-1/output_bpc
>
> Cc: Jani Nikula <jani.nikula@linux.intel.com>
> Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
> Cc: Harry Wentland <harry.wentland@amd.com>
> Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
> ---
> drivers/gpu/drm/drm_debugfs.c | 21 +++++++++++++++++++++
> 1 file changed, 21 insertions(+)
>
> diff --git a/drivers/gpu/drm/drm_debugfs.c b/drivers/gpu/drm/drm_debugfs.c
> index 7f1b82dbaebb..33e5345c6f3e 100644
> --- a/drivers/gpu/drm/drm_debugfs.c
> +++ b/drivers/gpu/drm/drm_debugfs.c
> @@ -395,6 +395,23 @@ static int vrr_range_show(struct seq_file *m, void *data)
> }
> DEFINE_SHOW_ATTRIBUTE(vrr_range);
>
> +/*
> + * Returns Connector's max supported bpc through debugfs file.
> + * Example usage: cat /sys/kernel/debug/dri/0/DP-1/max_bpc
/s/max_bpc/output_bpc
Btw, in amdgpu we have both max_bpc and output_bpc.
Harry
> + */
> +static int output_bpc_show(struct seq_file *m, void *data)
> +{
> + struct drm_connector *connector = m->private;
> +
> + if (connector->status != connector_status_connected)
> + return -ENODEV;
> +
> + seq_printf(m, "Maximum: %u\n", connector->display_info.bpc);
> +
> + return 0;
> +}
> +DEFINE_SHOW_ATTRIBUTE(output_bpc);
> +
> static const struct file_operations drm_edid_fops = {
> .owner = THIS_MODULE,
> .open = edid_open,
> @@ -437,6 +454,10 @@ void drm_debugfs_connector_add(struct drm_connector *connector)
> debugfs_create_file("vrr_range", S_IRUGO, root, connector,
> &vrr_range_fops);
>
> + /* max bpc */
> + debugfs_create_file("output_bpc", 0444, root, connector,
> + &output_bpc_fops);
> +
> if (connector->funcs->debugfs_init)
> connector->funcs->debugfs_init(connector, root);
> }
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Intel-gfx] [PATCH 3/3] drm/amd/display: Move connector debugfs to drm
2022-04-08 6:53 ` [Intel-gfx] [PATCH 3/3] drm/amd/display: Move connector debugfs to drm Bhanuprakash Modem
2022-04-08 12:56 ` kernel test robot
@ 2022-04-08 15:03 ` Harry Wentland
2022-04-08 15:23 ` Modem, Bhanuprakash
1 sibling, 1 reply; 16+ messages in thread
From: Harry Wentland @ 2022-04-08 15:03 UTC (permalink / raw)
To: Bhanuprakash Modem, intel-gfx, dri-devel, amd-gfx, jani.nikula,
ville.syrjala, swati2.sharma
Cc: Rodrigo Siqueira
On 2022-04-08 02:53, Bhanuprakash Modem wrote:
> As drm_connector already have the display_info, instead of creating
> "output_bpc" debugfs in vendor specific driver, move the logic to
> the drm layer.
>
> This patch will also move "Current" bpc to the crtc debugfs from
> connector debugfs, since we are getting this info from crtc_state.
>
Does the amd_max_bpc test pass after this change?
Harry
> Cc: Harry Wentland <harry.wentland@amd.com>
> Cc: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
> Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
> ---
> .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 4 --
> .../amd/display/amdgpu_dm/amdgpu_dm_debugfs.c | 38 +++++++------------
> .../amd/display/amdgpu_dm/amdgpu_dm_debugfs.h | 2 -
> 3 files changed, 13 insertions(+), 31 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
> index 73423b805b54..f89651c71ec7 100644
> --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
> +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
> @@ -6615,14 +6615,12 @@ dm_crtc_duplicate_state(struct drm_crtc *crtc)
> return &state->base;
> }
>
> -#ifdef CONFIG_DRM_AMD_SECURE_DISPLAY
> static int amdgpu_dm_crtc_late_register(struct drm_crtc *crtc)
> {
> crtc_debugfs_init(crtc);
>
> return 0;
> }
> -#endif
>
> static inline int dm_set_vupdate_irq(struct drm_crtc *crtc, bool enable)
> {
> @@ -6720,9 +6718,7 @@ static const struct drm_crtc_funcs amdgpu_dm_crtc_funcs = {
> .enable_vblank = dm_enable_vblank,
> .disable_vblank = dm_disable_vblank,
> .get_vblank_timestamp = drm_crtc_vblank_helper_get_vblank_timestamp,
> -#if defined(CONFIG_DRM_AMD_SECURE_DISPLAY)
> .late_register = amdgpu_dm_crtc_late_register,
> -#endif
> };
>
> static enum drm_connector_status
> diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c
> index da17ece1a2c5..3ee26083920b 100644
> --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c
> +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c
> @@ -873,28 +873,18 @@ static int psr_capability_show(struct seq_file *m, void *data)
> }
>
> /*
> - * Returns the current and maximum output bpc for the connector.
> - * Example usage: cat /sys/kernel/debug/dri/0/DP-1/output_bpc
> + * Returns the current bpc for the crtc.
> + * Example usage: cat /sys/kernel/debug/dri/0/crtc-0/amdgpu_current_bpc
> */
> -static int output_bpc_show(struct seq_file *m, void *data)
> +static int amdgpu_current_bpc_show(struct seq_file *m, void *data)
> {
> - struct drm_connector *connector = m->private;
> - struct drm_device *dev = connector->dev;
> - struct drm_crtc *crtc = NULL;
> + struct drm_crtc *crtc = m->private;
> + struct drm_device *dev = crtc->dev;
> struct dm_crtc_state *dm_crtc_state = NULL;
> int res = -ENODEV;
> unsigned int bpc;
>
> mutex_lock(&dev->mode_config.mutex);
> - drm_modeset_lock(&dev->mode_config.connection_mutex, NULL);
> -
> - if (connector->state == NULL)
> - goto unlock;
> -
> - crtc = connector->state->crtc;
> - if (crtc == NULL)
> - goto unlock;
> -
> drm_modeset_lock(&crtc->mutex, NULL);
> if (crtc->state == NULL)
> goto unlock;
> @@ -924,18 +914,15 @@ static int output_bpc_show(struct seq_file *m, void *data)
> }
>
> seq_printf(m, "Current: %u\n", bpc);
> - seq_printf(m, "Maximum: %u\n", connector->display_info.bpc);
> res = 0;
>
> unlock:
> - if (crtc)
> - drm_modeset_unlock(&crtc->mutex);
> -
> - drm_modeset_unlock(&dev->mode_config.connection_mutex);
> + drm_modeset_unlock(&crtc->mutex);
> mutex_unlock(&dev->mode_config.mutex);
>
> return res;
> }
> +DEFINE_SHOW_ATTRIBUTE(amdgpu_current_bpc);
>
> /*
> * Example usage:
> @@ -2541,7 +2528,6 @@ static int target_backlight_show(struct seq_file *m, void *unused)
> DEFINE_SHOW_ATTRIBUTE(dp_dsc_fec_support);
> DEFINE_SHOW_ATTRIBUTE(dmub_fw_state);
> DEFINE_SHOW_ATTRIBUTE(dmub_tracebuffer);
> -DEFINE_SHOW_ATTRIBUTE(output_bpc);
> DEFINE_SHOW_ATTRIBUTE(dp_lttpr_status);
> #ifdef CONFIG_DRM_AMD_DC_HDCP
> DEFINE_SHOW_ATTRIBUTE(hdcp_sink_capability);
> @@ -2788,7 +2774,6 @@ static const struct {
> const struct file_operations *fops;
> } connector_debugfs_entries[] = {
> {"force_yuv420_output", &force_yuv420_output_fops},
> - {"output_bpc", &output_bpc_fops},
> {"trigger_hotplug", &trigger_hotplug_debugfs_fops},
> {"internal_display", &internal_display_fops}
> };
> @@ -3172,9 +3157,10 @@ static int crc_win_update_get(void *data, u64 *val)
>
> DEFINE_DEBUGFS_ATTRIBUTE(crc_win_update_fops, crc_win_update_get,
> crc_win_update_set, "%llu\n");
> -
> +#endif
> void crtc_debugfs_init(struct drm_crtc *crtc)
> {
> +#ifdef CONFIG_DRM_AMD_SECURE_DISPLAY
> struct dentry *dir = debugfs_lookup("crc", crtc->debugfs_entry);
>
> if (!dir)
> @@ -3190,9 +3176,11 @@ void crtc_debugfs_init(struct drm_crtc *crtc)
> &crc_win_y_end_fops);
> debugfs_create_file_unsafe("crc_win_update", 0644, dir, crtc,
> &crc_win_update_fops);
> -
> -}
> #endif
> + debugfs_create_file("amdgpu_current_bpc", 0644, crtc->debugfs_entry,
> + crtc, &amdgpu_current_bpc_fops);
> +}
> +
> /*
> * Writes DTN log state to the user supplied buffer.
> * Example usage: cat /sys/kernel/debug/dri/0/amdgpu_dm_dtn_log
> diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.h b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.h
> index 3366cb644053..071200473c27 100644
> --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.h
> +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.h
> @@ -31,8 +31,6 @@
>
> void connector_debugfs_init(struct amdgpu_dm_connector *connector);
> void dtn_debugfs_init(struct amdgpu_device *adev);
> -#if defined(CONFIG_DRM_AMD_SECURE_DISPLAY)
> void crtc_debugfs_init(struct drm_crtc *crtc);
> -#endif
>
> #endif
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Intel-gfx] [PATCH 3/3] drm/amd/display: Move connector debugfs to drm
2022-04-08 15:03 ` Harry Wentland
@ 2022-04-08 15:23 ` Modem, Bhanuprakash
2022-04-08 15:25 ` Harry Wentland
0 siblings, 1 reply; 16+ messages in thread
From: Modem, Bhanuprakash @ 2022-04-08 15:23 UTC (permalink / raw)
To: Harry Wentland, intel-gfx, dri-devel, amd-gfx, jani.nikula,
ville.syrjala, swati2.sharma
Cc: Rodrigo Siqueira
On Fri-08-04-2022 08:33 pm, Harry Wentland wrote:
>
>
> On 2022-04-08 02:53, Bhanuprakash Modem wrote:
>> As drm_connector already have the display_info, instead of creating
>> "output_bpc" debugfs in vendor specific driver, move the logic to
>> the drm layer.
>>
>> This patch will also move "Current" bpc to the crtc debugfs from
>> connector debugfs, since we are getting this info from crtc_state.
>>
>
> Does the amd_max_bpc test pass after this change?
We need IGT fix along with this change. And I have made the required
changes in IGT: https://patchwork.freedesktop.org/series/102387/
- Bhanu
>
> Harry
>
>> Cc: Harry Wentland <harry.wentland@amd.com>
>> Cc: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
>> Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
>> ---
>> .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 4 --
>> .../amd/display/amdgpu_dm/amdgpu_dm_debugfs.c | 38 +++++++------------
>> .../amd/display/amdgpu_dm/amdgpu_dm_debugfs.h | 2 -
>> 3 files changed, 13 insertions(+), 31 deletions(-)
>>
>> diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
>> index 73423b805b54..f89651c71ec7 100644
>> --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
>> +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
>> @@ -6615,14 +6615,12 @@ dm_crtc_duplicate_state(struct drm_crtc *crtc)
>> return &state->base;
>> }
>>
>> -#ifdef CONFIG_DRM_AMD_SECURE_DISPLAY
>> static int amdgpu_dm_crtc_late_register(struct drm_crtc *crtc)
>> {
>> crtc_debugfs_init(crtc);
>>
>> return 0;
>> }
>> -#endif
>>
>> static inline int dm_set_vupdate_irq(struct drm_crtc *crtc, bool enable)
>> {
>> @@ -6720,9 +6718,7 @@ static const struct drm_crtc_funcs amdgpu_dm_crtc_funcs = {
>> .enable_vblank = dm_enable_vblank,
>> .disable_vblank = dm_disable_vblank,
>> .get_vblank_timestamp = drm_crtc_vblank_helper_get_vblank_timestamp,
>> -#if defined(CONFIG_DRM_AMD_SECURE_DISPLAY)
>> .late_register = amdgpu_dm_crtc_late_register,
>> -#endif
>> };
>>
>> static enum drm_connector_status
>> diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c
>> index da17ece1a2c5..3ee26083920b 100644
>> --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c
>> +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c
>> @@ -873,28 +873,18 @@ static int psr_capability_show(struct seq_file *m, void *data)
>> }
>>
>> /*
>> - * Returns the current and maximum output bpc for the connector.
>> - * Example usage: cat /sys/kernel/debug/dri/0/DP-1/output_bpc
>> + * Returns the current bpc for the crtc.
>> + * Example usage: cat /sys/kernel/debug/dri/0/crtc-0/amdgpu_current_bpc
>> */
>> -static int output_bpc_show(struct seq_file *m, void *data)
>> +static int amdgpu_current_bpc_show(struct seq_file *m, void *data)
>> {
>> - struct drm_connector *connector = m->private;
>> - struct drm_device *dev = connector->dev;
>> - struct drm_crtc *crtc = NULL;
>> + struct drm_crtc *crtc = m->private;
>> + struct drm_device *dev = crtc->dev;
>> struct dm_crtc_state *dm_crtc_state = NULL;
>> int res = -ENODEV;
>> unsigned int bpc;
>>
>> mutex_lock(&dev->mode_config.mutex);
>> - drm_modeset_lock(&dev->mode_config.connection_mutex, NULL);
>> -
>> - if (connector->state == NULL)
>> - goto unlock;
>> -
>> - crtc = connector->state->crtc;
>> - if (crtc == NULL)
>> - goto unlock;
>> -
>> drm_modeset_lock(&crtc->mutex, NULL);
>> if (crtc->state == NULL)
>> goto unlock;
>> @@ -924,18 +914,15 @@ static int output_bpc_show(struct seq_file *m, void *data)
>> }
>>
>> seq_printf(m, "Current: %u\n", bpc);
>> - seq_printf(m, "Maximum: %u\n", connector->display_info.bpc);
>> res = 0;
>>
>> unlock:
>> - if (crtc)
>> - drm_modeset_unlock(&crtc->mutex);
>> -
>> - drm_modeset_unlock(&dev->mode_config.connection_mutex);
>> + drm_modeset_unlock(&crtc->mutex);
>> mutex_unlock(&dev->mode_config.mutex);
>>
>> return res;
>> }
>> +DEFINE_SHOW_ATTRIBUTE(amdgpu_current_bpc);
>>
>> /*
>> * Example usage:
>> @@ -2541,7 +2528,6 @@ static int target_backlight_show(struct seq_file *m, void *unused)
>> DEFINE_SHOW_ATTRIBUTE(dp_dsc_fec_support);
>> DEFINE_SHOW_ATTRIBUTE(dmub_fw_state);
>> DEFINE_SHOW_ATTRIBUTE(dmub_tracebuffer);
>> -DEFINE_SHOW_ATTRIBUTE(output_bpc);
>> DEFINE_SHOW_ATTRIBUTE(dp_lttpr_status);
>> #ifdef CONFIG_DRM_AMD_DC_HDCP
>> DEFINE_SHOW_ATTRIBUTE(hdcp_sink_capability);
>> @@ -2788,7 +2774,6 @@ static const struct {
>> const struct file_operations *fops;
>> } connector_debugfs_entries[] = {
>> {"force_yuv420_output", &force_yuv420_output_fops},
>> - {"output_bpc", &output_bpc_fops},
>> {"trigger_hotplug", &trigger_hotplug_debugfs_fops},
>> {"internal_display", &internal_display_fops}
>> };
>> @@ -3172,9 +3157,10 @@ static int crc_win_update_get(void *data, u64 *val)
>>
>> DEFINE_DEBUGFS_ATTRIBUTE(crc_win_update_fops, crc_win_update_get,
>> crc_win_update_set, "%llu\n");
>> -
>> +#endif
>> void crtc_debugfs_init(struct drm_crtc *crtc)
>> {
>> +#ifdef CONFIG_DRM_AMD_SECURE_DISPLAY
>> struct dentry *dir = debugfs_lookup("crc", crtc->debugfs_entry);
>>
>> if (!dir)
>> @@ -3190,9 +3176,11 @@ void crtc_debugfs_init(struct drm_crtc *crtc)
>> &crc_win_y_end_fops);
>> debugfs_create_file_unsafe("crc_win_update", 0644, dir, crtc,
>> &crc_win_update_fops);
>> -
>> -}
>> #endif
>> + debugfs_create_file("amdgpu_current_bpc", 0644, crtc->debugfs_entry,
>> + crtc, &amdgpu_current_bpc_fops);
>> +}
>> +
>> /*
>> * Writes DTN log state to the user supplied buffer.
>> * Example usage: cat /sys/kernel/debug/dri/0/amdgpu_dm_dtn_log
>> diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.h b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.h
>> index 3366cb644053..071200473c27 100644
>> --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.h
>> +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.h
>> @@ -31,8 +31,6 @@
>>
>> void connector_debugfs_init(struct amdgpu_dm_connector *connector);
>> void dtn_debugfs_init(struct amdgpu_device *adev);
>> -#if defined(CONFIG_DRM_AMD_SECURE_DISPLAY)
>> void crtc_debugfs_init(struct drm_crtc *crtc);
>> -#endif
>>
>> #endif
>
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Intel-gfx] [PATCH 1/3] drm/debug: Expose connector's max supported bpc via debugfs
2022-04-08 15:02 ` Harry Wentland
@ 2022-04-08 15:25 ` Modem, Bhanuprakash
0 siblings, 0 replies; 16+ messages in thread
From: Modem, Bhanuprakash @ 2022-04-08 15:25 UTC (permalink / raw)
To: Harry Wentland, intel-gfx, dri-devel, amd-gfx, jani.nikula,
ville.syrjala, swati2.sharma
On Fri-08-04-2022 08:32 pm, Harry Wentland wrote:
>
>
> On 2022-04-08 02:53, Bhanuprakash Modem wrote:
>> It's useful to know the connector's max supported bpc for IGT
>> testing. Expose it via a debugfs file on the connector "output_bpc".
>>
>> Example: cat /sys/kernel/debug/dri/0/DP-1/output_bpc
>>
>> Cc: Jani Nikula <jani.nikula@linux.intel.com>
>> Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
>> Cc: Harry Wentland <harry.wentland@amd.com>
>> Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
>> ---
>> drivers/gpu/drm/drm_debugfs.c | 21 +++++++++++++++++++++
>> 1 file changed, 21 insertions(+)
>>
>> diff --git a/drivers/gpu/drm/drm_debugfs.c b/drivers/gpu/drm/drm_debugfs.c
>> index 7f1b82dbaebb..33e5345c6f3e 100644
>> --- a/drivers/gpu/drm/drm_debugfs.c
>> +++ b/drivers/gpu/drm/drm_debugfs.c
>> @@ -395,6 +395,23 @@ static int vrr_range_show(struct seq_file *m, void *data)
>> }
>> DEFINE_SHOW_ATTRIBUTE(vrr_range);
>>
>> +/*
>> + * Returns Connector's max supported bpc through debugfs file.
>> + * Example usage: cat /sys/kernel/debug/dri/0/DP-1/max_bpc
>
> /s/max_bpc/output_bpc
>
> Btw, in amdgpu we have both max_bpc and output_bpc.
I'll float a new rev, Thanks.
- Bhanu
>
> Harry
>
>> + */
>> +static int output_bpc_show(struct seq_file *m, void *data)
>> +{
>> + struct drm_connector *connector = m->private;
>> +
>> + if (connector->status != connector_status_connected)
>> + return -ENODEV;
>> +
>> + seq_printf(m, "Maximum: %u\n", connector->display_info.bpc);
>> +
>> + return 0;
>> +}
>> +DEFINE_SHOW_ATTRIBUTE(output_bpc);
>> +
>> static const struct file_operations drm_edid_fops = {
>> .owner = THIS_MODULE,
>> .open = edid_open,
>> @@ -437,6 +454,10 @@ void drm_debugfs_connector_add(struct drm_connector *connector)
>> debugfs_create_file("vrr_range", S_IRUGO, root, connector,
>> &vrr_range_fops);
>>
>> + /* max bpc */
>> + debugfs_create_file("output_bpc", 0444, root, connector,
>> + &output_bpc_fops);
>> +
>> if (connector->funcs->debugfs_init)
>> connector->funcs->debugfs_init(connector, root);
>> }
>
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Intel-gfx] [PATCH 3/3] drm/amd/display: Move connector debugfs to drm
2022-04-08 15:23 ` Modem, Bhanuprakash
@ 2022-04-08 15:25 ` Harry Wentland
0 siblings, 0 replies; 16+ messages in thread
From: Harry Wentland @ 2022-04-08 15:25 UTC (permalink / raw)
To: Modem, Bhanuprakash, intel-gfx, dri-devel, amd-gfx, jani.nikula,
ville.syrjala, swati2.sharma
Cc: Rodrigo Siqueira
On 2022-04-08 11:23, Modem, Bhanuprakash wrote:
> On Fri-08-04-2022 08:33 pm, Harry Wentland wrote:
>>
>>
>> On 2022-04-08 02:53, Bhanuprakash Modem wrote:
>>> As drm_connector already have the display_info, instead of creating
>>> "output_bpc" debugfs in vendor specific driver, move the logic to
>>> the drm layer.
>>>
>>> This patch will also move "Current" bpc to the crtc debugfs from
>>> connector debugfs, since we are getting this info from crtc_state.
>>>
>>
>> Does the amd_max_bpc test pass after this change?
>
> We need IGT fix along with this change. And I have made the required changes in IGT: https://patchwork.freedesktop.org/series/102387/>>
Thanks, I spotted that patch after I sent this email. :)
Harry
> - Bhanu
>
>>
>> Harry
>>
>>> Cc: Harry Wentland <harry.wentland@amd.com>
>>> Cc: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
>>> Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
>>> ---
>>> .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 4 --
>>> .../amd/display/amdgpu_dm/amdgpu_dm_debugfs.c | 38 +++++++------------
>>> .../amd/display/amdgpu_dm/amdgpu_dm_debugfs.h | 2 -
>>> 3 files changed, 13 insertions(+), 31 deletions(-)
>>>
>>> diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
>>> index 73423b805b54..f89651c71ec7 100644
>>> --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
>>> +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
>>> @@ -6615,14 +6615,12 @@ dm_crtc_duplicate_state(struct drm_crtc *crtc)
>>> return &state->base;
>>> }
>>> -#ifdef CONFIG_DRM_AMD_SECURE_DISPLAY
>>> static int amdgpu_dm_crtc_late_register(struct drm_crtc *crtc)
>>> {
>>> crtc_debugfs_init(crtc);
>>> return 0;
>>> }
>>> -#endif
>>> static inline int dm_set_vupdate_irq(struct drm_crtc *crtc, bool enable)
>>> {
>>> @@ -6720,9 +6718,7 @@ static const struct drm_crtc_funcs amdgpu_dm_crtc_funcs = {
>>> .enable_vblank = dm_enable_vblank,
>>> .disable_vblank = dm_disable_vblank,
>>> .get_vblank_timestamp = drm_crtc_vblank_helper_get_vblank_timestamp,
>>> -#if defined(CONFIG_DRM_AMD_SECURE_DISPLAY)
>>> .late_register = amdgpu_dm_crtc_late_register,
>>> -#endif
>>> };
>>> static enum drm_connector_status
>>> diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c
>>> index da17ece1a2c5..3ee26083920b 100644
>>> --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c
>>> +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c
>>> @@ -873,28 +873,18 @@ static int psr_capability_show(struct seq_file *m, void *data)
>>> }
>>> /*
>>> - * Returns the current and maximum output bpc for the connector.
>>> - * Example usage: cat /sys/kernel/debug/dri/0/DP-1/output_bpc
>>> + * Returns the current bpc for the crtc.
>>> + * Example usage: cat /sys/kernel/debug/dri/0/crtc-0/amdgpu_current_bpc
>>> */
>>> -static int output_bpc_show(struct seq_file *m, void *data)
>>> +static int amdgpu_current_bpc_show(struct seq_file *m, void *data)
>>> {
>>> - struct drm_connector *connector = m->private;
>>> - struct drm_device *dev = connector->dev;
>>> - struct drm_crtc *crtc = NULL;
>>> + struct drm_crtc *crtc = m->private;
>>> + struct drm_device *dev = crtc->dev;
>>> struct dm_crtc_state *dm_crtc_state = NULL;
>>> int res = -ENODEV;
>>> unsigned int bpc;
>>> mutex_lock(&dev->mode_config.mutex);
>>> - drm_modeset_lock(&dev->mode_config.connection_mutex, NULL);
>>> -
>>> - if (connector->state == NULL)
>>> - goto unlock;
>>> -
>>> - crtc = connector->state->crtc;
>>> - if (crtc == NULL)
>>> - goto unlock;
>>> -
>>> drm_modeset_lock(&crtc->mutex, NULL);
>>> if (crtc->state == NULL)
>>> goto unlock;
>>> @@ -924,18 +914,15 @@ static int output_bpc_show(struct seq_file *m, void *data)
>>> }
>>> seq_printf(m, "Current: %u\n", bpc);
>>> - seq_printf(m, "Maximum: %u\n", connector->display_info.bpc);
>>> res = 0;
>>> unlock:
>>> - if (crtc)
>>> - drm_modeset_unlock(&crtc->mutex);
>>> -
>>> - drm_modeset_unlock(&dev->mode_config.connection_mutex);
>>> + drm_modeset_unlock(&crtc->mutex);
>>> mutex_unlock(&dev->mode_config.mutex);
>>> return res;
>>> }
>>> +DEFINE_SHOW_ATTRIBUTE(amdgpu_current_bpc);
>>> /*
>>> * Example usage:
>>> @@ -2541,7 +2528,6 @@ static int target_backlight_show(struct seq_file *m, void *unused)
>>> DEFINE_SHOW_ATTRIBUTE(dp_dsc_fec_support);
>>> DEFINE_SHOW_ATTRIBUTE(dmub_fw_state);
>>> DEFINE_SHOW_ATTRIBUTE(dmub_tracebuffer);
>>> -DEFINE_SHOW_ATTRIBUTE(output_bpc);
>>> DEFINE_SHOW_ATTRIBUTE(dp_lttpr_status);
>>> #ifdef CONFIG_DRM_AMD_DC_HDCP
>>> DEFINE_SHOW_ATTRIBUTE(hdcp_sink_capability);
>>> @@ -2788,7 +2774,6 @@ static const struct {
>>> const struct file_operations *fops;
>>> } connector_debugfs_entries[] = {
>>> {"force_yuv420_output", &force_yuv420_output_fops},
>>> - {"output_bpc", &output_bpc_fops},
>>> {"trigger_hotplug", &trigger_hotplug_debugfs_fops},
>>> {"internal_display", &internal_display_fops}
>>> };
>>> @@ -3172,9 +3157,10 @@ static int crc_win_update_get(void *data, u64 *val)
>>> DEFINE_DEBUGFS_ATTRIBUTE(crc_win_update_fops, crc_win_update_get,
>>> crc_win_update_set, "%llu\n");
>>> -
>>> +#endif
>>> void crtc_debugfs_init(struct drm_crtc *crtc)
>>> {
>>> +#ifdef CONFIG_DRM_AMD_SECURE_DISPLAY
>>> struct dentry *dir = debugfs_lookup("crc", crtc->debugfs_entry);
>>> if (!dir)
>>> @@ -3190,9 +3176,11 @@ void crtc_debugfs_init(struct drm_crtc *crtc)
>>> &crc_win_y_end_fops);
>>> debugfs_create_file_unsafe("crc_win_update", 0644, dir, crtc,
>>> &crc_win_update_fops);
>>> -
>>> -}
>>> #endif
>>> + debugfs_create_file("amdgpu_current_bpc", 0644, crtc->debugfs_entry,
>>> + crtc, &amdgpu_current_bpc_fops);
>>> +}
>>> +
>>> /*
>>> * Writes DTN log state to the user supplied buffer.
>>> * Example usage: cat /sys/kernel/debug/dri/0/amdgpu_dm_dtn_log
>>> diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.h b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.h
>>> index 3366cb644053..071200473c27 100644
>>> --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.h
>>> +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.h
>>> @@ -31,8 +31,6 @@
>>> void connector_debugfs_init(struct amdgpu_dm_connector *connector);
>>> void dtn_debugfs_init(struct amdgpu_device *adev);
>>> -#if defined(CONFIG_DRM_AMD_SECURE_DISPLAY)
>>> void crtc_debugfs_init(struct drm_crtc *crtc);
>>> -#endif
>>> #endif
>>
>
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Intel-gfx] [V2 1/3] drm/debug: Expose connector's max supported bpc via debugfs
2022-04-08 6:53 ` [Intel-gfx] [PATCH 1/3] drm/debug: Expose connector's max supported " Bhanuprakash Modem
2022-04-08 15:02 ` Harry Wentland
@ 2022-04-11 3:57 ` Bhanuprakash Modem
1 sibling, 0 replies; 16+ messages in thread
From: Bhanuprakash Modem @ 2022-04-11 3:57 UTC (permalink / raw)
To: intel-gfx, dri-devel, amd-gfx, jani.nikula, ville.syrjala,
harry.wentland, swati2.sharma
It's useful to know the connector's max supported bpc for IGT
testing. Expose it via a debugfs file on the connector "output_bpc".
Example: cat /sys/kernel/debug/dri/0/DP-1/output_bpc
V2:
* Fix typo in comments (Harry)
Cc: Jani Nikula <jani.nikula@linux.intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
---
drivers/gpu/drm/drm_debugfs.c | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/drivers/gpu/drm/drm_debugfs.c b/drivers/gpu/drm/drm_debugfs.c
index 7f1b82dbaebb..fb04b7a984de 100644
--- a/drivers/gpu/drm/drm_debugfs.c
+++ b/drivers/gpu/drm/drm_debugfs.c
@@ -395,6 +395,23 @@ static int vrr_range_show(struct seq_file *m, void *data)
}
DEFINE_SHOW_ATTRIBUTE(vrr_range);
+/*
+ * Returns Connector's max supported bpc through debugfs file.
+ * Example usage: cat /sys/kernel/debug/dri/0/DP-1/output_bpc
+ */
+static int output_bpc_show(struct seq_file *m, void *data)
+{
+ struct drm_connector *connector = m->private;
+
+ if (connector->status != connector_status_connected)
+ return -ENODEV;
+
+ seq_printf(m, "Maximum: %u\n", connector->display_info.bpc);
+
+ return 0;
+}
+DEFINE_SHOW_ATTRIBUTE(output_bpc);
+
static const struct file_operations drm_edid_fops = {
.owner = THIS_MODULE,
.open = edid_open,
@@ -437,6 +454,10 @@ void drm_debugfs_connector_add(struct drm_connector *connector)
debugfs_create_file("vrr_range", S_IRUGO, root, connector,
&vrr_range_fops);
+ /* max bpc */
+ debugfs_create_file("output_bpc", 0444, root, connector,
+ &output_bpc_fops);
+
if (connector->funcs->debugfs_init)
connector->funcs->debugfs_init(connector, root);
}
--
2.35.1
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [Intel-gfx] ✓ Fi.CI.BAT: success for Expose max and current bpc via debugfs (rev2)
2022-04-08 6:53 [Intel-gfx] [PATCH 0/3] Expose max and current bpc via debugfs Bhanuprakash Modem
` (4 preceding siblings ...)
2022-04-08 13:27 ` [Intel-gfx] ✗ Fi.CI.BAT: failure " Patchwork
@ 2022-04-11 4:46 ` Patchwork
2022-04-11 6:02 ` [Intel-gfx] ✗ Fi.CI.IGT: failure " Patchwork
2022-04-11 9:48 ` [Intel-gfx] [V2 0/3] Expose max and current bpc via debugfs Bhanuprakash Modem
7 siblings, 0 replies; 16+ messages in thread
From: Patchwork @ 2022-04-11 4:46 UTC (permalink / raw)
To: Bhanuprakash Modem; +Cc: intel-gfx
[-- Attachment #1: Type: text/plain, Size: 14393 bytes --]
== Series Details ==
Series: Expose max and current bpc via debugfs (rev2)
URL : https://patchwork.freedesktop.org/series/102390/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_11480 -> Patchwork_22835
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/index.html
Participating hosts (49 -> 45)
------------------------------
Additional (2): bat-dg2-8 fi-pnv-d510
Missing (6): shard-tglu fi-skl-guc fi-bsw-cyan shard-rkl shard-dg1 fi-bdw-samus
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_22835:
### IGT changes ###
#### Suppressed ####
The following results come from untrusted machines, tests, or statuses.
They do not affect the overall result.
* igt@gem_lmem_swapping@verify-random:
- {bat-dg2-8}: NOTRUN -> [SKIP][1] +3 similar issues
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/bat-dg2-8/igt@gem_lmem_swapping@verify-random.html
* igt@i915_selftest@live@memory_region:
- {bat-dg2-8}: NOTRUN -> [FAIL][2] +35 similar issues
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/bat-dg2-8/igt@i915_selftest@live@memory_region.html
Known issues
------------
Here are the changes found in Patchwork_22835 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@amdgpu/amd_cs_nop@sync-fork-compute0:
- fi-snb-2600: NOTRUN -> [SKIP][3] ([fdo#109271]) +17 similar issues
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/fi-snb-2600/igt@amdgpu/amd_cs_nop@sync-fork-compute0.html
* igt@core_auth@basic-auth:
- fi-kbl-soraka: [PASS][4] -> [DMESG-WARN][5] ([i915#1982])
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11480/fi-kbl-soraka/igt@core_auth@basic-auth.html
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/fi-kbl-soraka/igt@core_auth@basic-auth.html
* igt@core_hotunplug@unbind-rebind:
- fi-icl-u2: NOTRUN -> [DMESG-WARN][6] ([i915#5437])
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/fi-icl-u2/igt@core_hotunplug@unbind-rebind.html
- fi-rkl-11600: NOTRUN -> [DMESG-WARN][7] ([i915#5577])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/fi-rkl-11600/igt@core_hotunplug@unbind-rebind.html
* igt@gem_huc_copy@huc-copy:
- fi-pnv-d510: NOTRUN -> [SKIP][8] ([fdo#109271]) +39 similar issues
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/fi-pnv-d510/igt@gem_huc_copy@huc-copy.html
- fi-rkl-11600: NOTRUN -> [SKIP][9] ([i915#2190])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/fi-rkl-11600/igt@gem_huc_copy@huc-copy.html
- fi-icl-u2: NOTRUN -> [SKIP][10] ([i915#2190])
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/fi-icl-u2/igt@gem_huc_copy@huc-copy.html
* igt@gem_lmem_swapping@parallel-random-engines:
- fi-icl-u2: NOTRUN -> [SKIP][11] ([i915#4613]) +3 similar issues
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/fi-icl-u2/igt@gem_lmem_swapping@parallel-random-engines.html
- fi-rkl-11600: NOTRUN -> [SKIP][12] ([i915#4613]) +3 similar issues
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/fi-rkl-11600/igt@gem_lmem_swapping@parallel-random-engines.html
* igt@gem_tiled_pread_basic:
- fi-rkl-11600: NOTRUN -> [SKIP][13] ([i915#3282])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/fi-rkl-11600/igt@gem_tiled_pread_basic.html
* igt@i915_pm_backlight@basic-brightness:
- fi-rkl-11600: NOTRUN -> [SKIP][14] ([i915#3012])
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/fi-rkl-11600/igt@i915_pm_backlight@basic-brightness.html
* igt@i915_selftest@live@requests:
- fi-pnv-d510: NOTRUN -> [DMESG-FAIL][15] ([i915#2927] / [i915#4528])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/fi-pnv-d510/igt@i915_selftest@live@requests.html
* igt@kms_chamelium@dp-crc-fast:
- fi-rkl-11600: NOTRUN -> [SKIP][16] ([fdo#111827]) +8 similar issues
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/fi-rkl-11600/igt@kms_chamelium@dp-crc-fast.html
* igt@kms_chamelium@hdmi-hpd-fast:
- fi-icl-u2: NOTRUN -> [SKIP][17] ([fdo#111827]) +8 similar issues
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/fi-icl-u2/igt@kms_chamelium@hdmi-hpd-fast.html
* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-atomic:
- fi-icl-u2: NOTRUN -> [SKIP][18] ([fdo#109278]) +2 similar issues
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/fi-icl-u2/igt@kms_cursor_legacy@basic-busy-flip-before-cursor-atomic.html
- fi-rkl-11600: NOTRUN -> [SKIP][19] ([i915#4070] / [i915#4103]) +1 similar issue
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/fi-rkl-11600/igt@kms_cursor_legacy@basic-busy-flip-before-cursor-atomic.html
* igt@kms_force_connector_basic@force-load-detect:
- fi-rkl-11600: NOTRUN -> [SKIP][20] ([fdo#109285] / [i915#4098])
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/fi-rkl-11600/igt@kms_force_connector_basic@force-load-detect.html
- fi-icl-u2: NOTRUN -> [SKIP][21] ([fdo#109285])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/fi-icl-u2/igt@kms_force_connector_basic@force-load-detect.html
* igt@kms_pipe_crc_basic@compare-crc-sanitycheck-pipe-c:
- fi-pnv-d510: NOTRUN -> [SKIP][22] ([fdo#109271] / [i915#5341])
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/fi-pnv-d510/igt@kms_pipe_crc_basic@compare-crc-sanitycheck-pipe-c.html
- fi-cfl-8109u: [PASS][23] -> [DMESG-WARN][24] ([i915#5341] / [i915#62])
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11480/fi-cfl-8109u/igt@kms_pipe_crc_basic@compare-crc-sanitycheck-pipe-c.html
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/fi-cfl-8109u/igt@kms_pipe_crc_basic@compare-crc-sanitycheck-pipe-c.html
* igt@kms_pipe_crc_basic@compare-crc-sanitycheck-pipe-d:
- fi-rkl-11600: NOTRUN -> [SKIP][25] ([i915#4070] / [i915#533])
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/fi-rkl-11600/igt@kms_pipe_crc_basic@compare-crc-sanitycheck-pipe-d.html
* igt@kms_pipe_crc_basic@read-crc-pipe-b:
- fi-cfl-8109u: [PASS][26] -> [DMESG-WARN][27] ([i915#62]) +11 similar issues
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11480/fi-cfl-8109u/igt@kms_pipe_crc_basic@read-crc-pipe-b.html
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/fi-cfl-8109u/igt@kms_pipe_crc_basic@read-crc-pipe-b.html
* igt@kms_psr@primary_mmap_gtt:
- fi-rkl-11600: NOTRUN -> [SKIP][28] ([i915#1072]) +3 similar issues
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/fi-rkl-11600/igt@kms_psr@primary_mmap_gtt.html
* igt@kms_setmode@basic-clone-single-crtc:
- fi-icl-u2: NOTRUN -> [SKIP][29] ([i915#3555])
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/fi-icl-u2/igt@kms_setmode@basic-clone-single-crtc.html
- fi-rkl-11600: NOTRUN -> [SKIP][30] ([i915#3555] / [i915#4098])
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/fi-rkl-11600/igt@kms_setmode@basic-clone-single-crtc.html
* igt@prime_vgem@basic-userptr:
- fi-rkl-11600: NOTRUN -> [SKIP][31] ([i915#3301] / [i915#3708])
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/fi-rkl-11600/igt@prime_vgem@basic-userptr.html
- fi-icl-u2: NOTRUN -> [SKIP][32] ([i915#3301])
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/fi-icl-u2/igt@prime_vgem@basic-userptr.html
* igt@prime_vgem@basic-write:
- fi-rkl-11600: NOTRUN -> [SKIP][33] ([i915#3291] / [i915#3708]) +2 similar issues
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/fi-rkl-11600/igt@prime_vgem@basic-write.html
* igt@runner@aborted:
- fi-pnv-d510: NOTRUN -> [FAIL][34] ([fdo#109271] / [i915#2403] / [i915#4312])
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/fi-pnv-d510/igt@runner@aborted.html
- fi-rkl-11600: NOTRUN -> [FAIL][35] ([i915#4312])
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/fi-rkl-11600/igt@runner@aborted.html
- fi-bdw-5557u: NOTRUN -> [FAIL][36] ([i915#4312])
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/fi-bdw-5557u/igt@runner@aborted.html
#### Possible fixes ####
* igt@gem_exec_create@basic@smem:
- fi-icl-u2: [DMESG-WARN][37] -> [PASS][38]
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11480/fi-icl-u2/igt@gem_exec_create@basic@smem.html
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/fi-icl-u2/igt@gem_exec_create@basic@smem.html
* igt@gem_exec_suspend@basic-s3@smem:
- fi-rkl-11600: [INCOMPLETE][39] ([i915#5127]) -> [PASS][40]
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11480/fi-rkl-11600/igt@gem_exec_suspend@basic-s3@smem.html
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/fi-rkl-11600/igt@gem_exec_suspend@basic-s3@smem.html
* igt@i915_selftest@live@hangcheck:
- fi-snb-2600: [INCOMPLETE][41] ([i915#3921]) -> [PASS][42]
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11480/fi-snb-2600/igt@i915_selftest@live@hangcheck.html
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/fi-snb-2600/igt@i915_selftest@live@hangcheck.html
* igt@kms_busy@basic@flip:
- {bat-adlp-6}: [DMESG-WARN][43] ([i915#3576]) -> [PASS][44] +2 similar issues
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11480/bat-adlp-6/igt@kms_busy@basic@flip.html
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/bat-adlp-6/igt@kms_busy@basic@flip.html
- fi-tgl-u2: [DMESG-WARN][45] ([i915#402]) -> [PASS][46]
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11480/fi-tgl-u2/igt@kms_busy@basic@flip.html
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/fi-tgl-u2/igt@kms_busy@basic@flip.html
#### Warnings ####
* igt@runner@aborted:
- fi-icl-u2: [FAIL][47] ([i915#3690] / [i915#4312]) -> [FAIL][48] ([i915#4312] / [i915#5257])
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11480/fi-icl-u2/igt@runner@aborted.html
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/fi-icl-u2/igt@runner@aborted.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
[fdo#109278]: https://bugs.freedesktop.org/show_bug.cgi?id=109278
[fdo#109285]: https://bugs.freedesktop.org/show_bug.cgi?id=109285
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072
[i915#1982]: https://gitlab.freedesktop.org/drm/intel/issues/1982
[i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
[i915#2403]: https://gitlab.freedesktop.org/drm/intel/issues/2403
[i915#2575]: https://gitlab.freedesktop.org/drm/intel/issues/2575
[i915#2582]: https://gitlab.freedesktop.org/drm/intel/issues/2582
[i915#2927]: https://gitlab.freedesktop.org/drm/intel/issues/2927
[i915#3012]: https://gitlab.freedesktop.org/drm/intel/issues/3012
[i915#3282]: https://gitlab.freedesktop.org/drm/intel/issues/3282
[i915#3291]: https://gitlab.freedesktop.org/drm/intel/issues/3291
[i915#3301]: https://gitlab.freedesktop.org/drm/intel/issues/3301
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#3576]: https://gitlab.freedesktop.org/drm/intel/issues/3576
[i915#3690]: https://gitlab.freedesktop.org/drm/intel/issues/3690
[i915#3708]: https://gitlab.freedesktop.org/drm/intel/issues/3708
[i915#3921]: https://gitlab.freedesktop.org/drm/intel/issues/3921
[i915#402]: https://gitlab.freedesktop.org/drm/intel/issues/402
[i915#4070]: https://gitlab.freedesktop.org/drm/intel/issues/4070
[i915#4098]: https://gitlab.freedesktop.org/drm/intel/issues/4098
[i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103
[i915#4312]: https://gitlab.freedesktop.org/drm/intel/issues/4312
[i915#4528]: https://gitlab.freedesktop.org/drm/intel/issues/4528
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#4897]: https://gitlab.freedesktop.org/drm/intel/issues/4897
[i915#5127]: https://gitlab.freedesktop.org/drm/intel/issues/5127
[i915#5171]: https://gitlab.freedesktop.org/drm/intel/issues/5171
[i915#5174]: https://gitlab.freedesktop.org/drm/intel/issues/5174
[i915#5190]: https://gitlab.freedesktop.org/drm/intel/issues/5190
[i915#5257]: https://gitlab.freedesktop.org/drm/intel/issues/5257
[i915#533]: https://gitlab.freedesktop.org/drm/intel/issues/533
[i915#5341]: https://gitlab.freedesktop.org/drm/intel/issues/5341
[i915#5437]: https://gitlab.freedesktop.org/drm/intel/issues/5437
[i915#5577]: https://gitlab.freedesktop.org/drm/intel/issues/5577
[i915#5606]: https://gitlab.freedesktop.org/drm/intel/issues/5606
[i915#5608]: https://gitlab.freedesktop.org/drm/intel/issues/5608
[i915#62]: https://gitlab.freedesktop.org/drm/intel/issues/62
Build changes
-------------
* IGT: IGT_6415 -> IGTPW_6902
* Linux: CI_DRM_11480 -> Patchwork_22835
CI-20190529: 20190529
CI_DRM_11480: 47596fbb6f7eb85127e9f0f3e2c674ef73d5706b @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_6902: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6902/index.html
IGT_6415: c3b690bd5f7fb1fb7ed786ab0f3b815930a6a55f @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_22835: 7022126e54a43c800f379667345a4a77886ee869 @ git://anongit.freedesktop.org/gfx-ci/linux
== Linux commits ==
7022126e54a4 drm/amd/display: Move connector debugfs to drm
e59c167e2b3b drm/i915/display/debug: Expose crtc current bpc via debugfs
2ea78b760ed1 drm/debug: Expose connector's max supported bpc via debugfs
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/index.html
[-- Attachment #2: Type: text/html, Size: 16593 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Intel-gfx] ✗ Fi.CI.IGT: failure for Expose max and current bpc via debugfs (rev2)
2022-04-08 6:53 [Intel-gfx] [PATCH 0/3] Expose max and current bpc via debugfs Bhanuprakash Modem
` (5 preceding siblings ...)
2022-04-11 4:46 ` [Intel-gfx] ✓ Fi.CI.BAT: success for Expose max and current bpc via debugfs (rev2) Patchwork
@ 2022-04-11 6:02 ` Patchwork
2022-04-11 9:48 ` [Intel-gfx] [V2 0/3] Expose max and current bpc via debugfs Bhanuprakash Modem
7 siblings, 0 replies; 16+ messages in thread
From: Patchwork @ 2022-04-11 6:02 UTC (permalink / raw)
To: Bhanuprakash Modem; +Cc: intel-gfx
[-- Attachment #1: Type: text/plain, Size: 30269 bytes --]
== Series Details ==
Series: Expose max and current bpc via debugfs (rev2)
URL : https://patchwork.freedesktop.org/series/102390/
State : failure
== Summary ==
CI Bug Log - changes from CI_DRM_11480_full -> Patchwork_22835_full
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with Patchwork_22835_full absolutely need to be
verified manually.
If you think the reported changes have nothing to do with the changes
introduced in Patchwork_22835_full, please notify your bug team to allow them
to document this new failure mode, which will reduce false positives in CI.
Participating hosts (13 -> 13)
------------------------------
No changes in participating hosts
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_22835_full:
### IGT changes ###
#### Possible regressions ####
* igt@kms_cursor_crc@pipe-b-cursor-suspend:
- shard-skl: [PASS][1] -> [INCOMPLETE][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11480/shard-skl1/igt@kms_cursor_crc@pipe-b-cursor-suspend.html
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-skl10/igt@kms_cursor_crc@pipe-b-cursor-suspend.html
* igt@kms_hdr@bpc-switch-dpms@bpc-switch-dpms-dp-1-pipe-a:
- shard-apl: [PASS][3] -> [FAIL][4] +1 similar issue
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11480/shard-apl8/igt@kms_hdr@bpc-switch-dpms@bpc-switch-dpms-dp-1-pipe-a.html
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-apl3/igt@kms_hdr@bpc-switch-dpms@bpc-switch-dpms-dp-1-pipe-a.html
- shard-kbl: [PASS][5] -> [FAIL][6]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11480/shard-kbl6/igt@kms_hdr@bpc-switch-dpms@bpc-switch-dpms-dp-1-pipe-a.html
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-kbl3/igt@kms_hdr@bpc-switch-dpms@bpc-switch-dpms-dp-1-pipe-a.html
* igt@kms_hdr@bpc-switch-dpms@bpc-switch-dpms-edp-1-pipe-a:
- shard-tglb: [PASS][7] -> [SKIP][8]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11480/shard-tglb1/igt@kms_hdr@bpc-switch-dpms@bpc-switch-dpms-edp-1-pipe-a.html
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-tglb5/igt@kms_hdr@bpc-switch-dpms@bpc-switch-dpms-edp-1-pipe-a.html
* igt@kms_hdr@bpc-switch-suspend@bpc-switch-suspend-dp-1-pipe-a:
- shard-kbl: NOTRUN -> [FAIL][9]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-kbl4/igt@kms_hdr@bpc-switch-suspend@bpc-switch-suspend-dp-1-pipe-a.html
* igt@kms_hdr@bpc-switch-suspend@bpc-switch-suspend-edp-1-pipe-a:
- shard-tglb: NOTRUN -> [SKIP][10] +1 similar issue
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-tglb6/igt@kms_hdr@bpc-switch-suspend@bpc-switch-suspend-edp-1-pipe-a.html
* igt@kms_plane_scaling@downscale-with-pixel-format-factor-0-75@pipe-b-edp-1-downscale-with-pixel-format:
- shard-iclb: [PASS][11] -> [DMESG-FAIL][12]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11480/shard-iclb6/igt@kms_plane_scaling@downscale-with-pixel-format-factor-0-75@pipe-b-edp-1-downscale-with-pixel-format.html
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-iclb2/igt@kms_plane_scaling@downscale-with-pixel-format-factor-0-75@pipe-b-edp-1-downscale-with-pixel-format.html
#### Warnings ####
* igt@kms_content_protection@mei_interface:
- shard-iclb: [SKIP][13] ([fdo#109300] / [fdo#111066]) -> [SKIP][14]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11480/shard-iclb3/igt@kms_content_protection@mei_interface.html
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-iclb7/igt@kms_content_protection@mei_interface.html
Known issues
------------
Here are the changes found in Patchwork_22835_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@feature_discovery@display-2x:
- shard-tglb: NOTRUN -> [SKIP][15] ([i915#1839])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-tglb1/igt@feature_discovery@display-2x.html
* igt@gem_create@create-massive:
- shard-kbl: NOTRUN -> [DMESG-WARN][16] ([i915#4991])
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-kbl1/igt@gem_create@create-massive.html
- shard-apl: NOTRUN -> [DMESG-WARN][17] ([i915#4991])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-apl2/igt@gem_create@create-massive.html
* igt@gem_ctx_persistence@legacy-engines-hostile-preempt:
- shard-snb: NOTRUN -> [SKIP][18] ([fdo#109271] / [i915#1099])
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-snb2/igt@gem_ctx_persistence@legacy-engines-hostile-preempt.html
* igt@gem_eio@kms:
- shard-tglb: NOTRUN -> [FAIL][19] ([i915#232])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-tglb1/igt@gem_eio@kms.html
* igt@gem_eio@unwedge-stress:
- shard-skl: [PASS][20] -> [TIMEOUT][21] ([i915#3063])
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11480/shard-skl9/igt@gem_eio@unwedge-stress.html
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-skl10/igt@gem_eio@unwedge-stress.html
* igt@gem_exec_balancer@parallel-contexts:
- shard-kbl: NOTRUN -> [DMESG-WARN][22] ([i915#5614])
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-kbl6/igt@gem_exec_balancer@parallel-contexts.html
* igt@gem_exec_fair@basic-none-vip@rcs0:
- shard-tglb: NOTRUN -> [FAIL][23] ([i915#2842]) +1 similar issue
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-tglb3/igt@gem_exec_fair@basic-none-vip@rcs0.html
* igt@gem_exec_fair@basic-none@vecs0:
- shard-apl: [PASS][24] -> [FAIL][25] ([i915#2842])
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11480/shard-apl1/igt@gem_exec_fair@basic-none@vecs0.html
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-apl4/igt@gem_exec_fair@basic-none@vecs0.html
* igt@gem_exec_fair@basic-pace@vcs1:
- shard-iclb: NOTRUN -> [FAIL][26] ([i915#2842])
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-iclb1/igt@gem_exec_fair@basic-pace@vcs1.html
* igt@gem_exec_fair@basic-pace@vecs0:
- shard-kbl: [PASS][27] -> [FAIL][28] ([i915#2842]) +1 similar issue
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11480/shard-kbl1/igt@gem_exec_fair@basic-pace@vecs0.html
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-kbl7/igt@gem_exec_fair@basic-pace@vecs0.html
* igt@gem_exec_flush@basic-batch-kernel-default-uc:
- shard-snb: [PASS][29] -> [SKIP][30] ([fdo#109271]) +2 similar issues
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11480/shard-snb4/igt@gem_exec_flush@basic-batch-kernel-default-uc.html
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-snb6/igt@gem_exec_flush@basic-batch-kernel-default-uc.html
* igt@gem_huc_copy@huc-copy:
- shard-apl: NOTRUN -> [SKIP][31] ([fdo#109271] / [i915#2190])
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-apl7/igt@gem_huc_copy@huc-copy.html
- shard-glk: NOTRUN -> [SKIP][32] ([fdo#109271] / [i915#2190])
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-glk6/igt@gem_huc_copy@huc-copy.html
- shard-iclb: NOTRUN -> [SKIP][33] ([i915#2190])
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-iclb6/igt@gem_huc_copy@huc-copy.html
- shard-kbl: NOTRUN -> [SKIP][34] ([fdo#109271] / [i915#2190])
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-kbl7/igt@gem_huc_copy@huc-copy.html
- shard-skl: NOTRUN -> [SKIP][35] ([fdo#109271] / [i915#2190])
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-skl6/igt@gem_huc_copy@huc-copy.html
* igt@gem_lmem_swapping@heavy-verify-random:
- shard-skl: NOTRUN -> [SKIP][36] ([fdo#109271] / [i915#4613])
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-skl4/igt@gem_lmem_swapping@heavy-verify-random.html
* igt@gem_lmem_swapping@parallel-random-engines:
- shard-tglb: NOTRUN -> [SKIP][37] ([i915#4613]) +1 similar issue
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-tglb7/igt@gem_lmem_swapping@parallel-random-engines.html
* igt@gem_lmem_swapping@random-engines:
- shard-kbl: NOTRUN -> [SKIP][38] ([fdo#109271] / [i915#4613]) +2 similar issues
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-kbl4/igt@gem_lmem_swapping@random-engines.html
* igt@gem_lmem_swapping@smem-oom:
- shard-apl: NOTRUN -> [SKIP][39] ([fdo#109271] / [i915#4613]) +1 similar issue
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-apl6/igt@gem_lmem_swapping@smem-oom.html
* igt@gem_pwrite@basic-exhaustion:
- shard-skl: NOTRUN -> [WARN][40] ([i915#2658])
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-skl4/igt@gem_pwrite@basic-exhaustion.html
- shard-snb: NOTRUN -> [WARN][41] ([i915#2658])
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-snb4/igt@gem_pwrite@basic-exhaustion.html
- shard-iclb: NOTRUN -> [WARN][42] ([i915#2658])
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-iclb8/igt@gem_pwrite@basic-exhaustion.html
- shard-apl: NOTRUN -> [WARN][43] ([i915#2658])
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-apl8/igt@gem_pwrite@basic-exhaustion.html
- shard-glk: NOTRUN -> [WARN][44] ([i915#2658])
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-glk2/igt@gem_pwrite@basic-exhaustion.html
* igt@gem_pxp@fail-invalid-protected-context:
- shard-tglb: NOTRUN -> [SKIP][45] ([i915#4270]) +3 similar issues
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-tglb6/igt@gem_pxp@fail-invalid-protected-context.html
* igt@gem_render_copy@y-tiled-mc-ccs-to-vebox-y-tiled:
- shard-iclb: NOTRUN -> [SKIP][46] ([i915#768]) +3 similar issues
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-iclb4/igt@gem_render_copy@y-tiled-mc-ccs-to-vebox-y-tiled.html
* igt@gem_softpin@evict-snoop-interruptible:
- shard-tglb: NOTRUN -> [SKIP][47] ([fdo#109312])
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-tglb1/igt@gem_softpin@evict-snoop-interruptible.html
* igt@gem_userptr_blits@unsync-unmap-cycles:
- shard-tglb: NOTRUN -> [SKIP][48] ([i915#3297])
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-tglb1/igt@gem_userptr_blits@unsync-unmap-cycles.html
- shard-iclb: NOTRUN -> [SKIP][49] ([i915#3297])
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-iclb7/igt@gem_userptr_blits@unsync-unmap-cycles.html
* igt@gem_userptr_blits@vma-merge:
- shard-skl: NOTRUN -> [FAIL][50] ([i915#3318])
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-skl8/igt@gem_userptr_blits@vma-merge.html
* igt@gen9_exec_parse@bb-secure:
- shard-iclb: NOTRUN -> [SKIP][51] ([i915#2856])
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-iclb8/igt@gen9_exec_parse@bb-secure.html
* igt@gen9_exec_parse@bb-start-cmd:
- shard-tglb: NOTRUN -> [SKIP][52] ([i915#2527] / [i915#2856]) +2 similar issues
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-tglb7/igt@gen9_exec_parse@bb-start-cmd.html
* igt@i915_pm_dc@dc6-dpms:
- shard-iclb: [PASS][53] -> [FAIL][54] ([i915#454])
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11480/shard-iclb4/igt@i915_pm_dc@dc6-dpms.html
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-iclb3/igt@i915_pm_dc@dc6-dpms.html
* igt@i915_pm_lpsp@kms-lpsp@kms-lpsp-dp:
- shard-apl: NOTRUN -> [SKIP][55] ([fdo#109271] / [i915#1937])
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-apl4/igt@i915_pm_lpsp@kms-lpsp@kms-lpsp-dp.html
* igt@i915_pm_rc6_residency@rc6-idle:
- shard-tglb: NOTRUN -> [WARN][56] ([i915#2681] / [i915#2684])
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-tglb3/igt@i915_pm_rc6_residency@rc6-idle.html
* igt@i915_pm_rpm@pc8-residency:
- shard-tglb: NOTRUN -> [SKIP][57] ([fdo#109506] / [i915#2411])
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-tglb5/igt@i915_pm_rpm@pc8-residency.html
* igt@kms_big_fb@4-tiled-max-hw-stride-64bpp-rotate-0:
- shard-tglb: NOTRUN -> [SKIP][58] ([i915#5286]) +4 similar issues
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-tglb1/igt@kms_big_fb@4-tiled-max-hw-stride-64bpp-rotate-0.html
* igt@kms_big_fb@4-tiled-max-hw-stride-64bpp-rotate-0-hflip-async-flip:
- shard-iclb: NOTRUN -> [SKIP][59] ([i915#5286]) +2 similar issues
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-iclb6/igt@kms_big_fb@4-tiled-max-hw-stride-64bpp-rotate-0-hflip-async-flip.html
* igt@kms_big_fb@linear-16bpp-rotate-90:
- shard-iclb: NOTRUN -> [SKIP][60] ([fdo#110725] / [fdo#111614]) +3 similar issues
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-iclb5/igt@kms_big_fb@linear-16bpp-rotate-90.html
* igt@kms_big_fb@linear-32bpp-rotate-0:
- shard-glk: [PASS][61] -> [DMESG-WARN][62] ([i915#118])
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11480/shard-glk7/igt@kms_big_fb@linear-32bpp-rotate-0.html
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-glk4/igt@kms_big_fb@linear-32bpp-rotate-0.html
* igt@kms_big_fb@linear-8bpp-rotate-90:
- shard-tglb: NOTRUN -> [SKIP][63] ([fdo#111614]) +4 similar issues
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-tglb7/igt@kms_big_fb@linear-8bpp-rotate-90.html
* igt@kms_big_fb@x-tiled-max-hw-stride-32bpp-rotate-0-async-flip:
- shard-skl: NOTRUN -> [FAIL][64] ([i915#3743]) +1 similar issue
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-skl9/igt@kms_big_fb@x-tiled-max-hw-stride-32bpp-rotate-0-async-flip.html
* igt@kms_big_fb@x-tiled-max-hw-stride-32bpp-rotate-0-hflip:
- shard-glk: NOTRUN -> [SKIP][65] ([fdo#109271] / [i915#3777]) +1 similar issue
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-glk5/igt@kms_big_fb@x-tiled-max-hw-stride-32bpp-rotate-0-hflip.html
- shard-apl: NOTRUN -> [SKIP][66] ([fdo#109271] / [i915#3777]) +2 similar issues
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-apl3/igt@kms_big_fb@x-tiled-max-hw-stride-32bpp-rotate-0-hflip.html
* igt@kms_big_fb@x-tiled-max-hw-stride-64bpp-rotate-0-hflip:
- shard-kbl: NOTRUN -> [SKIP][67] ([fdo#109271] / [i915#3777])
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-kbl1/igt@kms_big_fb@x-tiled-max-hw-stride-64bpp-rotate-0-hflip.html
* igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-0-hflip-async-flip:
- shard-skl: NOTRUN -> [SKIP][68] ([fdo#109271] / [i915#3777]) +6 similar issues
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-skl8/igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-0-hflip-async-flip.html
* igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-180-hflip-async-flip:
- shard-tglb: NOTRUN -> [FAIL][69] ([i915#3743])
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-tglb2/igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-180-hflip-async-flip.html
* igt@kms_big_fb@yf-tiled-64bpp-rotate-180:
- shard-tglb: NOTRUN -> [SKIP][70] ([fdo#111615]) +4 similar issues
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-tglb7/igt@kms_big_fb@yf-tiled-64bpp-rotate-180.html
* igt@kms_big_fb@yf-tiled-8bpp-rotate-0:
- shard-iclb: NOTRUN -> [SKIP][71] ([fdo#110723]) +1 similar issue
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-iclb7/igt@kms_big_fb@yf-tiled-8bpp-rotate-0.html
* igt@kms_ccs@pipe-a-bad-pixel-format-yf_tiled_ccs:
- shard-tglb: NOTRUN -> [SKIP][72] ([fdo#111615] / [i915#3689]) +3 similar issues
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-tglb5/igt@kms_ccs@pipe-a-bad-pixel-format-yf_tiled_ccs.html
* igt@kms_ccs@pipe-b-bad-aux-stride-y_tiled_gen12_rc_ccs_cc:
- shard-skl: NOTRUN -> [SKIP][73] ([fdo#109271] / [i915#3886]) +8 similar issues
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-skl6/igt@kms_ccs@pipe-b-bad-aux-stride-y_tiled_gen12_rc_ccs_cc.html
* igt@kms_ccs@pipe-b-bad-rotation-90-y_tiled_gen12_mc_ccs:
- shard-tglb: NOTRUN -> [SKIP][74] ([i915#3689] / [i915#3886]) +4 similar issues
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-tglb1/igt@kms_ccs@pipe-b-bad-rotation-90-y_tiled_gen12_mc_ccs.html
* igt@kms_ccs@pipe-b-crc-primary-rotation-180-y_tiled_gen12_mc_ccs:
- shard-glk: NOTRUN -> [SKIP][75] ([fdo#109271] / [i915#3886]) +3 similar issues
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-glk6/igt@kms_ccs@pipe-b-crc-primary-rotation-180-y_tiled_gen12_mc_ccs.html
- shard-iclb: NOTRUN -> [SKIP][76] ([fdo#109278] / [i915#3886]) +4 similar issues
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-iclb6/igt@kms_ccs@pipe-b-crc-primary-rotation-180-y_tiled_gen12_mc_ccs.html
* igt@kms_ccs@pipe-c-ccs-on-another-bo-y_tiled_gen12_mc_ccs:
- shard-kbl: NOTRUN -> [SKIP][77] ([fdo#109271] / [i915#3886]) +8 similar issues
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-kbl3/igt@kms_ccs@pipe-c-ccs-on-another-bo-y_tiled_gen12_mc_ccs.html
- shard-apl: NOTRUN -> [SKIP][78] ([fdo#109271] / [i915#3886]) +6 similar issues
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-apl1/igt@kms_ccs@pipe-c-ccs-on-another-bo-y_tiled_gen12_mc_ccs.html
* igt@kms_ccs@pipe-d-crc-primary-rotation-180-y_tiled_gen12_mc_ccs:
- shard-glk: NOTRUN -> [SKIP][79] ([fdo#109271]) +95 similar issues
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-glk8/igt@kms_ccs@pipe-d-crc-primary-rotation-180-y_tiled_gen12_mc_ccs.html
* igt@kms_ccs@pipe-d-missing-ccs-buffer-y_tiled_ccs:
- shard-tglb: NOTRUN -> [SKIP][80] ([i915#3689]) +8 similar issues
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-tglb5/igt@kms_ccs@pipe-d-missing-ccs-buffer-y_tiled_ccs.html
* igt@kms_ccs@pipe-d-missing-ccs-buffer-y_tiled_gen12_rc_ccs_cc:
- shard-kbl: NOTRUN -> [SKIP][81] ([fdo#109271]) +190 similar issues
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-kbl6/igt@kms_ccs@pipe-d-missing-ccs-buffer-y_tiled_gen12_rc_ccs_cc.html
* igt@kms_chamelium@dp-crc-multiple:
- shard-apl: NOTRUN -> [SKIP][82] ([fdo#109271] / [fdo#111827]) +15 similar issues
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-apl3/igt@kms_chamelium@dp-crc-multiple.html
* igt@kms_chamelium@hdmi-hpd-for-each-pipe:
- shard-kbl: NOTRUN -> [SKIP][83] ([fdo#109271] / [fdo#111827]) +9 similar issues
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-kbl4/igt@kms_chamelium@hdmi-hpd-for-each-pipe.html
- shard-iclb: NOTRUN -> [SKIP][84] ([fdo#109284] / [fdo#111827]) +2 similar issues
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-iclb5/igt@kms_chamelium@hdmi-hpd-for-each-pipe.html
* igt@kms_chamelium@vga-hpd-after-suspend:
- shard-skl: NOTRUN -> [SKIP][85] ([fdo#109271] / [fdo#111827]) +12 similar issues
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-skl10/igt@kms_chamelium@vga-hpd-after-suspend.html
* igt@kms_color_chamelium@pipe-a-ctm-0-25:
- shard-snb: NOTRUN -> [SKIP][86] ([fdo#109271] / [fdo#111827]) +5 similar issues
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-snb4/igt@kms_color_chamelium@pipe-a-ctm-0-25.html
* igt@kms_color_chamelium@pipe-a-ctm-max:
- shard-glk: NOTRUN -> [SKIP][87] ([fdo#109271] / [fdo#111827]) +7 similar issues
[87]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-glk1/igt@kms_color_chamelium@pipe-a-ctm-max.html
* igt@kms_color_chamelium@pipe-d-ctm-green-to-red:
- shard-tglb: NOTRUN -> [SKIP][88] ([fdo#109284] / [fdo#111827]) +7 similar issues
[88]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-tglb7/igt@kms_color_chamelium@pipe-d-ctm-green-to-red.html
- shard-iclb: NOTRUN -> [SKIP][89] ([fdo#109278] / [fdo#109284] / [fdo#111827])
[89]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-iclb7/igt@kms_color_chamelium@pipe-d-ctm-green-to-red.html
* igt@kms_content_protection@atomic:
- shard-apl: NOTRUN -> [TIMEOUT][90] ([i915#1319])
[90]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-apl6/igt@kms_content_protection@atomic.html
* igt@kms_content_protection@atomic-dpms:
- shard-tglb: NOTRUN -> [SKIP][91] ([i915#1063])
[91]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-tglb3/igt@kms_content_protection@atomic-dpms.html
* igt@kms_content_protection@uevent:
- shard-apl: NOTRUN -> [FAIL][92] ([i915#2105])
[92]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-apl7/igt@kms_content_protection@uevent.html
* igt@kms_cursor_crc@pipe-a-cursor-32x10-offscreen:
- shard-tglb: NOTRUN -> [SKIP][93] ([i915#3359]) +6 similar issues
[93]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-tglb6/igt@kms_cursor_crc@pipe-a-cursor-32x10-offscreen.html
* igt@kms_cursor_crc@pipe-a-cursor-32x32-sliding:
- shard-tglb: NOTRUN -> [SKIP][94] ([i915#3319]) +5 similar issues
[94]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-tglb5/igt@kms_cursor_crc@pipe-a-cursor-32x32-sliding.html
* igt@kms_cursor_crc@pipe-b-cursor-32x10-rapid-movement:
- shard-iclb: NOTRUN -> [SKIP][95] ([fdo#109278]) +22 similar issues
[95]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-iclb8/igt@kms_cursor_crc@pipe-b-cursor-32x10-rapid-movement.html
* igt@kms_cursor_crc@pipe-b-cursor-512x170-offscreen:
- shard-iclb: NOTRUN -> [SKIP][96] ([fdo#109278] / [fdo#109279]) +2 similar issues
[96]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-iclb6/igt@kms_cursor_crc@pipe-b-cursor-512x170-offscreen.html
* igt@kms_cursor_crc@pipe-c-cursor-512x512-random:
- shard-tglb: NOTRUN -> [SKIP][97] ([fdo#109279] / [i915#3359]) +9 similar issues
[97]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-tglb3/igt@kms_cursor_crc@pipe-c-cursor-512x512-random.html
* igt@kms_cursor_crc@pipe-c-cursor-suspend:
- shard-skl: [PASS][98] -> [SKIP][99] ([fdo#109271]) +31 similar issues
[98]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11480/shard-skl3/igt@kms_cursor_crc@pipe-c-cursor-suspend.html
[99]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-skl10/igt@kms_cursor_crc@pipe-c-cursor-suspend.html
* igt@kms_cursor_legacy@2x-long-cursor-vs-flip-legacy:
- shard-tglb: NOTRUN -> [SKIP][100] ([fdo#109274] / [fdo#111825]) +7 similar issues
[100]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-tglb5/igt@kms_cursor_legacy@2x-long-cursor-vs-flip-legacy.html
* igt@kms_cursor_legacy@flip-vs-cursor-toggle:
- shard-iclb: [PASS][101] -> [FAIL][102] ([i915#2346])
[101]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11480/shard-iclb4/igt@kms_cursor_legacy@flip-vs-cursor-toggle.html
[102]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-iclb7/igt@kms_cursor_legacy@flip-vs-cursor-toggle.html
* igt@kms_dp_tiled_display@basic-test-pattern:
- shard-tglb: NOTRUN -> [SKIP][103] ([i915#426])
[103]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-tglb8/igt@kms_dp_tiled_display@basic-test-pattern.html
* igt@kms_draw_crc@draw-method-xrgb2101010-mmap-wc-4tiled:
- shard-iclb: NOTRUN -> [SKIP][104] ([i915#5287]) +1 similar issue
[104]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-iclb8/igt@kms_draw_crc@draw-method-xrgb2101010-mmap-wc-4tiled.html
* igt@kms_draw_crc@draw-method-xrgb8888-render-4tiled:
- shard-tglb: NOTRUN -> [SKIP][105] ([i915#5287]) +2 similar issues
[105]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-tglb8/igt@kms_draw_crc@draw-method-xrgb8888-render-4tiled.html
* igt@kms_flip@2x-absolute-wf_vblank:
- shard-tglb: NOTRUN -> [SKIP][106] ([fdo#109274] / [fdo#111825] / [i915#3966])
[106]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-tglb6/igt@kms_flip@2x-absolute-wf_vblank.html
* igt@kms_flip@2x-flip-vs-panning-interruptible:
- shard-iclb: NOTRUN -> [SKIP][107] ([fdo#109274]) +2 similar issues
[107]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-iclb3/igt@kms_flip@2x-flip-vs-panning-interruptible.html
* igt@kms_flip@flip-vs-blocking-wf-vblank@a-edp1:
- shard-skl: [PASS][108] -> [FAIL][109] ([i915#2122]) +1 similar issue
[108]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11480/shard-skl9/igt@kms_flip@flip-vs-blocking-wf-vblank@a-edp1.html
[109]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-skl4/igt@kms_flip@flip-vs-blocking-wf-vblank@a-edp1.html
* igt@kms_flip@flip-vs-suspend-interruptible@a-dp1:
- shard-kbl: [PASS][110] -> [DMESG-WARN][111] ([i915#180]) +5 similar issues
[110]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11480/shard-kbl4/igt@kms_flip@flip-vs-suspend-interruptible@a-dp1.html
[111]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-kbl7/igt@kms_flip@flip-vs-suspend-interruptible@a-dp1.html
- shard-apl: [PASS][112] -> [DMESG-WARN][113] ([i915#180]) +6 similar issues
[112]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11480/shard-apl1/igt@kms_flip@flip-vs-suspend-interruptible@a-dp1.html
[113]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-apl6/igt@kms_flip@flip-vs-suspend-interruptible@a-dp1.html
* igt@kms_flip@flip-vs-suspend@c-dp1:
- shard-kbl: NOTRUN -> [DMESG-WARN][114] ([i915#180]) +1 similar issue
[114]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-kbl7/igt@kms_flip@flip-vs-suspend@c-dp1.html
* igt@kms_flip@plain-flip-ts-check-interruptible@a-hdmi-a1:
- shard-glk: [PASS][115] -> [FAIL][116] ([i915#2122])
[115]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11480/shard-glk9/igt@kms_flip@plain-flip-ts-check-interruptible@a-hdmi-a1.html
[116]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-glk3/igt@kms_flip@plain-flip-ts-check-interruptible@a-hdmi-a1.html
* igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytileccs-upscaling:
- shard-skl: [PASS][117] -> [INCOMPLETE][118] ([i915#3701])
[117]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11480/shard-skl8/igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytileccs-upscaling.html
[118]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-skl1/igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytileccs-upscaling.html
* igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-64bpp-ytile-downscaling:
- shard-iclb: [PASS][119] -> [SKIP][120] ([i915#3701]) +1 similar issue
[119]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11480/shard-iclb3/igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-64bpp-ytile-downscaling.html
[120]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-iclb2/igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-64bpp-ytile-downscaling.html
* igt@kms_force_connector_basic@force-load-detect:
- shard-iclb: NOTRUN -> [SKIP][121] ([fdo#109285])
[121]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-iclb3/igt@kms_force_connector_basic@force-load-detect.html
- shard-tglb: NOTRUN -> [SKIP][122] ([fdo#109285])
[122]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-tglb7/igt@kms_force_connector_basic@force-load-detect.html
* igt@kms_frontbuffer_tracking@fbc-2p-primscrn-pri-shrfb-draw-render:
- shard-tglb: NOTRUN -> [SKIP][123] ([fdo#109280] / [fdo#111825]) +29 similar issues
[123]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-tglb5/igt@kms_frontbuffer_tracking@fbc-2p-primscrn-pri-shrfb-draw-render.html
* igt@kms_frontbuffer_tracking@fbc-tiling-4:
- shard-iclb: NOTRUN -> [SKIP][124] ([i915#5438])
[124]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-iclb6/igt@kms_frontbuffer_tracking@fbc-tiling-4.html
- shard-tglb: NOTRUN -> [SKIP][125] ([i915#5439])
[125]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-tglb8/igt@kms_frontbuffer_tracking@fbc-tiling-4.html
* igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-spr-indfb-draw-mmap-cpu:
- shard-iclb: NOTRUN -> [SKIP][126] ([fdo#109280]) +13 similar issues
[126]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/shard-iclb5/igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-spr-indfb-draw-mmap-cpu.html
* igt@kms_frontbuffer_tracking@psr-1p-primscrn-cur-indfb-onoff:
- shard-snb: NOTRUN -> [SKIP][127] ([fdo#109271]) +174 similar issues
[127]: https://intel-gfx-ci.01.org/tre
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_22835/index.html
[-- Attachment #2: Type: text/html, Size: 33687 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* [Intel-gfx] [V2 0/3] Expose max and current bpc via debugfs
2022-04-08 6:53 [Intel-gfx] [PATCH 0/3] Expose max and current bpc via debugfs Bhanuprakash Modem
` (6 preceding siblings ...)
2022-04-11 6:02 ` [Intel-gfx] ✗ Fi.CI.IGT: failure " Patchwork
@ 2022-04-11 9:48 ` Bhanuprakash Modem
7 siblings, 0 replies; 16+ messages in thread
From: Bhanuprakash Modem @ 2022-04-11 9:48 UTC (permalink / raw)
To: intel-gfx, dri-devel
This series will expose the Connector's max supported bpc via connector
debugfs and Crtc's current bpc via crtc debugfs. Also move the existing
vendor specific "output_bpc" logic to drm.
Test-with: 20220411094147.1650859-2-bhanuprakash.modem@intel.com
Bhanuprakash Modem (3):
drm/debug: Expose connector's max supported bpc via debugfs
drm/i915/display/debug: Expose crtc current bpc via debugfs
drm/amd/display: Move connector debugfs to drm
.../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 4 --
.../amd/display/amdgpu_dm/amdgpu_dm_debugfs.c | 38 +++++++------------
.../amd/display/amdgpu_dm/amdgpu_dm_debugfs.h | 2 -
drivers/gpu/drm/drm_debugfs.c | 21 ++++++++++
.../drm/i915/display/intel_display_debugfs.c | 28 ++++++++++++++
5 files changed, 62 insertions(+), 31 deletions(-)
--
2.35.1
^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2022-04-11 9:51 UTC | newest]
Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-08 6:53 [Intel-gfx] [PATCH 0/3] Expose max and current bpc via debugfs Bhanuprakash Modem
2022-04-08 6:53 ` [Intel-gfx] [PATCH 1/3] drm/debug: Expose connector's max supported " Bhanuprakash Modem
2022-04-08 15:02 ` Harry Wentland
2022-04-08 15:25 ` Modem, Bhanuprakash
2022-04-11 3:57 ` [Intel-gfx] [V2 " Bhanuprakash Modem
2022-04-08 6:53 ` [Intel-gfx] [PATCH 2/3] drm/i915/display/debug: Expose crtc current " Bhanuprakash Modem
2022-04-08 6:53 ` [Intel-gfx] [PATCH 3/3] drm/amd/display: Move connector debugfs to drm Bhanuprakash Modem
2022-04-08 12:56 ` kernel test robot
2022-04-08 15:03 ` Harry Wentland
2022-04-08 15:23 ` Modem, Bhanuprakash
2022-04-08 15:25 ` Harry Wentland
2022-04-08 12:54 ` [Intel-gfx] ✗ Fi.CI.SPARSE: warning for Expose max and current bpc via debugfs Patchwork
2022-04-08 13:27 ` [Intel-gfx] ✗ Fi.CI.BAT: failure " Patchwork
2022-04-11 4:46 ` [Intel-gfx] ✓ Fi.CI.BAT: success for Expose max and current bpc via debugfs (rev2) Patchwork
2022-04-11 6:02 ` [Intel-gfx] ✗ Fi.CI.IGT: failure " Patchwork
2022-04-11 9:48 ` [Intel-gfx] [V2 0/3] Expose max and current bpc via debugfs Bhanuprakash Modem
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox