* [PATCH v2] drm/i915/display: Fix BMG CCS modifiers
@ 2024-08-30 13:01 Juha-Pekka Heikkila
2024-08-30 14:14 ` ✗ Fi.CI.BAT: failure for drm/i915/display: Fix BMG CCS modifiers (rev2) Patchwork
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Juha-Pekka Heikkila @ 2024-08-30 13:01 UTC (permalink / raw)
To: intel-xe, intel-gfx
Cc: Juha-Pekka Heikkila, imre.deak, rodrigo.vivi, maarten.lankhorst
Let I915_FORMAT_MOD_4_TILED_BMG_CCS show up as supported modifier
Fixes: 97c6efb36497 ("drm/i915/display: Plane capability for 64k phys alignment")
Signed-off-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
---
v2: Do platform comparison w/o checking for gfx version
drivers/gpu/drm/i915/display/skl_universal_plane.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/gpu/drm/i915/display/skl_universal_plane.c b/drivers/gpu/drm/i915/display/skl_universal_plane.c
index 9452cad41d07..616f5d40a739 100644
--- a/drivers/gpu/drm/i915/display/skl_universal_plane.c
+++ b/drivers/gpu/drm/i915/display/skl_universal_plane.c
@@ -2453,6 +2453,9 @@ static u8 skl_get_plane_caps(struct drm_i915_private *i915,
if (gen12_plane_has_mc_ccs(i915, plane_id))
caps |= INTEL_PLANE_CAP_CCS_MC;
+ if (IS_BATTLEMAGE(i915) || ((DISPLAY_VER(i915)) >= 20 && IS_DGFX(i915)))
+ caps |= INTEL_PLANE_CAP_NEED64K_PHYS;
+
return caps;
}
--
2.45.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* ✗ Fi.CI.BAT: failure for drm/i915/display: Fix BMG CCS modifiers (rev2)
2024-08-30 13:01 [PATCH v2] drm/i915/display: Fix BMG CCS modifiers Juha-Pekka Heikkila
@ 2024-08-30 14:14 ` Patchwork
2024-08-30 15:42 ` ✗ Fi.CI.BAT: failure for drm/i915/display: Fix BMG CCS modifiers (rev3) Patchwork
2024-08-30 21:12 ` [PATCH v2] drm/i915/display: Fix BMG CCS modifiers Rodrigo Vivi
2 siblings, 0 replies; 4+ messages in thread
From: Patchwork @ 2024-08-30 14:14 UTC (permalink / raw)
To: Juha-Pekka Heikkila; +Cc: intel-gfx
[-- Attachment #1: Type: text/plain, Size: 4154 bytes --]
== Series Details ==
Series: drm/i915/display: Fix BMG CCS modifiers (rev2)
URL : https://patchwork.freedesktop.org/series/137958/
State : failure
== Summary ==
CI Bug Log - changes from CI_DRM_15332 -> Patchwork_137958v2
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with Patchwork_137958v2 absolutely need to be
verified manually.
If you think the reported changes have nothing to do with the changes
introduced in Patchwork_137958v2, please notify your bug team (I915-ci-infra@lists.freedesktop.org) to allow them
to document this new failure mode, which will reduce false positives in CI.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_137958v2/index.html
Participating hosts (40 -> 37)
------------------------------
Missing (3): bat-arls-2 fi-snb-2520m fi-kbl-8809g
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_137958v2:
### IGT changes ###
#### Possible regressions ####
* igt@kms_pm_rpm@basic-pci-d3-state:
- bat-arls-5: [PASS][1] -> [DMESG-WARN][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_15332/bat-arls-5/igt@kms_pm_rpm@basic-pci-d3-state.html
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_137958v2/bat-arls-5/igt@kms_pm_rpm@basic-pci-d3-state.html
Known issues
------------
Here are the changes found in Patchwork_137958v2 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@i915_pm_rpm@module-reload:
- fi-kbl-7567u: [PASS][3] -> [DMESG-WARN][4] ([i915#11621] / [i915#1982])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_15332/fi-kbl-7567u/igt@i915_pm_rpm@module-reload.html
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_137958v2/fi-kbl-7567u/igt@i915_pm_rpm@module-reload.html
* igt@i915_selftest@live@gt_heartbeat:
- fi-kbl-7567u: [PASS][5] -> [DMESG-WARN][6] ([i915#11621]) +31 other tests dmesg-warn
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_15332/fi-kbl-7567u/igt@i915_selftest@live@gt_heartbeat.html
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_137958v2/fi-kbl-7567u/igt@i915_selftest@live@gt_heartbeat.html
#### Possible fixes ####
* igt@fbdev@write:
- bat-arls-1: [DMESG-FAIL][7] -> [PASS][8]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_15332/bat-arls-1/igt@fbdev@write.html
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_137958v2/bat-arls-1/igt@fbdev@write.html
* igt@i915_selftest@live@workarounds:
- bat-mtlp-8: [ABORT][9] ([i915#12062]) -> [PASS][10]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_15332/bat-mtlp-8/igt@i915_selftest@live@workarounds.html
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_137958v2/bat-mtlp-8/igt@i915_selftest@live@workarounds.html
#### Warnings ####
* igt@fbdev@read:
- bat-arls-1: [FAIL][11] ([i915#12030]) -> [DMESG-WARN][12] ([i915#12102])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_15332/bat-arls-1/igt@fbdev@read.html
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_137958v2/bat-arls-1/igt@fbdev@read.html
[i915#11621]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/11621
[i915#12030]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/12030
[i915#12062]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/12062
[i915#12102]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/12102
[i915#1982]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/1982
Build changes
-------------
* Linux: CI_DRM_15332 -> Patchwork_137958v2
CI-20190529: 20190529
CI_DRM_15332: 876db6b8ef45d285316cc53b5cf44cbc39aa8758 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_7999: a73311079a5d8ac99eb25336a8369a2c3c6b519b @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_137958v2: 876db6b8ef45d285316cc53b5cf44cbc39aa8758 @ git://anongit.freedesktop.org/gfx-ci/linux
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_137958v2/index.html
[-- Attachment #2: Type: text/html, Size: 4973 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* ✗ Fi.CI.BAT: failure for drm/i915/display: Fix BMG CCS modifiers (rev3)
2024-08-30 13:01 [PATCH v2] drm/i915/display: Fix BMG CCS modifiers Juha-Pekka Heikkila
2024-08-30 14:14 ` ✗ Fi.CI.BAT: failure for drm/i915/display: Fix BMG CCS modifiers (rev2) Patchwork
@ 2024-08-30 15:42 ` Patchwork
2024-08-30 21:12 ` [PATCH v2] drm/i915/display: Fix BMG CCS modifiers Rodrigo Vivi
2 siblings, 0 replies; 4+ messages in thread
From: Patchwork @ 2024-08-30 15:42 UTC (permalink / raw)
To: Juha-Pekka Heikkila; +Cc: intel-gfx
[-- Attachment #1: Type: text/plain, Size: 5153 bytes --]
== Series Details ==
Series: drm/i915/display: Fix BMG CCS modifiers (rev3)
URL : https://patchwork.freedesktop.org/series/137958/
State : failure
== Summary ==
CI Bug Log - changes from CI_DRM_15333 -> Patchwork_137958v3
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with Patchwork_137958v3 absolutely need to be
verified manually.
If you think the reported changes have nothing to do with the changes
introduced in Patchwork_137958v3, please notify your bug team (I915-ci-infra@lists.freedesktop.org) to allow them
to document this new failure mode, which will reduce false positives in CI.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_137958v3/index.html
Participating hosts (40 -> 38)
------------------------------
Missing (2): fi-snb-2520m fi-kbl-8809g
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_137958v3:
### IGT changes ###
#### Possible regressions ####
* igt@i915_selftest@live@gt_timelines:
- bat-arlh-2: [PASS][1] -> [INCOMPLETE][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_15333/bat-arlh-2/igt@i915_selftest@live@gt_timelines.html
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_137958v3/bat-arlh-2/igt@i915_selftest@live@gt_timelines.html
Known issues
------------
Here are the changes found in Patchwork_137958v3 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@fbdev@read:
- bat-arls-1: [PASS][3] -> [DMESG-WARN][4] ([i915#12102])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_15333/bat-arls-1/igt@fbdev@read.html
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_137958v3/bat-arls-1/igt@fbdev@read.html
#### Possible fixes ####
* igt@fbdev@eof:
- bat-arls-1: [DMESG-WARN][5] ([i915#12102]) -> [PASS][6]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_15333/bat-arls-1/igt@fbdev@eof.html
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_137958v3/bat-arls-1/igt@fbdev@eof.html
* igt@i915_module_load@reload:
- fi-kbl-7567u: [DMESG-WARN][7] ([i915#180] / [i915#9925]) -> [PASS][8] +2 other tests pass
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_15333/fi-kbl-7567u/igt@i915_module_load@reload.html
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_137958v3/fi-kbl-7567u/igt@i915_module_load@reload.html
* igt@i915_pm_rpm@module-reload:
- fi-kbl-7567u: [DMESG-WARN][9] ([i915#11621] / [i915#180] / [i915#1982] / [i915#9925]) -> [PASS][10]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_15333/fi-kbl-7567u/igt@i915_pm_rpm@module-reload.html
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_137958v3/fi-kbl-7567u/igt@i915_pm_rpm@module-reload.html
* igt@i915_selftest@live@sanitycheck:
- fi-kbl-7567u: [DMESG-WARN][11] ([i915#11621]) -> [PASS][12] +80 other tests pass
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_15333/fi-kbl-7567u/igt@i915_selftest@live@sanitycheck.html
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_137958v3/fi-kbl-7567u/igt@i915_selftest@live@sanitycheck.html
* igt@kms_busy@basic@flip:
- fi-kbl-7567u: [DMESG-WARN][13] ([i915#180]) -> [PASS][14]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_15333/fi-kbl-7567u/igt@kms_busy@basic@flip.html
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_137958v3/fi-kbl-7567u/igt@kms_busy@basic@flip.html
* igt@kms_pm_rpm@basic-pci-d3-state:
- fi-kbl-7567u: [DMESG-WARN][15] ([i915#11621] / [i915#180] / [i915#9925]) -> [PASS][16] +36 other tests pass
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_15333/fi-kbl-7567u/igt@kms_pm_rpm@basic-pci-d3-state.html
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_137958v3/fi-kbl-7567u/igt@kms_pm_rpm@basic-pci-d3-state.html
- bat-arls-5: [DMESG-WARN][17] -> [PASS][18]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_15333/bat-arls-5/igt@kms_pm_rpm@basic-pci-d3-state.html
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_137958v3/bat-arls-5/igt@kms_pm_rpm@basic-pci-d3-state.html
[i915#11621]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/11621
[i915#12102]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/12102
[i915#180]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/180
[i915#1982]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/1982
[i915#9925]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/9925
Build changes
-------------
* Linux: CI_DRM_15333 -> Patchwork_137958v3
CI-20190529: 20190529
CI_DRM_15333: 409df3716a15d5766c9468d26bc98e110796e5c3 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_8000: fba44baafa5d79b6eed52fa24234781e8e47beb8 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_137958v3: 409df3716a15d5766c9468d26bc98e110796e5c3 @ git://anongit.freedesktop.org/gfx-ci/linux
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_137958v3/index.html
[-- Attachment #2: Type: text/html, Size: 6539 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v2] drm/i915/display: Fix BMG CCS modifiers
2024-08-30 13:01 [PATCH v2] drm/i915/display: Fix BMG CCS modifiers Juha-Pekka Heikkila
2024-08-30 14:14 ` ✗ Fi.CI.BAT: failure for drm/i915/display: Fix BMG CCS modifiers (rev2) Patchwork
2024-08-30 15:42 ` ✗ Fi.CI.BAT: failure for drm/i915/display: Fix BMG CCS modifiers (rev3) Patchwork
@ 2024-08-30 21:12 ` Rodrigo Vivi
2 siblings, 0 replies; 4+ messages in thread
From: Rodrigo Vivi @ 2024-08-30 21:12 UTC (permalink / raw)
To: Juha-Pekka Heikkila; +Cc: intel-xe, intel-gfx, imre.deak, maarten.lankhorst
On Fri, Aug 30, 2024 at 04:01:42PM +0300, Juha-Pekka Heikkila wrote:
> Let I915_FORMAT_MOD_4_TILED_BMG_CCS show up as supported modifier
>
> Fixes: 97c6efb36497 ("drm/i915/display: Plane capability for 64k phys alignment")
> Signed-off-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
> ---
> v2: Do platform comparison w/o checking for gfx version
>
> drivers/gpu/drm/i915/display/skl_universal_plane.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/drivers/gpu/drm/i915/display/skl_universal_plane.c b/drivers/gpu/drm/i915/display/skl_universal_plane.c
> index 9452cad41d07..616f5d40a739 100644
> --- a/drivers/gpu/drm/i915/display/skl_universal_plane.c
> +++ b/drivers/gpu/drm/i915/display/skl_universal_plane.c
> @@ -2453,6 +2453,9 @@ static u8 skl_get_plane_caps(struct drm_i915_private *i915,
> if (gen12_plane_has_mc_ccs(i915, plane_id))
> caps |= INTEL_PLANE_CAP_CCS_MC;
>
> + if (IS_BATTLEMAGE(i915) || ((DISPLAY_VER(i915)) >= 20 && IS_DGFX(i915)))
Please let's use only the display version.
either display_ver == 14 && dgfx
or display_ver >=14 && dgfx if you want to be future proof.
But we should avoid the platform check if we can.
The design restriction is at display_14 ip block on bmg itself.
> + caps |= INTEL_PLANE_CAP_NEED64K_PHYS;
> +
> return caps;
> }
>
> --
> 2.45.2
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-08-30 21:12 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-30 13:01 [PATCH v2] drm/i915/display: Fix BMG CCS modifiers Juha-Pekka Heikkila
2024-08-30 14:14 ` ✗ Fi.CI.BAT: failure for drm/i915/display: Fix BMG CCS modifiers (rev2) Patchwork
2024-08-30 15:42 ` ✗ Fi.CI.BAT: failure for drm/i915/display: Fix BMG CCS modifiers (rev3) Patchwork
2024-08-30 21:12 ` [PATCH v2] drm/i915/display: Fix BMG CCS modifiers Rodrigo Vivi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox