drm/i915/debugfs: remove i915_dpcd file
Subsystems (2)
PATCH 1/1 drm/i915/debugfs: remove i915_dpcd file
We've long had the more generic /dev/drm_dp_auxN devices for the same purpose. Drop the redundant and limited DPCD debugfs file.
--- drivers/gpu/drm/i915/i915_debugfs.c | 64 ----------------------------- 1 file changed, 64 deletions(-)
drivers/gpu/drm/i915/i915_debugfs.c +0 -64
@@ -4329,65 +4329,6 @@ int i915_debugfs_register(struct drm_i915_private *dev_priv) minor->debugfs_root, minor); } -struct dpcd_block { -/* DPCD dump start address. */ -unsigned int offset; -/* DPCD dump end address, inclusive. If unset, .size will be used. */ -unsigned int end; -/* DPCD dump size. Used if .end is unset. If unset, defaults to 1. */ -size_t size; -/* Only valid for eDP. */ -bool edp; -}; - -static const struct dpcd_block i915_dpcd_debug[] = { - { .offset =DP_DPCD_REV , .size =DP_RECEIVER_CAP_SIZE }, - { .offset =DP_PSR_SUPPORT , .end =DP_PSR_CAPS }, - { .offset =DP_DOWNSTREAM_PORT_0 , .size =16 }, - { .offset =DP_LINK_BW_SET , .end =DP_EDP_CONFIGURATION_SET }, - { .offset =DP_SINK_COUNT , .end =DP_ADJUST_REQUEST_LANE2_3 }, - { .offset =DP_SET_POWER }, - { .offset =DP_EDP_DPCD_REV }, - { .offset =DP_EDP_GENERAL_CAP_1 , .end =DP_EDP_GENERAL_CAP_3 }, - { .offset =DP_EDP_DISPLAY_CONTROL_REGISTER , .end =DP_EDP_BACKLIGHT_FREQ_CAP_MAX_LSB }, - { .offset =DP_EDP_DBC_MINIMUM_BRIGHTNESS_SET , .end =DP_EDP_DBC_MAXIMUM_BRIGHTNESS_SET }, -}; - -static int i915_dpcd_show (struct seq_file *m,void *data) -{ -struct drm_connector *connector = m->private; -struct intel_dp *intel_dp = -enc_to_intel_dp (intel_attached_encoder (to_intel_connector (connector))); -u8 buf[16 ]; -ssize_t err; -int i; - -if (connector->status != connector_status_connected) -return -ENODEV ; - -for (i =0 ; i <ARRAY_SIZE (i915_dpcd_debug); i++) { -const struct dpcd_block *b = &i915_dpcd_debug[i]; -size_t size = b->end ? b->end - b->offset +1 : (b->size ?:1 ); - -if (b->edp && - connector->connector_type != DRM_MODE_CONNECTOR_eDP) -continue ; - -/* low tech for now */ -if (WARN_ON (size >sizeof (buf))) -continue ; - - err =drm_dp_dpcd_read (&intel_dp->aux, b->offset, buf, size); -if (err <0 ) -seq_printf (m,"%04x: ERROR %d\n" , b->offset, (int )err); -else -seq_printf (m,"%04x: %*ph\n" , b->offset, (int )err, buf); - } - -return 0 ; -} -DEFINE_SHOW_ATTRIBUTE (i915_dpcd); -static int i915_panel_show (struct seq_file *m,void *data) {struct drm_connector *connector = m->private;
@@ -4552,11 +4493,6 @@ int i915_debugfs_connector_add(struct drm_connector *connector)if (!root)return -ENODEV ; -if (connector->connector_type == DRM_MODE_CONNECTOR_DisplayPort || - connector->connector_type == DRM_MODE_CONNECTOR_eDP) -debugfs_create_file ("i915_dpcd" ,S_IRUGO , root, - connector, &i915_dpcd_fops); -if (connector->connector_type == DRM_MODE_CONNECTOR_eDP) {debugfs_create_file ("i915_panel_timings" ,S_IRUGO , root, connector, &i915_panel_fops);
Signature · 6 lines
2.20.1 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/debugfs: remove i915_dpcd file
== Series Details ==
== Series Details ==
Series: drm/i915/debugfs: remove i915_dpcd file
URL : https://patchwork.freedesktop.org/series/72192/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_7768 -> Patchwork_16157
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16157/index.html
Known issues
------------
Here are the changes found in Patchwork_16157 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_exec_suspend@basic-s3:
- fi-cml-s: [PASS][1] -> [DMESG-WARN][2] ([fdo#111764])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7768/fi-cml-s/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16157/fi-cml-s/igt@[email protected]
* igt@i915_selftest@live_execlists:
- fi-kbl-soraka: [PASS][3] -> [DMESG-FAIL][4] ([i915#656])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7768/fi-kbl-soraka/igt@i915_selftest@live_execlists.html
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16157/fi-kbl-soraka/igt@i915_selftest@live_execlists.html
#### Possible fixes ####
* igt@gem_exec_suspend@basic-s0:
- fi-cml-s: [FAIL][5] ([fdo#103375]) -> [PASS][6]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7768/fi-cml-s/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16157/fi-cml-s/igt@[email protected]
* igt@i915_selftest@live_blt:
- fi-ivb-3770: [DMESG-FAIL][7] ([i915#563]) -> [PASS][8]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7768/fi-ivb-3770/igt@i915_selftest@live_blt.html
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16157/fi-ivb-3770/igt@i915_selftest@live_blt.html
[fdo#103375]: https://bugs.freedesktop.org/show_bug.cgi?id=103375
[fdo#111764]: https://bugs.freedesktop.org/show_bug.cgi?id=111764
[i915#563]: https://gitlab.freedesktop.org/drm/intel/issues/563
[i915#656]: https://gitlab.freedesktop.org/drm/intel/issues/656
Participating hosts (47 -> 41)
------------------------------
Additional (2): fi-hsw-4770r fi-hsw-4770
Missing (8): fi-hsw-4200u fi-skl-6770hq fi-byt-squawks fi-bsw-cyan fi-ilk-650 fi-gdg-551 fi-byt-clapper fi-skl-6700k2
Build changes
-------------
* CI: CI-20190529 -> None
* Linux: CI_DRM_7768 -> Patchwork_16157
CI-20190529: 20190529
CI_DRM_7768: 7db45c7ebc9f6ce2c31c543f26ebdb385a7a52a0 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_5372: 0d00a27fbbd4d4a77d24499ea9811e07e65eb0ac @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_16157: 5e5ae4c5f7d3450332bfd76cd2d4f6f63299eb31 @ git://anongit.freedesktop.org/gfx-ci/linux
== Kernel 32bit build ==
Warning: Kernel 32bit buildtest failed:
https://intel-gfx-ci.01.org/Patchwork_16157/build_32bit.log
CALL scripts/checksyscalls.sh CALL scripts/atomic/check-atomics.sh CHK include/generated/compile.h
Kernel: arch/x86/boot/bzImage is ready (#1)
Building modules, stage 2.
MODPOST 122 modules
ERROR: "__udivdi3" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined! scripts/Makefile.modpost:93: recipe for target '__modpost' failed make[1]: *** [__modpost] Error 1
Makefile:1282: recipe for target 'modules' failed
make: *** [modules] Error 2
== Linux commits ==
5e5ae4c5f7d3 drm/i915/debugfs: remove i915_dpcd file
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16157/index.html
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI[Intel-gfx] ✗ Fi.CI.BUILD: warning for drm/i915/debugfs: remove i915_dpcd file
In reply to Jani Nikula== Series Details ==
== Series Details ==
Series: drm/i915/debugfs: remove i915_dpcd file
URL : https://patchwork.freedesktop.org/series/72192/
State : warning
== Summary ==
CALL scripts/checksyscalls.sh
CALL scripts/atomic/check-atomics.sh
CHK include/generated/compile.h
Kernel: arch/x86/boot/bzImage is ready (#1)
Building modules, stage 2.
MODPOST 122 modules
ERROR: "__udivdi3" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined! scripts/Makefile.modpost:93: recipe for target '__modpost' failed make[1]: *** [__modpost] Error 1
Makefile:1282: recipe for target 'modules' failed
make: *** [modules] Error 2
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16157/build_32bit.log
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI[Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915/debugfs: remove i915_dpcd file
In reply to Jani Nikula== Series Details ==
== Series Details ==
Series: drm/i915/debugfs: remove i915_dpcd file
URL : https://patchwork.freedesktop.org/series/72192/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_7768_full -> Patchwork_16157_full
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Known issues
------------
Here are the changes found in Patchwork_16157_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_ctx_isolation@vcs1-reset:
- shard-iclb: [PASS][1] -> [SKIP][2] ([fdo#109276] / [fdo#112080]) +1 similar issue
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7768/shard-iclb1/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16157/shard-iclb5/igt@[email protected]
* igt@gem_ctx_shared@exec-single-timeline-bsd:
- shard-iclb: [PASS][3] -> [SKIP][4] ([fdo#110841])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7768/shard-iclb6/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16157/shard-iclb1/igt@[email protected]
* igt@gem_eio@unwedge-stress:
- shard-snb: [PASS][5] -> [FAIL][6] ([i915#232])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7768/shard-snb5/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16157/shard-snb6/igt@[email protected]
* igt@gem_exec_schedule@preemptive-hang-bsd:
- shard-iclb: [PASS][7] -> [SKIP][8] ([fdo#112146]) +2 similar issues
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7768/shard-iclb6/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16157/shard-iclb1/igt@[email protected]
* igt@gem_persistent_relocs@forked-interruptible-thrashing:
- shard-glk: [PASS][9] -> [TIMEOUT][10] ([fdo#112271] / [i915#530])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7768/shard-glk3/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16157/shard-glk4/igt@[email protected]
- shard-hsw: [PASS][11] -> [TIMEOUT][12] ([fdo#112271] / [i915#530])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7768/shard-hsw5/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16157/shard-hsw5/igt@[email protected]
* igt@gem_persistent_relocs@forked-thrashing:
- shard-kbl: [PASS][13] -> [INCOMPLETE][14] ([fdo#103665] / [i915#530]) +1 similar issue
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7768/shard-kbl7/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16157/shard-kbl7/igt@[email protected]
* igt@i915_pm_rps@reset:
- shard-iclb: [PASS][15] -> [FAIL][16] ([i915#413]) +1 similar issue
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7768/shard-iclb2/igt@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16157/shard-iclb8/igt@[email protected]
* igt@i915_suspend@sysfs-reader:
- shard-apl: [PASS][17] -> [DMESG-WARN][18] ([i915#180])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7768/shard-apl7/igt@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16157/shard-apl6/igt@[email protected]
* igt@kms_color@pipe-b-ctm-0-25:
- shard-skl: [PASS][19] -> [DMESG-WARN][20] ([i915#109])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7768/shard-skl5/igt@[email protected]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16157/shard-skl4/igt@[email protected]
* igt@kms_cursor_crc@pipe-a-cursor-64x64-offscreen:
- shard-skl: [PASS][21] -> [FAIL][22] ([i915#54])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7768/shard-skl7/igt@[email protected]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16157/shard-skl7/igt@[email protected]
* igt@kms_plane@plane-panning-bottom-right-suspend-pipe-c-planes:
- shard-skl: [PASS][23] -> [INCOMPLETE][24] ([i915#69])
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7768/shard-skl3/igt@[email protected]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16157/shard-skl1/igt@[email protected]
* igt@kms_psr2_su@frontbuffer:
- shard-iclb: [PASS][25] -> [SKIP][26] ([fdo#109642] / [fdo#111068]) +1 similar issue
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7768/shard-iclb2/igt@[email protected]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16157/shard-iclb4/igt@[email protected]
* igt@kms_psr@psr2_no_drrs:
- shard-iclb: [PASS][27] -> [SKIP][28] ([fdo#109441]) +3 similar issues
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7768/shard-iclb2/igt@kms_psr@psr2_no_drrs.html
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16157/shard-iclb4/igt@kms_psr@psr2_no_drrs.html
* igt@kms_vblank@pipe-a-ts-continuation-suspend:
- shard-kbl: [PASS][29] -> [DMESG-WARN][30] ([i915#180]) +5 similar issues
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7768/shard-kbl7/igt@[email protected]
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16157/shard-kbl6/igt@[email protected]
* igt@perf_pmu@busy-vcs1:
- shard-iclb: [PASS][31] -> [SKIP][32] ([fdo#112080]) +3 similar issues
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7768/shard-iclb2/igt@[email protected]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16157/shard-iclb6/igt@[email protected]
* igt@prime_busy@hang-bsd2:
- shard-iclb: [PASS][33] -> [SKIP][34] ([fdo#109276]) +14 similar issues
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7768/shard-iclb1/igt@[email protected]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16157/shard-iclb5/igt@[email protected]
#### Possible fixes ####
* igt@gem_busy@busy-vcs1:
- shard-iclb: [SKIP][35] ([fdo#112080]) -> [PASS][36] +13 similar issues
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7768/shard-iclb5/igt@[email protected]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16157/shard-iclb1/igt@[email protected]
* igt@gem_ctx_isolation@rcs0-s3:
- shard-kbl: [DMESG-WARN][37] ([i915#180]) -> [PASS][38] +4 similar issues
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7768/shard-kbl2/igt@[email protected]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16157/shard-kbl1/igt@[email protected]
* igt@gem_ctx_persistence@vcs1-queued:
- shard-iclb: [SKIP][39] ([fdo#109276] / [fdo#112080]) -> [PASS][40] +3 similar issues
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7768/shard-iclb6/igt@[email protected]
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16157/shard-iclb2/igt@[email protected]
* igt@gem_eio@reset-stress:
- shard-snb: [FAIL][41] ([i915#232]) -> [PASS][42]
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7768/shard-snb1/igt@[email protected]
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16157/shard-snb1/igt@[email protected]
* igt@gem_exec_schedule@in-order-bsd:
- shard-iclb: [SKIP][43] ([fdo#112146]) -> [PASS][44] +7 similar issues
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7768/shard-iclb4/igt@[email protected]
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16157/shard-iclb5/igt@[email protected]
* igt@gem_persistent_relocs@forked-interruptible-thrash-inactive:
- shard-kbl: [TIMEOUT][45] ([fdo#112271] / [i915#530]) -> [PASS][46] +1 similar issue
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7768/shard-kbl6/igt@[email protected]
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16157/shard-kbl4/igt@[email protected]
- shard-hsw: [TIMEOUT][47] ([fdo#112271] / [i915#530]) -> [PASS][48] +1 similar issue
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7768/shard-hsw5/igt@[email protected]
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16157/shard-hsw7/igt@[email protected]
* igt@gem_persistent_relocs@forked-interruptible-thrashing:
- shard-skl: [TIMEOUT][49] ([fdo#112271] / [i915#530]) -> [PASS][50]
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7768/shard-skl4/igt@[email protected]
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16157/shard-skl10/igt@[email protected]
- shard-apl: [TIMEOUT][51] ([fdo#112271] / [i915#530]) -> [PASS][52]
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7768/shard-apl2/igt@[email protected]
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16157/shard-apl7/igt@[email protected]
* igt@gen9_exec_parse@allowed-single:
- shard-glk: [DMESG-WARN][53] ([i915#716]) -> [PASS][54]
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7768/shard-glk2/igt@[email protected]
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16157/shard-glk9/igt@[email protected]
* igt@i915_pm_rpm@system-suspend-execbuf:
- shard-iclb: [DMESG-WARN][55] ([fdo#111764]) -> [PASS][56]
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7768/shard-iclb4/igt@[email protected]
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16157/shard-iclb5/igt@[email protected]
* igt@i915_suspend@fence-restore-untiled:
- shard-skl: [INCOMPLETE][57] ([i915#69]) -> [PASS][58]
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7768/shard-skl6/igt@[email protected]
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16157/shard-skl10/igt@[email protected]
* igt@kms_cursor_legacy@2x-long-flip-vs-cursor-legacy:
- shard-glk: [FAIL][59] ([i915#72]) -> [PASS][60]
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7768/shard-glk9/igt@[email protected]
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16157/shard-glk2/igt@[email protected]
* igt@kms_flip@2x-plain-flip-ts-check:
- shard-glk: [FAIL][61] ([i915#34]) -> [PASS][62]
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7768/shard-glk7/igt@[email protected]
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16157/shard-glk3/igt@[email protected]
* igt@kms_flip@flip-vs-expired-vblank-interruptible:
- shard-skl: [FAIL][63] ([i915#79]) -> [PASS][64]
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7768/shard-skl8/igt@[email protected]
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16157/shard-skl8/igt@[email protected]
* igt@kms_flip@flip-vs-suspend-interruptible:
- shard-apl: [DMESG-WARN][65] ([i915#180]) -> [PASS][66] +3 similar issues
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7768/shard-apl1/igt@[email protected]
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16157/shard-apl8/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-a-constant-alpha-min:
- shard-skl: [FAIL][67] ([fdo#108145]) -> [PASS][68]
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7768/shard-skl7/igt@[email protected]
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16157/shard-skl7/igt@[email protected]
* igt@kms_plane_scaling@pipe-b-scaler-with-rotation:
- shard-glk: [DMESG-WARN][69] ([i915#118] / [i915#95]) -> [PASS][70]
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7768/shard-glk4/igt@[email protected]
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16157/shard-glk5/igt@[email protected]
* igt@kms_psr@psr2_primary_mmap_cpu:
- shard-iclb: [SKIP][71] ([fdo#109441]) -> [PASS][72] +3 similar issues
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7768/shard-iclb5/igt@kms_psr@psr2_primary_mmap_cpu.html
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16157/shard-iclb2/igt@kms_psr@psr2_primary_mmap_cpu.html
* igt@kms_setmode@basic:
- shard-apl: [FAIL][73] ([i915#31]) -> [PASS][74]
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7768/shard-apl8/igt@[email protected]
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16157/shard-apl4/igt@[email protected]
* igt@perf@oa-exponents:
- shard-iclb: [INCOMPLETE][75] ([i915#140]) -> [PASS][76]
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7768/shard-iclb4/igt@[email protected]
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16157/shard-iclb6/igt@[email protected]
* igt@prime_vgem@fence-wait-bsd2:
- shard-iclb: [SKIP][77] ([fdo#109276]) -> [PASS][78] +20 similar issues
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7768/shard-iclb6/igt@[email protected]
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16157/shard-iclb1/igt@[email protected]
#### Warnings ####
* igt@gem_ctx_isolation@vcs1-nonpriv:
- shard-iclb: [FAIL][79] ([IGT#28]) -> [SKIP][80] ([fdo#109276] / [fdo#112080]) +1 similar issue
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7768/shard-iclb2/igt@[email protected]
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16157/shard-iclb6/igt@[email protected]
* igt@gem_eio@kms:
- shard-snb: [INCOMPLETE][81] ([i915#82]) -> [DMESG-WARN][82] ([i915#444])
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7768/shard-snb4/igt@[email protected]
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16157/shard-snb1/igt@[email protected]
* igt@kms_dp_dsc@basic-dsc-enable-edp:
- shard-iclb: [SKIP][83] ([fdo#109349]) -> [DMESG-WARN][84] ([fdo#107724])
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7768/shard-iclb5/igt@[email protected]
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16157/shard-iclb2/igt@[email protected]
* igt@runner@aborted:
- shard-glk: [FAIL][85] ([k.org#202321]) -> ([FAIL][86], [FAIL][87]) ([i915#997] / [k.org#202321])
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7768/shard-glk2/igt@[email protected]
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16157/shard-glk1/igt@[email protected]
[87]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16157/shard-glk5/igt@[email protected]
[IGT#28]: https://gitlab.freedesktop.org/drm/igt-gpu-tools/issues/28
[fdo#103665]: https://bugs.freedesktop.org/show_bug.cgi?id=103665
[fdo#107724]: https://bugs.freedesktop.org/show_bug.cgi?id=107724
[fdo#108145]: https://bugs.freedesktop.org/show_bug.cgi?id=108145
[fdo#109276]: https://bugs.freedesktop.org/show_bug.cgi?id=109276
[fdo#109349]: https://bugs.freedesktop.org/show_bug.cgi?id=109349
[fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
[fdo#109642]: https://bugs.freedesktop.org/show_bug.cgi?id=109642
[fdo#110841]: https://bugs.freedesktop.org/show_bug.cgi?id=110841
[fdo#111068]: https://bugs.freedesktop.org/show_bug.cgi?id=111068
[fdo#111764]: https://bugs.freedesktop.org/show_bug.cgi?id=111764
[fdo#112080]: https://bugs.freedesktop.org/show_bug.cgi?id=112080
[fdo#112146]: https://bugs.freedesktop.org/show_bug.cgi?id=112146
[fdo#112271]: https://bugs.freedesktop.org/show_bug.cgi?id=112271
[i915#109]: https://gitlab.freedesktop.org/drm/intel/issues/109
[i915#118]: https://gitlab.freedesktop.org/drm/intel/issues/118
[i915#140]: https://gitlab.freedesktop.org/drm/intel/issues/140
[i915#180]: https://gitlab.freedesktop.org/drm/intel/issues/180
[i915#232]: https://gitlab.freedesktop.org/drm/intel/issues/232
[i915#31]: https://gitlab.freedesktop.org/drm/intel/issues/31
[i915#34]: https://gitlab.freedesktop.org/drm/intel/issues/34
[i915#413]: https://gitlab.freedesktop.org/drm/intel/issues/413
[i915#444]: https://gitlab.freedesktop.org/drm/intel/issues/444
[i915#530]: https://gitlab.freedesktop.org/drm/intel/issues/530
[i915#54]: https://gitlab.freedesktop.org/drm/intel/issues/54
[i915#69]: https://gitlab.freedesktop.org/drm/intel/issues/69
[i915#716]: https://gitlab.freedesktop.org/drm/intel/issues/716
[i915#72]: https://gitlab.freedesktop.org/drm/intel/issues/72
[i915#79]: https://gitlab.freedesktop.org/drm/intel/issues/79
[i915#82]: https://gitlab.freedesktop.org/drm/intel/issues/82
[i915#95]: https://gitlab.freedesktop.org/drm/intel/issues/95
[i915#997]: https://gitlab.freedesktop.org/drm/intel/issues/997
[k.org#202321]: https://bugzilla.kernel.org/show_bug.cgi?id=202321
Participating hosts (10 -> 10)
------------------------------
No changes in participating hosts
Build changes
-------------
* CI: CI-20190529 -> None
* Linux: CI_DRM_7768 -> Patchwork_16157
CI-20190529: 20190529
CI_DRM_7768: 7db45c7ebc9f6ce2c31c543f26ebdb385a7a52a0 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_5372: 0d00a27fbbd4d4a77d24499ea9811e07e65eb0ac @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_16157: 5e5ae4c5f7d3450332bfd76cd2d4f6f63299eb31 @ git://anongit.freedesktop.org/gfx-ci/linux
piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_16157/index.html
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 4 lines · Jani Nikula
We've long had the more generic
/dev/drm_dp_auxNdevices for the same purpose. Drop the redundant and limited DPCD debugfs file.Signed-off-by Jani Nikula <[email protected]>
Quoted 93 lines
--- drivers/gpu/drm/i915/i915_debugfs.c | 64 ----------------------------- 1 file changed, 64 deletions(-)drivers/gpu/drm/i915/i915_debugfs.c +0
-64@@ -4329,65 +4329,6 @@ int i915_debugfs_register(struct drm_i915_private *dev_priv) minor->debugfs_root, minor); } -struct dpcd_block { -/* DPCD dump start address. */ -unsigned int offset; -/* DPCD dump end address, inclusive. If unset, .size will be used. */ -unsigned int end; -/* DPCD dump size. Used if .end is unset. If unset, defaults to 1. */ -size_t size; -/* Only valid for eDP. */ -bool edp; -}; - -static const struct dpcd_block i915_dpcd_debug[] = { - { .offset =DP_DPCD_REV , .size =DP_RECEIVER_CAP_SIZE }, - { .offset =DP_PSR_SUPPORT , .end =DP_PSR_CAPS }, - { .offset =DP_DOWNSTREAM_PORT_0 , .size =16 }, - { .offset =DP_LINK_BW_SET , .end =DP_EDP_CONFIGURATION_SET }, - { .offset =DP_SINK_COUNT , .end =DP_ADJUST_REQUEST_LANE2_3 }, - { .offset =DP_SET_POWER }, - { .offset =DP_EDP_DPCD_REV }, - { .offset =DP_EDP_GENERAL_CAP_1 , .end =DP_EDP_GENERAL_CAP_3 }, - { .offset =DP_EDP_DISPLAY_CONTROL_REGISTER , .end =DP_EDP_BACKLIGHT_FREQ_CAP_MAX_LSB }, - { .offset =DP_EDP_DBC_MINIMUM_BRIGHTNESS_SET , .end =DP_EDP_DBC_MAXIMUM_BRIGHTNESS_SET }, -}; - -static int i915_dpcd_show (struct seq_file *m,void *data) -{ -struct drm_connector *connector = m->private; -struct intel_dp *intel_dp = -enc_to_intel_dp (intel_attached_encoder (to_intel_connector (connector))); -u8 buf[16 ]; -ssize_t err; -int i; - -if (connector->status != connector_status_connected) -return -ENODEV ; - -for (i =0 ; i <ARRAY_SIZE (i915_dpcd_debug); i++) { -const struct dpcd_block *b = &i915_dpcd_debug[i]; -size_t size = b->end ? b->end - b->offset +1 : (b->size ?:1 ); - -if (b->edp && - connector->connector_type != DRM_MODE_CONNECTOR_eDP) -continue ; - -/* low tech for now */ -if (WARN_ON (size >sizeof (buf))) -continue ; - - err =drm_dp_dpcd_read (&intel_dp->aux, b->offset, buf, size); -if (err <0 ) -seq_printf (m,"%04x: ERROR %d\n" , b->offset, (int )err); -else -seq_printf (m,"%04x: %*ph\n" , b->offset, (int )err, buf); - } - -return 0 ; -} -DEFINE_SHOW_ATTRIBUTE (i915_dpcd); -static int i915_panel_show (struct seq_file *m,void *data) {struct drm_connector *connector = m->private;@@ -4552,11 +4493,6 @@ int i915_debugfs_connector_add(struct drm_connector *connector)if (!root)return -ENODEV ; -if (connector->connector_type == DRM_MODE_CONNECTOR_DisplayPort || - connector->connector_type == DRM_MODE_CONNECTOR_eDP) -debugfs_create_file ("i915_dpcd" ,S_IRUGO , root, - connector, &i915_dpcd_fops); -if (connector->connector_type == DRM_MODE_CONNECTOR_eDP) {debugfs_create_file ("i915_panel_timings" ,S_IRUGO , root, connector, &i915_panel_fops);Signature · 6 lines
2.20.1 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Signature · 6 lines
Ville Syrjälä Intel _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 7 lines · Ville Syrjälä
Quoted 4 lines · Jani Nikula
We've long had the more generic
/dev/drm_dp_auxNdevices for the same purpose. Drop the redundant and limited DPCD debugfs file.Signed-off-by Jani Nikula <[email protected]>Reviewed-by Ville Syrjälä <[email protected]>
Thanks, pushed to dinq.
BR,
Jani.
Quoted 94 lines
Quoted 94 lines
--- drivers/gpu/drm/i915/i915_debugfs.c | 64 ----------------------------- 1 file changed, 64 deletions(-)drivers/gpu/drm/i915/i915_debugfs.c +0
-64@@ -4329,65 +4329,6 @@ int i915_debugfs_register(struct drm_i915_private *dev_priv) minor->debugfs_root, minor); } -struct dpcd_block { -/* DPCD dump start address. */ -unsigned int offset; -/* DPCD dump end address, inclusive. If unset, .size will be used. */ -unsigned int end; -/* DPCD dump size. Used if .end is unset. If unset, defaults to 1. */ -size_t size; -/* Only valid for eDP. */ -bool edp; -}; - -static const struct dpcd_block i915_dpcd_debug[] = { - { .offset =DP_DPCD_REV , .size =DP_RECEIVER_CAP_SIZE }, - { .offset =DP_PSR_SUPPORT , .end =DP_PSR_CAPS }, - { .offset =DP_DOWNSTREAM_PORT_0 , .size =16 }, - { .offset =DP_LINK_BW_SET , .end =DP_EDP_CONFIGURATION_SET }, - { .offset =DP_SINK_COUNT , .end =DP_ADJUST_REQUEST_LANE2_3 }, - { .offset =DP_SET_POWER }, - { .offset =DP_EDP_DPCD_REV }, - { .offset =DP_EDP_GENERAL_CAP_1 , .end =DP_EDP_GENERAL_CAP_3 }, - { .offset =DP_EDP_DISPLAY_CONTROL_REGISTER , .end =DP_EDP_BACKLIGHT_FREQ_CAP_MAX_LSB }, - { .offset =DP_EDP_DBC_MINIMUM_BRIGHTNESS_SET , .end =DP_EDP_DBC_MAXIMUM_BRIGHTNESS_SET }, -}; - -static int i915_dpcd_show (struct seq_file *m,void *data) -{ -struct drm_connector *connector = m->private; -struct intel_dp *intel_dp = -enc_to_intel_dp (intel_attached_encoder (to_intel_connector (connector))); -u8 buf[16 ]; -ssize_t err; -int i; - -if (connector->status != connector_status_connected) -return -ENODEV ; - -for (i =0 ; i <ARRAY_SIZE (i915_dpcd_debug); i++) { -const struct dpcd_block *b = &i915_dpcd_debug[i]; -size_t size = b->end ? b->end - b->offset +1 : (b->size ?:1 ); - -if (b->edp && - connector->connector_type != DRM_MODE_CONNECTOR_eDP) -continue ; - -/* low tech for now */ -if (WARN_ON (size >sizeof (buf))) -continue ; - - err =drm_dp_dpcd_read (&intel_dp->aux, b->offset, buf, size); -if (err <0 ) -seq_printf (m,"%04x: ERROR %d\n" , b->offset, (int )err); -else -seq_printf (m,"%04x: %*ph\n" , b->offset, (int )err, buf); - } - -return 0 ; -} -DEFINE_SHOW_ATTRIBUTE (i915_dpcd); -static int i915_panel_show (struct seq_file *m,void *data) {struct drm_connector *connector = m->private;@@ -4552,11 +4493,6 @@ int i915_debugfs_connector_add(struct drm_connector *connector)if (!root)return -ENODEV ; -if (connector->connector_type == DRM_MODE_CONNECTOR_DisplayPort || - connector->connector_type == DRM_MODE_CONNECTOR_eDP) -debugfs_create_file ("i915_dpcd" ,S_IRUGO , root, - connector, &i915_dpcd_fops); -if (connector->connector_type == DRM_MODE_CONNECTOR_eDP) {debugfs_create_file ("i915_panel_timings" ,S_IRUGO , root, connector, &i915_panel_fops);Signature · 6 lines
2.20.1 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Signature · 5 lines
Jani Nikula, Intel Open Source Graphics Center _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx