drm/i915/hdcp: Fix CP current state
Subsystems (3)
PATCH 1/1 drm/i915/hdcp: Fix CP current state
In many cases there is a need to change the CP property to desired even if not modeset has been requested yet on such situation being lid gets closed while DP is still connected in this case HDCP authentication needs to be reenabled.
Remove Fix me as we now send a uevent via drm_hdcp_update_property.
--- drivers/gpu/drm/i915/display/intel_hdcp.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-)
drivers/gpu/drm/i915/display/intel_hdcp.c +2 -5
@@ -2564,12 +2564,9 @@ void intel_hdcp_atomic_check(struct drm_connector *connector, new_state->crtc);/* * Fix the HDCP uapi content protection state in case of modeset. -* FIXME: As per HDCP content protection property uapi doc, an uevent() -* need to be sent if there is transition from ENABLED->DESIRED. */ -if (drm_atomic_crtc_needs_modeset (crtc_state) && - (old_cp ==DRM_MODE_CONTENT_PROTECTION_ENABLED && - new_cp !=DRM_MODE_CONTENT_PROTECTION_UNDESIRED )) +if ((old_cp ==DRM_MODE_CONTENT_PROTECTION_ENABLED && + new_cp !=DRM_MODE_CONTENT_PROTECTION_UNDESIRED )) new_state->content_protection =DRM_MODE_CONTENT_PROTECTION_DESIRED ;
Signature · 1 line
2.25.1
Patchwork
CI[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/hdcp: Fix CP current state
== Series Details ==
== Series Details ==
Series: drm/i915/hdcp: Fix CP current state
URL : https://patchwork.freedesktop.org/series/116359/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_12993 -> Patchwork_116359v1
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116359v1/index.html
Participating hosts (37 -> 36)
------------------------------
Missing (1): fi-snb-2520m
Known issues
------------
Here are the changes found in Patchwork_116359v1 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_exec_suspend@basic-s3@lmem0:
- bat-dg2-9: [PASS][1] -> [FAIL][2] ([fdo#103375]) +3 similar issues
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12993/bat-dg2-9/igt@gem_exec_suspend@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116359v1/bat-dg2-9/igt@gem_exec_suspend@[email protected]
* igt@i915_selftest@live@migrate:
- bat-dg2-11: [PASS][3] -> [DMESG-WARN][4] ([i915#7699])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12993/bat-dg2-11/igt@i915_selftest@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116359v1/bat-dg2-11/igt@i915_selftest@[email protected]
* igt@i915_selftest@live@mman:
- bat-rpls-2: [PASS][5] -> [TIMEOUT][6] ([i915#6794])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12993/bat-rpls-2/igt@i915_selftest@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116359v1/bat-rpls-2/igt@i915_selftest@[email protected]
* igt@i915_selftest@live@reset:
- bat-rpls-1: [PASS][7] -> [ABORT][8] ([i915#4983])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12993/bat-rpls-1/igt@i915_selftest@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116359v1/bat-rpls-1/igt@i915_selftest@[email protected]
* igt@i915_suspend@basic-s3-without-i915:
- bat-dg2-8: NOTRUN -> [SKIP][9] ([i915#6645])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116359v1/bat-dg2-8/igt@[email protected]
* igt@kms_chamelium_hpd@common-hpd-after-suspend:
- bat-dg2-8: NOTRUN -> [SKIP][10] ([i915#7828])
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116359v1/bat-dg2-8/igt@[email protected]
* igt@kms_pipe_crc_basic@nonblocking-crc-frame-sequence:
- bat-dg2-11: NOTRUN -> [SKIP][11] ([i915#5354]) +1 similar issue
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116359v1/bat-dg2-11/igt@[email protected]
* igt@kms_pipe_crc_basic@nonblocking-crc-frame-sequence@pipe-c-dp-1:
- bat-dg2-8: [PASS][12] -> [FAIL][13] ([i915#7932])
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12993/bat-dg2-8/igt@kms_pipe_crc_basic@[email protected]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116359v1/bat-dg2-8/igt@kms_pipe_crc_basic@[email protected]
* igt@kms_pipe_crc_basic@suspend-read-crc@pipe-c-dp-3:
- bat-dg2-9: [PASS][14] -> [FAIL][15] ([fdo#103375] / [i915#7932])
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12993/bat-dg2-9/igt@kms_pipe_crc_basic@[email protected]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116359v1/bat-dg2-9/igt@kms_pipe_crc_basic@[email protected]
#### Possible fixes ####
* igt@i915_selftest@live@gt_heartbeat:
- fi-apl-guc: [DMESG-FAIL][16] ([i915#5334]) -> [PASS][17]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12993/fi-apl-guc/igt@i915_selftest@live@gt_heartbeat.html
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116359v1/fi-apl-guc/igt@i915_selftest@live@gt_heartbeat.html
* igt@i915_selftest@live@gt_pm:
- bat-rpls-2: [DMESG-FAIL][18] ([i915#4258]) -> [PASS][19]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12993/bat-rpls-2/igt@i915_selftest@live@gt_pm.html
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116359v1/bat-rpls-2/igt@i915_selftest@live@gt_pm.html
* igt@i915_selftest@live@hangcheck:
- bat-dg2-8: [ABORT][20] ([i915#7913] / [i915#7979]) -> [PASS][21]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12993/bat-dg2-8/igt@i915_selftest@[email protected]
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116359v1/bat-dg2-8/igt@i915_selftest@[email protected]
* igt@i915_selftest@live@slpc:
- bat-rplp-1: [DMESG-FAIL][22] ([i915#6367] / [i915#7913]) -> [PASS][23]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12993/bat-rplp-1/igt@i915_selftest@[email protected]
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116359v1/bat-rplp-1/igt@i915_selftest@[email protected]
[fdo#103375]: https://bugs.freedesktop.org/show_bug.cgi?id=103375
[i915#4258]: https://gitlab.freedesktop.org/drm/intel/issues/4258
[i915#4983]: https://gitlab.freedesktop.org/drm/intel/issues/4983
[i915#5334]: https://gitlab.freedesktop.org/drm/intel/issues/5334
[i915#5354]: https://gitlab.freedesktop.org/drm/intel/issues/5354
[i915#6367]: https://gitlab.freedesktop.org/drm/intel/issues/6367
[i915#6645]: https://gitlab.freedesktop.org/drm/intel/issues/6645
[i915#6794]: https://gitlab.freedesktop.org/drm/intel/issues/6794
[i915#7699]: https://gitlab.freedesktop.org/drm/intel/issues/7699
[i915#7828]: https://gitlab.freedesktop.org/drm/intel/issues/7828
[i915#7913]: https://gitlab.freedesktop.org/drm/intel/issues/7913
[i915#7932]: https://gitlab.freedesktop.org/drm/intel/issues/7932
[i915#7979]: https://gitlab.freedesktop.org/drm/intel/issues/7979
Build changes
-------------
* Linux: CI_DRM_12993 -> Patchwork_116359v1
CI-20190529: 20190529
CI_DRM_12993: 3f6d1a580787c3aa8c9c7f174bdce5b055d6d724 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_7250: 2da179d399d83a6859a89176d83b7ec1d71fe27a @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_116359v1: 3f6d1a580787c3aa8c9c7f174bdce5b055d6d724 @ git://anongit.freedesktop.org/gfx-ci/linux
### Linux commits
e65938ca69a1 drm/i915/hdcp: Fix CP current state
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116359v1/index.html
Patchwork
CI[Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915/hdcp: Fix CP current state
In reply to Suraj Kandpal== Series Details ==
== Series Details ==
Series: drm/i915/hdcp: Fix CP current state
URL : https://patchwork.freedesktop.org/series/116359/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_12993_full -> Patchwork_116359v1_full
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Participating hosts (7 -> 7)
------------------------------
No changes in participating hosts
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_116359v1_full:
### IGT changes ###
#### Suppressed ####
The following results come from untrusted machines, tests, or statuses. They do not affect the overall result.
* igt@kms_frontbuffer_tracking@fbcpsr-1p-offscren-pri-shrfb-draw-pwrite:
- {shard-tglu}: [SKIP][1] ([fdo#110189]) -> [INCOMPLETE][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12993/shard-tglu-6/igt@kms_frontbuffer_tracking@fbcpsr-1p-offscren-pri-shrfb-draw-pwrite.html
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116359v1/shard-tglu-2/igt@kms_frontbuffer_tracking@fbcpsr-1p-offscren-pri-shrfb-draw-pwrite.html
Known issues
------------
Here are the changes found in Patchwork_116359v1_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_huc_copy@huc-copy:
- shard-glk: NOTRUN -> [SKIP][3] ([fdo#109271] / [i915#2190])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116359v1/shard-glk2/igt@[email protected]
* igt@gem_userptr_blits@access-control:
- shard-glk: NOTRUN -> [SKIP][4] ([fdo#109271]) +8 similar issues
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116359v1/shard-glk9/igt@[email protected]
* igt@kms_ccs@pipe-a-ccs-on-another-bo-y_tiled_gen12_rc_ccs_cc:
- shard-glk: NOTRUN -> [SKIP][5] ([fdo#109271] / [i915#3886]) +1 similar issue
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116359v1/shard-glk2/igt@kms_ccs@pipe-a-ccs-on-another-bo-y_tiled_gen12_rc_ccs_cc.html
* igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions:
- shard-glk: [PASS][6] -> [FAIL][7] ([i915#2346]) +1 similar issue
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12993/shard-glk6/igt@[email protected]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116359v1/shard-glk3/igt@[email protected]
- shard-apl: [PASS][8] -> [FAIL][9] ([i915#2346])
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12993/shard-apl1/igt@[email protected]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116359v1/shard-apl3/igt@[email protected]
* igt@kms_fbcon_fbt@fbc-suspend:
- shard-apl: [PASS][10] -> [FAIL][11] ([i915#4767])
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12993/shard-apl2/igt@[email protected]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116359v1/shard-apl2/igt@[email protected]
* igt@kms_plane_scaling@planes-upscale-20x20:
- shard-snb: NOTRUN -> [SKIP][12] ([fdo#109271])
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116359v1/shard-snb5/igt@[email protected]
* igt@v3d/v3d_wait_bo@unused-bo-1ns:
- shard-apl: NOTRUN -> [SKIP][13] ([fdo#109271]) +10 similar issues
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116359v1/shard-apl7/igt@v3d/[email protected]
#### Possible fixes ####
* igt@drm_fdinfo@most-busy-idle-check-all@rcs0:
- {shard-rkl}: [FAIL][14] ([i915#7742]) -> [PASS][15]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12993/shard-rkl-3/igt@drm_fdinfo@[email protected]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116359v1/shard-rkl-3/igt@drm_fdinfo@[email protected]
* igt@gem_ctx_exec@basic-nohangcheck:
- {shard-rkl}: [FAIL][16] ([i915#6268]) -> [PASS][17]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12993/shard-rkl-4/igt@[email protected]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116359v1/shard-rkl-4/igt@[email protected]
* igt@gem_exec_endless@dispatch@bcs0:
- {shard-tglu}: [TIMEOUT][18] ([i915#3778]) -> [PASS][19]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12993/shard-tglu-9/igt@gem_exec_endless@[email protected]
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116359v1/shard-tglu-6/igt@gem_exec_endless@[email protected]
* igt@gem_exec_fair@basic-pace-share@rcs0:
- shard-glk: [FAIL][20] ([i915#2842]) -> [PASS][21]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12993/shard-glk9/igt@gem_exec_fair@[email protected]
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116359v1/shard-glk2/igt@gem_exec_fair@[email protected]
- shard-apl: [FAIL][22] ([i915#2842]) -> [PASS][23]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12993/shard-apl4/igt@gem_exec_fair@[email protected]
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116359v1/shard-apl6/igt@gem_exec_fair@[email protected]
* igt@gen9_exec_parse@allowed-single:
- shard-glk: [ABORT][24] ([i915#5566]) -> [PASS][25]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12993/shard-glk7/igt@[email protected]
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116359v1/shard-glk2/igt@[email protected]
* igt@i915_pm_rc6_residency@rc6-idle@rcs0:
- {shard-dg1}: [FAIL][26] ([i915#3591]) -> [PASS][27]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12993/shard-dg1-17/igt@i915_pm_rc6_residency@[email protected]
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116359v1/shard-dg1-16/igt@i915_pm_rc6_residency@[email protected]
* igt@i915_pm_rpm@dpms-mode-unset-lpsp:
- {shard-dg1}: [SKIP][28] ([i915#1397]) -> [PASS][29]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12993/shard-dg1-18/igt@[email protected]
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116359v1/shard-dg1-14/igt@[email protected]
* igt@i915_pm_rpm@dpms-non-lpsp:
- {shard-rkl}: [SKIP][30] ([i915#1397]) -> [PASS][31] +1 similar issue
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12993/shard-rkl-7/igt@[email protected]
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116359v1/shard-rkl-3/igt@[email protected]
* igt@kms_flip@flip-vs-suspend-interruptible@c-dp1:
- shard-apl: [ABORT][32] ([i915#180]) -> [PASS][33]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12993/shard-apl6/igt@kms_flip@[email protected]
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116359v1/shard-apl7/igt@kms_flip@[email protected]
* igt@perf@stress-open-close@0-rcs0:
- shard-glk: [ABORT][34] ([i915#5213]) -> [PASS][35]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12993/shard-glk7/igt@perf@[email protected]
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116359v1/shard-glk9/igt@perf@[email protected]
{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#109289]: https://bugs.freedesktop.org/show_bug.cgi?id=109289
[fdo#109302]: https://bugs.freedesktop.org/show_bug.cgi?id=109302
[fdo#109309]: https://bugs.freedesktop.org/show_bug.cgi?id=109309
[fdo#110189]: https://bugs.freedesktop.org/show_bug.cgi?id=110189
[fdo#111068]: https://bugs.freedesktop.org/show_bug.cgi?id=111068
[fdo#111615]: https://bugs.freedesktop.org/show_bug.cgi?id=111615
[fdo#111825]: https://bugs.freedesktop.org/show_bug.cgi?id=111825
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[fdo#112283]: https://bugs.freedesktop.org/show_bug.cgi?id=112283
[i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072
[i915#1397]: https://gitlab.freedesktop.org/drm/intel/issues/1397
[i915#180]: https://gitlab.freedesktop.org/drm/intel/issues/180
[i915#1902]: https://gitlab.freedesktop.org/drm/intel/issues/1902
[i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
[i915#2346]: https://gitlab.freedesktop.org/drm/intel/issues/2346
[i915#2433]: https://gitlab.freedesktop.org/drm/intel/issues/2433
[i915#2437]: https://gitlab.freedesktop.org/drm/intel/issues/2437
[i915#2527]: https://gitlab.freedesktop.org/drm/intel/issues/2527
[i915#2575]: https://gitlab.freedesktop.org/drm/intel/issues/2575
[i915#2587]: https://gitlab.freedesktop.org/drm/intel/issues/2587
[i915#2672]: https://gitlab.freedesktop.org/drm/intel/issues/2672
[i915#2681]: https://gitlab.freedesktop.org/drm/intel/issues/2681
[i915#2842]: https://gitlab.freedesktop.org/drm/intel/issues/2842
[i915#315]: https://gitlab.freedesktop.org/drm/intel/issues/315
[i915#3281]: https://gitlab.freedesktop.org/drm/intel/issues/3281
[i915#3282]: https://gitlab.freedesktop.org/drm/intel/issues/3282
[i915#3297]: https://gitlab.freedesktop.org/drm/intel/issues/3297
[i915#3359]: https://gitlab.freedesktop.org/drm/intel/issues/3359
[i915#3458]: https://gitlab.freedesktop.org/drm/intel/issues/3458
[i915#3469]: https://gitlab.freedesktop.org/drm/intel/issues/3469
[i915#3539]: https://gitlab.freedesktop.org/drm/intel/issues/3539
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#3591]: https://gitlab.freedesktop.org/drm/intel/issues/3591
[i915#3638]: https://gitlab.freedesktop.org/drm/intel/issues/3638
[i915#3689]: https://gitlab.freedesktop.org/drm/intel/issues/3689
[i915#3708]: https://gitlab.freedesktop.org/drm/intel/issues/3708
[i915#3742]: https://gitlab.freedesktop.org/drm/intel/issues/3742
[i915#3778]: https://gitlab.freedesktop.org/drm/intel/issues/3778
[i915#3886]: https://gitlab.freedesktop.org/drm/intel/issues/3886
[i915#3936]: https://gitlab.freedesktop.org/drm/intel/issues/3936
[i915#3955]: https://gitlab.freedesktop.org/drm/intel/issues/3955
[i915#4070]: https://gitlab.freedesktop.org/drm/intel/issues/4070
[i915#4077]: https://gitlab.freedesktop.org/drm/intel/issues/4077
[i915#4078]: https://gitlab.freedesktop.org/drm/intel/issues/4078
[i915#4079]: https://gitlab.freedesktop.org/drm/intel/issues/4079
[i915#4083]: https://gitlab.freedesktop.org/drm/intel/issues/4083
[i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103
[i915#4212]: https://gitlab.freedesktop.org/drm/intel/issues/4212
[i915#4213]: https://gitlab.freedesktop.org/drm/intel/issues/4213
[i915#4270]: https://gitlab.freedesktop.org/drm/intel/issues/4270
[i915#4349]: https://gitlab.freedesktop.org/drm/intel/issues/4349
[i915#4538]: https://gitlab.freedesktop.org/drm/intel/issues/4538
[i915#4565]: https://gitlab.freedesktop.org/drm/intel/issues/4565
[i915#4579]: https://gitlab.freedesktop.org/drm/intel/issues/4579
[i915#4767]: https://gitlab.freedesktop.org/drm/intel/issues/4767
[i915#4771]: https://gitlab.freedesktop.org/drm/intel/issues/4771
[i915#4812]: https://gitlab.freedesktop.org/drm/intel/issues/4812
[i915#4816]: https://gitlab.freedesktop.org/drm/intel/issues/4816
[i915#4833]: https://gitlab.freedesktop.org/drm/intel/issues/4833
[i915#4852]: https://gitlab.freedesktop.org/drm/intel/issues/4852
[i915#4854]: https://gitlab.freedesktop.org/drm/intel/issues/4854
[i915#4860]: https://gitlab.freedesktop.org/drm/intel/issues/4860
[i915#4880]: https://gitlab.freedesktop.org/drm/intel/issues/4880
[i915#4881]: https://gitlab.freedesktop.org/drm/intel/issues/4881
[i915#4885]: https://gitlab.freedesktop.org/drm/intel/issues/4885
[i915#4983]: https://gitlab.freedesktop.org/drm/intel/issues/4983
[i915#5176]: https://gitlab.freedesktop.org/drm/intel/issues/5176
[i915#5213]: https://gitlab.freedesktop.org/drm/intel/issues/5213
[i915#5235]: https://gitlab.freedesktop.org/drm/intel/issues/5235
[i915#5286]: https://gitlab.freedesktop.org/drm/intel/issues/5286
[i915#5289]: https://gitlab.freedesktop.org/drm/intel/issues/5289
[i915#5325]: https://gitlab.freedesktop.org/drm/intel/issues/5325
[i915#5431]: https://gitlab.freedesktop.org/drm/intel/issues/5431
[i915#5439]: https://gitlab.freedesktop.org/drm/intel/issues/5439
[i915#5461]: https://gitlab.freedesktop.org/drm/intel/issues/5461
[i915#5563]: https://gitlab.freedesktop.org/drm/intel/issues/5563
[i915#5566]: https://gitlab.freedesktop.org/drm/intel/issues/5566
[i915#5723]: https://gitlab.freedesktop.org/drm/intel/issues/5723
[i915#6095]: https://gitlab.freedesktop.org/drm/intel/issues/6095
[i915#6268]: https://gitlab.freedesktop.org/drm/intel/issues/6268
[i915#658]: https://gitlab.freedesktop.org/drm/intel/issues/658
[i915#7116]: https://gitlab.freedesktop.org/drm/intel/issues/7116
[i915#7178]: https://gitlab.freedesktop.org/drm/intel/issues/7178
[i915#7697]: https://gitlab.freedesktop.org/drm/intel/issues/7697
[i915#7711]: https://gitlab.freedesktop.org/drm/intel/issues/7711
[i915#7742]: https://gitlab.freedesktop.org/drm/intel/issues/7742
[i915#7828]: https://gitlab.freedesktop.org/drm/intel/issues/7828
[i915#8150]: https://gitlab.freedesktop.org/drm/intel/issues/8150
[i915#8292]: https://gitlab.freedesktop.org/drm/intel/issues/8292
[i915#8308]: https://gitlab.freedesktop.org/drm/intel/issues/8308
Build changes
-------------
* Linux: CI_DRM_12993 -> Patchwork_116359v1
CI-20190529: 20190529
CI_DRM_12993: 3f6d1a580787c3aa8c9c7f174bdce5b055d6d724 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_7250: 2da179d399d83a6859a89176d83b7ec1d71fe27a @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_116359v1: 3f6d1a580787c3aa8c9c7f174bdce5b055d6d724 @ 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_116359v1/index.html
Quoted 27 lines
-----Original Message-----
From: Kandpal, Suraj <[email protected]>
Sent: Wednesday, April 12, 2023 9:18 AM
To: [email protected]
Cc: Gupta, Anshuman <[email protected]>; Nautiyal, Ankit K <[email protected]>; Kandpal, Suraj <[email protected]>
Subject: [PATCH] drm/i915/hdcp: Fix CP current stateIn many cases there is a need to change the CP property to desired even if not modeset has been requested yet on such situation being lid gets closed while DP is still connected in this case HDCP authentication needs to be reenabled.
Remove Fix me as we now send a uevent viadrm_hdcp_update_property.Signed-off-by Suraj Kandpal <[email protected]>--- drivers/gpu/drm/i915/display/intel_hdcp.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-)drivers/gpu/drm/i915/display/intel_hdcp.c +0
-0
drivers/gpu/drm/i915/display/intel_hdcp.c void intel_hdcp_atomic_check(struct · line 2569
Quoted 8 lines
drivers/gpu/drm/i915/display/intel_hdcp.c +0
-2@@ -2564,12 +2564,9 @@ void intel_hdcp_atomic_check(struct drm_connector *connector, new_state->crtc);/* * Fix the HDCP uapi content protection state in case of modeset. -* FIXME: As per HDCP content protection property uapi doc, an uevent() -* need to be sent if there is transition from ENABLED->DESIRED. */
This comment was added because , we did not send uevent in intel_hdcp_atomic_check() function as it is not possible.
Quoted 7 lines
drivers/gpu/drm/i915/display/intel_hdcp.c +2
-3-if (drm_atomic_crtc_needs_modeset (crtc_state) && - (old_cp ==DRM_MODE_CONTENT_PROTECTION_ENABLED && - new_cp !=DRM_MODE_CONTENT_PROTECTION_UNDESIRED )) +if ((old_cp ==DRM_MODE_CONTENT_PROTECTION_ENABLED && + new_cp !=DRM_MODE_CONTENT_PROTECTION_UNDESIRED )) new_state->content_protection =
DRM_MODE_CONTENT_PROTECTION_DESIRED;
This is overkill, for every display flip there will be HDCP authentication? Br,
Anshuman Gupta.
Quoted 3 lines
--
2.25.1
Quoted 20 lines
Quoted 20 lines
-----Original Message-----
From: Kandpal, Suraj <[email protected]>
Sent: Wednesday, April 12, 2023 9:18 AM
To: [email protected]
Cc: Gupta, Anshuman <[email protected]>; Nautiyal, Ankit K <[email protected]>; Kandpal, Suraj <[email protected]>
Subject: [PATCH] drm/i915/hdcp: Fix CP current stateIn many cases there is a need to change the CP property to desired even if not modeset has been requested yet on such situation being lid gets closed while DP is still connected in this case HDCP authentication needs to be reenabled.
Remove Fix me as we now send a uevent viadrm_hdcp_update_property.Signed-off-by Suraj Kandpal <[email protected]>--- drivers/gpu/drm/i915/display/intel_hdcp.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-)
Quoted 16 lines
Quoted 6 lines
drivers/gpu/drm/i915/display/intel_hdcp.c +0
-0drivers/gpu/drm/i915/display/intel_hdcp.c void intel_hdcp_atomic_check(struct · line 2569
Quoted 8 lines
drivers/gpu/drm/i915/display/intel_hdcp.c +0
-2@@ -2564,12 +2564,9 @@ void intel_hdcp_atomic_check(struct drm_connector *connector, new_state->crtc);/* * Fix the HDCP uapi content protection state in case of modeset. -* FIXME: As per HDCP content protection property uapi doc, an uevent() -* need to be sent if there is transition from ENABLED->DESIRED. */ This comment was added because , we did not send uevent in
intel_hdcp_atomic_check()function as it is not possible.
Yes but now we do it from update_pipe or when there is a call to update_property which schedules Propwork and there we call drm_hdcp_update_property which sends a uevent
Quoted 8 lines
Quoted 7 lines
drivers/gpu/drm/i915/display/intel_hdcp.c +2
-3-if (drm_atomic_crtc_needs_modeset (crtc_state) && - (old_cp ==DRM_MODE_CONTENT_PROTECTION_ENABLED && - new_cp !=DRM_MODE_CONTENT_PROTECTION_UNDESIRED )) +if ((old_cp ==DRM_MODE_CONTENT_PROTECTION_ENABLED && + new_cp !=DRM_MODE_CONTENT_PROTECTION_UNDESIRED )) new_state->content_protection =
DRM_MODE_CONTENT_PROTECTION_DESIRED;This is overkill, for every display flip there will be HDCP authentication?
True we are trying to see some other fix for this but as of now only this seems to fix the issue
Regards,
Suraj Kandpal
Quoted 5 lines
Br,
Anshuman Gupta.Quoted 3 lines
--
2.25.1
Quoted 63 lines
-----Original Message-----
From: Kandpal, Suraj <[email protected]>
Sent: Tuesday, April 18, 2023 4:16 PM
To: Gupta, Anshuman <[email protected]>; intel- [email protected]
Cc: Nautiyal, Ankit K <[email protected]>; Shankar, Uma <[email protected]>
Subject: RE: [PATCH] drm/i915/hdcp: Fix CP current stateQuoted 10 lines
Quoted 10 lines
-----Original Message-----
From: Kandpal, Suraj <[email protected]>
Sent: Wednesday, April 12, 2023 9:18 AM
To: [email protected]
Cc: Gupta, Anshuman <[email protected]>; Nautiyal, Ankit K <[email protected]>; Kandpal, Suraj <[email protected]>
Subject: [PATCH] drm/i915/hdcp: Fix CP current stateQuoted 5 lines
Quoted 5 lines
In many cases there is a need to change the CP property to desired even if not modeset has been requested yet on such situation being lid gets closed while DP is still connected in this case HDCP authentication needs to be reenabled.
Remove Fix me as we now send a uevent via
drm_hdcp_update_property.Quoted 6 lines
Quoted 6 lines
Signed-off-by Suraj Kandpal <[email protected]>--- drivers/gpu/drm/i915/display/intel_hdcp.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-)Quoted 16 lines
Quoted 6 lines
drivers/gpu/drm/i915/display/intel_hdcp.c +0
-0drivers/gpu/drm/i915/display/intel_hdcp.c void intel_hdcp_atomic_check(struct · line 2569
Quoted 8 lines
drivers/gpu/drm/i915/display/intel_hdcp.c +0
-2@@ -2564,12 +2564,9 @@ void intel_hdcp_atomic_check(struct drm_connector *connector, new_state->crtc);/* * Fix the HDCP uapi content protection state in case of modeset. -* FIXME: As per HDCP content protection property uapi doc, an uevent() -* need to be sent if there is transition from ENABLED->DESIRED. */ This comment was added because , we did not send uevent in
intel_hdcp_atomic_check()function as it is not possible.Yes but now we do it from
update_pipeor when there is a call toupdate_propertywhich schedules Propwork and there we calldrm_hdcp_update_propertywhich sends a ueventQuoted 8 lines
Quoted 7 lines
drivers/gpu/drm/i915/display/intel_hdcp.c +2
-3-if (drm_atomic_crtc_needs_modeset (crtc_state) && - (old_cp ==DRM_MODE_CONTENT_PROTECTION_ENABLED && - new_cp !=DRM_MODE_CONTENT_PROTECTION_UNDESIRED )) +if ((old_cp ==DRM_MODE_CONTENT_PROTECTION_ENABLED && + new_cp !=DRM_MODE_CONTENT_PROTECTION_UNDESIRED )) new_state->content_protection =
DRM_MODE_CONTENT_PROTECTION_DESIRED;This is overkill, for every display flip there will be HDCP authentication?
Quoted 2 lines
True we are trying to see some other fix for this but as of now only this seems to fix the issue
Please get a Ack from atomic commit POV, this impacts the display flip path and hdcp calls to content protection firmware may take longer time in display flips, have you tested it with higher refresh rate panels ?
Br,
Anshuman Gupta.
Quoted 8 lines
Regards,
Suraj KandpalQuoted 5 lines
Br,
Anshuman Gupta.Quoted 3 lines
--
2.25.1