drm/i915: Prune 2560x2880 mode for 5K tiled dual DP monitors
Subsystems (3)
PATCH 1/1 drm/i915: Prune 2560x2880 mode for 5K tiled dual DP monitors
From: Ankit Nautiyal <[email protected]>
Currently, the transcoder port sync feature is not available, due to which the 5K-tiled dual DP monitors experience corruption when 2560x2880 mode is applied for both of the tiled DP connectors.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=97244
There is a patch series to enable transcode port sync feature for tiled display for ICL+, which is under review:
https://patchwork.kernel.org/project/intel-gfx/list/?series=137339
For the older platforms, we need to remove the 2560x2880 mode to avoid a possibility of userspace choosing 2560x2880 mode for both tiled displays, resulting in corruption.
This patch prunes 2560x2880 mode for one of the tiled DP connector. Since both the tiled DP connectors have different tile_h_loc and tile_v_loc, the tiled connector with tile_h_loc and tile_v_loc as '0', is chosen, for which the given resolution is removed.
--- drivers/gpu/drm/i915/display/intel_dp.c | 11 +++++++++++ 1 file changed, 11 insertions(+)
drivers/gpu/drm/i915/display/intel_dp.c +11 -0
@@ -564,6 +564,17 @@ intel_dp_mode_valid(struct drm_connector *connector,if (mode->flags &DRM_MODE_FLAG_DBLCLK )return MODE_H_ILLEGAL ; +/* +* For 5K tiled dual DP monitors, dual-DP sync is not yet supported. +* This results in display sync issues, when both tiled connectors run +* on 2560x2880 resolution. Therefore prune the 2560x2880 mode on one +* of the tiled connector, to avoid such a case. +*/ +if (connector->has_tile && + (connector->tile_h_loc ==0 && connector->tile_v_loc ==0 ) && + (mode->hdisplay ==2560 && mode->vdisplay ==2880 )) +return MODE_PANEL ; +return MODE_OK ; }
Signature · 6 lines
2.7.4 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Hello Ankit,
Quoted 33 lines · Ankit K
From: Ankit Nautiyal <[email protected]>
Currently, the transcoder port sync feature is not available, due to which the 5K-tiled dual DP monitors experience corruption when 2560x2880 mode is applied for both of the tiled DP connectors.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=97244There is a patch series to enable transcode port sync feature for tiled display for ICL+, which is under review:
https://patchwork.kernel.org/project/intel-gfx/list/?series=137339For the older platforms, we need to remove the 2560x2880 mode to avoid a possibility of userspace choosing 2560x2880 mode for both tiled displays, resulting in corruption.
This patch prunes 2560x2880 mode for one of the tiled DP connector. Since both the tiled DP connectors have different
tile_h_locandtile_v_loc, the tiled connector withtile_h_locandtile_v_locas '0', is chosen, for which the given resolution is removed.Signed-off-by Ankit Nautiyal <[email protected]>CC Manasi Navare <[email protected]>--- drivers/gpu/drm/i915/display/intel_dp.c | 11 +++++++++++ 1 file changed, 11 insertions(+)drivers/gpu/drm/i915/display/intel_dp.c +0
-0@@ -564,6 +564,17 @@ intel_dp_mode_valid(struct drm_connector *connector,if (mode->flags &DRM_MODE_FLAG_DBLCLK )return MODE_H_ILLEGAL ;
drivers/gpu/drm/i915/display/intel_dp.c intel_dp_mode_valid(struct drm_connector *connector, · line 575
Quoted 10 lines
drivers/gpu/drm/i915/display/intel_dp.c +9
-0+/* +* For 5K tiled dual DP monitors, dual-DP sync is not yet supported. +* This results in display sync issues, when both tiled connectors run +* on 2560x2880 resolution. Therefore prune the 2560x2880 mode on one +* of the tiled connector, to avoid such a case. +*/ +if (connector->has_tile && + (connector->tile_h_loc ==0 && connector->tile_v_loc ==0 ) && + (mode->hdisplay ==2560 && mode->vdisplay ==2880 ))
Shouldn't this be for >= 2560/2880 than == ? Also, do we want (mode->hdisplay >= 2560 *||* mode->vdisplay >= 2880 )
- Shashank
drivers/gpu/drm/i915/display/intel_dp.c intel_dp_mode_valid(struct drm_connector *connector, · line 580
Quoted 5 lines
drivers/gpu/drm/i915/display/intel_dp.c +2
-0+return MODE_PANEL ; +return MODE_OK ; }
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Hi Shashank,
Thanks for the comments.
If we see the connector info, the 5K display is detected as two DP connectors with the various modes (pasted below, based on some limited experimentation with Dell UP2715K Panel). The problem is only observed when on both the connectors the mode 2560x2880 is applied, looks like only then the TV monitor takes it as 5K.
Any other combination, like 3840x2160 and 2560x2880 does not have this problem, it seems to act something like two connectors with extended display configuration.
Even 2560x1440 resolution applied for both the connectors at a time, does not create a problem. So removing the exact-mode 2560x2880 from any of the connector is sufficient to avoid the corruption case.
DP-1:
modes:
"848x480": 60 29750 848 896 928 1008 480 483 488 494 0x48 0x9 "2560x2880": 60 483240 2560 2608 2640 2720 2880 2883 2893 2962 0x40 0x9 "2560x2880": 30 238240 2560 2608 2640 2720 2880 2883 2893 2921 0x40 0x9
Tile information:has_tile = 1tile_is_single_monitor = 1tile_group_id = 1num_h_tile = 2num_v_tile = 1tile_h_loc = 0tile_v_loc = 0tile_h_size = 2560tile_v_size = 2880
DP-2:
modes:
"3840x2160": 60 533240 3840 3888 3920 4000 2160 2163 2168 2222 0x48 0x9 "2560x1440": 60 241500 2560 2608 2640 2720 1440 1443 1448 1481 0x48 0x9 "3840x2160": 60 533250 3840 3920 3952 4000 2160 2214 2219 2222 0x40 0xa "2560x2880": 60 483240 2560 2608 2640 2720 2880 2883 2893 2962 0x40 0x9 "2560x2880": 30 238240 2560 2608 2640 2720 2880 2883 2893 2921 0x40 0x9 "1920x1200": 60 193250 1920 2056 2256 2592 1200 1203 1209 1245 0x40 0x6 "1920x1080": 60 148500 1920 2008 2052 2200 1080 1084 1089 1125 0x40 0xa "1600x1200": 60 162000 1600 1664 1856 2160 1200 1201 1204 1250 0x40 0x5 "1680x1050": 60 146250 1680 1784 1960 2240 1050 1053 1059 1089 0x40 0x6 "1280x1024": 60 108000 1280 1328 1440 1688 1024 1025 1028 1066 0x40 0x5 "1280x800": 60 83500 1280 1352 1480 1680 800 803 809 831 0x40 0x6 "1024x768": 60 65000 1024 1048 1184 1344 768 771 777 806 0x40 0xa "800x600": 60 40000 800 840 968 1056 600 601 605 628 0x40 0x5 "640x480": 60 25200 640 656 752 800 480 490 492 525 0x40 0xa "640x480": 60 25175 640 656 752 800 480 490 492 525 0x40 0xa
Tile information:has_tile = 1tile_is_single_monitor = 1tile_group_id = 1num_h_tile = 2num_v_tile = 1tile_h_loc = 1tile_v_loc = 0tile_h_size = 2560tile_v_size = 2880
Regards,
Ankit
Quoted 50 lines · Shashank
Hello Ankit,
Quoted 33 lines · Ankit K
From: Ankit Nautiyal <[email protected]>
Currently, the transcoder port sync feature is not available, due to which the 5K-tiled dual DP monitors experience corruption when 2560x2880 mode is applied for both of the tiled DP connectors.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=97244There is a patch series to enable transcode port sync feature for tiled display for ICL+, which is under review:
https://patchwork.kernel.org/project/intel-gfx/list/?series=137339For the older platforms, we need to remove the 2560x2880 mode to avoid a possibility of userspace choosing 2560x2880 mode for both tiled displays, resulting in corruption.
This patch prunes 2560x2880 mode for one of the tiled DP connector. Since both the tiled DP connectors have different
tile_h_locandtile_v_loc, the tiled connector withtile_h_locandtile_v_locas '0', is chosen, for which the given resolution is removed.Signed-off-by Ankit Nautiyal <[email protected]>CC Manasi Navare <[email protected]>--- drivers/gpu/drm/i915/display/intel_dp.c | 11 +++++++++++ 1 file changed, 11 insertions(+)drivers/gpu/drm/i915/display/intel_dp.c +0
-0@@ -564,6 +564,17 @@ intel_dp_mode_valid(struct drm_connector *connector,if (mode->flags &DRM_MODE_FLAG_DBLCLK )return MODE_H_ILLEGAL ;drivers/gpu/drm/i915/display/intel_dp.c intel_dp_mode_valid(struct drm_connector *connector, · line 575
Quoted 10 lines
drivers/gpu/drm/i915/display/intel_dp.c +9
-0+/* +* For 5K tiled dual DP monitors, dual-DP sync is not yet supported. +* This results in display sync issues, when both tiled connectors run +* on 2560x2880 resolution. Therefore prune the 2560x2880 mode on one +* of the tiled connector, to avoid such a case. +*/ +if (connector->has_tile && + (connector->tile_h_loc ==0 && connector->tile_v_loc ==0 ) && + (mode->hdisplay ==2560 && mode->vdisplay ==2880 ))Shouldn't this be for >= 2560/2880 than == ? Also, do we want (
mode->hdisplay>= 2560 *||*mode->vdisplay>= 2880 )
Quoted 7 lines
- Shashank
drivers/gpu/drm/i915/display/intel_dp.c intel_dp_mode_valid(struct drm_connector *connector, · line 580
Quoted 5 lines
drivers/gpu/drm/i915/display/intel_dp.c +2
-0+return MODE_PANEL ; +return MODE_OK ; }
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✓ Fi.CI.BAT: success for drm/i915: Prune 2560x2880 mode for 5K tiled dual DP monitors
In reply to Nautiyal, Ankit K== Series Details ==
== Series Details ==
Series: drm/i915: Prune 2560x2880 mode for 5K tiled dual DP monitors
URL : https://patchwork.freedesktop.org/series/65845/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_6787 -> Patchwork_14195
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14195/
Known issues
------------
Here are the changes found in Patchwork_14195 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_exec_suspend@basic-s3:
- fi-blb-e6850: [PASS][1] -> [INCOMPLETE][2] ([fdo#107718])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6787/fi-blb-e6850/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14195/fi-blb-e6850/igt@[email protected]
[fdo#107718]: https://bugs.freedesktop.org/show_bug.cgi?id=107718
Participating hosts (31 -> 43)
------------------------------
Additional (17): fi-hsw-4770r fi-cml-u2 fi-icl-u4 fi-skl-gvtdvm fi-hsw-peppy fi-glk-dsi fi-icl-u2 fi-bwr-2160 fi-ilk-650 fi-kbl-7500u fi-kbl-guc fi-whl-u fi-cfl-8109u fi-skl-iommu fi-bsw-kefka fi-skl-lmem fi-icl-guc
Missing (5): fi-kbl-soraka fi-ilk-m540 fi-bsw-cyan fi-icl-u3 fi-icl-y
Build changes
-------------
* CI: CI-20190529 -> None
* Linux: CI_DRM_6787 -> Patchwork_14195
CI-20190529: 20190529
CI_DRM_6787: 63ed0eb50431f1428ab0ced810f8e438945405fd @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_5150: a4e8217bcdfef9bb523f26a9084bbf615a6e8abb @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_14195: 0a60b1119e920d54254ab2985eefa717f6bcae09 @ git://anongit.freedesktop.org/gfx-ci/linux
== Linux commits ==
0a60b1119e92 drm/i915: Prune 2560x2880 mode for 5K tiled dual DP monitors
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14195/
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Jani Nikula
maintainerQuoted 35 lines · Ankit K
From: Ankit Nautiyal <[email protected]>
Currently, the transcoder port sync feature is not available, due to which the 5K-tiled dual DP monitors experience corruption when 2560x2880 mode is applied for both of the tiled DP connectors.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=97244There is a patch series to enable transcode port sync feature for tiled display for ICL+, which is under review:
https://patchwork.kernel.org/project/intel-gfx/list/?series=137339For the older platforms, we need to remove the 2560x2880 mode to avoid a possibility of userspace choosing 2560x2880 mode for both tiled displays, resulting in corruption.
This patch prunes 2560x2880 mode for one of the tiled DP connector. Since both the tiled DP connectors have different
tile_h_locandtile_v_loc, the tiled connector withtile_h_locandtile_v_locas '0', is chosen, for which the given resolution is removed.Signed-off-by Ankit Nautiyal <[email protected]>CC Manasi Navare <[email protected]>--- drivers/gpu/drm/i915/display/intel_dp.c | 11 +++++++++++ 1 file changed, 11 insertions(+)drivers/gpu/drm/i915/display/intel_dp.c +1
-0@@ -564,6 +564,17 @@ intel_dp_mode_valid(struct drm_connector *connector,if (mode->flags &DRM_MODE_FLAG_DBLCLK )return MODE_H_ILLEGAL ; +/*
drivers/gpu/drm/i915/display/intel_dp.c intel_dp_mode_valid(struct drm_connector *connector, · line 577
Quoted 10 lines
drivers/gpu/drm/i915/display/intel_dp.c +10
-0+* For 5K tiled dual DP monitors, dual-DP sync is not yet supported. +* This results in display sync issues, when both tiled connectors run +* on 2560x2880 resolution. Therefore prune the 2560x2880 mode on one +* of the tiled connector, to avoid such a case. +*/ +if (connector->has_tile && + (connector->tile_h_loc ==0 && connector->tile_v_loc ==0 ) && + (mode->hdisplay ==2560 && mode->vdisplay ==2880 )) +return MODE_PANEL ; +
This assumes all tiled cases with specific resolutions fail. You don't know that. You only know this fails on a specific display. Instead of coming up with various rules on tiles and resolutions that match the display (but might *also* match any number of *other* displays!), you need to actually identify and match that specific display instead.
There are two ways to add display specific quirks: based on EDID (edid_quirk_list in drm_edid.c) and based on DPCD (dpcd_quirk_list in drm_dp_helper.c). You identify the display, and then prune the modes that require port sync to work, for *that* display.
Blanket filters like this are a no-go.
BR,
Jani.
Quoted 2 lines
drivers/gpu/drm/i915/display/intel_dp.c +0
-0return MODE_OK ; }
Signature · 5 lines
Jani Nikula, Intel Open Source Graphics Center _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 44 lines · Jani Nikula
Quoted 43 lines · Ankit K
From: Ankit Nautiyal <[email protected]>
Currently, the transcoder port sync feature is not available, due to which the 5K-tiled dual DP monitors experience corruption when 2560x2880 mode is applied for both of the tiled DP connectors.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=97244There is a patch series to enable transcode port sync feature for tiled display for ICL+, which is under review:
https://patchwork.kernel.org/project/intel-gfx/list/?series=137339For the older platforms, we need to remove the 2560x2880 mode to avoid a possibility of userspace choosing 2560x2880 mode for both tiled displays, resulting in corruption.
This patch prunes 2560x2880 mode for one of the tiled DP connector. Since both the tiled DP connectors have different
tile_h_locandtile_v_loc, the tiled connector withtile_h_locandtile_v_locas '0', is chosen, for which the given resolution is removed.Signed-off-by Ankit Nautiyal <[email protected]>CC Manasi Navare <[email protected]>--- drivers/gpu/drm/i915/display/intel_dp.c | 11 +++++++++++ 1 file changed, 11 insertions(+)drivers/gpu/drm/i915/display/intel_dp.c +9
-0@@ -564,6 +564,17 @@ intel_dp_mode_valid(struct drm_connector *connector,if (mode->flags &DRM_MODE_FLAG_DBLCLK )return MODE_H_ILLEGAL ; +/* +* For 5K tiled dual DP monitors, dual-DP sync is not yet supported. +* This results in display sync issues, when both tiled connectors run +* on 2560x2880 resolution. Therefore prune the 2560x2880 mode on one +* of the tiled connector, to avoid such a case. +*/ +if (connector->has_tile && + (connector->tile_h_loc ==0 && connector->tile_v_loc ==0 ) && + (mode->hdisplay ==2560 && mode->vdisplay ==2880 ))
Quoted 9 lines
drivers/gpu/drm/i915/display/intel_dp.c intel_dp_mode_valid(struct drm_connector *connector, · line 577
Quoted 2 lines
drivers/gpu/drm/i915/display/intel_dp.c +2
-0+return MODE_PANEL ; +This assumes all tiled cases with specific resolutions fail. You don't know that. You only know this fails on a specific display. Instead of coming up with various rules on tiles and resolutions that match the display (but might *also* match any number of *other* displays!), you need to actually identify and match that specific display instead.
Actually without the transcoder port sync feature, we do not expect any tiled display over two separate ports to work correctly, so if it is two connectors in state with tile props set then we should reject the tiled mode on both those connectors since that might cause the artifacts without proper sync between two ports which is supported only on ICL+
Quoted 4 lines
There are two ways to add display specific quirks: based on EDID (
edid_quirk_listindrm_edid.c) and based on DPCD (dpcd_quirk_listindrm_dp_helper.c). You identify the display, and then prune the modes that require port sync to work, for *that* display.
We have seen this issue on multiple 5K tiled displays IMH, so just adding a quirk for specific monitors will not suffice.
But we would need to make sure that the mode gets rejected only if there are multiple SST connectors with tile prop or connector->has_tile set because MST tiled displays still work correctly.
Ville, you had played a little bit with this 5K display I believe, do you think pruning the tiled mode if there are tiled SST connectors and platform < ICL is a good solution?
Regards
Manasi
Quoted 16 lines
Blanket filters like this are a no-go.
BR,
Jani.Quoted 2 lines
drivers/gpu/drm/i915/display/intel_dp.c +0
-0return MODE_OK ; }Signature · 5 lines
Jani Nikula, Intel Open Source Graphics Center _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Jani Nikula
maintainerQuoted 55 lines · Manasi Navare
Quoted 44 lines · Jani Nikula
Quoted 43 lines · Ankit K
From: Ankit Nautiyal <[email protected]>
Currently, the transcoder port sync feature is not available, due to which the 5K-tiled dual DP monitors experience corruption when 2560x2880 mode is applied for both of the tiled DP connectors.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=97244There is a patch series to enable transcode port sync feature for tiled display for ICL+, which is under review:
https://patchwork.kernel.org/project/intel-gfx/list/?series=137339For the older platforms, we need to remove the 2560x2880 mode to avoid a possibility of userspace choosing 2560x2880 mode for both tiled displays, resulting in corruption.
This patch prunes 2560x2880 mode for one of the tiled DP connector. Since both the tiled DP connectors have different
tile_h_locandtile_v_loc, the tiled connector withtile_h_locandtile_v_locas '0', is chosen, for which the given resolution is removed.Signed-off-by Ankit Nautiyal <[email protected]>CC Manasi Navare <[email protected]>--- drivers/gpu/drm/i915/display/intel_dp.c | 11 +++++++++++ 1 file changed, 11 insertions(+)drivers/gpu/drm/i915/display/intel_dp.c +9
-0@@ -564,6 +564,17 @@ intel_dp_mode_valid(struct drm_connector *connector,if (mode->flags &DRM_MODE_FLAG_DBLCLK )return MODE_H_ILLEGAL ; +/* +* For 5K tiled dual DP monitors, dual-DP sync is not yet supported. +* This results in display sync issues, when both tiled connectors run +* on 2560x2880 resolution. Therefore prune the 2560x2880 mode on one +* of the tiled connector, to avoid such a case. +*/ +if (connector->has_tile && + (connector->tile_h_loc ==0 && connector->tile_v_loc ==0 ) && + (mode->hdisplay ==2560 && mode->vdisplay ==2880 ))Quoted 9 lines
drivers/gpu/drm/i915/display/intel_dp.c intel_dp_mode_valid(struct drm_connector *connector, · line 577
Quoted 2 lines
drivers/gpu/drm/i915/display/intel_dp.c +2
-0+return MODE_PANEL ; +This assumes all tiled cases with specific resolutions fail. You don't know that. You only know this fails on a specific display. Instead of coming up with various rules on tiles and resolutions that match the display (but might *also* match any number of *other* displays!), you need to actually identify and match that specific display instead.
Quoted 6 lines
Actually without the transcoder port sync feature, we do not expect any tiled display over two separate ports to work correctly, so if it is two connectors in state with tile props set then we should reject the tiled mode on both those connectors since that might cause the artifacts without proper sync between two ports which is supported only on ICL+
Consider a multi-screen display with independent panels mounted together, and EDIDs set up to describe the physical tiling layout. Should we reject them all because the cases you know about fail?
You know about the issues with the specific 5k displays precisely because they fail. You never hear about the ones that work. Ever. Until they stop working, that is.
Quoted 7 lines
Quoted 4 lines
There are two ways to add display specific quirks: based on EDID (
edid_quirk_listindrm_edid.c) and based on DPCD (dpcd_quirk_listindrm_dp_helper.c). You identify the display, and then prune the modes that require port sync to work, for *that* display.We have seen this issue on multiple 5K tiled displays IMH, so just adding a quirk for specific monitors will not suffice.
Adding one quirk per failing display quite obviously will suffice.
Quoted 8 lines
But we would need to make sure that the mode gets rejected only if there are multiple SST connectors with tile prop or
connector->has_tileset because MST tiled displays still work correctly.Ville, you had played a little bit with this 5K display I believe, do you think pruning the tiled mode if there are tiled SST connectors and platform < ICL is a good solution?
Come to think of it, can you use the tiled mode *untiled* on one port, and have it strech the entire display? There are plenty of other modes you can use like this. I don't think we should reject that use case either.
I'll repeat, you have issues with a very specific case. You need to have *very* specific rules to filter them out in order to not inadvertently filter out valid use cases. Remember, if there's just *one* valid use case that you end up rejecting here, it's a regression and you need to revert and get back to the drawing board.
---
Finally, and perhaps most importantly, there are people on the bug that are going to be rather underwhelmed that after three years they get a patch that simply rejects the very mode that was the reason for buying the display they have. Insult to injury, the real fix is for a platform that didn't exist when they bought the displays.
BR,
Jani.
Quoted 19 lines
Regards
ManasiQuoted 16 lines
Blanket filters like this are a no-go.
BR,
Jani.Quoted 2 lines
drivers/gpu/drm/i915/display/intel_dp.c +0
-0return MODE_OK ; }Signature · 5 lines
Jani Nikula, Intel Open Source Graphics Center _______________________________________________ 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
Thanks Jani for your feedback, please see my comments inline
Quoted 63 lines · Jani Nikula
Quoted 55 lines · Manasi Navare
Quoted 44 lines · Jani Nikula
Quoted 43 lines · Ankit K
From: Ankit Nautiyal <[email protected]>
Currently, the transcoder port sync feature is not available, due to which the 5K-tiled dual DP monitors experience corruption when 2560x2880 mode is applied for both of the tiled DP connectors.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=97244There is a patch series to enable transcode port sync feature for tiled display for ICL+, which is under review:
https://patchwork.kernel.org/project/intel-gfx/list/?series=137339For the older platforms, we need to remove the 2560x2880 mode to avoid a possibility of userspace choosing 2560x2880 mode for both tiled displays, resulting in corruption.
This patch prunes 2560x2880 mode for one of the tiled DP connector. Since both the tiled DP connectors have different
tile_h_locandtile_v_loc, the tiled connector withtile_h_locandtile_v_locas '0', is chosen, for which the given resolution is removed.Signed-off-by Ankit Nautiyal <[email protected]>CC Manasi Navare <[email protected]>--- drivers/gpu/drm/i915/display/intel_dp.c | 11 +++++++++++ 1 file changed, 11 insertions(+)drivers/gpu/drm/i915/display/intel_dp.c +9
-0@@ -564,6 +564,17 @@ intel_dp_mode_valid(struct drm_connector *connector,if (mode->flags &DRM_MODE_FLAG_DBLCLK )return MODE_H_ILLEGAL ; +/* +* For 5K tiled dual DP monitors, dual-DP sync is not yet supported. +* This results in display sync issues, when both tiled connectors run +* on 2560x2880 resolution. Therefore prune the 2560x2880 mode on one +* of the tiled connector, to avoid such a case. +*/ +if (connector->has_tile && + (connector->tile_h_loc ==0 && connector->tile_v_loc ==0 ) && + (mode->hdisplay ==2560 && mode->vdisplay ==2880 ))Quoted 9 lines
drivers/gpu/drm/i915/display/intel_dp.c intel_dp_mode_valid(struct drm_connector *connector, · line 577
Quoted 2 lines
drivers/gpu/drm/i915/display/intel_dp.c +2
-0+return MODE_PANEL ; +This assumes all tiled cases with specific resolutions fail. You don't know that. You only know this fails on a specific display. Instead of coming up with various rules on tiles and resolutions that match the display (but might *also* match any number of *other* displays!), you need to actually identify and match that specific display instead.
Quoted 6 lines
Actually without the transcoder port sync feature, we do not expect any tiled display over two separate ports to work correctly, so if it is two connectors in state with tile props set then we should reject the tiled mode on both those connectors since that might cause the artifacts without proper sync between two ports which is supported only on ICL+
Quoted 7 lines
Consider a multi-screen display with independent panels mounted together, and EDIDs set up to describe the physical tiling layout. Should we reject them all because the cases you know about fail?
You know about the issues with the specific 5k displays precisely because they fail. You never hear about the ones that work. Ever. Until they stop working, that is.
Hmm I think even with separate panels to work without artifacts we would need some kind of synchronization. But yes I agree that it might just be working well and we cant assume that they are failing.
So for now the EDID quirk sounds like the best way to fix this FDO
Quoted 16 lines
Quoted 8 lines
Quoted 5 lines
There are two ways to add display specific quirks: based on EDID (
edid_quirk_listindrm_edid.c) and based on DPCD (dpcd_quirk_listindrm_dp_helper.c). You identify the display, and then prune the modes that require port sync to work, for *that* display.We have seen this issue on multiple 5K tiled displays IMH, so just adding a quirk for specific monitors will not suffice.
Adding one quirk per failing display quite obviously will suffice.
Quoted 5 lines
But we would need to make sure that the mode gets rejected only if there are multiple SST connectors with tile prop or
connector->has_tileset because MST tiled displays still work correctly.
Quoted 8 lines
Quoted 3 lines
Ville, you had played a little bit with this 5K display I believe, do you think pruning the tiled mode if there are tiled SST connectors and platform < ICL is a good solution?
Come to think of it, can you use the tiled mode *untiled* on one port, and have it strech the entire display? There are plenty of other modes you can use like this. I don't think we should reject that use case either.
Yes so in that case the quirk would be to set the has_tile to false so that the driver will actually see it as non tiled and scale it to the entire display
Quoted 7 lines
I'll repeat, you have issues with a very specific case. You need to have *very* specific rules to filter them out in order to not inadvertently filter out valid use cases. Remember, if there's just *one* valid use case that you end up rejecting here, it's a regression and you need to revert and get back to the drawing board.
Quoted 7 lines
---
Finally, and perhaps most importantly, there are people on the bug that are going to be rather underwhelmed that after three years they get a patch that simply rejects the very mode that was the reason for buying the display they have. Insult to injury, the real fix is for a platform that didn't exist when they bought the displays.
I agree completely. Ankit could you test it on the 5K screen what happens if you set the has_tile to false and allow it to stretch out in untiled fashion? If that works we can add that to the quirk.
Manasi
Quoted 20 lines
BR,
Jani.Quoted 13 lines
Regards
ManasiQuoted 10 lines
Blanket filters like this are a no-go.
BR,
Jani.Quoted 2 lines
drivers/gpu/drm/i915/display/intel_dp.c +0
-0return MODE_OK ; }
Quoted 9 lines
Quoted 6 lines
Quoted 6 lines
Signature · 5 lines
Jani Nikula, Intel Open Source Graphics Center _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfxSignature · 1 line
Jani Nikula, Intel Open Source Graphics Center
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Jani Nikula
maintainerQuoted 123 lines · Manasi Navare
Thanks Jani for your feedback, please see my comments inline
Quoted 63 lines · Jani Nikula
Quoted 55 lines · Manasi Navare
Quoted 44 lines · Jani Nikula
Quoted 43 lines · Ankit K
From: Ankit Nautiyal <[email protected]>
Currently, the transcoder port sync feature is not available, due to which the 5K-tiled dual DP monitors experience corruption when 2560x2880 mode is applied for both of the tiled DP connectors.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=97244There is a patch series to enable transcode port sync feature for tiled display for ICL+, which is under review:
https://patchwork.kernel.org/project/intel-gfx/list/?series=137339For the older platforms, we need to remove the 2560x2880 mode to avoid a possibility of userspace choosing 2560x2880 mode for both tiled displays, resulting in corruption.
This patch prunes 2560x2880 mode for one of the tiled DP connector. Since both the tiled DP connectors have different
tile_h_locandtile_v_loc, the tiled connector withtile_h_locandtile_v_locas '0', is chosen, for which the given resolution is removed.Signed-off-by Ankit Nautiyal <[email protected]>CC Manasi Navare <[email protected]>--- drivers/gpu/drm/i915/display/intel_dp.c | 11 +++++++++++ 1 file changed, 11 insertions(+)drivers/gpu/drm/i915/display/intel_dp.c +9
-0@@ -564,6 +564,17 @@ intel_dp_mode_valid(struct drm_connector *connector,if (mode->flags &DRM_MODE_FLAG_DBLCLK )return MODE_H_ILLEGAL ; +/* +* For 5K tiled dual DP monitors, dual-DP sync is not yet supported. +* This results in display sync issues, when both tiled connectors run +* on 2560x2880 resolution. Therefore prune the 2560x2880 mode on one +* of the tiled connector, to avoid such a case. +*/ +if (connector->has_tile && + (connector->tile_h_loc ==0 && connector->tile_v_loc ==0 ) && + (mode->hdisplay ==2560 && mode->vdisplay ==2880 ))Quoted 9 lines
drivers/gpu/drm/i915/display/intel_dp.c intel_dp_mode_valid(struct drm_connector *connector, · line 577
Quoted 2 lines
drivers/gpu/drm/i915/display/intel_dp.c +2
-0+return MODE_PANEL ; +This assumes all tiled cases with specific resolutions fail. You don't know that. You only know this fails on a specific display. Instead of coming up with various rules on tiles and resolutions that match the display (but might *also* match any number of *other* displays!), you need to actually identify and match that specific display instead.
Quoted 6 lines
Actually without the transcoder port sync feature, we do not expect any tiled display over two separate ports to work correctly, so if it is two connectors in state with tile props set then we should reject the tiled mode on both those connectors since that might cause the artifacts without proper sync between two ports which is supported only on ICL+
Quoted 7 lines
Consider a multi-screen display with independent panels mounted together, and EDIDs set up to describe the physical tiling layout. Should we reject them all because the cases you know about fail?
You know about the issues with the specific 5k displays precisely because they fail. You never hear about the ones that work. Ever. Until they stop working, that is.
Hmm I think even with separate panels to work without artifacts we would need some kind of synchronization. But yes I agree that it might just be working well and we cant assume that they are failing.
So for now the EDID quirk sounds like the best way to fix this FDO
Quoted 16 lines
Quoted 8 lines
Quoted 5 lines
There are two ways to add display specific quirks: based on EDID (
edid_quirk_listindrm_edid.c) and based on DPCD (dpcd_quirk_listindrm_dp_helper.c). You identify the display, and then prune the modes that require port sync to work, for *that* display.We have seen this issue on multiple 5K tiled displays IMH, so just adding a quirk for specific monitors will not suffice.
Adding one quirk per failing display quite obviously will suffice.
Quoted 5 lines
But we would need to make sure that the mode gets rejected only if there are multiple SST connectors with tile prop or
connector->has_tileset because MST tiled displays still work correctly.Quoted 8 lines
Quoted 3 lines
Ville, you had played a little bit with this 5K display I believe, do you think pruning the tiled mode if there are tiled SST connectors and platform < ICL is a good solution?
Come to think of it, can you use the tiled mode *untiled* on one port, and have it strech the entire display? There are plenty of other modes you can use like this. I don't think we should reject that use case either.
Yes so in that case the quirk would be to set the
has_tileto false so that the driver will actually see it as non tiled and scale it to the entire displayQuoted 7 lines
I'll repeat, you have issues with a very specific case. You need to have *very* specific rules to filter them out in order to not inadvertently filter out valid use cases. Remember, if there's just *one* valid use case that you end up rejecting here, it's a regression and you need to revert and get back to the drawing board.
Quoted 7 lines
---
Finally, and perhaps most importantly, there are people on the bug that are going to be rather underwhelmed that after three years they get a patch that simply rejects the very mode that was the reason for buying the display they have. Insult to injury, the real fix is for a platform that didn't exist when they bought the displays.
Quoted 3 lines
I agree completely. Ankit could you test it on the 5K screen what happens if you set the
has_tileto false and allow it to stretch out in untiled fashion? If that works we can add that to the quirk.
I'm probably missing something here.
Ankit lists the modes for DP-2 in [1], and among them is 2560x2880. How's that different from using, say, 3840x2160?
BR,
Jani.
[1] http://mid.mail-archive.com/[email protected]
Quoted 32 lines
Manasi
Quoted 29 lines
BR,
Jani.Quoted 19 lines
Regards
ManasiQuoted 16 lines
Blanket filters like this are a no-go.
BR,
Jani.Quoted 2 lines
drivers/gpu/drm/i915/display/intel_dp.c +0
-0return MODE_OK ; }Signature · 5 lines
Jani Nikula, Intel Open Source Graphics Center _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfxSignature · 1 line
Jani Nikula, Intel Open Source Graphics Center
Signature · 5 lines
Jani Nikula, Intel Open Source Graphics Center _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Hi Jani, Manasi,
Thanks for the comments and suggestions. Please find my response inline.
Quoted 130 lines · Jani Nikula
Quoted 123 lines · Manasi Navare
Thanks Jani for your feedback, please see my comments inline
Quoted 63 lines · Jani Nikula
Quoted 55 lines · Manasi Navare
Quoted 44 lines · Jani Nikula
Quoted 43 lines · Ankit K
From: Ankit Nautiyal <[email protected]>
Currently, the transcoder port sync feature is not available, due to which the 5K-tiled dual DP monitors experience corruption when 2560x2880 mode is applied for both of the tiled DP connectors.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=97244There is a patch series to enable transcode port sync feature for tiled display for ICL+, which is under review:
https://patchwork.kernel.org/project/intel-gfx/list/?series=137339For the older platforms, we need to remove the 2560x2880 mode to avoid a possibility of userspace choosing 2560x2880 mode for both tiled displays, resulting in corruption.
This patch prunes 2560x2880 mode for one of the tiled DP connector. Since both the tiled DP connectors have different
tile_h_locandtile_v_loc, the tiled connector withtile_h_locandtile_v_locas '0', is chosen, for which the given resolution is removed.Signed-off-by Ankit Nautiyal <[email protected]>CC Manasi Navare <[email protected]>--- drivers/gpu/drm/i915/display/intel_dp.c | 11 +++++++++++ 1 file changed, 11 insertions(+)drivers/gpu/drm/i915/display/intel_dp.c +9
-0@@ -564,6 +564,17 @@ intel_dp_mode_valid(struct drm_connector *connector,if (mode->flags &DRM_MODE_FLAG_DBLCLK )return MODE_H_ILLEGAL ; +/* +* For 5K tiled dual DP monitors, dual-DP sync is not yet supported. +* This results in display sync issues, when both tiled connectors run +* on 2560x2880 resolution. Therefore prune the 2560x2880 mode on one +* of the tiled connector, to avoid such a case. +*/ +if (connector->has_tile && + (connector->tile_h_loc ==0 && connector->tile_v_loc ==0 ) && + (mode->hdisplay ==2560 && mode->vdisplay ==2880 ))Quoted 9 lines
drivers/gpu/drm/i915/display/intel_dp.c intel_dp_mode_valid(struct drm_connector *connector, · line 577
Quoted 2 lines
drivers/gpu/drm/i915/display/intel_dp.c +2
-0+return MODE_PANEL ; +This assumes all tiled cases with specific resolutions fail. You don't know that. You only know this fails on a specific display. Instead of coming up with various rules on tiles and resolutions that match the display (but might *also* match any number of *other* displays!), you need to actually identify and match that specific display instead.
Quoted 6 lines
Actually without the transcoder port sync feature, we do not expect any tiled display over two separate ports to work correctly, so if it is two connectors in state with tile props set then we should reject the tiled mode on both those connectors since that might cause the artifacts without proper sync between two ports which is supported only on ICL+
Quoted 7 lines
Consider a multi-screen display with independent panels mounted together, and EDIDs set up to describe the physical tiling layout. Should we reject them all because the cases you know about fail?
You know about the issues with the specific 5k displays precisely because they fail. You never hear about the ones that work. Ever. Until they stop working, that is.
Hmm I think even with separate panels to work without artifacts we would need some kind of synchronization. But yes I agree that it might just be working well and we cant assume that they are failing.
So for now the EDID quirk sounds like the best way to fix this FDO
Quoted 16 lines
Quoted 8 lines
Quoted 5 lines
There are two ways to add display specific quirks: based on EDID (
edid_quirk_listindrm_edid.c) and based on DPCD (dpcd_quirk_listindrm_dp_helper.c). You identify the display, and then prune the modes that require port sync to work, for *that* display.We have seen this issue on multiple 5K tiled displays IMH, so just adding a quirk for specific monitors will not suffice.
Adding one quirk per failing display quite obviously will suffice.
Quoted 5 lines
But we would need to make sure that the mode gets rejected only if there are multiple SST connectors with tile prop or
connector->has_tileset because MST tiled displays still work correctly.Quoted 8 lines
Quoted 3 lines
Ville, you had played a little bit with this 5K display I believe, do you think pruning the tiled mode if there are tiled SST connectors and platform < ICL is a good solution?
Come to think of it, can you use the tiled mode *untiled* on one port, and have it strech the entire display? There are plenty of other modes you can use like this. I don't think we should reject that use case either.
Yes so in that case the quirk would be to set the
has_tileto false so that the driver will actually see it as non tiled and scale it to the entire displayQuoted 7 lines
I'll repeat, you have issues with a very specific case. You need to have *very* specific rules to filter them out in order to not inadvertently filter out valid use cases. Remember, if there's just *one* valid use case that you end up rejecting here, it's a regression and you need to revert and get back to the drawing board.
Quoted 7 lines
---
Finally, and perhaps most importantly, there are people on the bug that are going to be rather underwhelmed that after three years they get a patch that simply rejects the very mode that was the reason for buying the display they have. Insult to injury, the real fix is for a platform that didn't exist when they bought the displays.
Quoted 3 lines
I agree completely. Ankit could you test it on the 5K screen what happens if you set the
has_tileto false and allow it to stretch out in untiled fashion? If that works we can add that to the quirk.I'm probably missing something here.
Quoted 10 lines
Ankit lists the modes for DP-2 in [1], and among them is 2560x2880. How's that different from using, say, 3840x2160?
BR,
Jani.
The issue is seen only when the mode 2560x2880 is set for both of the connectors. So if we see any other combination, say 2560x2880 on DP-1, 3840x2160 on DP-2, one of the mode will cover the entire screen and there is no corruption observed. This is true for all combinations other than the (2560x2880,2560x2880) combination.
I am not sure but it seems like, the monitor when receives the 2560x2880 modes on both connectors, at that time the dual-dp comes to play and the corruption occurs. (I had tried to set the mode using the Ubuntu Display settings.)
I had tried with Dell UP2715K monitor, I can try to get other tiled 5k monitors and check the issue without X-server on.
If its Panel specific issue, its better to add quirk as suggested.
Thanks & Regards,
Ankit
Quoted 32 lines
Quoted 32 lines
Manasi
Quoted 27 lines
BR,
Jani.Quoted 19 lines
Regards
ManasiQuoted 16 lines
Blanket filters like this are a no-go.
BR,
Jani.drivers/gpu/drm/i915/display/intel_dp.c intel_dp_mode_valid(struct drm_connector *connector, · line 579
Quoted 2 lines
drivers/gpu/drm/i915/display/intel_dp.c +0
-0return MODE_OK ; }--
Jani Nikula, Intel Open Source Graphics Center
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 3 lines
Quoted 2 lines
Quoted 2 lines
--
Jani Nikula, Intel Open Source Graphics Center
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Jani Nikula
maintainerQuoted 146 lines · Ankit K
Hi Jani, Manasi,
Thanks for the comments and suggestions. Please find my response inline.
Quoted 130 lines · Jani Nikula
Quoted 123 lines · Manasi Navare
Thanks Jani for your feedback, please see my comments inline
Quoted 63 lines · Jani Nikula
Quoted 55 lines · Manasi Navare
Quoted 44 lines · Jani Nikula
Quoted 43 lines · Ankit K
From: Ankit Nautiyal <[email protected]>
Currently, the transcoder port sync feature is not available, due to which the 5K-tiled dual DP monitors experience corruption when 2560x2880 mode is applied for both of the tiled DP connectors.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=97244There is a patch series to enable transcode port sync feature for tiled display for ICL+, which is under review:
https://patchwork.kernel.org/project/intel-gfx/list/?series=137339For the older platforms, we need to remove the 2560x2880 mode to avoid a possibility of userspace choosing 2560x2880 mode for both tiled displays, resulting in corruption.
This patch prunes 2560x2880 mode for one of the tiled DP connector. Since both the tiled DP connectors have different
tile_h_locandtile_v_loc, the tiled connector withtile_h_locandtile_v_locas '0', is chosen, for which the given resolution is removed.Signed-off-by Ankit Nautiyal <[email protected]>CC Manasi Navare <[email protected]>--- drivers/gpu/drm/i915/display/intel_dp.c | 11 +++++++++++ 1 file changed, 11 insertions(+)drivers/gpu/drm/i915/display/intel_dp.c +9
-0@@ -564,6 +564,17 @@ intel_dp_mode_valid(struct drm_connector *connector,if (mode->flags &DRM_MODE_FLAG_DBLCLK )return MODE_H_ILLEGAL ; +/* +* For 5K tiled dual DP monitors, dual-DP sync is not yet supported. +* This results in display sync issues, when both tiled connectors run +* on 2560x2880 resolution. Therefore prune the 2560x2880 mode on one +* of the tiled connector, to avoid such a case. +*/ +if (connector->has_tile && + (connector->tile_h_loc ==0 && connector->tile_v_loc ==0 ) && + (mode->hdisplay ==2560 && mode->vdisplay ==2880 ))Quoted 9 lines
drivers/gpu/drm/i915/display/intel_dp.c intel_dp_mode_valid(struct drm_connector *connector, · line 577
Quoted 2 lines
drivers/gpu/drm/i915/display/intel_dp.c +2
-0+return MODE_PANEL ; +This assumes all tiled cases with specific resolutions fail. You don't know that. You only know this fails on a specific display. Instead of coming up with various rules on tiles and resolutions that match the display (but might *also* match any number of *other* displays!), you need to actually identify and match that specific display instead.
Quoted 6 lines
Actually without the transcoder port sync feature, we do not expect any tiled display over two separate ports to work correctly, so if it is two connectors in state with tile props set then we should reject the tiled mode on both those connectors since that might cause the artifacts without proper sync between two ports which is supported only on ICL+
Quoted 7 lines
Consider a multi-screen display with independent panels mounted together, and EDIDs set up to describe the physical tiling layout. Should we reject them all because the cases you know about fail?
You know about the issues with the specific 5k displays precisely because they fail. You never hear about the ones that work. Ever. Until they stop working, that is.
Hmm I think even with separate panels to work without artifacts we would need some kind of synchronization. But yes I agree that it might just be working well and we cant assume that they are failing.
So for now the EDID quirk sounds like the best way to fix this FDO
Quoted 16 lines
Quoted 8 lines
Quoted 5 lines
There are two ways to add display specific quirks: based on EDID (
edid_quirk_listindrm_edid.c) and based on DPCD (dpcd_quirk_listindrm_dp_helper.c). You identify the display, and then prune the modes that require port sync to work, for *that* display.We have seen this issue on multiple 5K tiled displays IMH, so just adding a quirk for specific monitors will not suffice.
Adding one quirk per failing display quite obviously will suffice.
Quoted 5 lines
But we would need to make sure that the mode gets rejected only if there are multiple SST connectors with tile prop or
connector->has_tileset because MST tiled displays still work correctly.Quoted 8 lines
Quoted 3 lines
Ville, you had played a little bit with this 5K display I believe, do you think pruning the tiled mode if there are tiled SST connectors and platform < ICL is a good solution?
Come to think of it, can you use the tiled mode *untiled* on one port, and have it strech the entire display? There are plenty of other modes you can use like this. I don't think we should reject that use case either.
Yes so in that case the quirk would be to set the
has_tileto false so that the driver will actually see it as non tiled and scale it to the entire displayQuoted 7 lines
I'll repeat, you have issues with a very specific case. You need to have *very* specific rules to filter them out in order to not inadvertently filter out valid use cases. Remember, if there's just *one* valid use case that you end up rejecting here, it's a regression and you need to revert and get back to the drawing board.
Quoted 7 lines
---
Finally, and perhaps most importantly, there are people on the bug that are going to be rather underwhelmed that after three years they get a patch that simply rejects the very mode that was the reason for buying the display they have. Insult to injury, the real fix is for a platform that didn't exist when they bought the displays.
Quoted 3 lines
I agree completely. Ankit could you test it on the 5K screen what happens if you set the
has_tileto false and allow it to stretch out in untiled fashion? If that works we can add that to the quirk.I'm probably missing something here.
Quoted 10 lines
Ankit lists the modes for DP-2 in [1], and among them is 2560x2880. How's that different from using, say, 3840x2160?
BR,
Jani.
Quoted 5 lines
The issue is seen only when the mode 2560x2880 is set for both of the connectors. So if we see any other combination, say 2560x2880 on DP-1, 3840x2160 on DP-2, one of the mode will cover the entire screen and there is no corruption observed. This is true for all combinations other than the (2560x2880,2560x2880) combination.
Right, so my point was, if 2560x2880 is usable when used on one connector only, it's not really proper to filter that out from the modes.
BR,
Jani.
Quoted 49 lines
I am not sure but it seems like, the monitor when receives the 2560x2880 modes on both connectors, at that time the dual-dp comes to play and the corruption occurs. (I had tried to set the mode using the Ubuntu Display settings.)
I had tried with Dell UP2715K monitor, I can try to get other tiled 5k monitors and check the issue without X-server on.
If its Panel specific issue, its better to add quirk as suggested.
Thanks & Regards,
AnkitQuoted 35 lines
Quoted 34 lines
Manasi
Quoted 29 lines
BR,
Jani.Quoted 19 lines
Regards
ManasiQuoted 16 lines
Blanket filters like this are a no-go.
BR,
Jani.drivers/gpu/drm/i915/display/intel_dp.c intel_dp_mode_valid(struct drm_connector *connector, · line 579
Quoted 2 lines
drivers/gpu/drm/i915/display/intel_dp.c +0
-0return MODE_OK ; }--
Jani Nikula, Intel Open Source Graphics Center
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx--
Jani Nikula, Intel Open Source Graphics Center
Signature · 5 lines
Jani Nikula, Intel Open Source Graphics Center _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 153 lines · Jani Nikula
Quoted 146 lines · Ankit K
Hi Jani, Manasi,
Thanks for the comments and suggestions. Please find my response inline.
Quoted 130 lines · Jani Nikula
Quoted 123 lines · Manasi Navare
Thanks Jani for your feedback, please see my comments inline
Quoted 63 lines · Jani Nikula
Quoted 55 lines · Manasi Navare
Quoted 44 lines · Jani Nikula
Quoted 43 lines · Ankit K
From: Ankit Nautiyal <[email protected]>
Currently, the transcoder port sync feature is not available, due to which the 5K-tiled dual DP monitors experience corruption when 2560x2880 mode is applied for both of the tiled DP connectors.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=97244There is a patch series to enable transcode port sync feature for tiled display for ICL+, which is under review:
https://patchwork.kernel.org/project/intel-gfx/list/?series=137339For the older platforms, we need to remove the 2560x2880 mode to avoid a possibility of userspace choosing 2560x2880 mode for both tiled displays, resulting in corruption.
This patch prunes 2560x2880 mode for one of the tiled DP connector. Since both the tiled DP connectors have different
tile_h_locandtile_v_loc, the tiled connector withtile_h_locandtile_v_locas '0', is chosen, for which the given resolution is removed.Signed-off-by Ankit Nautiyal <[email protected]>CC Manasi Navare <[email protected]>--- drivers/gpu/drm/i915/display/intel_dp.c | 11 +++++++++++ 1 file changed, 11 insertions(+)drivers/gpu/drm/i915/display/intel_dp.c +9
-0@@ -564,6 +564,17 @@ intel_dp_mode_valid(struct drm_connector *connector,if (mode->flags &DRM_MODE_FLAG_DBLCLK )return MODE_H_ILLEGAL ; +/* +* For 5K tiled dual DP monitors, dual-DP sync is not yet supported. +* This results in display sync issues, when both tiled connectors run +* on 2560x2880 resolution. Therefore prune the 2560x2880 mode on one +* of the tiled connector, to avoid such a case. +*/ +if (connector->has_tile && + (connector->tile_h_loc ==0 && connector->tile_v_loc ==0 ) && + (mode->hdisplay ==2560 && mode->vdisplay ==2880 ))Quoted 9 lines
drivers/gpu/drm/i915/display/intel_dp.c intel_dp_mode_valid(struct drm_connector *connector, · line 577
Quoted 2 lines
drivers/gpu/drm/i915/display/intel_dp.c +2
-0+return MODE_PANEL ; +This assumes all tiled cases with specific resolutions fail. You don't know that. You only know this fails on a specific display. Instead of coming up with various rules on tiles and resolutions that match the display (but might *also* match any number of *other* displays!), you need to actually identify and match that specific display instead.
Quoted 6 lines
Actually without the transcoder port sync feature, we do not expect any tiled display over two separate ports to work correctly, so if it is two connectors in state with tile props set then we should reject the tiled mode on both those connectors since that might cause the artifacts without proper sync between two ports which is supported only on ICL+
Quoted 7 lines
Consider a multi-screen display with independent panels mounted together, and EDIDs set up to describe the physical tiling layout. Should we reject them all because the cases you know about fail?
You know about the issues with the specific 5k displays precisely because they fail. You never hear about the ones that work. Ever. Until they stop working, that is.
Hmm I think even with separate panels to work without artifacts we would need some kind of synchronization. But yes I agree that it might just be working well and we cant assume that they are failing.
So for now the EDID quirk sounds like the best way to fix this FDO
Quoted 16 lines
Quoted 8 lines
Quoted 5 lines
There are two ways to add display specific quirks: based on EDID (
edid_quirk_listindrm_edid.c) and based on DPCD (dpcd_quirk_listindrm_dp_helper.c). You identify the display, and then prune the modes that require port sync to work, for *that* display.We have seen this issue on multiple 5K tiled displays IMH, so just adding a quirk for specific monitors will not suffice.
Adding one quirk per failing display quite obviously will suffice.
Quoted 5 lines
But we would need to make sure that the mode gets rejected only if there are multiple SST connectors with tile prop or
connector->has_tileset because MST tiled displays still work correctly.Quoted 8 lines
Quoted 3 lines
Ville, you had played a little bit with this 5K display I believe, do you think pruning the tiled mode if there are tiled SST connectors and platform < ICL is a good solution?
Come to think of it, can you use the tiled mode *untiled* on one port, and have it strech the entire display? There are plenty of other modes you can use like this. I don't think we should reject that use case either.
Yes so in that case the quirk would be to set the
has_tileto false so that the driver will actually see it as non tiled and scale it to the entire displayQuoted 7 lines
I'll repeat, you have issues with a very specific case. You need to have *very* specific rules to filter them out in order to not inadvertently filter out valid use cases. Remember, if there's just *one* valid use case that you end up rejecting here, it's a regression and you need to revert and get back to the drawing board.
Quoted 7 lines
---
Finally, and perhaps most importantly, there are people on the bug that are going to be rather underwhelmed that after three years they get a patch that simply rejects the very mode that was the reason for buying the display they have. Insult to injury, the real fix is for a platform that didn't exist when they bought the displays.
Quoted 3 lines
I agree completely. Ankit could you test it on the 5K screen what happens if you set the
has_tileto false and allow it to stretch out in untiled fashion? If that works we can add that to the quirk.I'm probably missing something here.
Quoted 10 lines
Ankit lists the modes for DP-2 in [1], and among them is 2560x2880. How's that different from using, say, 3840x2160?
BR,
Jani.Quoted 5 lines
The issue is seen only when the mode 2560x2880 is set for both of the connectors. So if we see any other combination, say 2560x2880 on DP-1, 3840x2160 on DP-2, one of the mode will cover the entire screen and there is no corruption observed. This is true for all combinations other than the (2560x2880,2560x2880) combination.
Quoted 3 lines
Right, so my point was, if 2560x2880 is usable when used on one connector only, it's not really proper to filter that out from the modes.
Hi Jani,
So the has_tile or the TILE property is set per connector irrespective of the mode. But the way userspace handles it IMO is that if TILE prop is set and the mode matches the tile_h_size and tile_v_size only then it will do two atomic modesets on two connectors Otherwise it will just be one connector modeset.
So for eg: 2560 x 2880 would be the size of each tile so for that it is doing modesets on two tiles and thats where we see the corruption issue for the complete total fb of 5120 x 2880.
But for 3840 x 2160, that modeset just happens on a single connector and we dont see any issue.
So i think what the quirk shd do is for this specific panel, we would not be able to display tiled mode together of 5120 x 2880 correctly due to corruption, so the resolution of 2560 x 2880 should not appear in the modelist for that connector or we just set has_tile to false so userspace will not try to do the tiled display magic and do a modeset on single connector.
Ankit, could you please email me the dmesg logs in:
1. Case where you dont apply this patch, what happens with 2 connectors in 5K tiled mode
2. You force has_tile to false in the code to see the behaviour and logs in non tiled case
3. Prune the 2560 x 2880 mode and collect logs.
I think looking at these logs will give us a clear picture and we can finalize the proper fix
Regards
Manasi
Quoted 51 lines
BR,
Jani.Quoted 46 lines
I am not sure but it seems like, the monitor when receives the 2560x2880 modes on both connectors, at that time the dual-dp comes to play and the corruption occurs. (I had tried to set the mode using the Ubuntu Display settings.)
I had tried with Dell UP2715K monitor, I can try to get other tiled 5k monitors and check the issue without X-server on.
If its Panel specific issue, its better to add quirk as suggested.
Thanks & Regards,
AnkitQuoted 32 lines
Quoted 32 lines
Manasi
Quoted 27 lines
BR,
Jani.Quoted 19 lines
Regards
ManasiQuoted 16 lines
Blanket filters like this are a no-go.
BR,
Jani.drivers/gpu/drm/i915/display/intel_dp.c intel_dp_mode_valid(struct drm_connector *connector, · line 579
Quoted 2 lines
drivers/gpu/drm/i915/display/intel_dp.c +0
-0return MODE_OK ; }--
Jani Nikula, Intel Open Source Graphics Center
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 6 lines
Quoted 3 lines
Quoted 3 lines
Quoted 2 lines
Quoted 2 lines
--
Jani Nikula, Intel Open Source Graphics CenterSignature · 1 line
Jani Nikula, Intel Open Source Graphics Center
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 182 lines · Manasi D
Quoted 153 lines · Jani Nikula
Quoted 146 lines · Ankit K
Hi Jani, Manasi,
Thanks for the comments and suggestions. Please find my response inline.
Quoted 130 lines · Jani Nikula
Quoted 123 lines · Manasi Navare
Thanks Jani for your feedback, please see my comments inline
Quoted 63 lines · Jani Nikula
Quoted 55 lines · Manasi Navare
Quoted 44 lines · Jani Nikula
Quoted 43 lines · Ankit K
From: Ankit Nautiyal <[email protected]>
Currently, the transcoder port sync feature is not available, due to which the 5K-tiled dual DP monitors experience corruption when 2560x2880 mode is applied for both of the tiled DP connectors.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=97244There is a patch series to enable transcode port sync feature for tiled display for ICL+, which is under review:
https://patchwork.kernel.org/project/intel-gfx/list/?series=137339For the older platforms, we need to remove the 2560x2880 mode to avoid a possibility of userspace choosing 2560x2880 mode for both tiled displays, resulting in corruption.
This patch prunes 2560x2880 mode for one of the tiled DP connector. Since both the tiled DP connectors have different
tile_h_locandtile_v_loc, the tiled connector withtile_h_locandtile_v_locas '0', is chosen, for which the given resolution is removed.Signed-off-by Ankit Nautiyal <[email protected]>CC Manasi Navare <[email protected]>--- drivers/gpu/drm/i915/display/intel_dp.c | 11 +++++++++++ 1 file changed, 11 insertions(+)drivers/gpu/drm/i915/display/intel_dp.c +9
-0@@ -564,6 +564,17 @@ intel_dp_mode_valid(struct drm_connector *connector,if (mode->flags &DRM_MODE_FLAG_DBLCLK )return MODE_H_ILLEGAL ; +/* +* For 5K tiled dual DP monitors, dual-DP sync is not yet supported. +* This results in display sync issues, when both tiled connectors run +* on 2560x2880 resolution. Therefore prune the 2560x2880 mode on one +* of the tiled connector, to avoid such a case. +*/ +if (connector->has_tile && + (connector->tile_h_loc ==0 && connector->tile_v_loc ==0 ) && + (mode->hdisplay ==2560 && mode->vdisplay ==2880 ))Quoted 9 lines
drivers/gpu/drm/i915/display/intel_dp.c intel_dp_mode_valid(struct drm_connector *connector, · line 577
Quoted 2 lines
drivers/gpu/drm/i915/display/intel_dp.c +2
-0+return MODE_PANEL ; +This assumes all tiled cases with specific resolutions fail. You don't know that. You only know this fails on a specific display. Instead of coming up with various rules on tiles and resolutions that match the display (but might *also* match any number of *other* displays!), you need to actually identify and match that specific display instead.
Quoted 6 lines
Actually without the transcoder port sync feature, we do not expect any tiled display over two separate ports to work correctly, so if it is two connectors in state with tile props set then we should reject the tiled mode on both those connectors since that might cause the artifacts without proper sync between two ports which is supported only on ICL+
Quoted 7 lines
Consider a multi-screen display with independent panels mounted together, and EDIDs set up to describe the physical tiling layout. Should we reject them all because the cases you know about fail?
You know about the issues with the specific 5k displays precisely because they fail. You never hear about the ones that work. Ever. Until they stop working, that is.
Hmm I think even with separate panels to work without artifacts we would need some kind of synchronization. But yes I agree that it might just be working well and we cant assume that they are failing.
So for now the EDID quirk sounds like the best way to fix this FDO
Quoted 16 lines
Quoted 8 lines
Quoted 5 lines
There are two ways to add display specific quirks: based on EDID (
edid_quirk_listindrm_edid.c) and based on DPCD (dpcd_quirk_listindrm_dp_helper.c). You identify the display, and then prune the modes that require port sync to work, for *that* display.We have seen this issue on multiple 5K tiled displays IMH, so just adding a quirk for specific monitors will not suffice.
Adding one quirk per failing display quite obviously will suffice.
Quoted 5 lines
But we would need to make sure that the mode gets rejected only if there are multiple SST connectors with tile prop or
connector->has_tileset because MST tiled displays still work correctly.Quoted 8 lines
Quoted 3 lines
Ville, you had played a little bit with this 5K display I believe, do you think pruning the tiled mode if there are tiled SST connectors and platform < ICL is a good solution?
Come to think of it, can you use the tiled mode *untiled* on one port, and have it strech the entire display? There are plenty of other modes you can use like this. I don't think we should reject that use case either.
Yes so in that case the quirk would be to set the
has_tileto false so that the driver will actually see it as non tiled and scale it to the entire displayQuoted 7 lines
I'll repeat, you have issues with a very specific case. You need to have *very* specific rules to filter them out in order to not inadvertently filter out valid use cases. Remember, if there's just *one* valid use case that you end up rejecting here, it's a regression and you need to revert and get back to the drawing board.
Quoted 7 lines
---
Finally, and perhaps most importantly, there are people on the bug that are going to be rather underwhelmed that after three years they get a patch that simply rejects the very mode that was the reason for buying the display they have. Insult to injury, the real fix is for a platform that didn't exist when they bought the displays.
Quoted 3 lines
I agree completely. Ankit could you test it on the 5K screen what happens if you set the
has_tileto false and allow it to stretch out in untiled fashion? If that works we can add that to the quirk.I'm probably missing something here.
Quoted 10 lines
Ankit lists the modes for DP-2 in [1], and among them is 2560x2880. How's that different from using, say, 3840x2160?
BR,
Jani.Quoted 5 lines
The issue is seen only when the mode 2560x2880 is set for both of the connectors. So if we see any other combination, say 2560x2880 on DP-1, 3840x2160 on DP-2, one of the mode will cover the entire screen and there is no corruption observed. This is true for all combinations other than the (2560x2880,2560x2880) combination.
Quoted 3 lines
Right, so my point was, if 2560x2880 is usable when used on one connector only, it's not really proper to filter that out from the modes.
Hi Jani,
So the
has_tileor the TILE property is set per connector irrespective of the mode. But the way userspace handles it IMO is that if TILE prop is set and the mode matches thetile_h_sizeandtile_v_sizeonly then it will do two atomic modesets on two connectors Otherwise it will just be one connector modeset.So for eg: 2560 x 2880 would be the size of each tile so for that it is doing modesets on two tiles and thats where we see the corruption issue for the complete total fb of 5120 x 2880.
But for 3840 x 2160, that modeset just happens on a single connector and we dont see any issue.So i think what the quirk shd do is for this specific panel, we would not be able to display tiled mode together of 5120 x 2880 correctly due to corruption, so the resolution of 2560 x 2880 should not appear in the modelist for that connector or we just set
has_tileto false so userspace will not try to do the tiled display magic and do a modeset on single connector.Ankit, could you please email me the dmesg logs in:
1. Case where you dont apply this patch, what happens with 2 connectors in 5K tiled mode
2. You forcehas_tileto false in the code to see the behaviour and logs in non tiled case
3. Prune the 2560 x 2880 mode and collect logs.
Quoted 5 lines
I think looking at these logs will give us a clear picture and we can finalize the proper fix
Regards
Manasi
Sure Manasi, I'll try this and share the logs.
Regards,
Ankit
Quoted 52 lines
Quoted 52 lines
BR,
Jani.Quoted 46 lines
I am not sure but it seems like, the monitor when receives the 2560x2880 modes on both connectors, at that time the dual-dp comes to play and the corruption occurs. (I had tried to set the mode using the Ubuntu Display settings.)
I had tried with Dell UP2715K monitor, I can try to get other tiled 5k monitors and check the issue without X-server on.
If its Panel specific issue, its better to add quirk as suggested.
Thanks & Regards,
AnkitQuoted 32 lines
Quoted 32 lines
Manasi
Quoted 27 lines
BR,
Jani.Quoted 19 lines
Regards
ManasiQuoted 16 lines
Blanket filters like this are a no-go.
BR,
Jani.drivers/gpu/drm/i915/display/intel_dp.c intel_dp_mode_valid(struct drm_connector *connector, · line 579
Quoted 2 lines
drivers/gpu/drm/i915/display/intel_dp.c +0
-0return MODE_OK ; }--
Jani Nikula, Intel Open Source Graphics Center
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 6 lines
Quoted 6 lines
Quoted 3 lines
Quoted 3 lines
Quoted 2 lines
Quoted 2 lines
--
Jani Nikula, Intel Open Source Graphics Center--
Jani Nikula, Intel Open Source Graphics Center
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Hi,
I was able to get 5K HPz27q 317b monitor for some time. Below are the observation on HPz27q Monitor with two DP cables connected to a KBL machine.
*****General Observation*****
The monitor settings has two modes, DP1.0 and DP1.2.
One of the connector is enumerated as 'tiled' and the other as non tiled.
The non-tiled connector has modes starting from 2K and below, and the tiled connector has just one mode 2560x2880. No corruption observed in this case.
In case of DP2.0 two connectors are enumerated, both tiled.
One connector has modes from 3849x2160 and below. 2560x2880 being preferred mode. The other has 2560x2880 mode, also preferred.
The issue is seen when both the modes selected are 2560x2880. This results like two halves of screens not in sync.
*****Experiment with different patches*****
As discussed I collected logs in 3 cases:
1. Without any patch (vanilla)
2. With patch to prune the 2560x2880 mode, only for tile with HLOC and VLOC as 0.
3. With a patch to force the connector property as 'false'
Logs for which are attached in fdo bug #97244 https://bugs.freedesktop.org/show_bug.cgi?id=97244
https://bugs.freedesktop.org/attachment.cgi?id=145267
Note 1: I had changed the display info to provide the Tile information, in case the connector 'has_tile' is true. Note 2: I had checked and collected logs with single display and also with dual display configuration with DP1.2 monitor settings. Note 3: The mode is changed using xrandr.
case1:
-Without any patch : 2560x2880 modeset on both connectors causes corruption.
case2:
-With 2560x2880 mode pruned for one of the tile : Only one of the connector shows 2560x2880 mode. 2560x2880 modeset on any the remaining connector resulted in blank screen.
Any other modeset works.
case3:
-With has_tile connector property forcibly reset : The connector are listed as not tiled but still, 2560x2880 modeset on any the connectors causes blank screen. Any other modeset works.
To summarize, pruning on just one tiled connector does not solve the issue, if we need to prune, we need to do it for both the connectors. Secondly, the forcible setting of has_tile = 'false' also, does not help, and resulted in blank screen when 2560x2880 mode is applied. So IMHO if we need to prune the mode 2560x2880, we need to prune it for both the connectors.
Regards,
Ankit
Quoted 246 lines · Ankit K
Quoted 243 lines · Manasi D
Quoted 199 lines · Jani Nikula
Quoted 190 lines · Ankit K
Hi Jani, Manasi,
Thanks for the comments and suggestions. Please find my response inline.
Quoted 174 lines · Jani Nikula
Quoted 162 lines · Manasi Navare
Thanks Jani for your feedback, please see my comments inline
Quoted 87 lines · Jani Nikula
Quoted 71 lines · Manasi Navare
Quoted 60 lines · Jani Nikula
Quoted 53 lines · Ankit K
From: Ankit Nautiyal <[email protected]>
Currently, the transcoder port sync feature is not available, due to
which the 5K-tiled dual DP monitors experience corruption when 2560x2880 mode is applied for both of the tiled DP connectors.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=97244There is a patch series to enable transcode port sync feature for tiled display for ICL+, which is under review:
https://patchwork.kernel.org/project/intel-gfx/list/?series=137339For the older platforms, we need to remove the 2560x2880 mode to avoid
a possibility of userspace choosing 2560x2880 mode for both tiled displays, resulting in corruption.This patch prunes 2560x2880 mode for one of the tiled DP connector.
Since both the tiled DP connectors have differenttile_h_locandtile_v_loc, the tiled connector withtile_h_locandtile_v_locas '0',
is chosen, for which the given resolution is removed.Signed-off-by Ankit Nautiyal <[email protected]>CC Manasi Navare <[email protected]>--- drivers/gpu/drm/i915/display/intel_dp.c | 11 +++++++++++ 1 file changed, 11 insertions(+)drivers/gpu/drm/i915/display/intel_dp.c +2
-0@@ -564,6 +564,17 @@ intel_dp_mode_valid(struct drm_connector *connector, if (mode->flags & DRM_MODE_FLAG_DBLCLK)return MODE_H_ILLEGAL ; +/* +* For 5K tiled dual DP monitors, dual-DP sync is not yet supported.
+ * This results in display sync issues, when both tiled
connectors run
+ * on 2560x2880 resolution. Therefore prune the 2560x2880
mode on onedrivers/gpu/drm/i915/display/intel_dp.c +4
-0+* of the tiled connector, to avoid such a case. +*/ + if (connector->has_tile && + (connector->tile_h_loc == 0 && connector->tile_v_loc== 0) &&
drivers/gpu/drm/i915/display/intel_dp.c
Quoted 3 lines
drivers/gpu/drm/i915/display/intel_dp.c +3
-0+ (mode->hdisplay == 2560 && mode->vdisplay == 2880)) +return MODE_PANEL ; +This assumes all tiled cases with specific resolutions fail.
Quoted 9 lines
You don't
know that. You only know this fails on a specific display. Instead of
coming up with various rules on tiles and resolutions that match the
display (but might *also* match any number of *other* displays!), you
need to actually identify and match that specific display instead.Quoted 8 lines
Actually without the transcoder port sync feature, we do not expect any tiled display over two separate ports to work correctly, so if it
is two connectors in state with tile props set then we should reject
the tiled mode on both those connectors since that might cause the artifacts without proper sync between two ports which is supported only on ICL+Consider a multi-screen display with independent panels mounted together, and EDIDs set up to describe the physical tiling layout. Should we reject them all because the cases you know about fail?
Quoted 4 lines
You know about the issues with the specific 5k displays precisely because they fail. You never hear about the ones that work. Ever. Until
they stop working, that is.Hmm I think even with separate panels to work without artifacts we would need some kind of
synchronization. But yes I agree that it might just be working well and we cant assume
that they are failing.So for now the EDID quirk sounds like the best way to fix this FDO
Quoted 24 lines
Quoted 10 lines
Quoted 7 lines
There are two ways to add display specific quirks: based on EDID (
edid_quirk_listindrm_edid.c) and based on DPCD (dpcd_quirk_listindrm_dp_helper.c). You identify the display, and then prune the modes
that require port sync to work, for *that* display.We have seen this issue on multiple 5K tiled displays IMH, so just adding a quirk for specific monitors will not suffice.
Adding one quirk per failing display quite obviously will suffice.
Quoted 10 lines
But we would need to make sure that the mode gets rejected only if there are multiple SST connectors with tile prop or
connector->has_tileset because MST tiled displays still work correctly.Ville, you had played a little bit with this 5K display I believe, do
you think pruning the tiled mode if there are tiled SST connectors and
platform < ICL is a good solution?Quoted 6 lines
Come to think of it, can you use the tiled mode *untiled* on one port,
and have it strech the entire display? There are plenty of other modes
you can use like this. I don't think we should reject that use case either.Yes so in that case the quirk would be to set the
has_tileto false so that
the driver will actually see it as non tiled and scale it to the entire displayQuoted 13 lines
I'll repeat, you have issues with a very specific case. You need to have
*very* specific rules to filter them out in order to not inadvertently
filter out valid use cases. Remember, if there's just *one* valid use
case that you end up rejecting here, it's a regression and you need to
revert and get back to the drawing board.---
Quoted 9 lines
Finally, and perhaps most importantly, there are people on the bug that
are going to be rather underwhelmed that after three years they get a
patch that simply rejects the very mode that was the reason for buying
the display they have. Insult to injury, the real fix is for a platform
that didn't exist when they bought the displays.Quoted 5 lines
I agree completely. Ankit could you test it on the 5K screen what happens if
you set thehas_tileto false and allow it to stretch out in untiled fashion?
If that works we can add that to the quirk.I'm probably missing something here.
Ankit lists the modes for DP-2 in [1], and among them is 2560x2880. How's that different from using, say, 3840x2160?
Quoted 9 lines
BR,
Jani.Quoted 6 lines
The issue is seen only when the mode 2560x2880 is set for both of the connectors. So if we see any other combination, say 2560x2880 on DP-1, 3840x2160 on DP-2, one of the mode will cover the entire screen and there is no corruption observed. This is true for all combinations other
than the (2560x2880,2560x2880) combination.Quoted 3 lines
Right, so my point was, if 2560x2880 is usable when used on one connector only, it's not really proper to filter that out from the modes.
Hi Jani,
So the
has_tileor the TILE property is set per connector irrespective of the mode.
But the way userspace handles it IMO is that if TILE prop is set and the mode matches
thetile_h_sizeandtile_v_sizeonly then it will do two atomic modesets on two connectors
Otherwise it will just be one connector modeset.So for eg: 2560 x 2880 would be the size of each tile so for that it is doing modesets
on two tiles and thats where we see the corruption issue for the complete total fb
of 5120 x 2880.
But for 3840 x 2160, that modeset just happens on a single connector and we dont see
any issue.So i think what the quirk shd do is for this specific panel, we would not be able to
display tiled mode together of 5120 x 2880 correctly due to corruption, so the resolution
of 2560 x 2880 should not appear in the modelist for that connector or we just sethas_tile
to false so userspace will not try to do the tiled display magic and do a modeset on
single connector.Ankit, could you please email me the dmesg logs in:
1. Case where you dont apply this patch, what happens with 2 connectors in 5K tiled mode
2. You forcehas_tileto false in the code to see the behaviour and logs in non tiled case
3. Prune the 2560 x 2880 mode and collect logs.I think looking at these logs will give us a clear picture and we can finalize the proper fix
Quoted 79 lines
Quoted 3 lines
Regards
ManasiSure Manasi, I'll try this and share the logs.
Regards,
AnkitQuoted 61 lines
Quoted 61 lines
BR,
Jani.Quoted 9 lines
I am not sure but it seems like, the monitor when receives the 2560x2880
modes on both connectors, at that time the dual-dp comes to play and the
corruption occurs. (I had tried to set the mode using the Ubuntu Display
settings.)Quoted 43 lines
I had tried with Dell UP2715K monitor, I can try to get other tiled 5k monitors and check the issue without X-server on.
If its Panel specific issue, its better to add quirk as suggested.
Thanks & Regards,
AnkitQuoted 35 lines
Quoted 34 lines
Manasi
Quoted 29 lines
BR,
Jani.Quoted 19 lines
Regards
ManasiQuoted 16 lines
Blanket filters like this are a no-go.
BR,
Jani.Quoted 2 lines
return MODE_OK;}
--
Jani Nikula, Intel Open Source Graphics Center
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx--
Jani Nikula, Intel Open Source Graphics Center--
Jani Nikula, Intel Open Source Graphics Center
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 54 lines · Ankit K
Hi,
I was able to get 5K HPz27q 317b monitor for some time. Below are the observation on HPz27q Monitor with two DP cables connected to a KBL machine.
*****General Observation*****
The monitor settings has two modes, DP1.0 and DP1.2.
One of the connector is enumerated as 'tiled' and the other as non tiled.The non-tiled connector has modes starting from 2K and below, and the tiled connector has just one mode 2560x2880.
No corruption observed in this case.In case of DP2.0 two connectors are enumerated, both tiled.
One connector has modes from 3849x2160 and below. 2560x2880 being preferred mode.
The other has 2560x2880 mode, also preferred.The issue is seen when both the modes selected are 2560x2880. This results like two halves of screens not in sync.
*****Experiment with different patches*****
As discussed I collected logs in 3 cases:
1. Without any patch (vanilla)
2. With patch to prune the 2560x2880 mode, only for tile with HLOC and VLOC as 0.
3. With a patch to force the connector property as 'false'Logs for which are attached in fdo bug #97244
https://bugs.freedesktop.org/show_bug.cgi?id=97244
https://bugs.freedesktop.org/attachment.cgi?id=145267Note 1: I had changed the display info to provide the Tile information, in case the connector '
has_tile' is true.
Note 2: I had checked and collected logs with single display and also with dual display configuration with DP1.2 monitor settings.
Note 3: The mode is changed using xrandr.case1:
-Without any patch : 2560x2880 modeset on both connectors causes corruption.case2:
-With 2560x2880 mode pruned for one of the tile : Only one of the connector shows 2560x2880 mode.
2560x2880 modeset on any the remaining connector resulted in blank screen. Any other modeset works.case3:
-Withhas_tileconnector property forcibly reset : The connector are listed as not tiled but still, 2560x2880 modeset on any the connectors causes blank screen.
Any other modeset works.
Quoted 7 lines
To summarize, pruning on just one tiled connector does not solve the issue, if we need to prune, we need to do it for both the connectors. Secondly, the forcible setting of
has_tile= 'false' also, does not help, and resulted in blank screen when 2560x2880 mode is applied.
So IMHO if we need to prune the mode 2560x2880, we need to prune it for both the connectors.
Thanks Ankit for these experiments and logs.
So looks like the solution would be to add a quirk for thsi specific EDID for the panel and then prune 2560x2880 on both connectors.
Jani does that sound like a good acceptable solution?
Manasi
Quoted 4 lines
Regards,
Ankit
Quoted 326 lines
Quoted 325 lines · Ankit K
Quoted 240 lines · Manasi D
Quoted 199 lines · Jani Nikula
Quoted 190 lines · Ankit K
Hi Jani, Manasi,
Thanks for the comments and suggestions. Please find my response inline.
Quoted 174 lines · Jani Nikula
Quoted 162 lines · Manasi Navare
Thanks Jani for your feedback, please see my comments inline
Quoted 87 lines · Jani Nikula
Quoted 71 lines · Manasi Navare
Quoted 60 lines · Jani Nikula
Quoted 53 lines · Ankit K
From: Ankit Nautiyal <[email protected]>
Currently, the transcoder port sync feature is not available, due to
which the 5K-tiled dual DP monitors experience corruption when 2560x2880 mode is applied for both of the tiled DP connectors.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=97244There is a patch series to enable transcode port sync feature for tiled display for ICL+, which is under review:
https://patchwork.kernel.org/project/intel-gfx/list/?series=137339For the older platforms, we need to remove the 2560x2880 mode to avoid
a possibility of userspace choosing 2560x2880 mode for both tiled displays, resulting in corruption.This patch prunes 2560x2880 mode for one of the tiled DP connector.
Since both the tiled DP connectors have differenttile_h_locandtile_v_loc, the tiled connector withtile_h_locandtile_v_locas '0',
is chosen, for which the given resolution is removed.Signed-off-by Ankit Nautiyal <[email protected]>CC Manasi Navare <[email protected]>---
drivers/gpu/drm/i915/display/intel_dp.c| 11 +++++++++++1 file changed, 11 insertions(+)drivers/gpu/drm/i915/display/intel_dp.c +2
-0@@ -564,6 +564,17 @@ intel_dp_mode_valid(struct drm_connector *connector, if (mode->flags & DRM_MODE_FLAG_DBLCLK)return MODE_H_ILLEGAL ; +/* +* For 5K tiled dual DP monitors, dual-DP sync is not yet supported.
+ * This results in display sync issues, when both tiled
connectors run
+ * on 2560x2880 resolution. Therefore prune the 2560x2880
mode on onedrivers/gpu/drm/i915/display/intel_dp.c +4
-0+* of the tiled connector, to avoid such a case. +*/ + if (connector->has_tile && + (connector->tile_h_loc == 0 && connector->tile_v_loc== 0) &&
drivers/gpu/drm/i915/display/intel_dp.c
Quoted 3 lines
drivers/gpu/drm/i915/display/intel_dp.c +3
-0+ (mode->hdisplay == 2560 && mode->vdisplay == 2880)) +return MODE_PANEL ; +This assumes all tiled cases with specific resolutions fail.
Quoted 9 lines
You don't
know that. You only know this fails on a specific display. Instead of
coming up with various rules on tiles and resolutions that match the
display (but might *also* match any number of *other* displays!), you
need to actually identify and match that specific display instead.Quoted 8 lines
Actually without the transcoder port sync feature, we do not expect any tiled display over two separate ports to work correctly, so if it
is two connectors in state with tile props set then we should reject
the tiled mode on both those connectors since that might cause the artifacts without proper sync between two ports which is supported only on ICL+Consider a multi-screen display with independent panels mounted together, and EDIDs set up to describe the physical tiling layout. Should we reject them all because the cases you know about fail?
Quoted 4 lines
You know about the issues with the specific 5k displays precisely because they fail. You never hear about the ones that work. Ever. Until
they stop working, that is.Hmm I think even with separate panels to work without artifacts we would need some kind of
synchronization. But yes I agree that it might just be working well and we cant assume
that they are failing.So for now the EDID quirk sounds like the best way to fix this FDO
Quoted 24 lines
Quoted 10 lines
Quoted 7 lines
There are two ways to add display specific quirks: based on EDID (
edid_quirk_listindrm_edid.c) and based on DPCD (dpcd_quirk_listindrm_dp_helper.c). You identify the display, and then prune the modes
that require port sync to work, for *that* display.We have seen this issue on multiple 5K tiled displays IMH, so just adding a quirk for specific monitors will not suffice.
Adding one quirk per failing display quite obviously will suffice.
Quoted 10 lines
But we would need to make sure that the mode gets rejected only if there are multiple SST connectors with tile prop or
connector->has_tileset because MST tiled displays still work correctly.Ville, you had played a little bit with this 5K display I believe, do
you think pruning the tiled mode if there are tiled SST connectors and
platform < ICL is a good solution?Quoted 6 lines
Come to think of it, can you use the tiled mode *untiled* on one port,
and have it strech the entire display? There are plenty of other modes
you can use like this. I don't think we should reject that use case either.Yes so in that case the quirk would be to set the
has_tileto false so that
the driver will actually see it as non tiled and scale it to the entire displayQuoted 13 lines
I'll repeat, you have issues with a very specific case. You need to have
*very* specific rules to filter them out in order to not inadvertently
filter out valid use cases. Remember, if there's just *one* valid use
case that you end up rejecting here, it's a regression and you need to
revert and get back to the drawing board.---
Quoted 9 lines
Finally, and perhaps most importantly, there are people on the bug that
are going to be rather underwhelmed that after three years they get a
patch that simply rejects the very mode that was the reason for buying
the display they have. Insult to injury, the real fix is for a platform
that didn't exist when they bought the displays.Quoted 5 lines
I agree completely. Ankit could you test it on the 5K screen what happens if
you set thehas_tileto false and allow it to stretch out in untiled fashion?
If that works we can add that to the quirk.I'm probably missing something here.
Ankit lists the modes for DP-2 in [1], and among them is 2560x2880. How's that different from using, say, 3840x2160?
Quoted 9 lines
BR,
Jani.Quoted 6 lines
The issue is seen only when the mode 2560x2880 is set for both of the connectors. So if we see any other combination, say 2560x2880 on DP-1, 3840x2160 on DP-2, one of the mode will cover the entire screen and there is no corruption observed. This is true for all combinations other
than the (2560x2880,2560x2880) combination.Quoted 3 lines
Right, so my point was, if 2560x2880 is usable when used on one connector only, it's not really proper to filter that out from the modes.
Hi Jani,
So the
has_tileor the TILE property is set per connector irrespective of the mode.
But the way userspace handles it IMO is that if TILE prop is set and the mode matches
thetile_h_sizeandtile_v_sizeonly then it will do two atomic modesets on two connectors
Otherwise it will just be one connector modeset.So for eg: 2560 x 2880 would be the size of each tile so for that it is doing modesets
on two tiles and thats where we see the corruption issue for the complete total fb
of 5120 x 2880.
But for 3840 x 2160, that modeset just happens on a single connector and we dont see
any issue.So i think what the quirk shd do is for this specific panel, we would not be able to
display tiled mode together of 5120 x 2880 correctly due to corruption, so the resolution
of 2560 x 2880 should not appear in the modelist for that connector or we just sethas_tile
to false so userspace will not try to do the tiled display magic and do a modeset on
single connector.Ankit, could you please email me the dmesg logs in:
1. Case where you dont apply this patch, what happens with 2 connectors in 5K tiled mode
2. You forcehas_tileto false in the code to see the behaviour and logs in non tiled case
3. Prune the 2560 x 2880 mode and collect logs.Quoted 6 lines
I think looking at these logs will give us a clear picture and we can finalize the proper fix
Regards
ManasiSure Manasi, I'll try this and share the logs.
Regards,
AnkitQuoted 61 lines
Quoted 61 lines
BR,
Jani.Quoted 9 lines
I am not sure but it seems like, the monitor when receives the 2560x2880
modes on both connectors, at that time the dual-dp comes to play and the
corruption occurs. (I had tried to set the mode using the Ubuntu Display
settings.)Quoted 43 lines
I had tried with Dell UP2715K monitor, I can try to get other tiled 5k monitors and check the issue without X-server on.
If its Panel specific issue, its better to add quirk as suggested.
Thanks & Regards,
AnkitQuoted 35 lines
Quoted 34 lines
Manasi
Quoted 29 lines
BR,
Jani.Quoted 19 lines
Regards
ManasiQuoted 16 lines
Blanket filters like this are a no-go.
BR,
Jani.Quoted 2 lines
return MODE_OK; }--
Jani Nikula, Intel Open Source Graphics Center
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx--
Jani Nikula, Intel Open Source Graphics Center--
Jani Nikula, Intel Open Source Graphics Center
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Jani Nikula
maintainerQuoted 67 lines · Manasi Navare
Quoted 54 lines · Ankit K
Hi,
I was able to get 5K HPz27q 317b monitor for some time. Below are the observation on HPz27q Monitor with two DP cables connected to a KBL machine.
*****General Observation*****
The monitor settings has two modes, DP1.0 and DP1.2.
One of the connector is enumerated as 'tiled' and the other as non tiled.The non-tiled connector has modes starting from 2K and below, and the tiled connector has just one mode 2560x2880.
No corruption observed in this case.In case of DP2.0 two connectors are enumerated, both tiled.
One connector has modes from 3849x2160 and below. 2560x2880 being preferred mode.
The other has 2560x2880 mode, also preferred.The issue is seen when both the modes selected are 2560x2880. This results like two halves of screens not in sync.
*****Experiment with different patches*****
As discussed I collected logs in 3 cases:
1. Without any patch (vanilla)
2. With patch to prune the 2560x2880 mode, only for tile with HLOC and VLOC as 0.
3. With a patch to force the connector property as 'false'Logs for which are attached in fdo bug #97244
https://bugs.freedesktop.org/show_bug.cgi?id=97244
https://bugs.freedesktop.org/attachment.cgi?id=145267Note 1: I had changed the display info to provide the Tile information, in case the connector '
has_tile' is true.
Note 2: I had checked and collected logs with single display and also with dual display configuration with DP1.2 monitor settings.
Note 3: The mode is changed using xrandr.case1:
-Without any patch : 2560x2880 modeset on both connectors causes corruption.case2:
-With 2560x2880 mode pruned for one of the tile : Only one of the connector shows 2560x2880 mode.
2560x2880 modeset on any the remaining connector resulted in blank screen. Any other modeset works.case3:
-Withhas_tileconnector property forcibly reset : The connector are listed as not tiled but still, 2560x2880 modeset on any the connectors causes blank screen.
Any other modeset works.Quoted 7 lines
To summarize, pruning on just one tiled connector does not solve the issue, if we need to prune, we need to do it for both the connectors. Secondly, the forcible setting of
has_tile= 'false' also, does not help, and resulted in blank screen when 2560x2880 mode is applied.
So IMHO if we need to prune the mode 2560x2880, we need to prune it for both the connectors.Thanks Ankit for these experiments and logs.
So looks like the solution would be to add a quirk for thsi specific EDID for the panel and then prune 2560x2880 on both connectors.
Quoted 1 line
Jani does that sound like a good acceptable solution?
So you'd have to disable the mode for both displays, but then it would seem odd to expose the tiling configuration with a non-existing mode, wouldn't it?
The quirk should be: on these displays, disable tiling and prune the modes listed in the tile info. That's a fairly generic quirk that makes sense to *define* in drm. However you'd only *implement* that quirk in affected drivers, i.e. i915.
The question remains, what does it take to actually fix this? I haven't looked at the patches in detail, what makes them so icl specific?
I'll repeat what I said up-thread:
Quoted 5 lines · Jani Nikula
Finally, and perhaps most importantly, there are people on the bug that are going to be rather underwhelmed that after three years they get a patch that simply rejects the very mode that was the reason for buying the display they have. Insult to injury, the real fix is for a platform that didn't exist when they bought the displays.
Some of those folks apparently can actually make it work when they try hard enough. You'd take that away too.
BR,
Jani.
Signature · 5 lines
Jani Nikula, Intel Open Source Graphics Center _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 74 lines · Jani Nikula
Quoted 67 lines · Manasi Navare
Quoted 54 lines · Ankit K
Hi,
I was able to get 5K HPz27q 317b monitor for some time. Below are the observation on HPz27q Monitor with two DP cables connected to a KBL machine.
*****General Observation*****
The monitor settings has two modes, DP1.0 and DP1.2.
One of the connector is enumerated as 'tiled' and the other as non tiled.The non-tiled connector has modes starting from 2K and below, and the tiled connector has just one mode 2560x2880.
No corruption observed in this case.In case of DP2.0 two connectors are enumerated, both tiled.
One connector has modes from 3849x2160 and below. 2560x2880 being preferred mode.
The other has 2560x2880 mode, also preferred.The issue is seen when both the modes selected are 2560x2880. This results like two halves of screens not in sync.
*****Experiment with different patches*****
As discussed I collected logs in 3 cases:
1. Without any patch (vanilla)
2. With patch to prune the 2560x2880 mode, only for tile with HLOC and VLOC as 0.
3. With a patch to force the connector property as 'false'Logs for which are attached in fdo bug #97244
https://bugs.freedesktop.org/show_bug.cgi?id=97244
https://bugs.freedesktop.org/attachment.cgi?id=145267Note 1: I had changed the display info to provide the Tile information, in case the connector '
has_tile' is true.
Note 2: I had checked and collected logs with single display and also with dual display configuration with DP1.2 monitor settings.
Note 3: The mode is changed using xrandr.case1:
-Without any patch : 2560x2880 modeset on both connectors causes corruption.case2:
-With 2560x2880 mode pruned for one of the tile : Only one of the connector shows 2560x2880 mode.
2560x2880 modeset on any the remaining connector resulted in blank screen. Any other modeset works.case3:
-Withhas_tileconnector property forcibly reset : The connector are listed as not tiled but still, 2560x2880 modeset on any the connectors causes blank screen.
Any other modeset works.Quoted 7 lines
To summarize, pruning on just one tiled connector does not solve the issue, if we need to prune, we need to do it for both the connectors. Secondly, the forcible setting of
has_tile= 'false' also, does not help, and resulted in blank screen when 2560x2880 mode is applied.
So IMHO if we need to prune the mode 2560x2880, we need to prune it for both the connectors.Thanks Ankit for these experiments and logs.
So looks like the solution would be to add a quirk for thsi specific EDID for the panel and then prune 2560x2880 on both connectors.Quoted 1 line
Jani does that sound like a good acceptable solution?
So you'd have to disable the mode for both displays, but then it would seem odd to expose the tiling configuration with a non-existing mode, wouldn't it?
Quoted 8 lines
The quirk should be: on these displays, disable tiling and prune the modes listed in the tile info. That's a fairly generic quirk that makes sense to *define* in drm. However you'd only *implement* that quirk in affected drivers, i.e. i915.
The question remains, what does it take to actually fix this? I haven't looked at the patches in detail, what makes them so icl specific?
This made me go back and reconnect with the HW teams and get some clarifications. Looks like the transcoder port sync feature for DP SST was added since BDW and only the MST support starts from ICL+, but this was not clearly called out in the bspec and hence the confusion.
I will update my transcoder port sync patches : https://patchwork.freedesktop.org/series/66403/
to add this support starting BDW
and Ankit you could then test it on the 5K monitor and it should fix it.
Manasi
Quoted 9 lines
I'll repeat what I said up-thread:
Quoted 5 lines · Jani Nikula
Finally, and perhaps most importantly, there are people on the bug that are going to be rather underwhelmed that after three years they get a patch that simply rejects the very mode that was the reason for buying the display they have. Insult to injury, the real fix is for a platform that didn't exist when they bought the displays.
Quoted 11 lines
Some of those folks apparently can actually make it work when they try hard enough. You'd take that away too.
BR,
Jani.Signature · 1 line
Jani Nikula, Intel Open Source Graphics Center
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✓ Fi.CI.IGT: success for drm/i915: Prune 2560x2880 mode for 5K tiled dual DP monitors
In reply to Nautiyal, Ankit K== Series Details ==
== Series Details ==
Series: drm/i915: Prune 2560x2880 mode for 5K tiled dual DP monitors
URL : https://patchwork.freedesktop.org/series/65845/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_6787_full -> Patchwork_14195_full
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14195/
Known issues
------------
Here are the changes found in Patchwork_14195_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_exec_schedule@preempt-contexts-bsd:
- shard-iclb: [PASS][1] -> [SKIP][2] ([fdo#111325])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6787/shard-iclb5/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14195/shard-iclb4/igt@[email protected]
* igt@kms_busy@basic-flip-b:
- shard-apl: [PASS][3] -> [DMESG-WARN][4] ([fdo#111317])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6787/shard-apl8/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14195/shard-apl4/igt@[email protected]
* igt@kms_cursor_crc@pipe-a-cursor-128x42-onscreen:
- shard-kbl: [PASS][5] -> [FAIL][6] ([fdo#103232])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6787/shard-kbl3/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14195/shard-kbl6/igt@[email protected]
* igt@kms_cursor_legacy@2x-long-flip-vs-cursor-legacy:
- shard-glk: [PASS][7] -> [FAIL][8] ([fdo#104873])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6787/shard-glk8/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14195/shard-glk6/igt@[email protected]
* igt@kms_flip@flip-vs-modeset-vs-hang:
- shard-apl: [PASS][9] -> [INCOMPLETE][10] ([fdo#103927]) +1 similar issue
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6787/shard-apl6/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14195/shard-apl6/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-cur-indfb-draw-mmap-wc:
- shard-hsw: [PASS][11] -> [SKIP][12] ([fdo#109271])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6787/shard-hsw2/igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-cur-indfb-draw-mmap-wc.html
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14195/shard-hsw4/igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-cur-indfb-draw-mmap-wc.html
* igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-shrfb-plflip-blt:
- shard-iclb: [PASS][13] -> [FAIL][14] ([fdo#103167]) +7 similar issues
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6787/shard-iclb6/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-shrfb-plflip-blt.html
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14195/shard-iclb6/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-shrfb-plflip-blt.html
* igt@kms_plane_alpha_blend@pipe-c-constant-alpha-min:
- shard-skl: [PASS][15] -> [FAIL][16] ([fdo#108145])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6787/shard-skl2/igt@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14195/shard-skl10/igt@[email protected]
* igt@kms_psr@psr2_primary_page_flip:
- shard-iclb: [PASS][17] -> [SKIP][18] ([fdo#109441]) +2 similar issues
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6787/shard-iclb2/igt@kms_psr@psr2_primary_page_flip.html
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14195/shard-iclb3/igt@kms_psr@psr2_primary_page_flip.html
* igt@prime_busy@after-bsd2:
- shard-iclb: [PASS][19] -> [SKIP][20] ([fdo#109276]) +5 similar issues
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6787/shard-iclb2/igt@[email protected]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14195/shard-iclb3/igt@[email protected]
#### Possible fixes ####
* igt@gem_eio@unwedge-stress:
- shard-snb: [FAIL][21] ([fdo#109661]) -> [PASS][22]
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6787/shard-snb2/igt@[email protected]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14195/shard-snb2/igt@[email protected]
* igt@gem_exec_schedule@preempt-bsd:
- shard-iclb: [SKIP][23] ([fdo#111325]) -> [PASS][24] +1 similar issue
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6787/shard-iclb1/igt@[email protected]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14195/shard-iclb6/igt@[email protected]
* igt@gem_mmap_gtt@big-bo-tiledx:
- shard-apl: [INCOMPLETE][25] ([fdo#103927]) -> [PASS][26]
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6787/shard-apl4/igt@[email protected]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14195/shard-apl2/igt@[email protected]
* igt@gem_workarounds@suspend-resume:
- shard-skl: [INCOMPLETE][27] ([fdo#104108]) -> [PASS][28] +1 similar issue
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6787/shard-skl4/igt@[email protected]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14195/shard-skl8/igt@[email protected]
* igt@kms_cursor_crc@pipe-a-cursor-128x128-onscreen:
- shard-snb: [SKIP][29] ([fdo#109271]) -> [PASS][30] +2 similar issues
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6787/shard-snb2/igt@[email protected]
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14195/shard-snb2/igt@[email protected]
* igt@kms_cursor_edge_walk@pipe-a-256x256-left-edge:
- shard-snb: [SKIP][31] ([fdo#109271] / [fdo#109278]) -> [PASS][32]
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6787/shard-snb2/igt@[email protected]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14195/shard-snb2/igt@[email protected]
* igt@kms_draw_crc@draw-method-xrgb8888-mmap-gtt-xtiled:
- shard-iclb: [FAIL][33] ([fdo#103184] / [fdo#103232]) -> [PASS][34]
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6787/shard-iclb6/igt@[email protected]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14195/shard-iclb6/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-draw-render:
- shard-iclb: [FAIL][35] ([fdo#103167]) -> [PASS][36] +4 similar issues
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6787/shard-iclb7/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-draw-render.html
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14195/shard-iclb5/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-draw-render.html
* igt@kms_plane@plane-panning-bottom-right-suspend-pipe-b-planes:
- shard-apl: [DMESG-WARN][37] ([fdo#108566]) -> [PASS][38] +5 similar issues
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6787/shard-apl6/igt@[email protected]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14195/shard-apl1/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-a-constant-alpha-min:
- shard-skl: [FAIL][39] ([fdo#108145]) -> [PASS][40]
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6787/shard-skl9/igt@[email protected]
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14195/shard-skl7/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-c-coverage-7efc:
- shard-skl: [FAIL][41] ([fdo#108145] / [fdo#110403]) -> [PASS][42]
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6787/shard-skl9/igt@[email protected]
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14195/shard-skl2/igt@[email protected]
* igt@kms_psr@no_drrs:
- shard-iclb: [FAIL][43] ([fdo#108341]) -> [PASS][44]
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6787/shard-iclb1/igt@kms_psr@no_drrs.html
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14195/shard-iclb6/igt@kms_psr@no_drrs.html
* igt@kms_psr@psr2_primary_mmap_gtt:
- shard-iclb: [SKIP][45] ([fdo#109441]) -> [PASS][46] +1 similar issue
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6787/shard-iclb6/igt@kms_psr@psr2_primary_mmap_gtt.html
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14195/shard-iclb2/igt@kms_psr@psr2_primary_mmap_gtt.html
* igt@kms_setmode@basic:
- shard-hsw: [FAIL][47] ([fdo#99912]) -> [PASS][48]
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6787/shard-hsw1/igt@[email protected]
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14195/shard-hsw6/igt@[email protected]
* igt@prime_busy@hang-bsd2:
- shard-iclb: [SKIP][49] ([fdo#109276]) -> [PASS][50] +16 similar issues
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6787/shard-iclb8/igt@[email protected]
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14195/shard-iclb1/igt@[email protected]
#### Warnings ####
* igt@gem_ctx_isolation@vcs1-nonpriv:
- shard-iclb: [FAIL][51] ([fdo#111329]) -> [SKIP][52] ([fdo#109276])
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6787/shard-iclb1/igt@[email protected]
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14195/shard-iclb6/igt@[email protected]
* igt@gem_mocs_settings@mocs-reset-bsd2:
- shard-iclb: [SKIP][53] ([fdo#109276]) -> [FAIL][54] ([fdo#111330])
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6787/shard-iclb7/igt@[email protected]
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14195/shard-iclb4/igt@[email protected]
[fdo#103167]: https://bugs.freedesktop.org/show_bug.cgi?id=103167
[fdo#103184]: https://bugs.freedesktop.org/show_bug.cgi?id=103184
[fdo#103232]: https://bugs.freedesktop.org/show_bug.cgi?id=103232
[fdo#103927]: https://bugs.freedesktop.org/show_bug.cgi?id=103927
[fdo#104108]: https://bugs.freedesktop.org/show_bug.cgi?id=104108
[fdo#104873]: https://bugs.freedesktop.org/show_bug.cgi?id=104873
[fdo#108145]: https://bugs.freedesktop.org/show_bug.cgi?id=108145
[fdo#108341]: https://bugs.freedesktop.org/show_bug.cgi?id=108341
[fdo#108566]: https://bugs.freedesktop.org/show_bug.cgi?id=108566
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109276]: https://bugs.freedesktop.org/show_bug.cgi?id=109276
[fdo#109278]: https://bugs.freedesktop.org/show_bug.cgi?id=109278
[fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
[fdo#109661]: https://bugs.freedesktop.org/show_bug.cgi?id=109661
[fdo#110403]: https://bugs.freedesktop.org/show_bug.cgi?id=110403
[fdo#111317]: https://bugs.freedesktop.org/show_bug.cgi?id=111317
[fdo#111325]: https://bugs.freedesktop.org/show_bug.cgi?id=111325
[fdo#111329]: https://bugs.freedesktop.org/show_bug.cgi?id=111329
[fdo#111330]: https://bugs.freedesktop.org/show_bug.cgi?id=111330
[fdo#99912]: https://bugs.freedesktop.org/show_bug.cgi?id=99912
Participating hosts (9 -> 7)
------------------------------
Missing (2): pig-skl-6260u pig-hsw-4770r
Build changes
-------------
* CI: CI-20190529 -> None
* Linux: CI_DRM_6787 -> Patchwork_14195
* Piglit: piglit_4509 -> None
CI-20190529: 20190529
CI_DRM_6787: 63ed0eb50431f1428ab0ced810f8e438945405fd @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_5150: a4e8217bcdfef9bb523f26a9084bbf615a6e8abb @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_14195: 0a60b1119e920d54254ab2985eefa717f6bcae09 @ 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_14195/
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx