* [PATCH] drm/i915: Fix per-pixel alpha with CCS
@ 2019-06-03 14:25 Ville Syrjala
2019-06-03 15:10 ` Maarten Lankhorst
` (3 more replies)
0 siblings, 4 replies; 6+ messages in thread
From: Ville Syrjala @ 2019-06-03 14:25 UTC (permalink / raw)
To: intel-gfx; +Cc: stable, Maarten Lankhorst, Matt Roper, Heinrich Fink
From: Ville Syrjälä <ville.syrjala@linux.intel.com>
We forgot to set .has_alpha=true for the A+CCS formats when the code
started to consult .has_alpha. This manifests as A+CCS being treated
as X+CCS which means no per-pixel alpha blending. Fix the format
list appropriately.
Cc: stable@vger.kernel.org
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Matt Roper <matthew.d.roper@intel.com>
Cc: Heinrich Fink <heinrich.fink@daqri.com>
Reported-by: Heinrich Fink <heinrich.fink@daqri.com>
Fixes: b20815255693 ("drm/i915: Add plane alpha blending support, v2.")
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
---
drivers/gpu/drm/i915/intel_display.c | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
index c3e2b1178d55..67d796f4747e 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -2463,10 +2463,14 @@ static unsigned int intel_fb_modifier_to_tiling(u64 fb_modifier)
* main surface.
*/
static const struct drm_format_info ccs_formats[] = {
- { .format = DRM_FORMAT_XRGB8888, .depth = 24, .num_planes = 2, .cpp = { 4, 1, }, .hsub = 8, .vsub = 16, },
- { .format = DRM_FORMAT_XBGR8888, .depth = 24, .num_planes = 2, .cpp = { 4, 1, }, .hsub = 8, .vsub = 16, },
- { .format = DRM_FORMAT_ARGB8888, .depth = 32, .num_planes = 2, .cpp = { 4, 1, }, .hsub = 8, .vsub = 16, },
- { .format = DRM_FORMAT_ABGR8888, .depth = 32, .num_planes = 2, .cpp = { 4, 1, }, .hsub = 8, .vsub = 16, },
+ { .format = DRM_FORMAT_XRGB8888, .depth = 24, .num_planes = 2,
+ .cpp = { 4, 1, }, .hsub = 8, .vsub = 16, },
+ { .format = DRM_FORMAT_XBGR8888, .depth = 24, .num_planes = 2,
+ .cpp = { 4, 1, }, .hsub = 8, .vsub = 16, },
+ { .format = DRM_FORMAT_ARGB8888, .depth = 32, .num_planes = 2,
+ .cpp = { 4, 1, }, .hsub = 8, .vsub = 16, .has_alpha = true, },
+ { .format = DRM_FORMAT_ABGR8888, .depth = 32, .num_planes = 2,
+ .cpp = { 4, 1, }, .hsub = 8, .vsub = 16, .has_alpha = true, },
};
static const struct drm_format_info *
--
2.21.0
^ permalink raw reply related [flat|nested] 6+ messages in thread* Re: [PATCH] drm/i915: Fix per-pixel alpha with CCS 2019-06-03 14:25 [PATCH] drm/i915: Fix per-pixel alpha with CCS Ville Syrjala @ 2019-06-03 15:10 ` Maarten Lankhorst 2019-06-03 16:29 ` ✓ Fi.CI.BAT: success for " Patchwork ` (2 subsequent siblings) 3 siblings, 0 replies; 6+ messages in thread From: Maarten Lankhorst @ 2019-06-03 15:10 UTC (permalink / raw) To: Ville Syrjala, intel-gfx; +Cc: stable, Matt Roper, Heinrich Fink Op 03-06-2019 om 16:25 schreef Ville Syrjala: > From: Ville Syrjälä <ville.syrjala@linux.intel.com> > > We forgot to set .has_alpha=true for the A+CCS formats when the code > started to consult .has_alpha. This manifests as A+CCS being treated > as X+CCS which means no per-pixel alpha blending. Fix the format > list appropriately. > > Cc: stable@vger.kernel.org > Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> > Cc: Matt Roper <matthew.d.roper@intel.com> > Cc: Heinrich Fink <heinrich.fink@daqri.com> > Reported-by: Heinrich Fink <heinrich.fink@daqri.com> > Fixes: b20815255693 ("drm/i915: Add plane alpha blending support, v2.") > Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> > --- > drivers/gpu/drm/i915/intel_display.c | 12 ++++++++---- > 1 file changed, 8 insertions(+), 4 deletions(-) > > diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c > index c3e2b1178d55..67d796f4747e 100644 > --- a/drivers/gpu/drm/i915/intel_display.c > +++ b/drivers/gpu/drm/i915/intel_display.c > @@ -2463,10 +2463,14 @@ static unsigned int intel_fb_modifier_to_tiling(u64 fb_modifier) > * main surface. > */ > static const struct drm_format_info ccs_formats[] = { > - { .format = DRM_FORMAT_XRGB8888, .depth = 24, .num_planes = 2, .cpp = { 4, 1, }, .hsub = 8, .vsub = 16, }, > - { .format = DRM_FORMAT_XBGR8888, .depth = 24, .num_planes = 2, .cpp = { 4, 1, }, .hsub = 8, .vsub = 16, }, > - { .format = DRM_FORMAT_ARGB8888, .depth = 32, .num_planes = 2, .cpp = { 4, 1, }, .hsub = 8, .vsub = 16, }, > - { .format = DRM_FORMAT_ABGR8888, .depth = 32, .num_planes = 2, .cpp = { 4, 1, }, .hsub = 8, .vsub = 16, }, > + { .format = DRM_FORMAT_XRGB8888, .depth = 24, .num_planes = 2, > + .cpp = { 4, 1, }, .hsub = 8, .vsub = 16, }, > + { .format = DRM_FORMAT_XBGR8888, .depth = 24, .num_planes = 2, > + .cpp = { 4, 1, }, .hsub = 8, .vsub = 16, }, > + { .format = DRM_FORMAT_ARGB8888, .depth = 32, .num_planes = 2, > + .cpp = { 4, 1, }, .hsub = 8, .vsub = 16, .has_alpha = true, }, > + { .format = DRM_FORMAT_ABGR8888, .depth = 32, .num_planes = 2, > + .cpp = { 4, 1, }, .hsub = 8, .vsub = 16, .has_alpha = true, }, > }; > > static const struct drm_format_info * Makes sense.. Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> ^ permalink raw reply [flat|nested] 6+ messages in thread
* ✓ Fi.CI.BAT: success for drm/i915: Fix per-pixel alpha with CCS 2019-06-03 14:25 [PATCH] drm/i915: Fix per-pixel alpha with CCS Ville Syrjala 2019-06-03 15:10 ` Maarten Lankhorst @ 2019-06-03 16:29 ` Patchwork 2019-06-04 4:47 ` ✓ Fi.CI.IGT: " Patchwork 2019-06-07 8:03 ` [PATCH] " Heinrich Fink 3 siblings, 0 replies; 6+ messages in thread From: Patchwork @ 2019-06-03 16:29 UTC (permalink / raw) To: Ville Syrjala; +Cc: intel-gfx == Series Details == Series: drm/i915: Fix per-pixel alpha with CCS URL : https://patchwork.freedesktop.org/series/61526/ State : success == Summary == CI Bug Log - changes from CI_DRM_6182 -> Patchwork_13160 ==================================================== Summary ------- **SUCCESS** No regressions found. External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13160/ Known issues ------------ Here are the changes found in Patchwork_13160 that come from known issues: ### IGT changes ### #### Issues hit #### * igt@kms_chamelium@dp-crc-fast: - fi-kbl-7500u: [PASS][1] -> [FAIL][2] ([fdo#109635 ]) [1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6182/fi-kbl-7500u/igt@kms_chamelium@dp-crc-fast.html [2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13160/fi-kbl-7500u/igt@kms_chamelium@dp-crc-fast.html #### Possible fixes #### * {igt@i915_selftest@live_mman}: - fi-bxt-j4205: [TIMEOUT][3] ([fdo#110818 ]) -> [PASS][4] [3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6182/fi-bxt-j4205/igt@i915_selftest@live_mman.html [4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13160/fi-bxt-j4205/igt@i915_selftest@live_mman.html * igt@kms_cursor_legacy@basic-flip-before-cursor-legacy: - fi-icl-u3: [DMESG-WARN][5] ([fdo#107724]) -> [PASS][6] [5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6182/fi-icl-u3/igt@kms_cursor_legacy@basic-flip-before-cursor-legacy.html [6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13160/fi-icl-u3/igt@kms_cursor_legacy@basic-flip-before-cursor-legacy.html {name}: This element is suppressed. This means it is ignored when computing the status of the difference (SUCCESS, WARNING, or FAILURE). [fdo#107724]: https://bugs.freedesktop.org/show_bug.cgi?id=107724 [fdo#109635 ]: https://bugs.freedesktop.org/show_bug.cgi?id=109635 [fdo#109673]: https://bugs.freedesktop.org/show_bug.cgi?id=109673 [fdo#110818 ]: https://bugs.freedesktop.org/show_bug.cgi?id=110818 Participating hosts (50 -> 46) ------------------------------ Additional (2): fi-ilk-650 fi-bsw-n3050 Missing (6): fi-ilk-m540 fi-hsw-4200u fi-byt-squawks fi-kbl-7560u fi-byt-clapper fi-bdw-samus Build changes ------------- * Linux: CI_DRM_6182 -> Patchwork_13160 CI_DRM_6182: 63e1cb5d17f931ee65e93fe45d593b45b5c863f5 @ git://anongit.freedesktop.org/gfx-ci/linux IGT_5029: 5aeacd5cc3fc37ff9e5dccb9e8ae63acdc12e521 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools Patchwork_13160: 5e0dcf38e382bf5338b9414e66ce0936ff19f62c @ git://anongit.freedesktop.org/gfx-ci/linux == Linux commits == 5e0dcf38e382 drm/i915: Fix per-pixel alpha with CCS == Logs == For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13160/ _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx ^ permalink raw reply [flat|nested] 6+ messages in thread
* ✓ Fi.CI.IGT: success for drm/i915: Fix per-pixel alpha with CCS 2019-06-03 14:25 [PATCH] drm/i915: Fix per-pixel alpha with CCS Ville Syrjala 2019-06-03 15:10 ` Maarten Lankhorst 2019-06-03 16:29 ` ✓ Fi.CI.BAT: success for " Patchwork @ 2019-06-04 4:47 ` Patchwork 2019-06-07 8:03 ` [PATCH] " Heinrich Fink 3 siblings, 0 replies; 6+ messages in thread From: Patchwork @ 2019-06-04 4:47 UTC (permalink / raw) To: Ville Syrjala; +Cc: intel-gfx == Series Details == Series: drm/i915: Fix per-pixel alpha with CCS URL : https://patchwork.freedesktop.org/series/61526/ State : success == Summary == CI Bug Log - changes from CI_DRM_6182_full -> Patchwork_13160_full ==================================================== Summary ------- **SUCCESS** No regressions found. Known issues ------------ Here are the changes found in Patchwork_13160_full that come from known issues: ### IGT changes ### #### Issues hit #### * igt@gem_mmap_gtt@hang: - shard-iclb: [PASS][1] -> [FAIL][2] ([fdo#109677]) [1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6182/shard-iclb3/igt@gem_mmap_gtt@hang.html [2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13160/shard-iclb2/igt@gem_mmap_gtt@hang.html * igt@gem_tiled_swapping@non-threaded: - shard-kbl: [PASS][3] -> [FAIL][4] ([fdo#108686]) [3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6182/shard-kbl4/igt@gem_tiled_swapping@non-threaded.html [4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13160/shard-kbl6/igt@gem_tiled_swapping@non-threaded.html * igt@gem_workarounds@suspend-resume-context: - shard-apl: [PASS][5] -> [DMESG-WARN][6] ([fdo#108566]) +4 similar issues [5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6182/shard-apl2/igt@gem_workarounds@suspend-resume-context.html [6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13160/shard-apl4/igt@gem_workarounds@suspend-resume-context.html * igt@i915_suspend@debugfs-reader: - shard-skl: [PASS][7] -> [INCOMPLETE][8] ([fdo#104108]) [7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6182/shard-skl10/igt@i915_suspend@debugfs-reader.html [8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13160/shard-skl7/igt@i915_suspend@debugfs-reader.html * igt@kms_cursor_crc@pipe-a-cursor-suspend: - shard-skl: [PASS][9] -> [INCOMPLETE][10] ([fdo#110741]) [9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6182/shard-skl8/igt@kms_cursor_crc@pipe-a-cursor-suspend.html [10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13160/shard-skl9/igt@kms_cursor_crc@pipe-a-cursor-suspend.html * igt@kms_cursor_legacy@cursor-vs-flip-atomic: - shard-hsw: [PASS][11] -> [FAIL][12] ([fdo#103355]) [11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6182/shard-hsw4/igt@kms_cursor_legacy@cursor-vs-flip-atomic.html [12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13160/shard-hsw5/igt@kms_cursor_legacy@cursor-vs-flip-atomic.html * igt@kms_flip@dpms-vs-vblank-race-interruptible: - shard-glk: [PASS][13] -> [FAIL][14] ([fdo#103060]) [13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6182/shard-glk1/igt@kms_flip@dpms-vs-vblank-race-interruptible.html [14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13160/shard-glk8/igt@kms_flip@dpms-vs-vblank-race-interruptible.html * igt@kms_flip@flip-vs-expired-vblank: - shard-skl: [PASS][15] -> [FAIL][16] ([fdo#105363]) [15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6182/shard-skl8/igt@kms_flip@flip-vs-expired-vblank.html [16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13160/shard-skl5/igt@kms_flip@flip-vs-expired-vblank.html * igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-render: - shard-iclb: [PASS][17] -> [FAIL][18] ([fdo#103167]) +4 similar issues [17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6182/shard-iclb2/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-render.html [18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13160/shard-iclb1/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-render.html * igt@kms_frontbuffer_tracking@psr-suspend: - shard-skl: [PASS][19] -> [INCOMPLETE][20] ([fdo#104108] / [fdo#106978]) [19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6182/shard-skl2/igt@kms_frontbuffer_tracking@psr-suspend.html [20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13160/shard-skl5/igt@kms_frontbuffer_tracking@psr-suspend.html * igt@kms_plane_alpha_blend@pipe-c-coverage-7efc: - shard-skl: [PASS][21] -> [FAIL][22] ([fdo#108145] / [fdo#110403]) [21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6182/shard-skl7/igt@kms_plane_alpha_blend@pipe-c-coverage-7efc.html [22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13160/shard-skl3/igt@kms_plane_alpha_blend@pipe-c-coverage-7efc.html * igt@kms_psr@psr2_sprite_plane_move: - shard-iclb: [PASS][23] -> [SKIP][24] ([fdo#109441]) +3 similar issues [23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6182/shard-iclb2/igt@kms_psr@psr2_sprite_plane_move.html [24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13160/shard-iclb5/igt@kms_psr@psr2_sprite_plane_move.html * igt@kms_setmode@basic: - shard-apl: [PASS][25] -> [FAIL][26] ([fdo#99912]) [25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6182/shard-apl4/igt@kms_setmode@basic.html [26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13160/shard-apl3/igt@kms_setmode@basic.html - shard-kbl: [PASS][27] -> [FAIL][28] ([fdo#99912]) [27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6182/shard-kbl3/igt@kms_setmode@basic.html [28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13160/shard-kbl7/igt@kms_setmode@basic.html * igt@kms_sysfs_edid_timing: - shard-iclb: [PASS][29] -> [FAIL][30] ([fdo#100047]) [29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6182/shard-iclb1/igt@kms_sysfs_edid_timing.html [30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13160/shard-iclb3/igt@kms_sysfs_edid_timing.html #### Possible fixes #### * igt@i915_suspend@sysfs-reader: - shard-apl: [DMESG-WARN][31] ([fdo#108566]) -> [PASS][32] +5 similar issues [31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6182/shard-apl7/igt@i915_suspend@sysfs-reader.html [32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13160/shard-apl3/igt@i915_suspend@sysfs-reader.html * igt@kms_cursor_legacy@2x-flip-vs-cursor-legacy: - shard-glk: [FAIL][33] ([fdo#104873]) -> [PASS][34] [33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6182/shard-glk3/igt@kms_cursor_legacy@2x-flip-vs-cursor-legacy.html [34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13160/shard-glk1/igt@kms_cursor_legacy@2x-flip-vs-cursor-legacy.html * igt@kms_fbcon_fbt@fbc: - shard-skl: [FAIL][35] ([fdo#103833]) -> [PASS][36] [35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6182/shard-skl7/igt@kms_fbcon_fbt@fbc.html [36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13160/shard-skl3/igt@kms_fbcon_fbt@fbc.html * igt@kms_flip@2x-flip-vs-expired-vblank: - shard-glk: [FAIL][37] ([fdo#105363]) -> [PASS][38] [37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6182/shard-glk6/igt@kms_flip@2x-flip-vs-expired-vblank.html [38]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13160/shard-glk1/igt@kms_flip@2x-flip-vs-expired-vblank.html * igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-draw-render: - shard-iclb: [FAIL][39] ([fdo#103167]) -> [PASS][40] +1 similar issue [39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6182/shard-iclb1/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-draw-render.html [40]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13160/shard-iclb7/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-draw-render.html * igt@kms_frontbuffer_tracking@fbcpsr-tilingchange: - shard-skl: [FAIL][41] ([fdo#103167]) -> [PASS][42] [41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6182/shard-skl7/igt@kms_frontbuffer_tracking@fbcpsr-tilingchange.html [42]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13160/shard-skl3/igt@kms_frontbuffer_tracking@fbcpsr-tilingchange.html * igt@kms_plane_alpha_blend@pipe-c-constant-alpha-min: - shard-skl: [FAIL][43] ([fdo#108145]) -> [PASS][44] +1 similar issue [43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6182/shard-skl10/igt@kms_plane_alpha_blend@pipe-c-constant-alpha-min.html [44]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13160/shard-skl6/igt@kms_plane_alpha_blend@pipe-c-constant-alpha-min.html * igt@kms_psr@psr2_suspend: - shard-iclb: [SKIP][45] ([fdo#109441]) -> [PASS][46] [45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6182/shard-iclb3/igt@kms_psr@psr2_suspend.html [46]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13160/shard-iclb2/igt@kms_psr@psr2_suspend.html * igt@kms_vblank@pipe-c-accuracy-idle: - shard-hsw: [INCOMPLETE][47] ([fdo#103540]) -> [PASS][48] [47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6182/shard-hsw2/igt@kms_vblank@pipe-c-accuracy-idle.html [48]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13160/shard-hsw4/igt@kms_vblank@pipe-c-accuracy-idle.html * igt@kms_vblank@pipe-c-ts-continuation-suspend: - shard-skl: [INCOMPLETE][49] ([fdo#104108]) -> [PASS][50] [49]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6182/shard-skl1/igt@kms_vblank@pipe-c-ts-continuation-suspend.html [50]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13160/shard-skl1/igt@kms_vblank@pipe-c-ts-continuation-suspend.html * igt@perf@polling: - shard-skl: [FAIL][51] ([fdo#110728]) -> [PASS][52] [51]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6182/shard-skl5/igt@perf@polling.html [52]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13160/shard-skl9/igt@perf@polling.html #### Warnings #### * igt@kms_frontbuffer_tracking@psr-1p-primscrn-indfb-pgflip-blt: - shard-apl: [SKIP][53] ([fdo#109271]) -> [INCOMPLETE][54] ([fdo#103927]) [53]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6182/shard-apl5/igt@kms_frontbuffer_tracking@psr-1p-primscrn-indfb-pgflip-blt.html [54]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13160/shard-apl5/igt@kms_frontbuffer_tracking@psr-1p-primscrn-indfb-pgflip-blt.html * igt@kms_rotation_crc@primary-y-tiled-reflect-x-270: - shard-glk: [SKIP][55] ([fdo#109271]) -> [INCOMPLETE][56] ([fdo#103359] / [k.org#198133]) [55]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6182/shard-glk3/igt@kms_rotation_crc@primary-y-tiled-reflect-x-270.html [56]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13160/shard-glk6/igt@kms_rotation_crc@primary-y-tiled-reflect-x-270.html [fdo#100047]: https://bugs.freedesktop.org/show_bug.cgi?id=100047 [fdo#103060]: https://bugs.freedesktop.org/show_bug.cgi?id=103060 [fdo#103167]: https://bugs.freedesktop.org/show_bug.cgi?id=103167 [fdo#103355]: https://bugs.freedesktop.org/show_bug.cgi?id=103355 [fdo#103359]: https://bugs.freedesktop.org/show_bug.cgi?id=103359 [fdo#103540]: https://bugs.freedesktop.org/show_bug.cgi?id=103540 [fdo#103833]: https://bugs.freedesktop.org/show_bug.cgi?id=103833 [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#105363]: https://bugs.freedesktop.org/show_bug.cgi?id=105363 [fdo#106978]: https://bugs.freedesktop.org/show_bug.cgi?id=106978 [fdo#108145]: https://bugs.freedesktop.org/show_bug.cgi?id=108145 [fdo#108566]: https://bugs.freedesktop.org/show_bug.cgi?id=108566 [fdo#108686]: https://bugs.freedesktop.org/show_bug.cgi?id=108686 [fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271 [fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441 [fdo#109677]: https://bugs.freedesktop.org/show_bug.cgi?id=109677 [fdo#110403]: https://bugs.freedesktop.org/show_bug.cgi?id=110403 [fdo#110728]: https://bugs.freedesktop.org/show_bug.cgi?id=110728 [fdo#110741]: https://bugs.freedesktop.org/show_bug.cgi?id=110741 [fdo#99912]: https://bugs.freedesktop.org/show_bug.cgi?id=99912 [k.org#198133]: https://bugzilla.kernel.org/show_bug.cgi?id=198133 Participating hosts (10 -> 10) ------------------------------ No changes in participating hosts Build changes ------------- * Linux: CI_DRM_6182 -> Patchwork_13160 CI_DRM_6182: 63e1cb5d17f931ee65e93fe45d593b45b5c863f5 @ git://anongit.freedesktop.org/gfx-ci/linux IGT_5029: 5aeacd5cc3fc37ff9e5dccb9e8ae63acdc12e521 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools Patchwork_13160: 5e0dcf38e382bf5338b9414e66ce0936ff19f62c @ 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_13160/ _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] drm/i915: Fix per-pixel alpha with CCS 2019-06-03 14:25 [PATCH] drm/i915: Fix per-pixel alpha with CCS Ville Syrjala ` (2 preceding siblings ...) 2019-06-04 4:47 ` ✓ Fi.CI.IGT: " Patchwork @ 2019-06-07 8:03 ` Heinrich Fink 2019-06-07 13:41 ` Ville Syrjälä 3 siblings, 1 reply; 6+ messages in thread From: Heinrich Fink @ 2019-06-07 8:03 UTC (permalink / raw) To: Ville Syrjala; +Cc: intel-gfx On Mon, 3 Jun 2019 at 16:25, Ville Syrjala <ville.syrjala@linux.intel.com> wrote: > > From: Ville Syrjälä <ville.syrjala@linux.intel.com> > > We forgot to set .has_alpha=true for the A+CCS formats when the code > started to consult .has_alpha. This manifests as A+CCS being treated > as X+CCS which means no per-pixel alpha blending. Fix the format > list appropriately. > > Cc: stable@vger.kernel.org > Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> > Cc: Matt Roper <matthew.d.roper@intel.com> > Cc: Heinrich Fink <heinrich.fink@daqri.com> > Reported-by: Heinrich Fink <heinrich.fink@daqri.com> > Fixes: b20815255693 ("drm/i915: Add plane alpha blending support, v2.") > Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> > --- > drivers/gpu/drm/i915/intel_display.c | 12 ++++++++---- > 1 file changed, 8 insertions(+), 4 deletions(-) > > diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c > index c3e2b1178d55..67d796f4747e 100644 > --- a/drivers/gpu/drm/i915/intel_display.c > +++ b/drivers/gpu/drm/i915/intel_display.c > @@ -2463,10 +2463,14 @@ static unsigned int intel_fb_modifier_to_tiling(u64 fb_modifier) > * main surface. > */ > static const struct drm_format_info ccs_formats[] = { > - { .format = DRM_FORMAT_XRGB8888, .depth = 24, .num_planes = 2, .cpp = { 4, 1, }, .hsub = 8, .vsub = 16, }, > - { .format = DRM_FORMAT_XBGR8888, .depth = 24, .num_planes = 2, .cpp = { 4, 1, }, .hsub = 8, .vsub = 16, }, > - { .format = DRM_FORMAT_ARGB8888, .depth = 32, .num_planes = 2, .cpp = { 4, 1, }, .hsub = 8, .vsub = 16, }, > - { .format = DRM_FORMAT_ABGR8888, .depth = 32, .num_planes = 2, .cpp = { 4, 1, }, .hsub = 8, .vsub = 16, }, > + { .format = DRM_FORMAT_XRGB8888, .depth = 24, .num_planes = 2, > + .cpp = { 4, 1, }, .hsub = 8, .vsub = 16, }, > + { .format = DRM_FORMAT_XBGR8888, .depth = 24, .num_planes = 2, > + .cpp = { 4, 1, }, .hsub = 8, .vsub = 16, }, > + { .format = DRM_FORMAT_ARGB8888, .depth = 32, .num_planes = 2, > + .cpp = { 4, 1, }, .hsub = 8, .vsub = 16, .has_alpha = true, }, > + { .format = DRM_FORMAT_ABGR8888, .depth = 32, .num_planes = 2, > + .cpp = { 4, 1, }, .hsub = 8, .vsub = 16, .has_alpha = true, }, > }; > > static const struct drm_format_info * > -- > 2.21.0 > Just tested it on our image, fixes the bug and works for me. Thank you for the swift fix! _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] drm/i915: Fix per-pixel alpha with CCS 2019-06-07 8:03 ` [PATCH] " Heinrich Fink @ 2019-06-07 13:41 ` Ville Syrjälä 0 siblings, 0 replies; 6+ messages in thread From: Ville Syrjälä @ 2019-06-07 13:41 UTC (permalink / raw) To: Heinrich Fink; +Cc: intel-gfx On Fri, Jun 07, 2019 at 10:03:17AM +0200, Heinrich Fink wrote: > On Mon, 3 Jun 2019 at 16:25, Ville Syrjala > <ville.syrjala@linux.intel.com> wrote: > > > > From: Ville Syrjälä <ville.syrjala@linux.intel.com> > > > > We forgot to set .has_alpha=true for the A+CCS formats when the code > > started to consult .has_alpha. This manifests as A+CCS being treated > > as X+CCS which means no per-pixel alpha blending. Fix the format > > list appropriately. > > > > Cc: stable@vger.kernel.org > > Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> > > Cc: Matt Roper <matthew.d.roper@intel.com> > > Cc: Heinrich Fink <heinrich.fink@daqri.com> > > Reported-by: Heinrich Fink <heinrich.fink@daqri.com> > > Fixes: b20815255693 ("drm/i915: Add plane alpha blending support, v2.") > > Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> > > --- > > drivers/gpu/drm/i915/intel_display.c | 12 ++++++++---- > > 1 file changed, 8 insertions(+), 4 deletions(-) > > > > diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c > > index c3e2b1178d55..67d796f4747e 100644 > > --- a/drivers/gpu/drm/i915/intel_display.c > > +++ b/drivers/gpu/drm/i915/intel_display.c > > @@ -2463,10 +2463,14 @@ static unsigned int intel_fb_modifier_to_tiling(u64 fb_modifier) > > * main surface. > > */ > > static const struct drm_format_info ccs_formats[] = { > > - { .format = DRM_FORMAT_XRGB8888, .depth = 24, .num_planes = 2, .cpp = { 4, 1, }, .hsub = 8, .vsub = 16, }, > > - { .format = DRM_FORMAT_XBGR8888, .depth = 24, .num_planes = 2, .cpp = { 4, 1, }, .hsub = 8, .vsub = 16, }, > > - { .format = DRM_FORMAT_ARGB8888, .depth = 32, .num_planes = 2, .cpp = { 4, 1, }, .hsub = 8, .vsub = 16, }, > > - { .format = DRM_FORMAT_ABGR8888, .depth = 32, .num_planes = 2, .cpp = { 4, 1, }, .hsub = 8, .vsub = 16, }, > > + { .format = DRM_FORMAT_XRGB8888, .depth = 24, .num_planes = 2, > > + .cpp = { 4, 1, }, .hsub = 8, .vsub = 16, }, > > + { .format = DRM_FORMAT_XBGR8888, .depth = 24, .num_planes = 2, > > + .cpp = { 4, 1, }, .hsub = 8, .vsub = 16, }, > > + { .format = DRM_FORMAT_ARGB8888, .depth = 32, .num_planes = 2, > > + .cpp = { 4, 1, }, .hsub = 8, .vsub = 16, .has_alpha = true, }, > > + { .format = DRM_FORMAT_ABGR8888, .depth = 32, .num_planes = 2, > > + .cpp = { 4, 1, }, .hsub = 8, .vsub = 16, .has_alpha = true, }, > > }; > > > > static const struct drm_format_info * > > -- > > 2.21.0 > > > > Just tested it on our image, fixes the bug and works for me. Thank you > for the swift fix! Cool. Thanks for confirming the fix. Pushed to dinq. -- Ville Syrjälä Intel _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2019-06-07 13:41 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2019-06-03 14:25 [PATCH] drm/i915: Fix per-pixel alpha with CCS Ville Syrjala 2019-06-03 15:10 ` Maarten Lankhorst 2019-06-03 16:29 ` ✓ Fi.CI.BAT: success for " Patchwork 2019-06-04 4:47 ` ✓ Fi.CI.IGT: " Patchwork 2019-06-07 8:03 ` [PATCH] " Heinrich Fink 2019-06-07 13:41 ` Ville Syrjälä
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox