* [PATCH 1/2] drm/i915: Add function to check for linear surfaces
@ 2018-10-25 21:32 Dhinakaran Pandiyan
2018-10-25 21:32 ` [PATCH 2/2] drm/i915: Do not program aux plane offsets on gen11+ Dhinakaran Pandiyan
` (4 more replies)
0 siblings, 5 replies; 8+ messages in thread
From: Dhinakaran Pandiyan @ 2018-10-25 21:32 UTC (permalink / raw)
To: intel-gfx; +Cc: Dhinakaran Pandiyan
A framebuffer can comprise surfaces with distinct tiling formats,
making checks against modifier alone insufficient. Make use of a
function to identify a linear surface based on both modifier and color
plane.
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@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 fe045abb6472..5cf1dd0b741d 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -2205,6 +2205,11 @@ static u32 intel_adjust_tile_offset(int *x, int *y,
return new_offset;
}
+static inline bool is_surface_linear(uint64_t modifier, int color_plane)
+{
+ return modifier == DRM_FORMAT_MOD_LINEAR;
+}
+
static u32 intel_adjust_aligned_offset(int *x, int *y,
const struct drm_framebuffer *fb,
int color_plane,
@@ -2217,7 +2222,7 @@ static u32 intel_adjust_aligned_offset(int *x, int *y,
WARN_ON(new_offset > old_offset);
- if (fb->modifier != DRM_FORMAT_MOD_LINEAR) {
+ if (!is_surface_linear(fb->modifier, color_plane)) {
unsigned int tile_size, tile_width, tile_height;
unsigned int pitch_tiles;
@@ -2281,14 +2286,13 @@ static u32 intel_compute_aligned_offset(struct drm_i915_private *dev_priv,
unsigned int rotation,
u32 alignment)
{
- uint64_t fb_modifier = fb->modifier;
unsigned int cpp = fb->format->cpp[color_plane];
u32 offset, offset_aligned;
if (alignment)
alignment--;
- if (fb_modifier != DRM_FORMAT_MOD_LINEAR) {
+ if (!is_surface_linear(fb->modifier, color_plane)) {
unsigned int tile_size, tile_width, tile_height;
unsigned int tile_rows, tiles, pitch_tiles;
@@ -2525,7 +2529,7 @@ intel_fill_fb_info(struct drm_i915_private *dev_priv,
tile_size);
offset /= tile_size;
- if (fb->modifier != DRM_FORMAT_MOD_LINEAR) {
+ if (is_surface_linear(fb->modifier, i)) {
unsigned int tile_width, tile_height;
unsigned int pitch_tiles;
struct drm_rect r;
--
2.14.1
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH 2/2] drm/i915: Do not program aux plane offsets on gen11+
2018-10-25 21:32 [PATCH 1/2] drm/i915: Add function to check for linear surfaces Dhinakaran Pandiyan
@ 2018-10-25 21:32 ` Dhinakaran Pandiyan
2018-10-26 15:45 ` Ville Syrjälä
2018-10-25 22:45 ` ✗ Fi.CI.BAT: failure for series starting with [1/2] drm/i915: Add function to check for linear surfaces Patchwork
` (3 subsequent siblings)
4 siblings, 1 reply; 8+ messages in thread
From: Dhinakaran Pandiyan @ 2018-10-25 21:32 UTC (permalink / raw)
To: intel-gfx; +Cc: Dhinakaran Pandiyan
The PLANE_AUX_OFFSET mmio does not exist on ICL, do not program it. We'll
still calculate the aux offset as it is required for adjusing x-y offsets.
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
---
drivers/gpu/drm/i915/intel_sprite.c | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/drivers/gpu/drm/i915/intel_sprite.c b/drivers/gpu/drm/i915/intel_sprite.c
index cfaddc05fea6..a27d6f67c7c5 100644
--- a/drivers/gpu/drm/i915/intel_sprite.c
+++ b/drivers/gpu/drm/i915/intel_sprite.c
@@ -414,9 +414,11 @@ skl_program_plane(struct intel_plane *plane,
I915_WRITE_FW(PLANE_SIZE(pipe, plane_id), (src_h << 16) | src_w);
I915_WRITE_FW(PLANE_AUX_DIST(pipe, plane_id),
(plane_state->color_plane[1].offset - surf_addr) | aux_stride);
- I915_WRITE_FW(PLANE_AUX_OFFSET(pipe, plane_id),
- (plane_state->color_plane[1].y << 16) |
- plane_state->color_plane[1].x);
+
+ if (INTEL_GEN(dev_priv) < 11)
+ I915_WRITE_FW(PLANE_AUX_OFFSET(pipe, plane_id),
+ (plane_state->color_plane[1].y << 16) |
+ plane_state->color_plane[1].x);
if (icl_is_hdr_plane(plane)) {
u32 cus_ctl = 0;
--
2.14.1
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply related [flat|nested] 8+ messages in thread
* ✗ Fi.CI.BAT: failure for series starting with [1/2] drm/i915: Add function to check for linear surfaces
2018-10-25 21:32 [PATCH 1/2] drm/i915: Add function to check for linear surfaces Dhinakaran Pandiyan
2018-10-25 21:32 ` [PATCH 2/2] drm/i915: Do not program aux plane offsets on gen11+ Dhinakaran Pandiyan
@ 2018-10-25 22:45 ` Patchwork
2018-10-25 23:10 ` [PATCH v2 1/2] " Dhinakaran Pandiyan
` (2 subsequent siblings)
4 siblings, 0 replies; 8+ messages in thread
From: Patchwork @ 2018-10-25 22:45 UTC (permalink / raw)
To: Dhinakaran Pandiyan; +Cc: intel-gfx
== Series Details ==
Series: series starting with [1/2] drm/i915: Add function to check for linear surfaces
URL : https://patchwork.freedesktop.org/series/51550/
State : failure
== Summary ==
= CI Bug Log - changes from CI_DRM_5038 -> Patchwork_10586 =
== Summary - FAILURE ==
Serious unknown changes coming with Patchwork_10586 absolutely need to be
verified manually.
If you think the reported changes have nothing to do with the changes
introduced in Patchwork_10586, please notify your bug team to allow them
to document this new failure mode, which will reduce false positives in CI.
External URL: https://patchwork.freedesktop.org/api/1.0/series/51550/revisions/1/mbox/
== Possible new issues ==
Here are the unknown changes that may have been introduced in Patchwork_10586:
=== IGT changes ===
==== Possible regressions ====
igt@debugfs_test@read_all_entries:
fi-icl-u: NOTRUN -> FAIL
fi-blb-e6850: PASS -> FAIL
fi-kbl-soraka: PASS -> FAIL
igt@gem_exec_suspend@basic-s3:
fi-ilk-650: PASS -> DMESG-WARN
igt@kms_addfb_basic@bo-too-small-due-to-tiling:
fi-kbl-x1275: PASS -> FAIL +3
fi-kbl-guc: PASS -> FAIL +3
igt@kms_addfb_basic@size-max:
fi-apl-guc: PASS -> FAIL +38
fi-kbl-8809g: PASS -> FAIL +3
igt@kms_addfb_basic@small-bo:
fi-kbl-7560u: PASS -> FAIL +40
fi-bwr-2160: PASS -> FAIL +25
igt@kms_chamelium@dp-crc-fast:
fi-kbl-7500u: PASS -> FAIL +40
igt@kms_chamelium@hdmi-crc-fast:
fi-skl-6700k2: PASS -> FAIL +40
igt@kms_cursor_legacy@basic-busy-flip-before-cursor-legacy:
fi-hsw-4770r: PASS -> FAIL +37
fi-cfl-8700k: PASS -> FAIL +38
igt@kms_cursor_legacy@basic-flip-after-cursor-varying-size:
fi-skl-guc: PASS -> FAIL +39
fi-whl-u: PASS -> FAIL +40
igt@kms_cursor_legacy@basic-flip-before-cursor-varying-size:
fi-bsw-n3050: PASS -> FAIL +25
fi-hsw-4770: PASS -> FAIL +38
igt@kms_flip@basic-flip-vs-dpms:
fi-ilk-650: PASS -> FAIL +30
fi-skl-6770hq: PASS -> FAIL +38
igt@kms_flip@basic-flip-vs-modeset:
fi-cnl-u: PASS -> FAIL +40
igt@kms_flip@basic-flip-vs-wf_vblank:
fi-hsw-peppy: PASS -> FAIL +37
fi-skl-6260u: PASS -> FAIL +38
igt@kms_pipe_crc_basic@hang-read-crc-pipe-a:
fi-icl-u2: PASS -> FAIL +39
igt@kms_pipe_crc_basic@hang-read-crc-pipe-b:
fi-bxt-j4205: PASS -> FAIL +38
fi-skl-6700hq: PASS -> FAIL +40
igt@kms_pipe_crc_basic@nonblocking-crc-pipe-a:
fi-ivb-3520m: PASS -> FAIL +36
igt@kms_pipe_crc_basic@nonblocking-crc-pipe-a-frame-sequence:
fi-elk-e7500: PASS -> FAIL +25
fi-byt-n2820: PASS -> FAIL +31
igt@kms_pipe_crc_basic@nonblocking-crc-pipe-b:
fi-bsw-kefka: PASS -> FAIL +32
fi-bdw-5557u: PASS -> FAIL +37
igt@kms_pipe_crc_basic@nonblocking-crc-pipe-b-frame-sequence:
fi-bdw-gvtdvm: PASS -> FAIL +34
fi-gdg-551: PASS -> FAIL +25
igt@kms_pipe_crc_basic@nonblocking-crc-pipe-c:
fi-kbl-7567u: PASS -> FAIL +38
fi-skl-gvtdvm: PASS -> FAIL +35
igt@kms_pipe_crc_basic@nonblocking-crc-pipe-c-frame-sequence:
fi-glk-dsi: PASS -> FAIL +39
igt@kms_pipe_crc_basic@read-crc-pipe-a-frame-sequence:
fi-cfl-guc: PASS -> FAIL +38
igt@kms_pipe_crc_basic@read-crc-pipe-b:
fi-byt-clapper: PASS -> FAIL +30
fi-cfl-s3: PASS -> FAIL +40
igt@kms_pipe_crc_basic@read-crc-pipe-c-frame-sequence:
fi-bxt-dsi: PASS -> FAIL +39
igt@kms_psr@cursor_plane_move:
fi-kbl-r: PASS -> FAIL +40
igt@pm_rpm@basic-pci-d3-state:
fi-skl-6600u: PASS -> FAIL +40
fi-byt-j1900: PASS -> FAIL +32
fi-gdg-551: SKIP -> FAIL +2
igt@pm_rpm@basic-rte:
fi-skl-iommu: PASS -> FAIL +38
fi-glk-j4005: PASS -> FAIL +36
fi-skl-gvtdvm: SKIP -> FAIL +2
fi-elk-e7500: SKIP -> FAIL +3
fi-ilk-650: SKIP -> FAIL +2
fi-bdw-gvtdvm: SKIP -> FAIL +2
fi-bwr-2160: SKIP -> FAIL +2
igt@pm_rpm@module-reload:
fi-ivb-3520m: SKIP -> FAIL +2
==== Warnings ====
igt@debugfs_test@read_all_entries:
fi-icl-u2: DMESG-WARN (fdo#108070) -> FAIL
igt@kms_frontbuffer_tracking@basic:
fi-hsw-peppy: DMESG-WARN (fdo#102614) -> FAIL
igt@kms_pipe_crc_basic@read-crc-pipe-c-frame-sequence:
fi-glk-j4005: DMESG-WARN (fdo#106000) -> FAIL
igt@prime_vgem@basic-fence-flip:
fi-hsw-4770r: PASS -> SKIP
fi-kbl-7500u: PASS -> SKIP
fi-cfl-8700k: PASS -> SKIP
fi-skl-guc: PASS -> SKIP
fi-cfl-guc: PASS -> SKIP
fi-bdw-gvtdvm: PASS -> SKIP
fi-ilk-650: PASS -> SKIP
fi-skl-gvtdvm: PASS -> SKIP
fi-skl-6260u: PASS -> SKIP
fi-bxt-j4205: PASS -> SKIP
fi-hsw-4770: PASS -> SKIP
fi-skl-6770hq: PASS -> SKIP
fi-bwr-2160: PASS -> SKIP
fi-gdg-551: PASS -> SKIP
fi-byt-n2820: PASS -> SKIP
fi-apl-guc: PASS -> SKIP
fi-kbl-7567u: PASS -> SKIP
fi-glk-j4005: PASS -> SKIP
fi-skl-iommu: PASS -> SKIP
fi-byt-j1900: PASS -> SKIP
fi-elk-e7500: PASS -> SKIP
fi-skl-6700k2: PASS -> SKIP
fi-bdw-5557u: PASS -> SKIP
== Known issues ==
Here are the changes found in Patchwork_10586 that come from known issues:
=== IGT changes ===
==== Issues hit ====
igt@gem_ctx_switch@basic-default-heavy:
fi-glk-j4005: PASS -> DMESG-WARN (fdo#106538, fdo#105763) +4
igt@gem_exec_suspend@basic-s3:
fi-blb-e6850: PASS -> INCOMPLETE (fdo#107718)
fi-icl-u: NOTRUN -> INCOMPLETE (fdo#107713)
==== Possible fixes ====
igt@gem_exec_suspend@basic-s3:
fi-icl-u2: DMESG-WARN (fdo#106612) -> PASS
igt@kms_chamelium@common-hpd-after-suspend:
fi-kbl-7500u: DMESG-WARN (fdo#102505, fdo#105079, fdo#105602) -> PASS
fdo#102505 https://bugs.freedesktop.org/show_bug.cgi?id=102505
fdo#102614 https://bugs.freedesktop.org/show_bug.cgi?id=102614
fdo#105079 https://bugs.freedesktop.org/show_bug.cgi?id=105079
fdo#105602 https://bugs.freedesktop.org/show_bug.cgi?id=105602
fdo#105763 https://bugs.freedesktop.org/show_bug.cgi?id=105763
fdo#106000 https://bugs.freedesktop.org/show_bug.cgi?id=106000
fdo#106538 https://bugs.freedesktop.org/show_bug.cgi?id=106538
fdo#106612 https://bugs.freedesktop.org/show_bug.cgi?id=106612
fdo#107713 https://bugs.freedesktop.org/show_bug.cgi?id=107713
fdo#107718 https://bugs.freedesktop.org/show_bug.cgi?id=107718
fdo#108070 https://bugs.freedesktop.org/show_bug.cgi?id=108070
== Participating hosts (46 -> 44) ==
Additional (1): fi-icl-u
Missing (3): fi-ilk-m540 fi-byt-squawks fi-bsw-cyan
== Build changes ==
* Linux: CI_DRM_5038 -> Patchwork_10586
CI_DRM_5038: 96ecfb04d5acfcc565068c09afd6d0d713b2ddef @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_4695: 81b66cf2806d6a8e9516580fb31879677487d32b @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_10586: 720b948281a8ff629bdaf83064e26d238884d12c @ git://anongit.freedesktop.org/gfx-ci/linux
== Linux commits ==
720b948281a8 drm/i915: Do not program aux plane offsets on gen11+
7e51ae9e4c4b drm/i915: Add function to check for linear surfaces
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_10586/issues.html
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH v2 1/2] drm/i915: Add function to check for linear surfaces
2018-10-25 21:32 [PATCH 1/2] drm/i915: Add function to check for linear surfaces Dhinakaran Pandiyan
2018-10-25 21:32 ` [PATCH 2/2] drm/i915: Do not program aux plane offsets on gen11+ Dhinakaran Pandiyan
2018-10-25 22:45 ` ✗ Fi.CI.BAT: failure for series starting with [1/2] drm/i915: Add function to check for linear surfaces Patchwork
@ 2018-10-25 23:10 ` Dhinakaran Pandiyan
2018-10-26 15:01 ` Ville Syrjälä
2018-10-26 0:17 ` ✓ Fi.CI.BAT: success for series starting with [v2,1/2] drm/i915: Add function to check for linear surfaces (rev2) Patchwork
2018-10-26 7:21 ` ✗ Fi.CI.IGT: failure " Patchwork
4 siblings, 1 reply; 8+ messages in thread
From: Dhinakaran Pandiyan @ 2018-10-25 23:10 UTC (permalink / raw)
To: intel-gfx; +Cc: Dhinakaran Pandiyan
A framebuffer can comprise surfaces with distinct tiling formats,
making checks against modifier alone insufficient. Make use of a
function to identify a linear surface based on both modifier and color
plane.
v2: Typo fix
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@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 fe045abb6472..25e5402efd52 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -2205,6 +2205,11 @@ static u32 intel_adjust_tile_offset(int *x, int *y,
return new_offset;
}
+static inline bool is_surface_linear(uint64_t modifier, int color_plane)
+{
+ return modifier == DRM_FORMAT_MOD_LINEAR;
+}
+
static u32 intel_adjust_aligned_offset(int *x, int *y,
const struct drm_framebuffer *fb,
int color_plane,
@@ -2217,7 +2222,7 @@ static u32 intel_adjust_aligned_offset(int *x, int *y,
WARN_ON(new_offset > old_offset);
- if (fb->modifier != DRM_FORMAT_MOD_LINEAR) {
+ if (!is_surface_linear(fb->modifier, color_plane)) {
unsigned int tile_size, tile_width, tile_height;
unsigned int pitch_tiles;
@@ -2281,14 +2286,13 @@ static u32 intel_compute_aligned_offset(struct drm_i915_private *dev_priv,
unsigned int rotation,
u32 alignment)
{
- uint64_t fb_modifier = fb->modifier;
unsigned int cpp = fb->format->cpp[color_plane];
u32 offset, offset_aligned;
if (alignment)
alignment--;
- if (fb_modifier != DRM_FORMAT_MOD_LINEAR) {
+ if (!is_surface_linear(fb->modifier, color_plane)) {
unsigned int tile_size, tile_width, tile_height;
unsigned int tile_rows, tiles, pitch_tiles;
@@ -2525,7 +2529,7 @@ intel_fill_fb_info(struct drm_i915_private *dev_priv,
tile_size);
offset /= tile_size;
- if (fb->modifier != DRM_FORMAT_MOD_LINEAR) {
+ if (!is_surface_linear(fb->modifier, i)) {
unsigned int tile_width, tile_height;
unsigned int pitch_tiles;
struct drm_rect r;
--
2.14.1
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply related [flat|nested] 8+ messages in thread
* ✓ Fi.CI.BAT: success for series starting with [v2,1/2] drm/i915: Add function to check for linear surfaces (rev2)
2018-10-25 21:32 [PATCH 1/2] drm/i915: Add function to check for linear surfaces Dhinakaran Pandiyan
` (2 preceding siblings ...)
2018-10-25 23:10 ` [PATCH v2 1/2] " Dhinakaran Pandiyan
@ 2018-10-26 0:17 ` Patchwork
2018-10-26 7:21 ` ✗ Fi.CI.IGT: failure " Patchwork
4 siblings, 0 replies; 8+ messages in thread
From: Patchwork @ 2018-10-26 0:17 UTC (permalink / raw)
To: Dhinakaran Pandiyan; +Cc: intel-gfx
== Series Details ==
Series: series starting with [v2,1/2] drm/i915: Add function to check for linear surfaces (rev2)
URL : https://patchwork.freedesktop.org/series/51550/
State : success
== Summary ==
= CI Bug Log - changes from CI_DRM_5038 -> Patchwork_10590 =
== Summary - SUCCESS ==
No regressions found.
External URL: https://patchwork.freedesktop.org/api/1.0/series/51550/revisions/2/mbox/
== Known issues ==
Here are the changes found in Patchwork_10590 that come from known issues:
=== IGT changes ===
==== Issues hit ====
igt@drv_selftest@live_hangcheck:
fi-kbl-7560u: PASS -> INCOMPLETE (fdo#108044)
igt@gem_exec_suspend@basic-s3:
fi-icl-u: NOTRUN -> INCOMPLETE (fdo#107713)
igt@kms_flip@basic-flip-vs-dpms:
fi-glk-j4005: PASS -> DMESG-WARN (fdo#106000)
igt@kms_pipe_crc_basic@read-crc-pipe-a-frame-sequence:
fi-byt-clapper: PASS -> FAIL (fdo#103191, fdo#107362)
igt@pm_rpm@module-reload:
fi-glk-j4005: PASS -> DMESG-WARN (fdo#107726)
==== Possible fixes ====
igt@kms_frontbuffer_tracking@basic:
fi-hsw-peppy: DMESG-WARN (fdo#102614) -> PASS
igt@kms_pipe_crc_basic@nonblocking-crc-pipe-a:
fi-byt-clapper: FAIL (fdo#107362) -> PASS
igt@kms_pipe_crc_basic@suspend-read-crc-pipe-b:
fi-byt-clapper: FAIL (fdo#103191, fdo#107362) -> PASS
fdo#102614 https://bugs.freedesktop.org/show_bug.cgi?id=102614
fdo#103191 https://bugs.freedesktop.org/show_bug.cgi?id=103191
fdo#106000 https://bugs.freedesktop.org/show_bug.cgi?id=106000
fdo#107362 https://bugs.freedesktop.org/show_bug.cgi?id=107362
fdo#107713 https://bugs.freedesktop.org/show_bug.cgi?id=107713
fdo#107726 https://bugs.freedesktop.org/show_bug.cgi?id=107726
fdo#108044 https://bugs.freedesktop.org/show_bug.cgi?id=108044
== Participating hosts (46 -> 44) ==
Additional (1): fi-icl-u
Missing (3): fi-ilk-m540 fi-byt-squawks fi-bsw-cyan
== Build changes ==
* Linux: CI_DRM_5038 -> Patchwork_10590
CI_DRM_5038: 96ecfb04d5acfcc565068c09afd6d0d713b2ddef @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_4695: 81b66cf2806d6a8e9516580fb31879677487d32b @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_10590: 4959d3f659f5c6f328e09c7778b6b3001628591e @ git://anongit.freedesktop.org/gfx-ci/linux
== Linux commits ==
4959d3f659f5 drm/i915: Do not program aux plane offsets on gen11+
873d35bb5c58 drm/i915: Add function to check for linear surfaces
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_10590/issues.html
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 8+ messages in thread
* ✗ Fi.CI.IGT: failure for series starting with [v2,1/2] drm/i915: Add function to check for linear surfaces (rev2)
2018-10-25 21:32 [PATCH 1/2] drm/i915: Add function to check for linear surfaces Dhinakaran Pandiyan
` (3 preceding siblings ...)
2018-10-26 0:17 ` ✓ Fi.CI.BAT: success for series starting with [v2,1/2] drm/i915: Add function to check for linear surfaces (rev2) Patchwork
@ 2018-10-26 7:21 ` Patchwork
4 siblings, 0 replies; 8+ messages in thread
From: Patchwork @ 2018-10-26 7:21 UTC (permalink / raw)
To: Dhinakaran Pandiyan; +Cc: intel-gfx
== Series Details ==
Series: series starting with [v2,1/2] drm/i915: Add function to check for linear surfaces (rev2)
URL : https://patchwork.freedesktop.org/series/51550/
State : failure
== Summary ==
= CI Bug Log - changes from CI_DRM_5038_full -> Patchwork_10590_full =
== Summary - FAILURE ==
Serious unknown changes coming with Patchwork_10590_full absolutely need to be
verified manually.
If you think the reported changes have nothing to do with the changes
introduced in Patchwork_10590_full, please notify your bug team to allow them
to document this new failure mode, which will reduce false positives in CI.
== Possible new issues ==
Here are the unknown changes that may have been introduced in Patchwork_10590_full:
=== IGT changes ===
==== Possible regressions ====
igt@gem_busy@close-race:
shard-skl: NOTRUN -> DMESG-FAIL
== Known issues ==
Here are the changes found in Patchwork_10590_full that come from known issues:
=== IGT changes ===
==== Issues hit ====
igt@gem_softpin@noreloc-s3:
shard-skl: NOTRUN -> INCOMPLETE (fdo#107773, fdo#104108)
igt@kms_atomic_transition@plane-all-modeset-transition:
shard-glk: PASS -> INCOMPLETE (k.org#198133, fdo#103359)
igt@kms_busy@extended-modeset-hang-newfb-with-reset-render-b:
shard-skl: NOTRUN -> DMESG-WARN (fdo#107956) +1
igt@kms_cursor_crc@cursor-128x128-random:
shard-apl: PASS -> FAIL (fdo#103232) +4
igt@kms_cursor_crc@cursor-64x64-sliding:
shard-glk: PASS -> FAIL (fdo#103232) +3
igt@kms_cursor_legacy@cursorb-vs-flipb-toggle:
shard-glk: PASS -> DMESG-WARN (fdo#106538, fdo#105763)
igt@kms_flip@2x-dpms-vs-vblank-race:
shard-hsw: PASS -> DMESG-FAIL (fdo#102614, fdo#103060)
igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-draw-blt:
shard-glk: PASS -> FAIL (fdo#103167)
igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-mmap-cpu:
shard-apl: PASS -> FAIL (fdo#103167)
igt@kms_frontbuffer_tracking@fbc-1p-rte:
shard-glk: PASS -> FAIL (fdo#105682, fdo#103167)
igt@kms_plane@plane-position-covered-pipe-a-planes:
shard-glk: PASS -> FAIL (fdo#103166)
shard-apl: PASS -> FAIL (fdo#103166)
igt@kms_plane_alpha_blend@pipe-b-alpha-opaque-fb:
shard-skl: NOTRUN -> FAIL (fdo#108145) +1
igt@kms_plane_alpha_blend@pipe-c-alpha-basic:
shard-skl: NOTRUN -> FAIL (fdo#108145, fdo#107815)
igt@kms_plane_alpha_blend@pipe-c-constant-alpha-max:
shard-glk: PASS -> FAIL (fdo#108145)
igt@kms_plane_alpha_blend@pipe-c-coverage-7efc:
shard-skl: NOTRUN -> FAIL (fdo#108146) +2
igt@perf@blocking:
shard-hsw: PASS -> FAIL (fdo#102252)
==== Possible fixes ====
igt@gem_busy@close-race:
shard-glk: DMESG-FAIL -> PASS
igt@kms_ccs@pipe-b-crc-sprite-planes-basic:
shard-glk: FAIL (fdo#108145) -> PASS
igt@kms_cursor_crc@cursor-64x21-onscreen:
shard-glk: FAIL (fdo#103232) -> PASS +2
igt@kms_frontbuffer_tracking@fbc-2p-primscrn-spr-indfb-draw-render:
shard-glk: FAIL (fdo#103167) -> PASS
igt@kms_frontbuffer_tracking@fbc-2p-rte:
shard-glk: FAIL (fdo#105682, fdo#103167) -> PASS
igt@kms_plane_multiple@atomic-pipe-b-tiling-y:
shard-glk: FAIL (fdo#103166) -> PASS +1
igt@kms_plane_multiple@atomic-pipe-c-tiling-yf:
shard-apl: FAIL (fdo#103166) -> PASS +1
igt@perf@polling:
shard-hsw: FAIL (fdo#102252) -> PASS
==== Warnings ====
igt@kms_cursor_crc@cursor-64x64-sliding:
shard-apl: FAIL (fdo#103232) -> DMESG-WARN (fdo#108549)
igt@kms_frontbuffer_tracking@fbc-1p-rte:
shard-apl: DMESG-FAIL (fdo#103167, fdo#108549) -> DMESG-WARN (fdo#108549)
fdo#102252 https://bugs.freedesktop.org/show_bug.cgi?id=102252
fdo#102614 https://bugs.freedesktop.org/show_bug.cgi?id=102614
fdo#103060 https://bugs.freedesktop.org/show_bug.cgi?id=103060
fdo#103166 https://bugs.freedesktop.org/show_bug.cgi?id=103166
fdo#103167 https://bugs.freedesktop.org/show_bug.cgi?id=103167
fdo#103232 https://bugs.freedesktop.org/show_bug.cgi?id=103232
fdo#103359 https://bugs.freedesktop.org/show_bug.cgi?id=103359
fdo#104108 https://bugs.freedesktop.org/show_bug.cgi?id=104108
fdo#105682 https://bugs.freedesktop.org/show_bug.cgi?id=105682
fdo#105763 https://bugs.freedesktop.org/show_bug.cgi?id=105763
fdo#106538 https://bugs.freedesktop.org/show_bug.cgi?id=106538
fdo#107773 https://bugs.freedesktop.org/show_bug.cgi?id=107773
fdo#107815 https://bugs.freedesktop.org/show_bug.cgi?id=107815
fdo#107956 https://bugs.freedesktop.org/show_bug.cgi?id=107956
fdo#108145 https://bugs.freedesktop.org/show_bug.cgi?id=108145
fdo#108146 https://bugs.freedesktop.org/show_bug.cgi?id=108146
fdo#108549 https://bugs.freedesktop.org/show_bug.cgi?id=108549
k.org#198133 https://bugzilla.kernel.org/show_bug.cgi?id=198133
== Participating hosts (6 -> 6) ==
No changes in participating hosts
== Build changes ==
* Linux: CI_DRM_5038 -> Patchwork_10590
CI_DRM_5038: 96ecfb04d5acfcc565068c09afd6d0d713b2ddef @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_4695: 81b66cf2806d6a8e9516580fb31879677487d32b @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_10590: 4959d3f659f5c6f328e09c7778b6b3001628591e @ 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_10590/shards.html
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH v2 1/2] drm/i915: Add function to check for linear surfaces
2018-10-25 23:10 ` [PATCH v2 1/2] " Dhinakaran Pandiyan
@ 2018-10-26 15:01 ` Ville Syrjälä
0 siblings, 0 replies; 8+ messages in thread
From: Ville Syrjälä @ 2018-10-26 15:01 UTC (permalink / raw)
To: Dhinakaran Pandiyan; +Cc: intel-gfx
On Thu, Oct 25, 2018 at 04:10:26PM -0700, Dhinakaran Pandiyan wrote:
> A framebuffer can comprise surfaces with distinct tiling formats,
> making checks against modifier alone insufficient. Make use of a
> function to identify a linear surface based on both modifier and color
> plane.
>
> v2: Typo fix
newline missing here
> Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
> Signed-off-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@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 fe045abb6472..25e5402efd52 100644
> --- a/drivers/gpu/drm/i915/intel_display.c
> +++ b/drivers/gpu/drm/i915/intel_display.c
> @@ -2205,6 +2205,11 @@ static u32 intel_adjust_tile_offset(int *x, int *y,
> return new_offset;
> }
>
> +static inline bool is_surface_linear(uint64_t modifier, int color_plane)
inline not needed. s/uint64_t/u64/
Otherwise
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
> +{
> + return modifier == DRM_FORMAT_MOD_LINEAR;
> +}
> +
> static u32 intel_adjust_aligned_offset(int *x, int *y,
> const struct drm_framebuffer *fb,
> int color_plane,
> @@ -2217,7 +2222,7 @@ static u32 intel_adjust_aligned_offset(int *x, int *y,
>
> WARN_ON(new_offset > old_offset);
>
> - if (fb->modifier != DRM_FORMAT_MOD_LINEAR) {
> + if (!is_surface_linear(fb->modifier, color_plane)) {
> unsigned int tile_size, tile_width, tile_height;
> unsigned int pitch_tiles;
>
> @@ -2281,14 +2286,13 @@ static u32 intel_compute_aligned_offset(struct drm_i915_private *dev_priv,
> unsigned int rotation,
> u32 alignment)
> {
> - uint64_t fb_modifier = fb->modifier;
> unsigned int cpp = fb->format->cpp[color_plane];
> u32 offset, offset_aligned;
>
> if (alignment)
> alignment--;
>
> - if (fb_modifier != DRM_FORMAT_MOD_LINEAR) {
> + if (!is_surface_linear(fb->modifier, color_plane)) {
> unsigned int tile_size, tile_width, tile_height;
> unsigned int tile_rows, tiles, pitch_tiles;
>
> @@ -2525,7 +2529,7 @@ intel_fill_fb_info(struct drm_i915_private *dev_priv,
> tile_size);
> offset /= tile_size;
>
> - if (fb->modifier != DRM_FORMAT_MOD_LINEAR) {
> + if (!is_surface_linear(fb->modifier, i)) {
> unsigned int tile_width, tile_height;
> unsigned int pitch_tiles;
> struct drm_rect r;
> --
> 2.14.1
--
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] 8+ messages in thread
* Re: [PATCH 2/2] drm/i915: Do not program aux plane offsets on gen11+
2018-10-25 21:32 ` [PATCH 2/2] drm/i915: Do not program aux plane offsets on gen11+ Dhinakaran Pandiyan
@ 2018-10-26 15:45 ` Ville Syrjälä
0 siblings, 0 replies; 8+ messages in thread
From: Ville Syrjälä @ 2018-10-26 15:45 UTC (permalink / raw)
To: Dhinakaran Pandiyan; +Cc: intel-gfx
On Thu, Oct 25, 2018 at 02:32:44PM -0700, Dhinakaran Pandiyan wrote:
> The PLANE_AUX_OFFSET mmio does not exist on ICL, do not program it. We'll
> still calculate the aux offset as it is required for adjusing x-y offsets.
Ah yes. CCS doesn't have its own offsets, and with NV12 using another
plane's main surface AUX_OFFSET was no longer needed.
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
>
> Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
> Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
> Signed-off-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
> ---
> drivers/gpu/drm/i915/intel_sprite.c | 8 +++++---
> 1 file changed, 5 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/gpu/drm/i915/intel_sprite.c b/drivers/gpu/drm/i915/intel_sprite.c
> index cfaddc05fea6..a27d6f67c7c5 100644
> --- a/drivers/gpu/drm/i915/intel_sprite.c
> +++ b/drivers/gpu/drm/i915/intel_sprite.c
> @@ -414,9 +414,11 @@ skl_program_plane(struct intel_plane *plane,
> I915_WRITE_FW(PLANE_SIZE(pipe, plane_id), (src_h << 16) | src_w);
> I915_WRITE_FW(PLANE_AUX_DIST(pipe, plane_id),
> (plane_state->color_plane[1].offset - surf_addr) | aux_stride);
> - I915_WRITE_FW(PLANE_AUX_OFFSET(pipe, plane_id),
> - (plane_state->color_plane[1].y << 16) |
> - plane_state->color_plane[1].x);
> +
> + if (INTEL_GEN(dev_priv) < 11)
> + I915_WRITE_FW(PLANE_AUX_OFFSET(pipe, plane_id),
> + (plane_state->color_plane[1].y << 16) |
> + plane_state->color_plane[1].x);
>
> if (icl_is_hdr_plane(plane)) {
> u32 cus_ctl = 0;
> --
> 2.14.1
--
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] 8+ messages in thread
end of thread, other threads:[~2018-10-26 15:45 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-25 21:32 [PATCH 1/2] drm/i915: Add function to check for linear surfaces Dhinakaran Pandiyan
2018-10-25 21:32 ` [PATCH 2/2] drm/i915: Do not program aux plane offsets on gen11+ Dhinakaran Pandiyan
2018-10-26 15:45 ` Ville Syrjälä
2018-10-25 22:45 ` ✗ Fi.CI.BAT: failure for series starting with [1/2] drm/i915: Add function to check for linear surfaces Patchwork
2018-10-25 23:10 ` [PATCH v2 1/2] " Dhinakaran Pandiyan
2018-10-26 15:01 ` Ville Syrjälä
2018-10-26 0:17 ` ✓ Fi.CI.BAT: success for series starting with [v2,1/2] drm/i915: Add function to check for linear surfaces (rev2) Patchwork
2018-10-26 7:21 ` ✗ Fi.CI.IGT: failure " Patchwork
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.