* [Intel-gfx] [PATCH V2] drm/i915/edp/jsl: Update vswing table for HBR and HBR2
@ 2020-10-20 5:36 Tejas Upadhyay
2020-10-20 6:04 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/edp/jsl: Update vswing table for HBR and HBR2 (rev3) Patchwork
` (3 more replies)
0 siblings, 4 replies; 6+ messages in thread
From: Tejas Upadhyay @ 2020-10-20 5:36 UTC (permalink / raw)
To: intel-gfx
JSL has update in vswing table for eDP.
BSpec: 21257
Changes since V1:
- Fixed few checkpatch errors
Cc: Souza Jose <jose.souza@intel.com>
Signed-off-by: Tejas Upadhyay <tejaskumarx.surendrakumar.upadhyay@intel.com>
---
drivers/gpu/drm/i915/display/intel_ddi.c | 87 +++++++++++++++++++++++-
1 file changed, 85 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/i915/display/intel_ddi.c b/drivers/gpu/drm/i915/display/intel_ddi.c
index bb0b9930958f..8fd81a3932a4 100644
--- a/drivers/gpu/drm/i915/display/intel_ddi.c
+++ b/drivers/gpu/drm/i915/display/intel_ddi.c
@@ -582,6 +582,34 @@ static const struct cnl_ddi_buf_trans ehl_combo_phy_ddi_translations_dp[] = {
{ 0x6, 0x7F, 0x3F, 0x00, 0x00 }, /* 900 900 0.0 */
};
+static const struct cnl_ddi_buf_trans jsl_combo_phy_ddi_translations_edp_hbr[] = {
+ /* NT mV Trans mV db */
+ { 0x8, 0x7F, 0x3F, 0x00, 0x00 }, /* 200 200 0.0 */
+ { 0x8, 0x7F, 0x38, 0x00, 0x07 }, /* 200 250 1.9 */
+ { 0x1, 0x7F, 0x33, 0x00, 0x0C }, /* 200 300 3.5 */
+ { 0xA, 0x35, 0x36, 0x00, 0x09 }, /* 200 350 4.9 */
+ { 0x8, 0x7F, 0x3F, 0x00, 0x00 }, /* 250 250 0.0 */
+ { 0x1, 0x7F, 0x38, 0x00, 0x07 }, /* 250 300 1.6 */
+ { 0xA, 0x35, 0x35, 0x00, 0x0A }, /* 250 350 2.9 */
+ { 0x1, 0x7F, 0x3F, 0x00, 0x00 }, /* 300 300 0.0 */
+ { 0xA, 0x35, 0x38, 0x00, 0x07 }, /* 300 350 1.3 */
+ { 0xA, 0x35, 0x3F, 0x00, 0x00 }, /* 350 350 0.0 */
+};
+
+static const struct cnl_ddi_buf_trans jsl_combo_phy_ddi_translations_edp_hbr2[] = {
+ /* NT mV Trans mV db */
+ { 0x8, 0x7F, 0x3F, 0x00, 0x00 }, /* 200 200 0.0 */
+ { 0x8, 0x7F, 0x3F, 0x00, 0x00 }, /* 200 250 1.9 */
+ { 0x1, 0x7F, 0x3D, 0x00, 0x02 }, /* 200 300 3.5 */
+ { 0xA, 0x35, 0x38, 0x00, 0x07 }, /* 200 350 4.9 */
+ { 0x8, 0x7F, 0x3F, 0x00, 0x00 }, /* 250 250 0.0 */
+ { 0x1, 0x7F, 0x3F, 0x00, 0x00 }, /* 250 300 1.6 */
+ { 0xA, 0x35, 0x3A, 0x00, 0x05 }, /* 250 350 2.9 */
+ { 0x1, 0x7F, 0x3F, 0x00, 0x00 }, /* 300 300 0.0 */
+ { 0xA, 0x35, 0x38, 0x00, 0x07 }, /* 300 350 1.3 */
+ { 0xA, 0x35, 0x3F, 0x00, 0x00 }, /* 350 350 0.0 */
+};
+
struct icl_mg_phy_ddi_buf_trans {
u32 cri_txdeemph_override_11_6;
u32 cri_txdeemph_override_5_0;
@@ -1162,6 +1190,57 @@ ehl_get_combo_buf_trans(struct intel_encoder *encoder,
return ehl_get_combo_buf_trans_dp(encoder, crtc_state, n_entries);
}
+static const struct cnl_ddi_buf_trans *
+jsl_get_combo_buf_trans_hdmi(struct intel_encoder *encoder,
+ const struct intel_crtc_state *crtc_state,
+ int *n_entries)
+{
+ *n_entries = ARRAY_SIZE(icl_combo_phy_ddi_translations_hdmi);
+ return icl_combo_phy_ddi_translations_hdmi;
+}
+
+static const struct cnl_ddi_buf_trans *
+jsl_get_combo_buf_trans_dp(struct intel_encoder *encoder,
+ const struct intel_crtc_state *crtc_state,
+ int *n_entries)
+{
+ *n_entries = ARRAY_SIZE(icl_combo_phy_ddi_translations_dp_hbr2);
+ return icl_combo_phy_ddi_translations_dp_hbr2;
+}
+
+static const struct cnl_ddi_buf_trans *
+jsl_get_combo_buf_trans_edp(struct intel_encoder *encoder,
+ const struct intel_crtc_state *crtc_state,
+ int *n_entries)
+{
+ struct drm_i915_private *dev_priv = to_i915(encoder->base.dev);
+
+ if (dev_priv->vbt.edp.low_vswing) {
+ if (crtc_state->port_clock > 270000) {
+ *n_entries = ARRAY_SIZE(jsl_combo_phy_ddi_translations_edp_hbr2);
+ return jsl_combo_phy_ddi_translations_edp_hbr2;
+ } else {
+ *n_entries = ARRAY_SIZE(jsl_combo_phy_ddi_translations_edp_hbr);
+ return jsl_combo_phy_ddi_translations_edp_hbr;
+ }
+ }
+
+ return jsl_get_combo_buf_trans_dp(encoder, crtc_state, n_entries);
+}
+
+static const struct cnl_ddi_buf_trans *
+jsl_get_combo_buf_trans(struct intel_encoder *encoder,
+ const struct intel_crtc_state *crtc_state,
+ int *n_entries)
+{
+ if (intel_crtc_has_type(crtc_state, INTEL_OUTPUT_HDMI))
+ return jsl_get_combo_buf_trans_hdmi(encoder, crtc_state, n_entries);
+ else if (intel_crtc_has_type(crtc_state, INTEL_OUTPUT_EDP))
+ return jsl_get_combo_buf_trans_edp(encoder, crtc_state, n_entries);
+ else
+ return jsl_get_combo_buf_trans_dp(encoder, crtc_state, n_entries);
+}
+
static const struct cnl_ddi_buf_trans *
tgl_get_combo_buf_trans_hdmi(struct intel_encoder *encoder,
const struct intel_crtc_state *crtc_state,
@@ -2363,7 +2442,9 @@ static u8 intel_ddi_dp_voltage_max(struct intel_dp *intel_dp,
else
tgl_get_dkl_buf_trans(encoder, crtc_state, &n_entries);
} else if (INTEL_GEN(dev_priv) == 11) {
- if (IS_JSL_EHL(dev_priv))
+ if (IS_PLATFORM(dev_priv, INTEL_JASPERLAKE))
+ jsl_get_combo_buf_trans(encoder, crtc_state, &n_entries);
+ else if (IS_PLATFORM(dev_priv, INTEL_ELKHARTLAKE))
ehl_get_combo_buf_trans(encoder, crtc_state, &n_entries);
else if (intel_phy_is_combo(dev_priv, phy))
icl_get_combo_buf_trans(encoder, crtc_state, &n_entries);
@@ -2544,7 +2625,9 @@ static void icl_ddi_combo_vswing_program(struct intel_encoder *encoder,
if (INTEL_GEN(dev_priv) >= 12)
ddi_translations = tgl_get_combo_buf_trans(encoder, crtc_state, &n_entries);
- else if (IS_JSL_EHL(dev_priv))
+ else if (IS_PLATFORM(dev_priv, INTEL_JASPERLAKE))
+ ddi_translations = jsl_get_combo_buf_trans(encoder, crtc_state, &n_entries);
+ else if (IS_PLATFORM(dev_priv, INTEL_ELKHARTLAKE))
ddi_translations = ehl_get_combo_buf_trans(encoder, crtc_state, &n_entries);
else
ddi_translations = icl_get_combo_buf_trans(encoder, crtc_state, &n_entries);
--
2.28.0
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply related [flat|nested] 6+ messages in thread* [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/edp/jsl: Update vswing table for HBR and HBR2 (rev3) 2020-10-20 5:36 [Intel-gfx] [PATCH V2] drm/i915/edp/jsl: Update vswing table for HBR and HBR2 Tejas Upadhyay @ 2020-10-20 6:04 ` Patchwork 2020-10-20 6:30 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork ` (2 subsequent siblings) 3 siblings, 0 replies; 6+ messages in thread From: Patchwork @ 2020-10-20 6:04 UTC (permalink / raw) To: Surendrakumar Upadhyay, TejaskumarX; +Cc: intel-gfx == Series Details == Series: drm/i915/edp/jsl: Update vswing table for HBR and HBR2 (rev3) URL : https://patchwork.freedesktop.org/series/82206/ State : warning == Summary == $ dim checkpatch origin/drm-tip 4edc2bd181ae drm/i915/edp/jsl: Update vswing table for HBR and HBR2 -:88: WARNING:UNNECESSARY_ELSE: else is not generally useful after a break or return #88: FILE: drivers/gpu/drm/i915/display/intel_ddi.c:1222: + return jsl_combo_phy_ddi_translations_edp_hbr2; + } else { total: 0 errors, 1 warnings, 0 checks, 111 lines checked _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/edp/jsl: Update vswing table for HBR and HBR2 (rev3) 2020-10-20 5:36 [Intel-gfx] [PATCH V2] drm/i915/edp/jsl: Update vswing table for HBR and HBR2 Tejas Upadhyay 2020-10-20 6:04 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/edp/jsl: Update vswing table for HBR and HBR2 (rev3) Patchwork @ 2020-10-20 6:30 ` Patchwork 2020-10-20 7:40 ` [Intel-gfx] ✓ Fi.CI.IGT: " Patchwork 2020-11-09 20:54 ` [Intel-gfx] [PATCH V2] drm/i915/edp/jsl: Update vswing table for HBR and HBR2 Souza, Jose 3 siblings, 0 replies; 6+ messages in thread From: Patchwork @ 2020-10-20 6:30 UTC (permalink / raw) To: Surendrakumar Upadhyay, TejaskumarX; +Cc: intel-gfx [-- Attachment #1.1: Type: text/plain, Size: 2624 bytes --] == Series Details == Series: drm/i915/edp/jsl: Update vswing table for HBR and HBR2 (rev3) URL : https://patchwork.freedesktop.org/series/82206/ State : success == Summary == CI Bug Log - changes from CI_DRM_9166 -> Patchwork_18738 ==================================================== Summary ------- **SUCCESS** No regressions found. External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18738/index.html Known issues ------------ Here are the changes found in Patchwork_18738 that come from known issues: ### IGT changes ### #### Possible fixes #### * igt@i915_pm_rpm@basic-pci-d3-state: - fi-glk-dsi: [DMESG-WARN][1] ([i915#1982]) -> [PASS][2] [1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9166/fi-glk-dsi/igt@i915_pm_rpm@basic-pci-d3-state.html [2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18738/fi-glk-dsi/igt@i915_pm_rpm@basic-pci-d3-state.html - fi-bsw-kefka: [DMESG-WARN][3] ([i915#1982]) -> [PASS][4] [3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9166/fi-bsw-kefka/igt@i915_pm_rpm@basic-pci-d3-state.html [4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18738/fi-bsw-kefka/igt@i915_pm_rpm@basic-pci-d3-state.html * igt@i915_selftest@live@gt_heartbeat: - fi-tgl-u2: [INCOMPLETE][5] ([i915#2557]) -> [PASS][6] [5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9166/fi-tgl-u2/igt@i915_selftest@live@gt_heartbeat.html [6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18738/fi-tgl-u2/igt@i915_selftest@live@gt_heartbeat.html {name}: This element is suppressed. This means it is ignored when computing the status of the difference (SUCCESS, WARNING, or FAILURE). [i915#1982]: https://gitlab.freedesktop.org/drm/intel/issues/1982 [i915#2557]: https://gitlab.freedesktop.org/drm/intel/issues/2557 Participating hosts (45 -> 39) ------------------------------ Missing (6): fi-ilk-m540 fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-byt-clapper fi-bdw-samus Build changes ------------- * Linux: CI_DRM_9166 -> Patchwork_18738 CI-20190529: 20190529 CI_DRM_9166: f10a69af784776f63cf892611a6baa33e8c35fca @ git://anongit.freedesktop.org/gfx-ci/linux IGT_5822: b4bcf05cb9839037128905deda7146434155cc41 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools Patchwork_18738: 4edc2bd181ae441b0057ee5108b0e76883c42310 @ git://anongit.freedesktop.org/gfx-ci/linux == Linux commits == 4edc2bd181ae drm/i915/edp/jsl: Update vswing table for HBR and HBR2 == Logs == For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18738/index.html [-- Attachment #1.2: Type: text/html, Size: 3355 bytes --] [-- Attachment #2: Type: text/plain, Size: 160 bytes --] _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915/edp/jsl: Update vswing table for HBR and HBR2 (rev3) 2020-10-20 5:36 [Intel-gfx] [PATCH V2] drm/i915/edp/jsl: Update vswing table for HBR and HBR2 Tejas Upadhyay 2020-10-20 6:04 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/edp/jsl: Update vswing table for HBR and HBR2 (rev3) Patchwork 2020-10-20 6:30 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork @ 2020-10-20 7:40 ` Patchwork 2020-11-09 20:58 ` Souza, Jose 2020-11-09 20:54 ` [Intel-gfx] [PATCH V2] drm/i915/edp/jsl: Update vswing table for HBR and HBR2 Souza, Jose 3 siblings, 1 reply; 6+ messages in thread From: Patchwork @ 2020-10-20 7:40 UTC (permalink / raw) To: Surendrakumar Upadhyay, TejaskumarX; +Cc: intel-gfx [-- Attachment #1.1: Type: text/plain, Size: 16688 bytes --] == Series Details == Series: drm/i915/edp/jsl: Update vswing table for HBR and HBR2 (rev3) URL : https://patchwork.freedesktop.org/series/82206/ State : success == Summary == CI Bug Log - changes from CI_DRM_9166_full -> Patchwork_18738_full ==================================================== Summary ------- **SUCCESS** No regressions found. Known issues ------------ Here are the changes found in Patchwork_18738_full that come from known issues: ### IGT changes ### #### Issues hit #### * igt@gem_exec_reloc@basic-many-active@rcs0: - shard-snb: [PASS][1] -> [FAIL][2] ([i915#2389]) [1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9166/shard-snb4/igt@gem_exec_reloc@basic-many-active@rcs0.html [2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18738/shard-snb2/igt@gem_exec_reloc@basic-many-active@rcs0.html * igt@gem_exec_whisper@basic-forked-all: - shard-glk: [PASS][3] -> [DMESG-WARN][4] ([i915#118] / [i915#95]) [3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9166/shard-glk9/igt@gem_exec_whisper@basic-forked-all.html [4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18738/shard-glk2/igt@gem_exec_whisper@basic-forked-all.html * igt@gem_userptr_blits@unsync-unmap-cycles: - shard-skl: [PASS][5] -> [TIMEOUT][6] ([i915#2424]) +1 similar issue [5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9166/shard-skl5/igt@gem_userptr_blits@unsync-unmap-cycles.html [6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18738/shard-skl2/igt@gem_userptr_blits@unsync-unmap-cycles.html * igt@i915_pm_dc@dc6-psr: - shard-skl: [PASS][7] -> [FAIL][8] ([i915#454]) [7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9166/shard-skl4/igt@i915_pm_dc@dc6-psr.html [8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18738/shard-skl8/igt@i915_pm_dc@dc6-psr.html * igt@kms_draw_crc@draw-method-xrgb8888-render-xtiled: - shard-snb: [PASS][9] -> [FAIL][10] ([i915#54]) [9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9166/shard-snb7/igt@kms_draw_crc@draw-method-xrgb8888-render-xtiled.html [10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18738/shard-snb2/igt@kms_draw_crc@draw-method-xrgb8888-render-xtiled.html * igt@kms_pipe_crc_basic@suspend-read-crc-pipe-c: - shard-skl: [PASS][11] -> [INCOMPLETE][12] ([i915#198]) [11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9166/shard-skl2/igt@kms_pipe_crc_basic@suspend-read-crc-pipe-c.html [12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18738/shard-skl4/igt@kms_pipe_crc_basic@suspend-read-crc-pipe-c.html * igt@kms_plane_alpha_blend@pipe-b-coverage-7efc: - shard-skl: [PASS][13] -> [FAIL][14] ([fdo#108145] / [i915#265]) [13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9166/shard-skl2/igt@kms_plane_alpha_blend@pipe-b-coverage-7efc.html [14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18738/shard-skl4/igt@kms_plane_alpha_blend@pipe-b-coverage-7efc.html * igt@kms_plane_scaling@pipe-c-plane-scaling: - shard-skl: [PASS][15] -> [DMESG-WARN][16] ([i915#1982]) +6 similar issues [15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9166/shard-skl8/igt@kms_plane_scaling@pipe-c-plane-scaling.html [16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18738/shard-skl8/igt@kms_plane_scaling@pipe-c-plane-scaling.html * igt@kms_psr@psr2_cursor_render: - shard-iclb: [PASS][17] -> [SKIP][18] ([fdo#109441]) +3 similar issues [17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9166/shard-iclb2/igt@kms_psr@psr2_cursor_render.html [18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18738/shard-iclb1/igt@kms_psr@psr2_cursor_render.html * igt@kms_universal_plane@universal-plane-gen9-features-pipe-a: - shard-kbl: [PASS][19] -> [DMESG-WARN][20] ([i915#1982]) [19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9166/shard-kbl2/igt@kms_universal_plane@universal-plane-gen9-features-pipe-a.html [20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18738/shard-kbl4/igt@kms_universal_plane@universal-plane-gen9-features-pipe-a.html * igt@kms_vblank@crtc-id: - shard-tglb: [PASS][21] -> [DMESG-WARN][22] ([i915#1982]) [21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9166/shard-tglb5/igt@kms_vblank@crtc-id.html [22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18738/shard-tglb5/igt@kms_vblank@crtc-id.html #### Possible fixes #### * igt@api_intel_bb@blit-noreloc-purge-cache: - shard-snb: [FAIL][23] -> [PASS][24] [23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9166/shard-snb5/igt@api_intel_bb@blit-noreloc-purge-cache.html [24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18738/shard-snb7/igt@api_intel_bb@blit-noreloc-purge-cache.html * igt@gem_exec_parallel@fds@vecs0: - shard-iclb: [DMESG-WARN][25] ([i915#1982]) -> [PASS][26] [25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9166/shard-iclb2/igt@gem_exec_parallel@fds@vecs0.html [26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18738/shard-iclb1/igt@gem_exec_parallel@fds@vecs0.html * igt@gem_exec_reloc@basic-many-active@vecs0: - shard-glk: [FAIL][27] ([i915#2389]) -> [PASS][28] +2 similar issues [27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9166/shard-glk2/igt@gem_exec_reloc@basic-many-active@vecs0.html [28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18738/shard-glk6/igt@gem_exec_reloc@basic-many-active@vecs0.html * igt@gem_exec_whisper@basic-contexts: - shard-glk: [DMESG-WARN][29] ([i915#118] / [i915#95]) -> [PASS][30] +2 similar issues [29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9166/shard-glk9/igt@gem_exec_whisper@basic-contexts.html [30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18738/shard-glk7/igt@gem_exec_whisper@basic-contexts.html * igt@i915_pm_backlight@fade_with_suspend: - shard-skl: [INCOMPLETE][31] -> [PASS][32] [31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9166/shard-skl7/igt@i915_pm_backlight@fade_with_suspend.html [32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18738/shard-skl5/igt@i915_pm_backlight@fade_with_suspend.html * igt@i915_suspend@debugfs-reader: - shard-kbl: [INCOMPLETE][33] ([i915#155]) -> [PASS][34] [33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9166/shard-kbl6/igt@i915_suspend@debugfs-reader.html [34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18738/shard-kbl2/igt@i915_suspend@debugfs-reader.html * {igt@kms_async_flips@async-flip-with-page-flip-events}: - shard-kbl: [FAIL][35] ([i915#2521]) -> [PASS][36] +1 similar issue [35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9166/shard-kbl2/igt@kms_async_flips@async-flip-with-page-flip-events.html [36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18738/shard-kbl1/igt@kms_async_flips@async-flip-with-page-flip-events.html - shard-apl: [FAIL][37] ([i915#1635] / [i915#2521]) -> [PASS][38] [37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9166/shard-apl2/igt@kms_async_flips@async-flip-with-page-flip-events.html [38]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18738/shard-apl4/igt@kms_async_flips@async-flip-with-page-flip-events.html * igt@kms_big_fb@linear-32bpp-rotate-180: - shard-glk: [DMESG-FAIL][39] ([i915#118] / [i915#95]) -> [PASS][40] [39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9166/shard-glk4/igt@kms_big_fb@linear-32bpp-rotate-180.html [40]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18738/shard-glk4/igt@kms_big_fb@linear-32bpp-rotate-180.html * igt@kms_big_fb@y-tiled-8bpp-rotate-180: - shard-kbl: [DMESG-WARN][41] ([i915#1982]) -> [PASS][42] +1 similar issue [41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9166/shard-kbl6/igt@kms_big_fb@y-tiled-8bpp-rotate-180.html [42]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18738/shard-kbl2/igt@kms_big_fb@y-tiled-8bpp-rotate-180.html - shard-apl: [DMESG-WARN][43] ([i915#1635] / [i915#1982]) -> [PASS][44] [43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9166/shard-apl8/igt@kms_big_fb@y-tiled-8bpp-rotate-180.html [44]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18738/shard-apl3/igt@kms_big_fb@y-tiled-8bpp-rotate-180.html * igt@kms_ccs@pipe-a-crc-primary-rotation-180: - shard-skl: [FAIL][45] -> [PASS][46] [45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9166/shard-skl3/igt@kms_ccs@pipe-a-crc-primary-rotation-180.html [46]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18738/shard-skl6/igt@kms_ccs@pipe-a-crc-primary-rotation-180.html * igt@kms_cursor_crc@pipe-c-cursor-128x128-onscreen: - shard-skl: [FAIL][47] ([i915#54]) -> [PASS][48] [47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9166/shard-skl4/igt@kms_cursor_crc@pipe-c-cursor-128x128-onscreen.html [48]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18738/shard-skl8/igt@kms_cursor_crc@pipe-c-cursor-128x128-onscreen.html * igt@kms_cursor_legacy@cursor-vs-flip-varying-size: - shard-hsw: [FAIL][49] ([i915#2370]) -> [PASS][50] [49]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9166/shard-hsw6/igt@kms_cursor_legacy@cursor-vs-flip-varying-size.html [50]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18738/shard-hsw4/igt@kms_cursor_legacy@cursor-vs-flip-varying-size.html * igt@kms_draw_crc@draw-method-rgb565-mmap-wc-xtiled: - shard-skl: [DMESG-WARN][51] ([i915#1982]) -> [PASS][52] +6 similar issues [51]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9166/shard-skl7/igt@kms_draw_crc@draw-method-rgb565-mmap-wc-xtiled.html [52]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18738/shard-skl7/igt@kms_draw_crc@draw-method-rgb565-mmap-wc-xtiled.html * igt@kms_draw_crc@draw-method-xrgb2101010-blt-untiled: - shard-snb: [FAIL][53] ([i915#54]) -> [PASS][54] [53]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9166/shard-snb4/igt@kms_draw_crc@draw-method-xrgb2101010-blt-untiled.html [54]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18738/shard-snb4/igt@kms_draw_crc@draw-method-xrgb2101010-blt-untiled.html * igt@kms_flip@2x-flip-vs-absolute-wf_vblank@ab-vga1-hdmi-a1: - shard-hsw: [DMESG-WARN][55] ([i915#1982]) -> [PASS][56] [55]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9166/shard-hsw6/igt@kms_flip@2x-flip-vs-absolute-wf_vblank@ab-vga1-hdmi-a1.html [56]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18738/shard-hsw4/igt@kms_flip@2x-flip-vs-absolute-wf_vblank@ab-vga1-hdmi-a1.html * igt@kms_flip@plain-flip-fb-recreate@b-edp1: - shard-skl: [FAIL][57] ([i915#2122]) -> [PASS][58] [57]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9166/shard-skl2/igt@kms_flip@plain-flip-fb-recreate@b-edp1.html [58]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18738/shard-skl4/igt@kms_flip@plain-flip-fb-recreate@b-edp1.html * igt@kms_frontbuffer_tracking@fbc-modesetfrombusy: - shard-snb: [FAIL][59] ([i915#2546]) -> [PASS][60] [59]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9166/shard-snb7/igt@kms_frontbuffer_tracking@fbc-modesetfrombusy.html [60]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18738/shard-snb2/igt@kms_frontbuffer_tracking@fbc-modesetfrombusy.html * igt@kms_frontbuffer_tracking@fbcpsr-1p-offscren-pri-indfb-draw-blt: - shard-tglb: [DMESG-WARN][61] ([i915#1982]) -> [PASS][62] +1 similar issue [61]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9166/shard-tglb7/igt@kms_frontbuffer_tracking@fbcpsr-1p-offscren-pri-indfb-draw-blt.html [62]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18738/shard-tglb8/igt@kms_frontbuffer_tracking@fbcpsr-1p-offscren-pri-indfb-draw-blt.html * igt@kms_plane_alpha_blend@pipe-c-coverage-7efc: - shard-skl: [FAIL][63] ([fdo#108145] / [i915#265]) -> [PASS][64] +1 similar issue [63]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9166/shard-skl4/igt@kms_plane_alpha_blend@pipe-c-coverage-7efc.html [64]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18738/shard-skl8/igt@kms_plane_alpha_blend@pipe-c-coverage-7efc.html * igt@kms_psr@psr2_cursor_blt: - shard-iclb: [SKIP][65] ([fdo#109441]) -> [PASS][66] +1 similar issue [65]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9166/shard-iclb1/igt@kms_psr@psr2_cursor_blt.html [66]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18738/shard-iclb2/igt@kms_psr@psr2_cursor_blt.html * igt@kms_vblank@pipe-c-ts-continuation-suspend: - shard-skl: [INCOMPLETE][67] ([i915#198]) -> [PASS][68] [67]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9166/shard-skl6/igt@kms_vblank@pipe-c-ts-continuation-suspend.html [68]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18738/shard-skl10/igt@kms_vblank@pipe-c-ts-continuation-suspend.html * igt@perf@polling-parameterized: - shard-skl: [FAIL][69] ([i915#1542]) -> [PASS][70] [69]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9166/shard-skl5/igt@perf@polling-parameterized.html [70]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18738/shard-skl2/igt@perf@polling-parameterized.html #### Warnings #### * igt@kms_plane_alpha_blend@pipe-c-constant-alpha-min: - shard-skl: [DMESG-WARN][71] ([i915#1982]) -> [FAIL][72] ([fdo#108145] / [i915#265]) [71]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9166/shard-skl7/igt@kms_plane_alpha_blend@pipe-c-constant-alpha-min.html [72]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18738/shard-skl5/igt@kms_plane_alpha_blend@pipe-c-constant-alpha-min.html * igt@kms_setmode@basic: - shard-skl: [FAIL][73] ([i915#31]) -> [DMESG-FAIL][74] ([i915#1982] / [i915#31]) [73]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9166/shard-skl6/igt@kms_setmode@basic.html [74]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18738/shard-skl3/igt@kms_setmode@basic.html * igt@prime_vgem@coherency-blt: - shard-snb: [FAIL][75] -> [INCOMPLETE][76] ([i915#82]) [75]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9166/shard-snb4/igt@prime_vgem@coherency-blt.html [76]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18738/shard-snb4/igt@prime_vgem@coherency-blt.html {name}: This element is suppressed. This means it is ignored when computing the status of the difference (SUCCESS, WARNING, or FAILURE). [fdo#108145]: https://bugs.freedesktop.org/show_bug.cgi?id=108145 [fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441 [i915#118]: https://gitlab.freedesktop.org/drm/intel/issues/118 [i915#1542]: https://gitlab.freedesktop.org/drm/intel/issues/1542 [i915#155]: https://gitlab.freedesktop.org/drm/intel/issues/155 [i915#1635]: https://gitlab.freedesktop.org/drm/intel/issues/1635 [i915#198]: https://gitlab.freedesktop.org/drm/intel/issues/198 [i915#1982]: https://gitlab.freedesktop.org/drm/intel/issues/1982 [i915#2122]: https://gitlab.freedesktop.org/drm/intel/issues/2122 [i915#2370]: https://gitlab.freedesktop.org/drm/intel/issues/2370 [i915#2389]: https://gitlab.freedesktop.org/drm/intel/issues/2389 [i915#2424]: https://gitlab.freedesktop.org/drm/intel/issues/2424 [i915#2521]: https://gitlab.freedesktop.org/drm/intel/issues/2521 [i915#2546]: https://gitlab.freedesktop.org/drm/intel/issues/2546 [i915#265]: https://gitlab.freedesktop.org/drm/intel/issues/265 [i915#31]: https://gitlab.freedesktop.org/drm/intel/issues/31 [i915#454]: https://gitlab.freedesktop.org/drm/intel/issues/454 [i915#54]: https://gitlab.freedesktop.org/drm/intel/issues/54 [i915#82]: https://gitlab.freedesktop.org/drm/intel/issues/82 [i915#95]: https://gitlab.freedesktop.org/drm/intel/issues/95 Participating hosts (11 -> 11) ------------------------------ No changes in participating hosts Build changes ------------- * Linux: CI_DRM_9166 -> Patchwork_18738 CI-20190529: 20190529 CI_DRM_9166: f10a69af784776f63cf892611a6baa33e8c35fca @ git://anongit.freedesktop.org/gfx-ci/linux IGT_5822: b4bcf05cb9839037128905deda7146434155cc41 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools Patchwork_18738: 4edc2bd181ae441b0057ee5108b0e76883c42310 @ 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_18738/index.html [-- Attachment #1.2: Type: text/html, Size: 19962 bytes --] [-- Attachment #2: Type: text/plain, Size: 160 bytes --] _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915/edp/jsl: Update vswing table for HBR and HBR2 (rev3) 2020-10-20 7:40 ` [Intel-gfx] ✓ Fi.CI.IGT: " Patchwork @ 2020-11-09 20:58 ` Souza, Jose 0 siblings, 0 replies; 6+ messages in thread From: Souza, Jose @ 2020-11-09 20:58 UTC (permalink / raw) To: Surendrakumar Upadhyay, TejaskumarX, intel-gfx@lists.freedesktop.org On Tue, 2020-10-20 at 07:40 +0000, Patchwork wrote: > Patch Details > Series: drm/i915/edp/jsl: Update vswing table for HBR and HBR2 (rev3) URL: https://patchwork.freedesktop.org/series/82206/ State: success Details: > https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18738/index.html > CI Bug Log - changes from CI_DRM_9166_full -> Patchwork_18738_fullSummarySUCCESS > No regressions found. Thanks for the patch, pushed to dinq. > Known issuesHere are the changes found in Patchwork_18738_full that come from known issues: > IGT changesIssues hit * igt@gem_exec_reloc@basic-many-active@rcs0:shard-snb: PASS -> FAIL (i915#2389) > * igt@gem_exec_whisper@basic-forked-all:shard-glk: PASS -> DMESG-WARN (i915#118 / i915#95) > * igt@gem_userptr_blits@unsync-unmap-cycles:shard-skl: PASS -> TIMEOUT (i915#2424) +1 similar issue > * igt@i915_pm_dc@dc6-psr:shard-skl: PASS -> FAIL (i915#454) > * igt@kms_draw_crc@draw-method-xrgb8888-render-xtiled:shard-snb: PASS -> FAIL (i915#54) > * igt@kms_pipe_crc_basic@suspend-read-crc-pipe-c:shard-skl: PASS -> INCOMPLETE (i915#198) > * igt@kms_plane_alpha_blend@pipe-b-coverage-7efc:shard-skl: PASS -> FAIL (fdo#108145 / i915#265) > * igt@kms_plane_scaling@pipe-c-plane-scaling:shard-skl: PASS -> DMESG-WARN (i915#1982) +6 similar issues > * igt@kms_psr@psr2_cursor_render:shard-iclb: PASS -> SKIP (fdo#109441) +3 similar issues > * igt@kms_universal_plane@universal-plane-gen9-features-pipe-a:shard-kbl: PASS -> DMESG-WARN (i915#1982) > * igt@kms_vblank@crtc-id:shard-tglb: PASS -> DMESG-WARN (i915#1982) > Possible fixes * igt@api_intel_bb@blit-noreloc-purge-cache:shard-snb: FAIL -> PASS > * igt@gem_exec_parallel@fds@vecs0:shard-iclb: DMESG-WARN (i915#1982) -> PASS > * igt@gem_exec_reloc@basic-many-active@vecs0:shard-glk: FAIL (i915#2389) -> PASS +2 similar issues > * igt@gem_exec_whisper@basic-contexts:shard-glk: DMESG-WARN (i915#118 / i915#95) -> PASS +2 similar issues > * igt@i915_pm_backlight@fade_with_suspend:shard-skl: INCOMPLETE -> PASS > * igt@i915_suspend@debugfs-reader:shard-kbl: INCOMPLETE (i915#155) -> PASS > * {igt@kms_async_flips@async-flip-with-page-flip-events}:shard-kbl: FAIL (i915#2521) -> PASS +1 similar issueshard-apl: FAIL (i915#1635 / > i915#2521) -> PASS > * igt@kms_big_fb@linear-32bpp-rotate-180:shard-glk: DMESG-FAIL (i915#118 / i915#95) -> PASS > * igt@kms_big_fb@y-tiled-8bpp-rotate-180:shard-kbl: DMESG-WARN (i915#1982) -> PASS +1 similar issueshard-apl: DMESG-WARN (i915#1635 / i915#1982) -> > PASS > * igt@kms_ccs@pipe-a-crc-primary-rotation-180:shard-skl: FAIL -> PASS > * igt@kms_cursor_crc@pipe-c-cursor-128x128-onscreen:shard-skl: FAIL (i915#54) -> PASS > * igt@kms_cursor_legacy@cursor-vs-flip-varying-size:shard-hsw: FAIL (i915#2370) -> PASS > * igt@kms_draw_crc@draw-method-rgb565-mmap-wc-xtiled:shard-skl: DMESG-WARN (i915#1982) -> PASS +6 similar issues > * igt@kms_draw_crc@draw-method-xrgb2101010-blt-untiled:shard-snb: FAIL (i915#54) -> PASS > * igt@kms_flip@2x-flip-vs-absolute-wf_vblank@ab-vga1-hdmi-a1:shard-hsw: DMESG-WARN (i915#1982) -> PASS > * igt@kms_flip@plain-flip-fb-recreate@b-edp1:shard-skl: FAIL (i915#2122) -> PASS > * igt@kms_frontbuffer_tracking@fbc-modesetfrombusy:shard-snb: FAIL (i915#2546) -> PASS > * igt@kms_frontbuffer_tracking@fbcpsr-1p-offscren-pri-indfb-draw-blt:shard-tglb: DMESG-WARN (i915#1982) -> PASS +1 similar issue > * igt@kms_plane_alpha_blend@pipe-c-coverage-7efc:shard-skl: FAIL (fdo#108145 / i915#265) -> PASS +1 similar issue > * igt@kms_psr@psr2_cursor_blt:shard-iclb: SKIP (fdo#109441) -> PASS +1 similar issue > * igt@kms_vblank@pipe-c-ts-continuation-suspend:shard-skl: INCOMPLETE (i915#198) -> PASS > * igt@perf@polling-parameterized:shard-skl: FAIL (i915#1542) -> PASS > Warnings * igt@kms_plane_alpha_blend@pipe-c-constant-alpha-min:shard-skl: DMESG-WARN (i915#1982) -> FAIL (fdo#108145 / i915#265) > * igt@kms_setmode@basic:shard-skl: FAIL (i915#31) -> DMESG-FAIL (i915#1982 / i915#31) > * igt@prime_vgem@coherency-blt:shard-snb: FAIL -> INCOMPLETE (i915#82) > {name}: This element is suppressed. This means it is ignored when computing > the status of the difference (SUCCESS, WARNING, or FAILURE). > Participating hosts (11 -> 11)No changes in participating hosts > Build changes * Linux: CI_DRM_9166 -> Patchwork_18738 > CI-20190529: 20190529 > CI_DRM_9166: f10a69af784776f63cf892611a6baa33e8c35fca @ git://anongit.freedesktop.org/gfx-ci/linux > IGT_5822: b4bcf05cb9839037128905deda7146434155cc41 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools > Patchwork_18738: 4edc2bd181ae441b0057ee5108b0e76883c42310 @ git://anongit.freedesktop.org/gfx-ci/linux > piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit > _______________________________________________ > Intel-gfx mailing list > Intel-gfx@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/intel-gfx _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Intel-gfx] [PATCH V2] drm/i915/edp/jsl: Update vswing table for HBR and HBR2 2020-10-20 5:36 [Intel-gfx] [PATCH V2] drm/i915/edp/jsl: Update vswing table for HBR and HBR2 Tejas Upadhyay ` (2 preceding siblings ...) 2020-10-20 7:40 ` [Intel-gfx] ✓ Fi.CI.IGT: " Patchwork @ 2020-11-09 20:54 ` Souza, Jose 3 siblings, 0 replies; 6+ messages in thread From: Souza, Jose @ 2020-11-09 20:54 UTC (permalink / raw) To: Surendrakumar Upadhyay, TejaskumarX, intel-gfx@lists.freedesktop.org On Tue, 2020-10-20 at 11:06 +0530, Tejas Upadhyay wrote: > JSL has update in vswing table for eDP. > > BSpec: 21257 > > Changes since V1: > - Fixed few checkpatch errors > Reviewed-by: José Roberto de Souza <jose.souza@intel.com> > Cc: Souza Jose <jose.souza@intel.com> > Signed-off-by: Tejas Upadhyay <tejaskumarx.surendrakumar.upadhyay@intel.com> > --- > drivers/gpu/drm/i915/display/intel_ddi.c | 87 +++++++++++++++++++++++- > 1 file changed, 85 insertions(+), 2 deletions(-) > > diff --git a/drivers/gpu/drm/i915/display/intel_ddi.c b/drivers/gpu/drm/i915/display/intel_ddi.c > index bb0b9930958f..8fd81a3932a4 100644 > --- a/drivers/gpu/drm/i915/display/intel_ddi.c > +++ b/drivers/gpu/drm/i915/display/intel_ddi.c > @@ -582,6 +582,34 @@ static const struct cnl_ddi_buf_trans ehl_combo_phy_ddi_translations_dp[] = { > { 0x6, 0x7F, 0x3F, 0x00, 0x00 }, /* 900 900 0.0 */ > }; > > > > > +static const struct cnl_ddi_buf_trans jsl_combo_phy_ddi_translations_edp_hbr[] = { > + /* NT mV Trans mV db */ > + { 0x8, 0x7F, 0x3F, 0x00, 0x00 }, /* 200 200 0.0 */ > + { 0x8, 0x7F, 0x38, 0x00, 0x07 }, /* 200 250 1.9 */ > + { 0x1, 0x7F, 0x33, 0x00, 0x0C }, /* 200 300 3.5 */ > + { 0xA, 0x35, 0x36, 0x00, 0x09 }, /* 200 350 4.9 */ > + { 0x8, 0x7F, 0x3F, 0x00, 0x00 }, /* 250 250 0.0 */ > + { 0x1, 0x7F, 0x38, 0x00, 0x07 }, /* 250 300 1.6 */ > + { 0xA, 0x35, 0x35, 0x00, 0x0A }, /* 250 350 2.9 */ > + { 0x1, 0x7F, 0x3F, 0x00, 0x00 }, /* 300 300 0.0 */ > + { 0xA, 0x35, 0x38, 0x00, 0x07 }, /* 300 350 1.3 */ > + { 0xA, 0x35, 0x3F, 0x00, 0x00 }, /* 350 350 0.0 */ > +}; > + > +static const struct cnl_ddi_buf_trans jsl_combo_phy_ddi_translations_edp_hbr2[] = { > + /* NT mV Trans mV db */ > + { 0x8, 0x7F, 0x3F, 0x00, 0x00 }, /* 200 200 0.0 */ > + { 0x8, 0x7F, 0x3F, 0x00, 0x00 }, /* 200 250 1.9 */ > + { 0x1, 0x7F, 0x3D, 0x00, 0x02 }, /* 200 300 3.5 */ > + { 0xA, 0x35, 0x38, 0x00, 0x07 }, /* 200 350 4.9 */ > + { 0x8, 0x7F, 0x3F, 0x00, 0x00 }, /* 250 250 0.0 */ > + { 0x1, 0x7F, 0x3F, 0x00, 0x00 }, /* 250 300 1.6 */ > + { 0xA, 0x35, 0x3A, 0x00, 0x05 }, /* 250 350 2.9 */ > + { 0x1, 0x7F, 0x3F, 0x00, 0x00 }, /* 300 300 0.0 */ > + { 0xA, 0x35, 0x38, 0x00, 0x07 }, /* 300 350 1.3 */ > + { 0xA, 0x35, 0x3F, 0x00, 0x00 }, /* 350 350 0.0 */ > +}; > + > struct icl_mg_phy_ddi_buf_trans { > u32 cri_txdeemph_override_11_6; > u32 cri_txdeemph_override_5_0; > @@ -1162,6 +1190,57 @@ ehl_get_combo_buf_trans(struct intel_encoder *encoder, > return ehl_get_combo_buf_trans_dp(encoder, crtc_state, n_entries); > } > > > > > +static const struct cnl_ddi_buf_trans * > +jsl_get_combo_buf_trans_hdmi(struct intel_encoder *encoder, > + const struct intel_crtc_state *crtc_state, > + int *n_entries) > +{ > + *n_entries = ARRAY_SIZE(icl_combo_phy_ddi_translations_hdmi); > + return icl_combo_phy_ddi_translations_hdmi; > +} > + > +static const struct cnl_ddi_buf_trans * > +jsl_get_combo_buf_trans_dp(struct intel_encoder *encoder, > + const struct intel_crtc_state *crtc_state, > + int *n_entries) > +{ > + *n_entries = ARRAY_SIZE(icl_combo_phy_ddi_translations_dp_hbr2); > + return icl_combo_phy_ddi_translations_dp_hbr2; > +} > + > +static const struct cnl_ddi_buf_trans * > +jsl_get_combo_buf_trans_edp(struct intel_encoder *encoder, > + const struct intel_crtc_state *crtc_state, > + int *n_entries) > +{ > + struct drm_i915_private *dev_priv = to_i915(encoder->base.dev); > + > + if (dev_priv->vbt.edp.low_vswing) { > + if (crtc_state->port_clock > 270000) { > + *n_entries = ARRAY_SIZE(jsl_combo_phy_ddi_translations_edp_hbr2); > + return jsl_combo_phy_ddi_translations_edp_hbr2; > + } else { > + *n_entries = ARRAY_SIZE(jsl_combo_phy_ddi_translations_edp_hbr); > + return jsl_combo_phy_ddi_translations_edp_hbr; > + } > + } > + > + return jsl_get_combo_buf_trans_dp(encoder, crtc_state, n_entries); > +} > + > +static const struct cnl_ddi_buf_trans * > +jsl_get_combo_buf_trans(struct intel_encoder *encoder, > + const struct intel_crtc_state *crtc_state, > + int *n_entries) > +{ > + if (intel_crtc_has_type(crtc_state, INTEL_OUTPUT_HDMI)) > + return jsl_get_combo_buf_trans_hdmi(encoder, crtc_state, n_entries); > + else if (intel_crtc_has_type(crtc_state, INTEL_OUTPUT_EDP)) > + return jsl_get_combo_buf_trans_edp(encoder, crtc_state, n_entries); > + else > + return jsl_get_combo_buf_trans_dp(encoder, crtc_state, n_entries); > +} > + > static const struct cnl_ddi_buf_trans * > tgl_get_combo_buf_trans_hdmi(struct intel_encoder *encoder, > const struct intel_crtc_state *crtc_state, > @@ -2363,7 +2442,9 @@ static u8 intel_ddi_dp_voltage_max(struct intel_dp *intel_dp, > else > tgl_get_dkl_buf_trans(encoder, crtc_state, &n_entries); > } else if (INTEL_GEN(dev_priv) == 11) { > - if (IS_JSL_EHL(dev_priv)) > + if (IS_PLATFORM(dev_priv, INTEL_JASPERLAKE)) > + jsl_get_combo_buf_trans(encoder, crtc_state, &n_entries); > + else if (IS_PLATFORM(dev_priv, INTEL_ELKHARTLAKE)) > ehl_get_combo_buf_trans(encoder, crtc_state, &n_entries); > else if (intel_phy_is_combo(dev_priv, phy)) > icl_get_combo_buf_trans(encoder, crtc_state, &n_entries); > @@ -2544,7 +2625,9 @@ static void icl_ddi_combo_vswing_program(struct intel_encoder *encoder, > > > > > if (INTEL_GEN(dev_priv) >= 12) > ddi_translations = tgl_get_combo_buf_trans(encoder, crtc_state, &n_entries); > - else if (IS_JSL_EHL(dev_priv)) > + else if (IS_PLATFORM(dev_priv, INTEL_JASPERLAKE)) > + ddi_translations = jsl_get_combo_buf_trans(encoder, crtc_state, &n_entries); > + else if (IS_PLATFORM(dev_priv, INTEL_ELKHARTLAKE)) > ddi_translations = ehl_get_combo_buf_trans(encoder, crtc_state, &n_entries); > else > ddi_translations = icl_get_combo_buf_trans(encoder, crtc_state, &n_entries); _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2020-11-09 20:58 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2020-10-20 5:36 [Intel-gfx] [PATCH V2] drm/i915/edp/jsl: Update vswing table for HBR and HBR2 Tejas Upadhyay 2020-10-20 6:04 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/edp/jsl: Update vswing table for HBR and HBR2 (rev3) Patchwork 2020-10-20 6:30 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork 2020-10-20 7:40 ` [Intel-gfx] ✓ Fi.CI.IGT: " Patchwork 2020-11-09 20:58 ` Souza, Jose 2020-11-09 20:54 ` [Intel-gfx] [PATCH V2] drm/i915/edp/jsl: Update vswing table for HBR and HBR2 Souza, Jose
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox