drm/i915/fbc: More multi-FBC refactoring
Subsystems (5)
v2 cover drm/i915/fbc: More multi-FBC refactoring
From: Ville Syrjälä <[email protected]>
A bit more prep work towards multiple FBC instances.
Main changes since v1:
- More intel_ namespace
- per-crtc debugfs files
- a few other review comments addressed
Ville Syrjälä (4):
drm/i915/fbc: Parametrize FBC register offsets drm/i915/fbc: Loop through FBC instances in various places drm/i915/fbc: Introduce device info fbc_mask drm/i915/fbc: Register per-crtc debugfs files
drivers/gpu/drm/i915/display/i9xx_plane.c | 2 +- drivers/gpu/drm/i915/display/intel_fbc.c | 254 +++++++++++------- drivers/gpu/drm/i915/display/intel_fbc.h | 6 + .../drm/i915/display/skl_universal_plane.c | 17 +- drivers/gpu/drm/i915/i915_drv.h | 5 +- drivers/gpu/drm/i915/i915_pci.c | 22 +- drivers/gpu/drm/i915/i915_reg.h | 34 +-- drivers/gpu/drm/i915/intel_device_info.c | 4 +- drivers/gpu/drm/i915/intel_device_info.h | 2 +- drivers/gpu/drm/i915/intel_pm.c | 31 ++- 10 files changed, 223 insertions(+), 154 deletions(-)
Signature · 1 line
2.32.0
PATCH v2 1/4 drm/i915/fbc: Parametrize FBC register offsets
From: Ville Syrjälä <[email protected]>
Parametrize ilk+ FBC register offsets based on the FBC instance.
v2: More intel_ namespace (Jani)
--- drivers/gpu/drm/i915/display/intel_fbc.c | 34 +++++++++++++----------- drivers/gpu/drm/i915/display/intel_fbc.h | 6 +++++ drivers/gpu/drm/i915/i915_reg.h | 34 ++++++++++++------------ drivers/gpu/drm/i915/intel_pm.c | 31 ++++++++++++--------- 4 files changed, 60 insertions(+), 45 deletions(-)
drivers/gpu/drm/i915/display/intel_fbc.c +19 -15
@@ -85,6 +85,8 @@ struct intel_fbc {struct drm_mm_node compressed_fb;struct drm_mm_node compressed_llb; +enum intel_fbc_id id; +u8 limit;bool false_color;
@@ -454,10 +456,10 @@ static void ilk_fbc_activate(struct intel_fbc *fbc)struct intel_fbc_state *fbc_state = &fbc->state;struct drm_i915_private *i915 = fbc->i915; -intel_de_write (i915,ILK_DPFC_FENCE_YOFF , +intel_de_write (i915,ILK_DPFC_FENCE_YOFF (fbc->id), fbc_state->fence_y_offset); -intel_de_write (i915,ILK_DPFC_CONTROL , +intel_de_write (i915,ILK_DPFC_CONTROL (fbc->id),DPFC_CTL_EN |g4x_dpfc_ctl (fbc)); }
@@ -467,28 +469,28 @@ static void ilk_fbc_deactivate(struct intel_fbc *fbc)u32 dpfc_ctl;/* Disable compression */ - dpfc_ctl =intel_de_read (i915,ILK_DPFC_CONTROL ); + dpfc_ctl =intel_de_read (i915,ILK_DPFC_CONTROL (fbc->id));if (dpfc_ctl &DPFC_CTL_EN ) { dpfc_ctl &= ~DPFC_CTL_EN ; -intel_de_write (i915,ILK_DPFC_CONTROL , dpfc_ctl); +intel_de_write (i915,ILK_DPFC_CONTROL (fbc->id), dpfc_ctl); } }static bool ilk_fbc_is_active (struct intel_fbc *fbc) { -return intel_de_read (fbc->i915,ILK_DPFC_CONTROL ) &DPFC_CTL_EN ; +return intel_de_read (fbc->i915,ILK_DPFC_CONTROL (fbc->id)) &DPFC_CTL_EN ; }static bool ilk_fbc_is_compressing (struct intel_fbc *fbc) { -return intel_de_read (fbc->i915,ILK_DPFC_STATUS ) &DPFC_COMP_SEG_MASK ; +return intel_de_read (fbc->i915,ILK_DPFC_STATUS (fbc->id)) &DPFC_COMP_SEG_MASK ; }static void ilk_fbc_program_cfb (struct intel_fbc *fbc) {struct drm_i915_private *i915 = fbc->i915; -intel_de_write (i915,ILK_DPFC_CB_BASE , fbc->compressed_fb.start); +intel_de_write (i915,ILK_DPFC_CB_BASE (fbc->id), fbc->compressed_fb.start); }static const struct intel_fbc_funcs ilk_fbc_funcs = {
@@ -524,8 +526,8 @@ static void snb_fbc_nuke(struct intel_fbc *fbc) {struct drm_i915_private *i915 = fbc->i915; -intel_de_write (i915,MSG_FBC_REND_STATE ,FBC_REND_NUKE ); -intel_de_posting_read (i915,MSG_FBC_REND_STATE ); +intel_de_write (i915,MSG_FBC_REND_STATE (fbc->id),FBC_REND_NUKE ); +intel_de_posting_read (i915,MSG_FBC_REND_STATE (fbc->id)); }static const struct intel_fbc_funcs snb_fbc_funcs = {
@@ -547,7 +549,7 @@ static void glk_fbc_program_cfb_stride(struct intel_fbc *fbc) val |=FBC_STRIDE_OVERRIDE |FBC_STRIDE (fbc_state->override_cfb_stride / fbc->limit); -intel_de_write (i915,GLK_FBC_STRIDE , val); +intel_de_write (i915,GLK_FBC_STRIDE (fbc->id), val); }static void skl_fbc_program_cfb_stride (struct intel_fbc *fbc)
@@ -598,19 +600,19 @@ static void ivb_fbc_activate(struct intel_fbc *fbc)if (i915->ggtt.num_fences)snb_fbc_program_fence (fbc); -intel_de_write (i915,ILK_DPFC_CONTROL , +intel_de_write (i915,ILK_DPFC_CONTROL (fbc->id),DPFC_CTL_EN |ivb_dpfc_ctl (fbc)); }static bool ivb_fbc_is_compressing (struct intel_fbc *fbc) { -return intel_de_read (fbc->i915,ILK_DPFC_STATUS2 ) &DPFC_COMP_SEG_MASK_IVB ; +return intel_de_read (fbc->i915,ILK_DPFC_STATUS2 (fbc->id)) &DPFC_COMP_SEG_MASK_IVB ; }static void ivb_fbc_set_false_color (struct intel_fbc *fbc,bool enable) { -intel_de_rmw (fbc->i915,ILK_DPFC_CONTROL , +intel_de_rmw (fbc->i915,ILK_DPFC_CONTROL (fbc->id),DPFC_CTL_FALSE_COLOR , enable ?DPFC_CTL_FALSE_COLOR :0 ); }
@@ -1620,7 +1622,8 @@ void intel_fbc_add_plane(struct intel_fbc *fbc, struct intel_plane *plane) fbc->possible_framebuffer_bits |= plane->frontbuffer_bit; } -static struct intel_fbc *intel_fbc_create (struct drm_i915_private *i915) +static struct intel_fbc *intel_fbc_create (struct drm_i915_private *i915, +enum intel_fbc_id fbc_id) {struct intel_fbc *fbc;
@@ -1628,6 +1631,7 @@ static struct intel_fbc *intel_fbc_create(struct drm_i915_private *i915)if (!fbc)return NULL ; + fbc->id = fbc_id; fbc->i915 = i915;INIT_WORK (&fbc->underrun_work, intel_fbc_underrun_work_fn);mutex_init (&fbc->lock);
@@ -1671,7 +1675,7 @@ void intel_fbc_init(struct drm_i915_private *i915)if (!HAS_FBC (i915))return ; - fbc =intel_fbc_create (i915); + fbc =intel_fbc_create (i915,INTEL_FBC_A );if (!fbc)return ;
drivers/gpu/drm/i915/display/intel_fbc.h +6 -0
@@ -17,6 +17,12 @@ struct intel_fbc;struct intel_plane ;struct intel_plane_state ; +enum intel_fbc_id { +INTEL_FBC_A , + +I915_MAX_FBCS , +}; +int intel_fbc_atomic_check (struct intel_atomic_state *state);bool intel_fbc_pre_update (struct intel_atomic_state *state,struct intel_crtc *crtc);
drivers/gpu/drm/i915/i915_reg.h +17 -17
@@ -3386,10 +3386,10 @@ static inline bool i915_mmio_reg_valid(i915_reg_t reg)#define FBC_LL_SIZE (1536)/* Framebuffer compression for GM45+ */ -#define DPFC_CB_BASE _MMIO(0x3200) -#define ILK_DPFC_CB_BASE _MMIO(0x43200) -#define DPFC_CONTROL _MMIO(0x3208) -#define ILK_DPFC_CONTROL _MMIO(0x43208) +#define DPFC_CB_BASE _MMIO(0x3200) +#define ILK_DPFC_CB_BASE (fbc_id) _MMIO_PIPE((fbc_id), 0x43200, 0x43240) +#define DPFC_CONTROL _MMIO(0x3208) +#define ILK_DPFC_CONTROL (fbc_id) _MMIO_PIPE((fbc_id), 0x43208, 0x43248)#define DPFC_CTL_EN REG_BIT(31)#define DPFC_CTL_PLANE_MASK_G4X REG_BIT(30)/* g4x-snb */ #define DPFC_CTL_PLANE_G4X (i9xx_plane) REG_FIELD_PREP(DPFC_CTL_PLANE_MASK_G4X, (i9xx_plane))
@@ -3407,28 +3407,28 @@ static inline bool i915_mmio_reg_valid(i915_reg_t reg)#define DPFC_CTL_LIMIT_4X REG_FIELD_PREP(DPFC_CTL_LIMIT_MASK, 2)#define DPFC_CTL_FENCENO_MASK REG_GENMASK(3, 0)#define DPFC_CTL_FENCENO (fence) REG_FIELD_PREP(DPFC_CTL_FENCENO_MASK, (fence)) -#define DPFC_RECOMP_CTL _MMIO(0x320c) -#define ILK_DPFC_RECOMP_CTL _MMIO(0x4320c) +#define DPFC_RECOMP_CTL _MMIO(0x320c) +#define ILK_DPFC_RECOMP_CTL (fbc_id) _MMIO_PIPE((fbc_id), 0x4320c, 0x4324c)#define DPFC_RECOMP_STALL_EN REG_BIT(27)#define DPFC_RECOMP_STALL_WM_MASK REG_GENMASK(26, 16)#define DPFC_RECOMP_TIMER_COUNT_MASK REG_GENMASK(5, 0) -#define DPFC_STATUS _MMIO(0x3210) -#define ILK_DPFC_STATUS _MMIO(0x43210) +#define DPFC_STATUS _MMIO(0x3210) +#define ILK_DPFC_STATUS (fbc_id) _MMIO_PIPE((fbc_id), 0x43210, 0x43250)#define DPFC_INVAL_SEG_MASK REG_GENMASK(26, 16)#define DPFC_COMP_SEG_MASK REG_GENMASK(10, 0) -#define DPFC_STATUS2 _MMIO(0x3214) -#define ILK_DPFC_STATUS2 _MMIO(0x43214) +#define DPFC_STATUS2 _MMIO(0x3214) +#define ILK_DPFC_STATUS2 (fbc_id) _MMIO_PIPE((fbc_id), 0x43214, 0x43254)#define DPFC_COMP_SEG_MASK_IVB REG_GENMASK(11, 0) -#define DPFC_FENCE_YOFF _MMIO(0x3218) -#define ILK_DPFC_FENCE_YOFF _MMIO(0x43218) -#define DPFC_CHICKEN _MMIO(0x3224) -#define ILK_DPFC_CHICKEN _MMIO(0x43224) +#define DPFC_FENCE_YOFF _MMIO(0x3218) +#define ILK_DPFC_FENCE_YOFF (fbc_id) _MMIO_PIPE((fbc_id), 0x43218, 0x43258) +#define DPFC_CHICKEN _MMIO(0x3224) +#define ILK_DPFC_CHICKEN (fbc_id) _MMIO_PIPE((fbc_id), 0x43224, 0x43264)#define DPFC_HT_MODIFY REG_BIT(31)/* pre-ivb */ #define DPFC_NUKE_ON_ANY_MODIFICATION REG_BIT(23)/* bdw+ */ #define DPFC_CHICKEN_COMP_DUMMY_PIXEL REG_BIT(14)/* glk+ */ #define DPFC_DISABLE_DUMMY0 REG_BIT(8)/* ivb+ */ -#define GLK_FBC_STRIDE _MMIO(0x43228) +#define GLK_FBC_STRIDE (fbc_id) _MMIO_PIPE((fbc_id), 0x43228, 0x43268)#define FBC_STRIDE_OVERRIDE REG_BIT(15)#define FBC_STRIDE_MASK REG_GENMASK(14, 0)#define FBC_STRIDE (x) REG_FIELD_PREP(FBC_STRIDE_MASK, (x))
@@ -3471,9 +3471,9 @@ static inline bool i915_mmio_reg_valid(i915_reg_t reg)#define IPS_CTL _MMIO(0x43408)#define IPS_ENABLE (1 << 31) -#define MSG_FBC_REND_STATE _MMIO(0x50380) +#define MSG_FBC_REND_STATE (fbc_id) _MMIO_PIPE((fbc_id), 0x50380, 0x50384)#define FBC_REND_NUKE REG_BIT(2) -#define FBC_REND_CACHE_CLEAN REG_BIT(1) +#define FBC_REND_CACHE_CLEAN REG_BIT(1)/* * GPIO regs
drivers/gpu/drm/i915/intel_pm.c +18 -13
@@ -160,8 +160,9 @@ static void bxt_init_clock_gating(struct drm_i915_private *dev_priv)* WaFbcHighMemBwCorruptionAvoidance:bxt * Display WA #0883: bxt */ -intel_uncore_write (&dev_priv->uncore,ILK_DPFC_CHICKEN ,intel_uncore_read (&dev_priv->uncore,ILK_DPFC_CHICKEN ) | -DPFC_DISABLE_DUMMY0 ); +intel_uncore_write (&dev_priv->uncore,ILK_DPFC_CHICKEN (INTEL_FBC_A ), +intel_uncore_read (&dev_priv->uncore,ILK_DPFC_CHICKEN (INTEL_FBC_A )) | +DPFC_DISABLE_DUMMY0 ); }static void glk_init_clock_gating (struct drm_i915_private *dev_priv)
@@ -7451,8 +7452,8 @@ static void gen8_set_l3sqc_credits(struct drm_i915_private *dev_priv,static void icl_init_clock_gating (struct drm_i915_private *dev_priv) {/* Wa_1409120013:icl,ehl */ -intel_uncore_write (&dev_priv->uncore,ILK_DPFC_CHICKEN , -DPFC_CHICKEN_COMP_DUMMY_PIXEL ); +intel_uncore_write (&dev_priv->uncore,ILK_DPFC_CHICKEN (INTEL_FBC_A ), +DPFC_CHICKEN_COMP_DUMMY_PIXEL );/*Wa_14010594013:icl, ehl */ intel_uncore_rmw(&dev_priv->uncore, GEN8_CHICKEN_DCPR_1,
@@ -7464,7 +7465,7 @@ static void gen12lp_init_clock_gating(struct drm_i915_private *dev_priv)/* Wa_1409120013:tgl,rkl,adl-s,dg1,dg2 */ if (IS_TIGERLAKE (dev_priv) ||IS_ROCKETLAKE (dev_priv) ||IS_ALDERLAKE_S (dev_priv) ||IS_DG1 (dev_priv) ||IS_DG2 (dev_priv)) -intel_uncore_write (&dev_priv->uncore,ILK_DPFC_CHICKEN , +intel_uncore_write (&dev_priv->uncore,ILK_DPFC_CHICKEN (INTEL_FBC_A ),DPFC_CHICKEN_COMP_DUMMY_PIXEL );/* Wa_1409825376:tgl (pre-prod)*/
@@ -7549,8 +7550,9 @@ static void cfl_init_clock_gating(struct drm_i915_private *dev_priv)* WaFbcNukeOnHostModify:cfl * Display WA #0873: cfl */ -intel_uncore_write (&dev_priv->uncore,ILK_DPFC_CHICKEN ,intel_uncore_read (&dev_priv->uncore,ILK_DPFC_CHICKEN ) | -DPFC_NUKE_ON_ANY_MODIFICATION ); +intel_uncore_write (&dev_priv->uncore,ILK_DPFC_CHICKEN (INTEL_FBC_A ), +intel_uncore_read (&dev_priv->uncore,ILK_DPFC_CHICKEN (INTEL_FBC_A )) | +DPFC_NUKE_ON_ANY_MODIFICATION ); }static void kbl_init_clock_gating (struct drm_i915_private *dev_priv)
@@ -7582,8 +7584,9 @@ static void kbl_init_clock_gating(struct drm_i915_private *dev_priv)* WaFbcNukeOnHostModify:kbl * Display WA #0873: kbl */ -intel_uncore_write (&dev_priv->uncore,ILK_DPFC_CHICKEN ,intel_uncore_read (&dev_priv->uncore,ILK_DPFC_CHICKEN ) | -DPFC_NUKE_ON_ANY_MODIFICATION ); +intel_uncore_write (&dev_priv->uncore,ILK_DPFC_CHICKEN (INTEL_FBC_A ), +intel_uncore_read (&dev_priv->uncore,ILK_DPFC_CHICKEN (INTEL_FBC_A )) | +DPFC_NUKE_ON_ANY_MODIFICATION ); }static void skl_init_clock_gating (struct drm_i915_private *dev_priv)
@@ -7609,15 +7612,17 @@ static void skl_init_clock_gating(struct drm_i915_private *dev_priv)* WaFbcNukeOnHostModify:skl * Display WA #0873: skl */ -intel_uncore_write (&dev_priv->uncore,ILK_DPFC_CHICKEN ,intel_uncore_read (&dev_priv->uncore,ILK_DPFC_CHICKEN ) | -DPFC_NUKE_ON_ANY_MODIFICATION ); +intel_uncore_write (&dev_priv->uncore,ILK_DPFC_CHICKEN (INTEL_FBC_A ), +intel_uncore_read (&dev_priv->uncore,ILK_DPFC_CHICKEN (INTEL_FBC_A )) | +DPFC_NUKE_ON_ANY_MODIFICATION );/* * WaFbcHighMemBwCorruptionAvoidance:skl * Display WA #0883: skl */ -intel_uncore_write (&dev_priv->uncore,ILK_DPFC_CHICKEN ,intel_uncore_read (&dev_priv->uncore,ILK_DPFC_CHICKEN ) | -DPFC_DISABLE_DUMMY0 ); +intel_uncore_write (&dev_priv->uncore,ILK_DPFC_CHICKEN (INTEL_FBC_A ), +intel_uncore_read (&dev_priv->uncore,ILK_DPFC_CHICKEN (INTEL_FBC_A )) | +DPFC_DISABLE_DUMMY0 ); }static void bdw_init_clock_gating (struct drm_i915_private *dev_priv)
Signature · 1 line
2.32.0
Re: [Intel-gfx] [PATCH v2 1/4] drm/i915/fbc: Parametrize FBC register offsets
Quoted 8 lines · Ville Syrjala
From: Ville Syrjälä <[email protected]>
Parametrize ilk+ FBC register offsets based on the FBC instance.
v2: More
intel_namespace (Jani)Cc Jani Nikula <[email protected]>Signed-off-by Ville Syrjälä <[email protected]>
Some questions below, apart from that,
Quoted 174 lines
--- drivers/gpu/drm/i915/display/intel_fbc.c | 34 +++++++++++++----------- drivers/gpu/drm/i915/display/intel_fbc.h | 6 +++++ drivers/gpu/drm/i915/i915_reg.h | 34 ++++++++++++------------ drivers/gpu/drm/i915/intel_pm.c | 31 ++++++++++++--------- 4 files changed, 60 insertions(+), 45 deletions(-)drivers/gpu/drm/i915/display/intel_fbc.c +19
-15@@ -85,6 +85,8 @@ struct intel_fbc {struct drm_mm_node compressed_fb;struct drm_mm_node compressed_llb; +enum intel_fbc_id id; +u8 limit;bool false_color;@@ -454,10 +456,10 @@ static void ilk_fbc_activate(struct intel_fbc *fbc)struct intel_fbc_state *fbc_state = &fbc->state;struct drm_i915_private *i915 = fbc->i915; -intel_de_write (i915,ILK_DPFC_FENCE_YOFF , +intel_de_write (i915,ILK_DPFC_FENCE_YOFF (fbc->id), fbc_state->fence_y_offset); -intel_de_write (i915,ILK_DPFC_CONTROL , +intel_de_write (i915,ILK_DPFC_CONTROL (fbc->id),DPFC_CTL_EN |g4x_dpfc_ctl (fbc)); }@@ -467,28 +469,28 @@ static void ilk_fbc_deactivate(struct intel_fbc *fbc)u32 dpfc_ctl;/* Disable compression */ - dpfc_ctl =intel_de_read (i915,ILK_DPFC_CONTROL ); + dpfc_ctl =intel_de_read (i915,ILK_DPFC_CONTROL (fbc->id));if (dpfc_ctl &DPFC_CTL_EN ) { dpfc_ctl &= ~DPFC_CTL_EN ; -intel_de_write (i915,ILK_DPFC_CONTROL , dpfc_ctl); +intel_de_write (i915,ILK_DPFC_CONTROL (fbc->id), dpfc_ctl); } }static bool ilk_fbc_is_active (struct intel_fbc *fbc) { -return intel_de_read (fbc->i915,ILK_DPFC_CONTROL ) &DPFC_CTL_EN ; +return intel_de_read (fbc->i915,ILK_DPFC_CONTROL (fbc->id)) &DPFC_CTL_EN ; }static bool ilk_fbc_is_compressing (struct intel_fbc *fbc) { -return intel_de_read (fbc->i915,ILK_DPFC_STATUS ) &DPFC_COMP_SEG_MASK ; +return intel_de_read (fbc->i915,ILK_DPFC_STATUS (fbc->id)) &DPFC_COMP_SEG_MASK ; }static void ilk_fbc_program_cfb (struct intel_fbc *fbc) {struct drm_i915_private *i915 = fbc->i915; -intel_de_write (i915,ILK_DPFC_CB_BASE , fbc->compressed_fb.start); +intel_de_write (i915,ILK_DPFC_CB_BASE (fbc->id), fbc->compressed_fb.start); }static const struct intel_fbc_funcs ilk_fbc_funcs = {@@ -524,8 +526,8 @@ static void snb_fbc_nuke(struct intel_fbc *fbc) {struct drm_i915_private *i915 = fbc->i915; -intel_de_write (i915,MSG_FBC_REND_STATE ,FBC_REND_NUKE ); -intel_de_posting_read (i915,MSG_FBC_REND_STATE ); +intel_de_write (i915,MSG_FBC_REND_STATE (fbc->id),FBC_REND_NUKE ); +intel_de_posting_read (i915,MSG_FBC_REND_STATE (fbc->id)); }static const struct intel_fbc_funcs snb_fbc_funcs = {@@ -547,7 +549,7 @@ static void glk_fbc_program_cfb_stride(struct intel_fbc *fbc) val |=FBC_STRIDE_OVERRIDE |FBC_STRIDE (fbc_state->override_cfb_stride / fbc->limit); -intel_de_write (i915,GLK_FBC_STRIDE , val); +intel_de_write (i915,GLK_FBC_STRIDE (fbc->id), val); }static void skl_fbc_program_cfb_stride (struct intel_fbc *fbc)@@ -598,19 +600,19 @@ static void ivb_fbc_activate(struct intel_fbc *fbc)if (i915->ggtt.num_fences)snb_fbc_program_fence (fbc); -intel_de_write (i915,ILK_DPFC_CONTROL , +intel_de_write (i915,ILK_DPFC_CONTROL (fbc->id),DPFC_CTL_EN |ivb_dpfc_ctl (fbc)); }static bool ivb_fbc_is_compressing (struct intel_fbc *fbc) { -return intel_de_read (fbc->i915,ILK_DPFC_STATUS2 ) &DPFC_COMP_SEG_MASK_IVB ; +return intel_de_read (fbc->i915,ILK_DPFC_STATUS2 (fbc->id)) &DPFC_COMP_SEG_MASK_IVB ; }static void ivb_fbc_set_false_color (struct intel_fbc *fbc,bool enable) { -intel_de_rmw (fbc->i915,ILK_DPFC_CONTROL , +intel_de_rmw (fbc->i915,ILK_DPFC_CONTROL (fbc->id),DPFC_CTL_FALSE_COLOR , enable ?DPFC_CTL_FALSE_COLOR :0 ); }@@ -1620,7 +1622,8 @@ void intel_fbc_add_plane(struct intel_fbc *fbc, struct intel_plane *plane) fbc->possible_framebuffer_bits |= plane->frontbuffer_bit; } -static struct intel_fbc *intel_fbc_create (struct drm_i915_private *i915) +static struct intel_fbc *intel_fbc_create (struct drm_i915_private *i915, +enum intel_fbc_id fbc_id) {struct intel_fbc *fbc;@@ -1628,6 +1631,7 @@ static struct intel_fbc *intel_fbc_create(struct drm_i915_private *i915)if (!fbc)return NULL ; + fbc->id = fbc_id; fbc->i915 = i915;INIT_WORK (&fbc->underrun_work, intel_fbc_underrun_work_fn);mutex_init (&fbc->lock);@@ -1671,7 +1675,7 @@ void intel_fbc_init(struct drm_i915_private *i915)if (!HAS_FBC (i915))return ; - fbc =intel_fbc_create (i915); + fbc =intel_fbc_create (i915,INTEL_FBC_A );if (!fbc)return ;drivers/gpu/drm/i915/display/intel_fbc.h +6
-0@@ -17,6 +17,12 @@ struct intel_fbc;struct intel_plane ;struct intel_plane_state ; +enum intel_fbc_id { +INTEL_FBC_A , + +I915_MAX_FBCS , +}; +int intel_fbc_atomic_check (struct intel_atomic_state *state);bool intel_fbc_pre_update (struct intel_atomic_state *state,struct intel_crtc *crtc);drivers/gpu/drm/i915/i915_reg.h +4
-4@@ -3386,10 +3386,10 @@ static inline bool i915_mmio_reg_valid(i915_reg_t reg)#define FBC_LL_SIZE (1536)/* Framebuffer compression for GM45+ */ -#define DPFC_CB_BASE _MMIO(0x3200) -#define ILK_DPFC_CB_BASE _MMIO(0x43200) -#define DPFC_CONTROL _MMIO(0x3208) -#define ILK_DPFC_CONTROL _MMIO(0x43208) +#define DPFC_CB_BASE _MMIO(0x3200) +#define ILK_DPFC_CB_BASE (fbc_id) _MMIO_PIPE((fbc_id), 0x43200, 0x43240) +#define DPFC_CONTROL _MMIO(0x3208) +#define ILK_DPFC_CONTROL (fbc_id) _MMIO_PIPE((fbc_id), 0x43208, 0x43248)#define DPFC_CTL_EN REG_BIT(31)#define DPFC_CTL_PLANE_MASK_G4X REG_BIT(30)/* g4x-snb */ #define DPFC_CTL_PLANE_G4X (i9xx_plane) REG_FIELD_PREP(DPFC_CTL_PLANE_MASK_G4X, (i9xx_plane))
drivers/gpu/drm/i915/i915_reg.h static inline bool i915_mmio_reg_valid(i915_reg_t reg) · line 3411
Quoted 7 lines
drivers/gpu/drm/i915/i915_reg.h +2
-2@@ -3407,28 +3407,28 @@ static inline bool i915_mmio_reg_valid(i915_reg_t reg)#define DPFC_CTL_LIMIT_4X REG_FIELD_PREP(DPFC_CTL_LIMIT_MASK, 2)#define DPFC_CTL_FENCENO_MASK REG_GENMASK(3, 0)#define DPFC_CTL_FENCENO (fence) REG_FIELD_PREP(DPFC_CTL_FENCENO_MASK, (fence)) -#define DPFC_RECOMP_CTL _MMIO(0x320c) -#define ILK_DPFC_RECOMP_CTL _MMIO(0x4320c) +#define DPFC_RECOMP_CTL _MMIO(0x320c) +#define ILK_DPFC_RECOMP_CTL (fbc_id) _MMIO_PIPE((fbc_id), 0x4320c, 0x4324c)
This is display 5 and 6 only, right? Will there be a register instance for fbc_id > INTEL_FBC_A? Or is the parametrization just for completeness?
This one is only used in gvt, anyway. And that actually makes me wonder if this should be breaking the build. Does CI not have gvt enabled?
drivers/gpu/drm/i915/i915_reg.h static inline bool i915_mmio_reg_valid(i915_reg_t reg) · line 3416
Quoted 7 lines
drivers/gpu/drm/i915/i915_reg.h +2
-2#define DPFC_RECOMP_STALL_EN REG_BIT(27)#define DPFC_RECOMP_STALL_WM_MASK REG_GENMASK(26, 16)#define DPFC_RECOMP_TIMER_COUNT_MASK REG_GENMASK(5, 0) -#define DPFC_STATUS _MMIO(0x3210) -#define ILK_DPFC_STATUS _MMIO(0x43210) +#define DPFC_STATUS _MMIO(0x3210) +#define ILK_DPFC_STATUS (fbc_id) _MMIO_PIPE((fbc_id), 0x43210, 0x43250)
Ditto, apart from the gvt part.
drivers/gpu/drm/i915/i915_reg.h static inline bool i915_mmio_reg_valid(i915_reg_t reg) · line 3423
Quoted 13 lines
drivers/gpu/drm/i915/i915_reg.h +4
-6#define DPFC_INVAL_SEG_MASK REG_GENMASK(26, 16)#define DPFC_COMP_SEG_MASK REG_GENMASK(10, 0) -#define DPFC_STATUS2 _MMIO(0x3214) -#define ILK_DPFC_STATUS2 _MMIO(0x43214) +#define DPFC_STATUS2 _MMIO(0x3214) +#define ILK_DPFC_STATUS2 (fbc_id) _MMIO_PIPE((fbc_id), 0x43214, 0x43254)#define DPFC_COMP_SEG_MASK_IVB REG_GENMASK(11, 0) -#define DPFC_FENCE_YOFF _MMIO(0x3218) -#define ILK_DPFC_FENCE_YOFF _MMIO(0x43218) -#define DPFC_CHICKEN _MMIO(0x3224) -#define ILK_DPFC_CHICKEN _MMIO(0x43224) +#define DPFC_FENCE_YOFF _MMIO(0x3218) +#define ILK_DPFC_FENCE_YOFF (fbc_id) _MMIO_PIPE((fbc_id), 0x43218, 0x43258)
Ditto.
BR,
Jani.
Quoted 106 lines
drivers/gpu/drm/i915/i915_reg.h +5
-3+#define DPFC_CHICKEN _MMIO(0x3224) +#define ILK_DPFC_CHICKEN (fbc_id) _MMIO_PIPE((fbc_id), 0x43224, 0x43264)#define DPFC_HT_MODIFY REG_BIT(31)/* pre-ivb */ #define DPFC_NUKE_ON_ANY_MODIFICATION REG_BIT(23)/* bdw+ */ #define DPFC_CHICKEN_COMP_DUMMY_PIXEL REG_BIT(14)/* glk+ */ #define DPFC_DISABLE_DUMMY0 REG_BIT(8)/* ivb+ */ -#define GLK_FBC_STRIDE _MMIO(0x43228) +#define GLK_FBC_STRIDE (fbc_id) _MMIO_PIPE((fbc_id), 0x43228, 0x43268)#define FBC_STRIDE_OVERRIDE REG_BIT(15)#define FBC_STRIDE_MASK REG_GENMASK(14, 0)#define FBC_STRIDE (x) REG_FIELD_PREP(FBC_STRIDE_MASK, (x))@@ -3471,9 +3471,9 @@ static inline bool i915_mmio_reg_valid(i915_reg_t reg)#define IPS_CTL _MMIO(0x43408)#define IPS_ENABLE (1 << 31) -#define MSG_FBC_REND_STATE _MMIO(0x50380) +#define MSG_FBC_REND_STATE (fbc_id) _MMIO_PIPE((fbc_id), 0x50380, 0x50384)#define FBC_REND_NUKE REG_BIT(2) -#define FBC_REND_CACHE_CLEAN REG_BIT(1) +#define FBC_REND_CACHE_CLEAN REG_BIT(1)/* * GPIO regs drivers/gpu/drm/i915/intel_pm.c +18
-13@@ -160,8 +160,9 @@ static void bxt_init_clock_gating(struct drm_i915_private *dev_priv)* WaFbcHighMemBwCorruptionAvoidance:bxt * Display WA #0883: bxt */ -intel_uncore_write (&dev_priv->uncore,ILK_DPFC_CHICKEN ,intel_uncore_read (&dev_priv->uncore,ILK_DPFC_CHICKEN ) | -DPFC_DISABLE_DUMMY0 ); +intel_uncore_write (&dev_priv->uncore,ILK_DPFC_CHICKEN (INTEL_FBC_A ), +intel_uncore_read (&dev_priv->uncore,ILK_DPFC_CHICKEN (INTEL_FBC_A )) | +DPFC_DISABLE_DUMMY0 ); }static void glk_init_clock_gating (struct drm_i915_private *dev_priv)@@ -7451,8 +7452,8 @@ static void gen8_set_l3sqc_credits(struct drm_i915_private *dev_priv,static void icl_init_clock_gating (struct drm_i915_private *dev_priv) {/* Wa_1409120013:icl,ehl */ -intel_uncore_write (&dev_priv->uncore,ILK_DPFC_CHICKEN , -DPFC_CHICKEN_COMP_DUMMY_PIXEL ); +intel_uncore_write (&dev_priv->uncore,ILK_DPFC_CHICKEN (INTEL_FBC_A ), +DPFC_CHICKEN_COMP_DUMMY_PIXEL );/*Wa_14010594013:icl, ehl */ intel_uncore_rmw(&dev_priv->uncore, GEN8_CHICKEN_DCPR_1,@@ -7464,7 +7465,7 @@ static void gen12lp_init_clock_gating(struct drm_i915_private *dev_priv)/* Wa_1409120013:tgl,rkl,adl-s,dg1,dg2 */ if (IS_TIGERLAKE (dev_priv) ||IS_ROCKETLAKE (dev_priv) ||IS_ALDERLAKE_S (dev_priv) ||IS_DG1 (dev_priv) ||IS_DG2 (dev_priv)) -intel_uncore_write (&dev_priv->uncore,ILK_DPFC_CHICKEN , +intel_uncore_write (&dev_priv->uncore,ILK_DPFC_CHICKEN (INTEL_FBC_A ),DPFC_CHICKEN_COMP_DUMMY_PIXEL );/* Wa_1409825376:tgl (pre-prod)*/ @@ -7549,8 +7550,9 @@ static void cfl_init_clock_gating(struct drm_i915_private *dev_priv)* WaFbcNukeOnHostModify:cfl * Display WA #0873: cfl */ -intel_uncore_write (&dev_priv->uncore,ILK_DPFC_CHICKEN ,intel_uncore_read (&dev_priv->uncore,ILK_DPFC_CHICKEN ) | -DPFC_NUKE_ON_ANY_MODIFICATION ); +intel_uncore_write (&dev_priv->uncore,ILK_DPFC_CHICKEN (INTEL_FBC_A ), +intel_uncore_read (&dev_priv->uncore,ILK_DPFC_CHICKEN (INTEL_FBC_A )) | +DPFC_NUKE_ON_ANY_MODIFICATION ); }static void kbl_init_clock_gating (struct drm_i915_private *dev_priv)@@ -7582,8 +7584,9 @@ static void kbl_init_clock_gating(struct drm_i915_private *dev_priv)* WaFbcNukeOnHostModify:kbl * Display WA #0873: kbl */ -intel_uncore_write (&dev_priv->uncore,ILK_DPFC_CHICKEN ,intel_uncore_read (&dev_priv->uncore,ILK_DPFC_CHICKEN ) | -DPFC_NUKE_ON_ANY_MODIFICATION ); +intel_uncore_write (&dev_priv->uncore,ILK_DPFC_CHICKEN (INTEL_FBC_A ), +intel_uncore_read (&dev_priv->uncore,ILK_DPFC_CHICKEN (INTEL_FBC_A )) | +DPFC_NUKE_ON_ANY_MODIFICATION ); }static void skl_init_clock_gating (struct drm_i915_private *dev_priv)@@ -7609,15 +7612,17 @@ static void skl_init_clock_gating(struct drm_i915_private *dev_priv)* WaFbcNukeOnHostModify:skl * Display WA #0873: skl */ -intel_uncore_write (&dev_priv->uncore,ILK_DPFC_CHICKEN ,intel_uncore_read (&dev_priv->uncore,ILK_DPFC_CHICKEN ) | -DPFC_NUKE_ON_ANY_MODIFICATION ); +intel_uncore_write (&dev_priv->uncore,ILK_DPFC_CHICKEN (INTEL_FBC_A ), +intel_uncore_read (&dev_priv->uncore,ILK_DPFC_CHICKEN (INTEL_FBC_A )) | +DPFC_NUKE_ON_ANY_MODIFICATION );/* * WaFbcHighMemBwCorruptionAvoidance:skl * Display WA #0883: skl */ -intel_uncore_write (&dev_priv->uncore,ILK_DPFC_CHICKEN ,intel_uncore_read (&dev_priv->uncore,ILK_DPFC_CHICKEN ) | -DPFC_DISABLE_DUMMY0 ); +intel_uncore_write (&dev_priv->uncore,ILK_DPFC_CHICKEN (INTEL_FBC_A ), +intel_uncore_read (&dev_priv->uncore,ILK_DPFC_CHICKEN (INTEL_FBC_A )) | +DPFC_DISABLE_DUMMY0 ); }static void bdw_init_clock_gating (struct drm_i915_private *dev_priv)
Signature · 1 line
Jani Nikula, Intel Open Source Graphics Center
Re: [Intel-gfx] [PATCH v2 1/4] drm/i915/fbc: Parametrize FBC register offsets
Quoted 189 lines · Jani Nikula
Quoted 8 lines · Ville Syrjala
From: Ville Syrjälä <[email protected]>
Parametrize ilk+ FBC register offsets based on the FBC instance.
v2: More
intel_namespace (Jani)Cc Jani Nikula <[email protected]>Signed-off-by Ville Syrjälä <[email protected]>Some questions below, apart from that,
Reviewed-by Jani Nikula <[email protected]>Quoted 175 lines
--- drivers/gpu/drm/i915/display/intel_fbc.c | 34 +++++++++++++----------- drivers/gpu/drm/i915/display/intel_fbc.h | 6 +++++ drivers/gpu/drm/i915/i915_reg.h | 34 ++++++++++++------------ drivers/gpu/drm/i915/intel_pm.c | 31 ++++++++++++--------- 4 files changed, 60 insertions(+), 45 deletions(-)drivers/gpu/drm/i915/display/intel_fbc.c +19
-15@@ -85,6 +85,8 @@ struct intel_fbc {struct drm_mm_node compressed_fb;struct drm_mm_node compressed_llb; +enum intel_fbc_id id; +u8 limit;bool false_color;@@ -454,10 +456,10 @@ static void ilk_fbc_activate(struct intel_fbc *fbc)struct intel_fbc_state *fbc_state = &fbc->state;struct drm_i915_private *i915 = fbc->i915; -intel_de_write (i915,ILK_DPFC_FENCE_YOFF , +intel_de_write (i915,ILK_DPFC_FENCE_YOFF (fbc->id), fbc_state->fence_y_offset); -intel_de_write (i915,ILK_DPFC_CONTROL , +intel_de_write (i915,ILK_DPFC_CONTROL (fbc->id),DPFC_CTL_EN |g4x_dpfc_ctl (fbc)); }@@ -467,28 +469,28 @@ static void ilk_fbc_deactivate(struct intel_fbc *fbc)u32 dpfc_ctl;/* Disable compression */ - dpfc_ctl =intel_de_read (i915,ILK_DPFC_CONTROL ); + dpfc_ctl =intel_de_read (i915,ILK_DPFC_CONTROL (fbc->id));if (dpfc_ctl &DPFC_CTL_EN ) { dpfc_ctl &= ~DPFC_CTL_EN ; -intel_de_write (i915,ILK_DPFC_CONTROL , dpfc_ctl); +intel_de_write (i915,ILK_DPFC_CONTROL (fbc->id), dpfc_ctl); } }static bool ilk_fbc_is_active (struct intel_fbc *fbc) { -return intel_de_read (fbc->i915,ILK_DPFC_CONTROL ) &DPFC_CTL_EN ; +return intel_de_read (fbc->i915,ILK_DPFC_CONTROL (fbc->id)) &DPFC_CTL_EN ; }static bool ilk_fbc_is_compressing (struct intel_fbc *fbc) { -return intel_de_read (fbc->i915,ILK_DPFC_STATUS ) &DPFC_COMP_SEG_MASK ; +return intel_de_read (fbc->i915,ILK_DPFC_STATUS (fbc->id)) &DPFC_COMP_SEG_MASK ; }static void ilk_fbc_program_cfb (struct intel_fbc *fbc) {struct drm_i915_private *i915 = fbc->i915; -intel_de_write (i915,ILK_DPFC_CB_BASE , fbc->compressed_fb.start); +intel_de_write (i915,ILK_DPFC_CB_BASE (fbc->id), fbc->compressed_fb.start); }static const struct intel_fbc_funcs ilk_fbc_funcs = {@@ -524,8 +526,8 @@ static void snb_fbc_nuke(struct intel_fbc *fbc) {struct drm_i915_private *i915 = fbc->i915; -intel_de_write (i915,MSG_FBC_REND_STATE ,FBC_REND_NUKE ); -intel_de_posting_read (i915,MSG_FBC_REND_STATE ); +intel_de_write (i915,MSG_FBC_REND_STATE (fbc->id),FBC_REND_NUKE ); +intel_de_posting_read (i915,MSG_FBC_REND_STATE (fbc->id)); }static const struct intel_fbc_funcs snb_fbc_funcs = {@@ -547,7 +549,7 @@ static void glk_fbc_program_cfb_stride(struct intel_fbc *fbc) val |=FBC_STRIDE_OVERRIDE |FBC_STRIDE (fbc_state->override_cfb_stride / fbc->limit); -intel_de_write (i915,GLK_FBC_STRIDE , val); +intel_de_write (i915,GLK_FBC_STRIDE (fbc->id), val); }static void skl_fbc_program_cfb_stride (struct intel_fbc *fbc)@@ -598,19 +600,19 @@ static void ivb_fbc_activate(struct intel_fbc *fbc)if (i915->ggtt.num_fences)snb_fbc_program_fence (fbc); -intel_de_write (i915,ILK_DPFC_CONTROL , +intel_de_write (i915,ILK_DPFC_CONTROL (fbc->id),DPFC_CTL_EN |ivb_dpfc_ctl (fbc)); }static bool ivb_fbc_is_compressing (struct intel_fbc *fbc) { -return intel_de_read (fbc->i915,ILK_DPFC_STATUS2 ) &DPFC_COMP_SEG_MASK_IVB ; +return intel_de_read (fbc->i915,ILK_DPFC_STATUS2 (fbc->id)) &DPFC_COMP_SEG_MASK_IVB ; }static void ivb_fbc_set_false_color (struct intel_fbc *fbc,bool enable) { -intel_de_rmw (fbc->i915,ILK_DPFC_CONTROL , +intel_de_rmw (fbc->i915,ILK_DPFC_CONTROL (fbc->id),DPFC_CTL_FALSE_COLOR , enable ?DPFC_CTL_FALSE_COLOR :0 ); }@@ -1620,7 +1622,8 @@ void intel_fbc_add_plane(struct intel_fbc *fbc, struct intel_plane *plane) fbc->possible_framebuffer_bits |= plane->frontbuffer_bit; } -static struct intel_fbc *intel_fbc_create (struct drm_i915_private *i915) +static struct intel_fbc *intel_fbc_create (struct drm_i915_private *i915, +enum intel_fbc_id fbc_id) {struct intel_fbc *fbc;@@ -1628,6 +1631,7 @@ static struct intel_fbc *intel_fbc_create(struct drm_i915_private *i915)if (!fbc)return NULL ; + fbc->id = fbc_id; fbc->i915 = i915;INIT_WORK (&fbc->underrun_work, intel_fbc_underrun_work_fn);mutex_init (&fbc->lock);@@ -1671,7 +1675,7 @@ void intel_fbc_init(struct drm_i915_private *i915)if (!HAS_FBC (i915))return ; - fbc =intel_fbc_create (i915); + fbc =intel_fbc_create (i915,INTEL_FBC_A );if (!fbc)return ;drivers/gpu/drm/i915/display/intel_fbc.h +6
-0@@ -17,6 +17,12 @@ struct intel_fbc;struct intel_plane ;struct intel_plane_state ; +enum intel_fbc_id { +INTEL_FBC_A , + +I915_MAX_FBCS , +}; +int intel_fbc_atomic_check (struct intel_atomic_state *state);bool intel_fbc_pre_update (struct intel_atomic_state *state,struct intel_crtc *crtc);drivers/gpu/drm/i915/i915_reg.h +4
-4@@ -3386,10 +3386,10 @@ static inline bool i915_mmio_reg_valid(i915_reg_t reg)#define FBC_LL_SIZE (1536)/* Framebuffer compression for GM45+ */ -#define DPFC_CB_BASE _MMIO(0x3200) -#define ILK_DPFC_CB_BASE _MMIO(0x43200) -#define DPFC_CONTROL _MMIO(0x3208) -#define ILK_DPFC_CONTROL _MMIO(0x43208) +#define DPFC_CB_BASE _MMIO(0x3200) +#define ILK_DPFC_CB_BASE (fbc_id) _MMIO_PIPE((fbc_id), 0x43200, 0x43240) +#define DPFC_CONTROL _MMIO(0x3208) +#define ILK_DPFC_CONTROL (fbc_id) _MMIO_PIPE((fbc_id), 0x43208, 0x43248)#define DPFC_CTL_EN REG_BIT(31)#define DPFC_CTL_PLANE_MASK_G4X REG_BIT(30)/* g4x-snb */ #define DPFC_CTL_PLANE_G4X (i9xx_plane) REG_FIELD_PREP(DPFC_CTL_PLANE_MASK_G4X, (i9xx_plane))@@ -3407,28 +3407,28 @@ static inline bool i915_mmio_reg_valid(i915_reg_t reg)#define DPFC_CTL_LIMIT_4X REG_FIELD_PREP(DPFC_CTL_LIMIT_MASK, 2)
Quoted 8 lines
drivers/gpu/drm/i915/i915_reg.h static inline bool i915_mmio_reg_valid(i915_reg_t reg) · line 3411
Quoted 6 lines
drivers/gpu/drm/i915/i915_reg.h +2
-2#define DPFC_CTL_FENCENO_MASK REG_GENMASK(3, 0)#define DPFC_CTL_FENCENO (fence) REG_FIELD_PREP(DPFC_CTL_FENCENO_MASK, (fence)) -#define DPFC_RECOMP_CTL _MMIO(0x320c) -#define ILK_DPFC_RECOMP_CTL _MMIO(0x4320c) +#define DPFC_RECOMP_CTL _MMIO(0x320c) +#define ILK_DPFC_RECOMP_CTL (fbc_id) _MMIO_PIPE((fbc_id), 0x4320c, 0x4324c)This is display 5 and 6 only, right?
Hmm. Looks like it may be removed in adl-p. But definitely still present in tgl.
Quoted 3 lines
Will there be a register instance
forfbc_id>INTEL_FBC_A? Or is the parametrization just for completeness?
If it's not present in future hw then I guess it won't have a second instance. But I might prefer parametrizing all of them anyway.
Quoted 3 lines
This one is only used in gvt, anyway. And that actually makes me wonder if this should be breaking the build. Does CI not have gvt enabled?
Hmm. I thought it was enabled in CI, but maybe not. I've often broken gvt with register define changes but I've always caught it before pushing. I think I have gvt enabled in my "make sure all commits build before I push" test config, so maybe that's where I caught most of them.
Tomi, can we enable gvt in ci builds to make sure it at least still builds?
Quoted 9 lines
drivers/gpu/drm/i915/i915_reg.h static inline bool i915_mmio_reg_valid(i915_reg_t reg) · line 3416
Quoted 7 lines
drivers/gpu/drm/i915/i915_reg.h +2
-2#define DPFC_RECOMP_STALL_EN REG_BIT(27)#define DPFC_RECOMP_STALL_WM_MASK REG_GENMASK(26, 16)#define DPFC_RECOMP_TIMER_COUNT_MASK REG_GENMASK(5, 0) -#define DPFC_STATUS _MMIO(0x3210) -#define ILK_DPFC_STATUS _MMIO(0x43210) +#define DPFC_STATUS _MMIO(0x3210) +#define ILK_DPFC_STATUS (fbc_id) _MMIO_PIPE((fbc_id), 0x43210, 0x43250)Ditto, apart from the gvt part.
Looks like this too might be gone in adl-p.
Quoted 16 lines
Quoted 4 lines
drivers/gpu/drm/i915/i915_reg.h +0
-1#define DPFC_INVAL_SEG_MASK REG_GENMASK(26, 16)#define DPFC_COMP_SEG_MASK REG_GENMASK(10, 0) -#define DPFC_STATUS2 _MMIO(0x3214)drivers/gpu/drm/i915/i915_reg.h static inline bool i915_mmio_reg_valid(i915_reg_t reg) · line 3423
Quoted 10 lines
drivers/gpu/drm/i915/i915_reg.h +4
-5-#define ILK_DPFC_STATUS2 _MMIO(0x43214) +#define DPFC_STATUS2 _MMIO(0x3214) +#define ILK_DPFC_STATUS2 (fbc_id) _MMIO_PIPE((fbc_id), 0x43214, 0x43254)#define DPFC_COMP_SEG_MASK_IVB REG_GENMASK(11, 0) -#define DPFC_FENCE_YOFF _MMIO(0x3218) -#define ILK_DPFC_FENCE_YOFF _MMIO(0x43218) -#define DPFC_CHICKEN _MMIO(0x3224) -#define ILK_DPFC_CHICKEN _MMIO(0x43224) +#define DPFC_FENCE_YOFF _MMIO(0x3218) +#define ILK_DPFC_FENCE_YOFF (fbc_id) _MMIO_PIPE((fbc_id), 0x43218, 0x43258)Ditto.
I think this got nuked in ivb. It's not really used on snb either since snb introduced the system agent version of this register, but I'm pretty sure the old register was still present in the snb hw.
Signature · 2 lines
Ville Syrjälä Intel
Re: [Intel-gfx] [PATCH v2 1/4] drm/i915/fbc: Parametrize FBC register offsets
Quoted 6 lines · Ville Syrjälä
Quoted 4 lines · Jani Nikula
On Mon, 13 Dec 2021, Ville Syrjala <[email protected]> wrote:
This one is only used in gvt, anyway. And that actually makes me wonder if this should be breaking the build. Does CI not have gvt enabled?
Quoted 7 lines
Hmm. I thought it was enabled in CI, but maybe not. I've often broken gvt with register define changes but I've always caught it before pushing. I think I have gvt enabled in my "make sure all commits build before I push" test config, so maybe that's where I caught most of them.
Tomi, can we enable gvt in ci builds to make sure it at least still builds?
Actually cc Tomi..
Signature · 2 lines
Ville Syrjälä Intel
Re: [Intel-gfx] [PATCH v2 1/4] drm/i915/fbc: Parametrize FBC register offsets
Quoted 14 lines
From: Ville Syrjälä <[email protected]>
Quoted 11 lines · Ville Syrjälä
Quoted 4 lines · Jani Nikula
On Mon, 13 Dec 2021, Ville Syrjala <[email protected]> wrote:
This one is only used in gvt, anyway. And that actually makes me wonder if this should be breaking the build. Does CI not have gvt enabled?
Hmm. I thought it was enabled in CI, but maybe not. I've often broken gvt with register define changes but I've always caught it before pushing. I think I have gvt enabled in my "make sure all commits build before I push" test config, so maybe that's where I caught most of them.
Quoted 4 lines
Quoted 2 lines
Tomi, can we enable gvt in ci builds to make sure it at least still builds?
Actually cc Tomi..
GVT-d is enabled and tested by fi-bdw-gvtdvm.
Tomi
Re: [Intel-gfx] [PATCH v2 1/4] drm/i915/fbc: Parametrize FBC register offsets
Quoted 14 lines · Tomi P
Quoted 14 lines
From: Ville Syrjälä <[email protected]>
Quoted 11 lines · Ville Syrjälä
Quoted 4 lines · Jani Nikula
On Mon, 13 Dec 2021, Ville Syrjala <[email protected]> wrote:
This one is only used in gvt, anyway. And that actually makes me wonder if this should be breaking the build. Does CI not have gvt enabled?
Hmm. I thought it was enabled in CI, but maybe not. I've often broken gvt with register define changes but I've always caught it before pushing. I think I have gvt enabled in my "make sure all commits build before I push" test config, so maybe that's where I caught most of them.
Quoted 6 lines
Quoted 4 lines
Quoted 2 lines
Tomi, can we enable gvt in ci builds to make sure it at least still builds?
Actually cc Tomi..
GVT-d is enabled and tested by fi-bdw-gvtdvm.
We're talking about the other gvt (whatever it was called), ie. CONFIG_DRM_I915_GVT.
Signature · 2 lines
Ville Syrjälä Intel
Re: [Intel-gfx] [PATCH v2 1/4] drm/i915/fbc: Parametrize FBC register offsets
Quoted 22 lines
From: Ville Syrjälä <[email protected]>
Quoted 5 lines · Tomi P
Quoted 5 lines
From: Ville Syrjälä <[email protected]>
Quoted 2 lines · Ville Syrjälä
Quoted 1 line · Jani Nikula
On Mon, 13 Dec 2021, Ville Syrjala <[email protected]>
Quoted 2 lines · wrote:
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
This one is only used in gvt, anyway. And that actually makes me
wonder
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 1 line
if this should be breaking the build. Does CI not have gvt enabled?
Hmm. I thought it was enabled in CI, but maybe not. I've often broken gvt with register define changes but I've always caught it before pushing. I think I have gvt enabled in my "make sure all commits build before I push" test config, so maybe that's where I caught most of
them.
Quoted 4 lines
Quoted 4 lines
Quoted 3 lines
Tomi, can we enable gvt in ci builds to make sure it at least still builds?
Quoted 6 lines
Quoted 3 lines
Quoted 1 line
Actually cc Tomi..
GVT-d is enabled and tested by fi-bdw-gvtdvm.
We're talking about the other gvt (whatever it was called), ie.
CONFIG_DRM_I915_GVT.
This kconfig entry doesn't exist in default CI kconfig, even as 'is not set' placeholder:
https://gitlab.freedesktop.org/gfx-ci/i915-infra/-/blob/master/kconfig/debug
If the config entry is exact, I'll probably need to upgrade the default config from 5.13 and add it with requirements. Not today, but maybe soon.
Tomi
Re: [Intel-gfx] [PATCH v2 1/4] drm/i915/fbc: Parametrize FBC register offsets
Quoted 30 lines
From: Sarvela, Tomi P
Quoted 22 lines
From: Ville Syrjälä <[email protected]>
Quoted 5 lines · Tomi P
Quoted 5 lines
From: Ville Syrjälä <[email protected]>
Quoted 2 lines · Ville Syrjälä
Quoted 1 line · Jani Nikula
On Mon, 13 Dec 2021, Ville Syrjala <[email protected]>
Quoted 2 lines · wrote:
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
This one is only used in gvt, anyway. And that actually makes me
wonder
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 1 line
if this should be breaking the build. Does CI not have gvt enabled?
Hmm. I thought it was enabled in CI, but maybe not. I've often broken gvt with register define changes but I've always caught it before pushing. I think I have gvt enabled in my "make sure all commits build before I push" test config, so maybe that's where I caught most of
them.
Quoted 4 lines
Quoted 4 lines
Quoted 3 lines
Tomi, can we enable gvt in ci builds to make sure it at least still builds?
Quoted 6 lines
Quoted 3 lines
Quoted 1 line
Actually cc Tomi..
GVT-d is enabled and tested by fi-bdw-gvtdvm.
We're talking about the other gvt (whatever it was called), ie.
CONFIG_DRM_I915_GVT.
Quoted 7 lines
This kconfig entry doesn't exist in default CI kconfig, even as 'is not set' placeholder:
https://gitlab.freedesktop.org/gfx-ci/i915-infra/-
/blob/master/kconfig/debugIf the config entry is exact, I'll probably need to upgrade the default config from 5.13 and add it with requirements. Not today, but maybe soon.
kconfigs debug, debug-kasan and debug-gcov have been updated to v5.15 with 'make olddefconfig', and CONFIG_DRM_I915_GVT=y has been set.
First CI_DRM to use this kconfig will be CI_DRM_11005.
Tomi
Re: [Intel-gfx] [PATCH v2 1/4] drm/i915/fbc: Parametrize FBC register offsets
In reply to Ville SyrjäläQuoted 202 lines · Ville Syrjälä
Quoted 189 lines · Jani Nikula
Quoted 8 lines · Ville Syrjala
From: Ville Syrjälä <[email protected]>
Parametrize ilk+ FBC register offsets based on the FBC instance.
v2: More
intel_namespace (Jani)Cc Jani Nikula <[email protected]>Signed-off-by Ville Syrjälä <[email protected]>Some questions below, apart from that,
Reviewed-by Jani Nikula <[email protected]>Quoted 175 lines
--- drivers/gpu/drm/i915/display/intel_fbc.c | 34 +++++++++++++----------- drivers/gpu/drm/i915/display/intel_fbc.h | 6 +++++ drivers/gpu/drm/i915/i915_reg.h | 34 ++++++++++++------------ drivers/gpu/drm/i915/intel_pm.c | 31 ++++++++++++--------- 4 files changed, 60 insertions(+), 45 deletions(-)drivers/gpu/drm/i915/display/intel_fbc.c +19
-15@@ -85,6 +85,8 @@ struct intel_fbc {struct drm_mm_node compressed_fb;struct drm_mm_node compressed_llb; +enum intel_fbc_id id; +u8 limit;bool false_color;@@ -454,10 +456,10 @@ static void ilk_fbc_activate(struct intel_fbc *fbc)struct intel_fbc_state *fbc_state = &fbc->state;struct drm_i915_private *i915 = fbc->i915; -intel_de_write (i915,ILK_DPFC_FENCE_YOFF , +intel_de_write (i915,ILK_DPFC_FENCE_YOFF (fbc->id), fbc_state->fence_y_offset); -intel_de_write (i915,ILK_DPFC_CONTROL , +intel_de_write (i915,ILK_DPFC_CONTROL (fbc->id),DPFC_CTL_EN |g4x_dpfc_ctl (fbc)); }@@ -467,28 +469,28 @@ static void ilk_fbc_deactivate(struct intel_fbc *fbc)u32 dpfc_ctl;/* Disable compression */ - dpfc_ctl =intel_de_read (i915,ILK_DPFC_CONTROL ); + dpfc_ctl =intel_de_read (i915,ILK_DPFC_CONTROL (fbc->id));if (dpfc_ctl &DPFC_CTL_EN ) { dpfc_ctl &= ~DPFC_CTL_EN ; -intel_de_write (i915,ILK_DPFC_CONTROL , dpfc_ctl); +intel_de_write (i915,ILK_DPFC_CONTROL (fbc->id), dpfc_ctl); } }static bool ilk_fbc_is_active (struct intel_fbc *fbc) { -return intel_de_read (fbc->i915,ILK_DPFC_CONTROL ) &DPFC_CTL_EN ; +return intel_de_read (fbc->i915,ILK_DPFC_CONTROL (fbc->id)) &DPFC_CTL_EN ; }static bool ilk_fbc_is_compressing (struct intel_fbc *fbc) { -return intel_de_read (fbc->i915,ILK_DPFC_STATUS ) &DPFC_COMP_SEG_MASK ; +return intel_de_read (fbc->i915,ILK_DPFC_STATUS (fbc->id)) &DPFC_COMP_SEG_MASK ; }static void ilk_fbc_program_cfb (struct intel_fbc *fbc) {struct drm_i915_private *i915 = fbc->i915; -intel_de_write (i915,ILK_DPFC_CB_BASE , fbc->compressed_fb.start); +intel_de_write (i915,ILK_DPFC_CB_BASE (fbc->id), fbc->compressed_fb.start); }static const struct intel_fbc_funcs ilk_fbc_funcs = {@@ -524,8 +526,8 @@ static void snb_fbc_nuke(struct intel_fbc *fbc) {struct drm_i915_private *i915 = fbc->i915; -intel_de_write (i915,MSG_FBC_REND_STATE ,FBC_REND_NUKE ); -intel_de_posting_read (i915,MSG_FBC_REND_STATE ); +intel_de_write (i915,MSG_FBC_REND_STATE (fbc->id),FBC_REND_NUKE ); +intel_de_posting_read (i915,MSG_FBC_REND_STATE (fbc->id)); }static const struct intel_fbc_funcs snb_fbc_funcs = {@@ -547,7 +549,7 @@ static void glk_fbc_program_cfb_stride(struct intel_fbc *fbc) val |=FBC_STRIDE_OVERRIDE |FBC_STRIDE (fbc_state->override_cfb_stride / fbc->limit); -intel_de_write (i915,GLK_FBC_STRIDE , val); +intel_de_write (i915,GLK_FBC_STRIDE (fbc->id), val); }static void skl_fbc_program_cfb_stride (struct intel_fbc *fbc)@@ -598,19 +600,19 @@ static void ivb_fbc_activate(struct intel_fbc *fbc)if (i915->ggtt.num_fences)snb_fbc_program_fence (fbc); -intel_de_write (i915,ILK_DPFC_CONTROL , +intel_de_write (i915,ILK_DPFC_CONTROL (fbc->id),DPFC_CTL_EN |ivb_dpfc_ctl (fbc)); }static bool ivb_fbc_is_compressing (struct intel_fbc *fbc) { -return intel_de_read (fbc->i915,ILK_DPFC_STATUS2 ) &DPFC_COMP_SEG_MASK_IVB ; +return intel_de_read (fbc->i915,ILK_DPFC_STATUS2 (fbc->id)) &DPFC_COMP_SEG_MASK_IVB ; }static void ivb_fbc_set_false_color (struct intel_fbc *fbc,bool enable) { -intel_de_rmw (fbc->i915,ILK_DPFC_CONTROL , +intel_de_rmw (fbc->i915,ILK_DPFC_CONTROL (fbc->id),DPFC_CTL_FALSE_COLOR , enable ?DPFC_CTL_FALSE_COLOR :0 ); }@@ -1620,7 +1622,8 @@ void intel_fbc_add_plane(struct intel_fbc *fbc, struct intel_plane *plane) fbc->possible_framebuffer_bits |= plane->frontbuffer_bit; } -static struct intel_fbc *intel_fbc_create (struct drm_i915_private *i915) +static struct intel_fbc *intel_fbc_create (struct drm_i915_private *i915, +enum intel_fbc_id fbc_id) {struct intel_fbc *fbc;@@ -1628,6 +1631,7 @@ static struct intel_fbc *intel_fbc_create(struct drm_i915_private *i915)if (!fbc)return NULL ; + fbc->id = fbc_id; fbc->i915 = i915;INIT_WORK (&fbc->underrun_work, intel_fbc_underrun_work_fn);mutex_init (&fbc->lock);@@ -1671,7 +1675,7 @@ void intel_fbc_init(struct drm_i915_private *i915)if (!HAS_FBC (i915))return ; - fbc =intel_fbc_create (i915); + fbc =intel_fbc_create (i915,INTEL_FBC_A );if (!fbc)return ;drivers/gpu/drm/i915/display/intel_fbc.h +6
-0@@ -17,6 +17,12 @@ struct intel_fbc;struct intel_plane ;struct intel_plane_state ; +enum intel_fbc_id { +INTEL_FBC_A , + +I915_MAX_FBCS , +}; +int intel_fbc_atomic_check (struct intel_atomic_state *state);bool intel_fbc_pre_update (struct intel_atomic_state *state,struct intel_crtc *crtc);drivers/gpu/drm/i915/i915_reg.h +4
-4@@ -3386,10 +3386,10 @@ static inline bool i915_mmio_reg_valid(i915_reg_t reg)#define FBC_LL_SIZE (1536)/* Framebuffer compression for GM45+ */ -#define DPFC_CB_BASE _MMIO(0x3200) -#define ILK_DPFC_CB_BASE _MMIO(0x43200) -#define DPFC_CONTROL _MMIO(0x3208) -#define ILK_DPFC_CONTROL _MMIO(0x43208) +#define DPFC_CB_BASE _MMIO(0x3200) +#define ILK_DPFC_CB_BASE (fbc_id) _MMIO_PIPE((fbc_id), 0x43200, 0x43240) +#define DPFC_CONTROL _MMIO(0x3208) +#define ILK_DPFC_CONTROL (fbc_id) _MMIO_PIPE((fbc_id), 0x43208, 0x43248)#define DPFC_CTL_EN REG_BIT(31)#define DPFC_CTL_PLANE_MASK_G4X REG_BIT(30)/* g4x-snb */ #define DPFC_CTL_PLANE_G4X (i9xx_plane) REG_FIELD_PREP(DPFC_CTL_PLANE_MASK_G4X, (i9xx_plane))@@ -3407,28 +3407,28 @@ static inline bool i915_mmio_reg_valid(i915_reg_t reg)#define DPFC_CTL_LIMIT_4X REG_FIELD_PREP(DPFC_CTL_LIMIT_MASK, 2)Quoted 8 lines
drivers/gpu/drm/i915/i915_reg.h static inline bool i915_mmio_reg_valid(i915_reg_t reg) · line 3411
Quoted 6 lines
drivers/gpu/drm/i915/i915_reg.h +2
-2#define DPFC_CTL_FENCENO_MASK REG_GENMASK(3, 0)#define DPFC_CTL_FENCENO (fence) REG_FIELD_PREP(DPFC_CTL_FENCENO_MASK, (fence)) -#define DPFC_RECOMP_CTL _MMIO(0x320c) -#define ILK_DPFC_RECOMP_CTL _MMIO(0x4320c) +#define DPFC_RECOMP_CTL _MMIO(0x320c) +#define ILK_DPFC_RECOMP_CTL (fbc_id) _MMIO_PIPE((fbc_id), 0x4320c, 0x4324c)This is display 5 and 6 only, right?
Hmm. Looks like it may be removed in adl-p. But definitely still present in tgl.
Quoted 6 lines
Quoted 3 lines
Will there be a register instance
forfbc_id>INTEL_FBC_A? Or is the parametrization just for completeness?If it's not present in future hw then I guess it won't have a second instance. But I might prefer parametrizing all of them anyway.
Up to you. R-b stands as long as we don't break gvt build.
BR,
Jani.
Quoted 45 lines
Quoted 4 lines
This one is only used in gvt, anyway. And that actually makes me wonder if this should be breaking the build. Does CI not have gvt enabled?
Hmm. I thought it was enabled in CI, but maybe not. I've often broken gvt with register define changes but I've always caught it before pushing. I think I have gvt enabled in my "make sure all commits build before I push" test config, so maybe that's where I caught most of them.
Tomi, can we enable gvt in ci builds to make sure it at least still builds?
Quoted 9 lines
drivers/gpu/drm/i915/i915_reg.h static inline bool i915_mmio_reg_valid(i915_reg_t reg) · line 3416
Quoted 7 lines
drivers/gpu/drm/i915/i915_reg.h +2
-2#define DPFC_RECOMP_STALL_EN REG_BIT(27)#define DPFC_RECOMP_STALL_WM_MASK REG_GENMASK(26, 16)#define DPFC_RECOMP_TIMER_COUNT_MASK REG_GENMASK(5, 0) -#define DPFC_STATUS _MMIO(0x3210) -#define ILK_DPFC_STATUS _MMIO(0x43210) +#define DPFC_STATUS _MMIO(0x3210) +#define ILK_DPFC_STATUS (fbc_id) _MMIO_PIPE((fbc_id), 0x43210, 0x43250)Ditto, apart from the gvt part.
Looks like this too might be gone in adl-p.
Quoted 16 lines
Quoted 4 lines
drivers/gpu/drm/i915/i915_reg.h +0
-1#define DPFC_INVAL_SEG_MASK REG_GENMASK(26, 16)#define DPFC_COMP_SEG_MASK REG_GENMASK(10, 0) -#define DPFC_STATUS2 _MMIO(0x3214)drivers/gpu/drm/i915/i915_reg.h static inline bool i915_mmio_reg_valid(i915_reg_t reg) · line 3423
Quoted 10 lines
drivers/gpu/drm/i915/i915_reg.h +4
-5-#define ILK_DPFC_STATUS2 _MMIO(0x43214) +#define DPFC_STATUS2 _MMIO(0x3214) +#define ILK_DPFC_STATUS2 (fbc_id) _MMIO_PIPE((fbc_id), 0x43214, 0x43254)#define DPFC_COMP_SEG_MASK_IVB REG_GENMASK(11, 0) -#define DPFC_FENCE_YOFF _MMIO(0x3218) -#define ILK_DPFC_FENCE_YOFF _MMIO(0x43218) -#define DPFC_CHICKEN _MMIO(0x3224) -#define ILK_DPFC_CHICKEN _MMIO(0x43224) +#define DPFC_FENCE_YOFF _MMIO(0x3218) +#define ILK_DPFC_FENCE_YOFF (fbc_id) _MMIO_PIPE((fbc_id), 0x43218, 0x43258)Ditto.
I think this got nuked in ivb. It's not really used on snb either since snb introduced the system agent version of this register, but I'm pretty sure the old register was still present in the snb hw.
Signature · 1 line
Jani Nikula, Intel Open Source Graphics Center
PATCH v3 1/5 drm/i915/fbc: Parametrize FBC register offsets
In reply to Ville SyrjalaFrom: Ville Syrjälä <[email protected]>
Parametrize ilk+ FBC register offsets based on the FBC instance.
v2: More intel_ namespace (Jani)
v3: Don't break gvt (Jani)
--- drivers/gpu/drm/i915/display/intel_fbc.c | 34 +++++++++++++----------- drivers/gpu/drm/i915/display/intel_fbc.h | 6 +++++ drivers/gpu/drm/i915/gvt/handlers.c | 13 ++++----- drivers/gpu/drm/i915/i915_reg.h | 34 ++++++++++++------------ drivers/gpu/drm/i915/intel_pm.c | 31 ++++++++++++--------- 5 files changed, 67 insertions(+), 51 deletions(-)
drivers/gpu/drm/i915/display/intel_fbc.c +19 -15
@@ -85,6 +85,8 @@ struct intel_fbc {struct drm_mm_node compressed_fb;struct drm_mm_node compressed_llb; +enum intel_fbc_id id; +u8 limit;bool false_color;
@@ -454,10 +456,10 @@ static void ilk_fbc_activate(struct intel_fbc *fbc)struct intel_fbc_state *fbc_state = &fbc->state;struct drm_i915_private *i915 = fbc->i915; -intel_de_write (i915,ILK_DPFC_FENCE_YOFF , +intel_de_write (i915,ILK_DPFC_FENCE_YOFF (fbc->id), fbc_state->fence_y_offset); -intel_de_write (i915,ILK_DPFC_CONTROL , +intel_de_write (i915,ILK_DPFC_CONTROL (fbc->id),DPFC_CTL_EN |g4x_dpfc_ctl (fbc)); }
@@ -467,28 +469,28 @@ static void ilk_fbc_deactivate(struct intel_fbc *fbc)u32 dpfc_ctl;/* Disable compression */ - dpfc_ctl =intel_de_read (i915,ILK_DPFC_CONTROL ); + dpfc_ctl =intel_de_read (i915,ILK_DPFC_CONTROL (fbc->id));if (dpfc_ctl &DPFC_CTL_EN ) { dpfc_ctl &= ~DPFC_CTL_EN ; -intel_de_write (i915,ILK_DPFC_CONTROL , dpfc_ctl); +intel_de_write (i915,ILK_DPFC_CONTROL (fbc->id), dpfc_ctl); } }static bool ilk_fbc_is_active (struct intel_fbc *fbc) { -return intel_de_read (fbc->i915,ILK_DPFC_CONTROL ) &DPFC_CTL_EN ; +return intel_de_read (fbc->i915,ILK_DPFC_CONTROL (fbc->id)) &DPFC_CTL_EN ; }static bool ilk_fbc_is_compressing (struct intel_fbc *fbc) { -return intel_de_read (fbc->i915,ILK_DPFC_STATUS ) &DPFC_COMP_SEG_MASK ; +return intel_de_read (fbc->i915,ILK_DPFC_STATUS (fbc->id)) &DPFC_COMP_SEG_MASK ; }static void ilk_fbc_program_cfb (struct intel_fbc *fbc) {struct drm_i915_private *i915 = fbc->i915; -intel_de_write (i915,ILK_DPFC_CB_BASE , fbc->compressed_fb.start); +intel_de_write (i915,ILK_DPFC_CB_BASE (fbc->id), fbc->compressed_fb.start); }static const struct intel_fbc_funcs ilk_fbc_funcs = {
@@ -524,8 +526,8 @@ static void snb_fbc_nuke(struct intel_fbc *fbc) {struct drm_i915_private *i915 = fbc->i915; -intel_de_write (i915,MSG_FBC_REND_STATE ,FBC_REND_NUKE ); -intel_de_posting_read (i915,MSG_FBC_REND_STATE ); +intel_de_write (i915,MSG_FBC_REND_STATE (fbc->id),FBC_REND_NUKE ); +intel_de_posting_read (i915,MSG_FBC_REND_STATE (fbc->id)); }static const struct intel_fbc_funcs snb_fbc_funcs = {
@@ -547,7 +549,7 @@ static void glk_fbc_program_cfb_stride(struct intel_fbc *fbc) val |=FBC_STRIDE_OVERRIDE |FBC_STRIDE (fbc_state->override_cfb_stride / fbc->limit); -intel_de_write (i915,GLK_FBC_STRIDE , val); +intel_de_write (i915,GLK_FBC_STRIDE (fbc->id), val); }static void skl_fbc_program_cfb_stride (struct intel_fbc *fbc)
@@ -598,19 +600,19 @@ static void ivb_fbc_activate(struct intel_fbc *fbc)if (i915->ggtt.num_fences)snb_fbc_program_fence (fbc); -intel_de_write (i915,ILK_DPFC_CONTROL , +intel_de_write (i915,ILK_DPFC_CONTROL (fbc->id),DPFC_CTL_EN |ivb_dpfc_ctl (fbc)); }static bool ivb_fbc_is_compressing (struct intel_fbc *fbc) { -return intel_de_read (fbc->i915,ILK_DPFC_STATUS2 ) &DPFC_COMP_SEG_MASK_IVB ; +return intel_de_read (fbc->i915,ILK_DPFC_STATUS2 (fbc->id)) &DPFC_COMP_SEG_MASK_IVB ; }static void ivb_fbc_set_false_color (struct intel_fbc *fbc,bool enable) { -intel_de_rmw (fbc->i915,ILK_DPFC_CONTROL , +intel_de_rmw (fbc->i915,ILK_DPFC_CONTROL (fbc->id),DPFC_CTL_FALSE_COLOR , enable ?DPFC_CTL_FALSE_COLOR :0 ); }
@@ -1620,7 +1622,8 @@ void intel_fbc_add_plane(struct intel_fbc *fbc, struct intel_plane *plane) fbc->possible_framebuffer_bits |= plane->frontbuffer_bit; } -static struct intel_fbc *intel_fbc_create (struct drm_i915_private *i915) +static struct intel_fbc *intel_fbc_create (struct drm_i915_private *i915, +enum intel_fbc_id fbc_id) {struct intel_fbc *fbc;
@@ -1628,6 +1631,7 @@ static struct intel_fbc *intel_fbc_create(struct drm_i915_private *i915)if (!fbc)return NULL ; + fbc->id = fbc_id; fbc->i915 = i915;INIT_WORK (&fbc->underrun_work, intel_fbc_underrun_work_fn);mutex_init (&fbc->lock);
@@ -1671,7 +1675,7 @@ void intel_fbc_init(struct drm_i915_private *i915)if (!HAS_FBC (i915))return ; - fbc =intel_fbc_create (i915); + fbc =intel_fbc_create (i915,INTEL_FBC_A );if (!fbc)return ;
drivers/gpu/drm/i915/display/intel_fbc.h +6 -0
@@ -17,6 +17,12 @@ struct intel_fbc;struct intel_plane ;struct intel_plane_state ; +enum intel_fbc_id { +INTEL_FBC_A , + +I915_MAX_FBCS , +}; +int intel_fbc_atomic_check (struct intel_atomic_state *state);bool intel_fbc_pre_update (struct intel_atomic_state *state,struct intel_crtc *crtc);
drivers/gpu/drm/i915/gvt/handlers.c +7 -6
@@ -40,6 +40,7 @@#include "gvt.h" #include "i915_pvinfo.h" #include "display/intel_display_types.h" +#include "display/intel_fbc.h" /* XXX FIXME i915 has changed PP_XXX definition */ #define PCH_PP_STATUS _MMIO(0xc7200)
@@ -2647,12 +2648,12 @@ static int init_generic_mmio_info(struct intel_gvt *gvt)MMIO_D (_MMIO (_TRANSA_CHICKEN2),D_ALL );MMIO_D (_MMIO (_TRANSB_CHICKEN2),D_ALL ); -MMIO_D (ILK_DPFC_CB_BASE ,D_ALL ); -MMIO_D (ILK_DPFC_CONTROL ,D_ALL ); -MMIO_D (ILK_DPFC_RECOMP_CTL ,D_ALL ); -MMIO_D (ILK_DPFC_STATUS ,D_ALL ); -MMIO_D (ILK_DPFC_FENCE_YOFF ,D_ALL ); -MMIO_D (ILK_DPFC_CHICKEN ,D_ALL ); +MMIO_D (ILK_DPFC_CB_BASE (INTEL_FBC_A ),D_ALL ); +MMIO_D (ILK_DPFC_CONTROL (INTEL_FBC_A ),D_ALL ); +MMIO_D (ILK_DPFC_RECOMP_CTL (INTEL_FBC_A ),D_ALL ); +MMIO_D (ILK_DPFC_STATUS (INTEL_FBC_A ),D_ALL ); +MMIO_D (ILK_DPFC_FENCE_YOFF (INTEL_FBC_A ),D_ALL ); +MMIO_D (ILK_DPFC_CHICKEN (INTEL_FBC_A ),D_ALL );MMIO_D (ILK_FBC_RT_BASE ,D_ALL );MMIO_D (IPS_CTL ,D_ALL );
drivers/gpu/drm/i915/i915_reg.h +17 -17
@@ -3386,10 +3386,10 @@ static inline bool i915_mmio_reg_valid(i915_reg_t reg)#define FBC_LL_SIZE (1536)/* Framebuffer compression for GM45+ */ -#define DPFC_CB_BASE _MMIO(0x3200) -#define ILK_DPFC_CB_BASE _MMIO(0x43200) -#define DPFC_CONTROL _MMIO(0x3208) -#define ILK_DPFC_CONTROL _MMIO(0x43208) +#define DPFC_CB_BASE _MMIO(0x3200) +#define ILK_DPFC_CB_BASE (fbc_id) _MMIO_PIPE((fbc_id), 0x43200, 0x43240) +#define DPFC_CONTROL _MMIO(0x3208) +#define ILK_DPFC_CONTROL (fbc_id) _MMIO_PIPE((fbc_id), 0x43208, 0x43248)#define DPFC_CTL_EN REG_BIT(31)#define DPFC_CTL_PLANE_MASK_G4X REG_BIT(30)/* g4x-snb */ #define DPFC_CTL_PLANE_G4X (i9xx_plane) REG_FIELD_PREP(DPFC_CTL_PLANE_MASK_G4X, (i9xx_plane))
@@ -3407,28 +3407,28 @@ static inline bool i915_mmio_reg_valid(i915_reg_t reg)#define DPFC_CTL_LIMIT_4X REG_FIELD_PREP(DPFC_CTL_LIMIT_MASK, 2)#define DPFC_CTL_FENCENO_MASK REG_GENMASK(3, 0)#define DPFC_CTL_FENCENO (fence) REG_FIELD_PREP(DPFC_CTL_FENCENO_MASK, (fence)) -#define DPFC_RECOMP_CTL _MMIO(0x320c) -#define ILK_DPFC_RECOMP_CTL _MMIO(0x4320c) +#define DPFC_RECOMP_CTL _MMIO(0x320c) +#define ILK_DPFC_RECOMP_CTL (fbc_id) _MMIO_PIPE((fbc_id), 0x4320c, 0x4324c)#define DPFC_RECOMP_STALL_EN REG_BIT(27)#define DPFC_RECOMP_STALL_WM_MASK REG_GENMASK(26, 16)#define DPFC_RECOMP_TIMER_COUNT_MASK REG_GENMASK(5, 0) -#define DPFC_STATUS _MMIO(0x3210) -#define ILK_DPFC_STATUS _MMIO(0x43210) +#define DPFC_STATUS _MMIO(0x3210) +#define ILK_DPFC_STATUS (fbc_id) _MMIO_PIPE((fbc_id), 0x43210, 0x43250)#define DPFC_INVAL_SEG_MASK REG_GENMASK(26, 16)#define DPFC_COMP_SEG_MASK REG_GENMASK(10, 0) -#define DPFC_STATUS2 _MMIO(0x3214) -#define ILK_DPFC_STATUS2 _MMIO(0x43214) +#define DPFC_STATUS2 _MMIO(0x3214) +#define ILK_DPFC_STATUS2 (fbc_id) _MMIO_PIPE((fbc_id), 0x43214, 0x43254)#define DPFC_COMP_SEG_MASK_IVB REG_GENMASK(11, 0) -#define DPFC_FENCE_YOFF _MMIO(0x3218) -#define ILK_DPFC_FENCE_YOFF _MMIO(0x43218) -#define DPFC_CHICKEN _MMIO(0x3224) -#define ILK_DPFC_CHICKEN _MMIO(0x43224) +#define DPFC_FENCE_YOFF _MMIO(0x3218) +#define ILK_DPFC_FENCE_YOFF (fbc_id) _MMIO_PIPE((fbc_id), 0x43218, 0x43258) +#define DPFC_CHICKEN _MMIO(0x3224) +#define ILK_DPFC_CHICKEN (fbc_id) _MMIO_PIPE((fbc_id), 0x43224, 0x43264)#define DPFC_HT_MODIFY REG_BIT(31)/* pre-ivb */ #define DPFC_NUKE_ON_ANY_MODIFICATION REG_BIT(23)/* bdw+ */ #define DPFC_CHICKEN_COMP_DUMMY_PIXEL REG_BIT(14)/* glk+ */ #define DPFC_DISABLE_DUMMY0 REG_BIT(8)/* ivb+ */ -#define GLK_FBC_STRIDE _MMIO(0x43228) +#define GLK_FBC_STRIDE (fbc_id) _MMIO_PIPE((fbc_id), 0x43228, 0x43268)#define FBC_STRIDE_OVERRIDE REG_BIT(15)#define FBC_STRIDE_MASK REG_GENMASK(14, 0)#define FBC_STRIDE (x) REG_FIELD_PREP(FBC_STRIDE_MASK, (x))
@@ -3471,9 +3471,9 @@ static inline bool i915_mmio_reg_valid(i915_reg_t reg)#define IPS_CTL _MMIO(0x43408)#define IPS_ENABLE (1 << 31) -#define MSG_FBC_REND_STATE _MMIO(0x50380) +#define MSG_FBC_REND_STATE (fbc_id) _MMIO_PIPE((fbc_id), 0x50380, 0x50384)#define FBC_REND_NUKE REG_BIT(2) -#define FBC_REND_CACHE_CLEAN REG_BIT(1) +#define FBC_REND_CACHE_CLEAN REG_BIT(1)/* * GPIO regs
drivers/gpu/drm/i915/intel_pm.c +18 -13
@@ -160,8 +160,9 @@ static void bxt_init_clock_gating(struct drm_i915_private *dev_priv)* WaFbcHighMemBwCorruptionAvoidance:bxt * Display WA #0883: bxt */ -intel_uncore_write (&dev_priv->uncore,ILK_DPFC_CHICKEN ,intel_uncore_read (&dev_priv->uncore,ILK_DPFC_CHICKEN ) | -DPFC_DISABLE_DUMMY0 ); +intel_uncore_write (&dev_priv->uncore,ILK_DPFC_CHICKEN (INTEL_FBC_A ), +intel_uncore_read (&dev_priv->uncore,ILK_DPFC_CHICKEN (INTEL_FBC_A )) | +DPFC_DISABLE_DUMMY0 ); }static void glk_init_clock_gating (struct drm_i915_private *dev_priv)
@@ -7451,8 +7452,8 @@ static void gen8_set_l3sqc_credits(struct drm_i915_private *dev_priv,static void icl_init_clock_gating (struct drm_i915_private *dev_priv) {/* Wa_1409120013:icl,ehl */ -intel_uncore_write (&dev_priv->uncore,ILK_DPFC_CHICKEN , -DPFC_CHICKEN_COMP_DUMMY_PIXEL ); +intel_uncore_write (&dev_priv->uncore,ILK_DPFC_CHICKEN (INTEL_FBC_A ), +DPFC_CHICKEN_COMP_DUMMY_PIXEL );/*Wa_14010594013:icl, ehl */ intel_uncore_rmw(&dev_priv->uncore, GEN8_CHICKEN_DCPR_1,
@@ -7464,7 +7465,7 @@ static void gen12lp_init_clock_gating(struct drm_i915_private *dev_priv)/* Wa_1409120013:tgl,rkl,adl-s,dg1,dg2 */ if (IS_TIGERLAKE (dev_priv) ||IS_ROCKETLAKE (dev_priv) ||IS_ALDERLAKE_S (dev_priv) ||IS_DG1 (dev_priv) ||IS_DG2 (dev_priv)) -intel_uncore_write (&dev_priv->uncore,ILK_DPFC_CHICKEN , +intel_uncore_write (&dev_priv->uncore,ILK_DPFC_CHICKEN (INTEL_FBC_A ),DPFC_CHICKEN_COMP_DUMMY_PIXEL );/* Wa_1409825376:tgl (pre-prod)*/
@@ -7549,8 +7550,9 @@ static void cfl_init_clock_gating(struct drm_i915_private *dev_priv)* WaFbcNukeOnHostModify:cfl * Display WA #0873: cfl */ -intel_uncore_write (&dev_priv->uncore,ILK_DPFC_CHICKEN ,intel_uncore_read (&dev_priv->uncore,ILK_DPFC_CHICKEN ) | -DPFC_NUKE_ON_ANY_MODIFICATION ); +intel_uncore_write (&dev_priv->uncore,ILK_DPFC_CHICKEN (INTEL_FBC_A ), +intel_uncore_read (&dev_priv->uncore,ILK_DPFC_CHICKEN (INTEL_FBC_A )) | +DPFC_NUKE_ON_ANY_MODIFICATION ); }static void kbl_init_clock_gating (struct drm_i915_private *dev_priv)
@@ -7582,8 +7584,9 @@ static void kbl_init_clock_gating(struct drm_i915_private *dev_priv)* WaFbcNukeOnHostModify:kbl * Display WA #0873: kbl */ -intel_uncore_write (&dev_priv->uncore,ILK_DPFC_CHICKEN ,intel_uncore_read (&dev_priv->uncore,ILK_DPFC_CHICKEN ) | -DPFC_NUKE_ON_ANY_MODIFICATION ); +intel_uncore_write (&dev_priv->uncore,ILK_DPFC_CHICKEN (INTEL_FBC_A ), +intel_uncore_read (&dev_priv->uncore,ILK_DPFC_CHICKEN (INTEL_FBC_A )) | +DPFC_NUKE_ON_ANY_MODIFICATION ); }static void skl_init_clock_gating (struct drm_i915_private *dev_priv)
@@ -7609,15 +7612,17 @@ static void skl_init_clock_gating(struct drm_i915_private *dev_priv)* WaFbcNukeOnHostModify:skl * Display WA #0873: skl */ -intel_uncore_write (&dev_priv->uncore,ILK_DPFC_CHICKEN ,intel_uncore_read (&dev_priv->uncore,ILK_DPFC_CHICKEN ) | -DPFC_NUKE_ON_ANY_MODIFICATION ); +intel_uncore_write (&dev_priv->uncore,ILK_DPFC_CHICKEN (INTEL_FBC_A ), +intel_uncore_read (&dev_priv->uncore,ILK_DPFC_CHICKEN (INTEL_FBC_A )) | +DPFC_NUKE_ON_ANY_MODIFICATION );/* * WaFbcHighMemBwCorruptionAvoidance:skl * Display WA #0883: skl */ -intel_uncore_write (&dev_priv->uncore,ILK_DPFC_CHICKEN ,intel_uncore_read (&dev_priv->uncore,ILK_DPFC_CHICKEN ) | -DPFC_DISABLE_DUMMY0 ); +intel_uncore_write (&dev_priv->uncore,ILK_DPFC_CHICKEN (INTEL_FBC_A ), +intel_uncore_read (&dev_priv->uncore,ILK_DPFC_CHICKEN (INTEL_FBC_A )) | +DPFC_DISABLE_DUMMY0 ); }static void bdw_init_clock_gating (struct drm_i915_private *dev_priv)
Signature · 1 line
2.32.0
PATCH v2 2/4 drm/i915/fbc: Loop through FBC instances in various places
In reply to Ville SyrjalaFrom: Ville Syrjälä <[email protected]>
Convert i915->fbc into an array in preparation for multiple FBC instances, and loop through all instances in all places where the caller does not know which instance(s) (if any) are relevant. This is the case for eg. frontbuffer tracking and FIFO underrun hadling.
v2: More intel_ namespace (Jani)
Leave out debugfs for later
--- drivers/gpu/drm/i915/display/i9xx_plane.c | 2 +- drivers/gpu/drm/i915/display/intel_fbc.c | 163 +++++++++++------- .../drm/i915/display/skl_universal_plane.c | 2 +- drivers/gpu/drm/i915/i915_drv.h | 3 +- 4 files changed, 102 insertions(+), 68 deletions(-)
drivers/gpu/drm/i915/display/i9xx_plane.c +1 -1
@@ -125,7 +125,7 @@ static struct intel_fbc *i9xx_plane_fbc(struct drm_i915_private *dev_priv, enum i9xx_plane_id i9xx_plane) {if (i9xx_plane_has_fbc (dev_priv, i9xx_plane)) -return dev_priv->fbc; +return dev_priv->fbc[INTEL_FBC_A ];else return NULL ; }
drivers/gpu/drm/i915/display/intel_fbc.c +98 -65
237 lines not on this page · raw message
drivers/gpu/drm/i915/display/skl_universal_plane.c +1 -1
@@ -1829,7 +1829,7 @@ static struct intel_fbc *skl_plane_fbc(struct drm_i915_private *dev_priv, enum pipe pipe, enum plane_id plane_id) { if (skl_plane_has_fbc(dev_priv, pipe, plane_id)) - return dev_priv->fbc; + return dev_priv->fbc[INTEL_FBC_A]; else return NULL; }
drivers/gpu/drm/i915/i915_drv.h +2 -1
@@ -70,6 +70,7 @@#include "display/intel_dmc.h" #include "display/intel_dpll_mgr.h" #include "display/intel_dsb.h" +#include "display/intel_fbc.h" #include "display/intel_frontbuffer.h" #include "display/intel_global_state.h" #include "display/intel_gmbus.h"
@@ -749,7 +750,7 @@ struct drm_i915_private {u32 pipestat_irq_mask[I915_MAX_PIPES ];struct i915_hotplug hotplug; -struct intel_fbc *fbc; +struct intel_fbc *fbc[I915_MAX_FBCS ];struct i915_drrs drrs;struct intel_opregion opregion;struct intel_vbt_data vbt;
Signature · 1 line
2.32.0
PATCH v2 3/4 drm/i915/fbc: Introduce device info fbc_mask
In reply to Ville SyrjalaFrom: Ville Syrjälä <[email protected]>
Declare which FBC instances are present via a fbc_mask in device info. For the moment there is just the one.
TODO: Need to figure out how to expose multiple FBC instances in debugs. Just different file names, or move the files under some subdirectory (per-crtc maybe), or something else? This will need igt changes as well.
v2: Put the mask into device_info.display (Jani)
Put the magic pipe->fbc thing into skl_fbc_id_for_pipe() (Jani)
--- drivers/gpu/drm/i915/display/intel_fbc.c | 38 ++++++++++--------- .../drm/i915/display/skl_universal_plane.c | 17 ++++++--- drivers/gpu/drm/i915/i915_drv.h | 2 +- drivers/gpu/drm/i915/i915_pci.c | 22 +++++------ drivers/gpu/drm/i915/intel_device_info.c | 4 +- drivers/gpu/drm/i915/intel_device_info.h | 2 +- 6 files changed, 49 insertions(+), 36 deletions(-)
drivers/gpu/drm/i915/display/intel_fbc.c +21 -17
@@ -49,11 +49,12 @@#include "intel_fbc.h" #include "intel_frontbuffer.h" -#define for_each_fbc_id (__fbc_id) \ - for ((__fbc_id) = INTEL_FBC_A; (__fbc_id) < I915_MAX_FBCS; (__fbc_id)++) +#define for_each_fbc_id (__dev_priv, __fbc_id) \ + for ((__fbc_id) = INTEL_FBC_A; (__fbc_id) < I915_MAX_FBCS; (__fbc_id)++) \ + for_each_if(INTEL_INFO(__dev_priv)->display.fbc_mask & BIT(__fbc_id))#define for_each_intel_fbc (__dev_priv, __fbc, __fbc_id) \ - for_each_fbc_id(__fbc_id) \ + for_each_fbc_id((__dev_priv), (__fbc_id)) \ for_each_if((__fbc) = (__dev_priv)->fbc[(__fbc_id)])struct intel_fbc_funcs {
@@ -1693,32 +1694,35 @@ static struct intel_fbc *intel_fbc_create(struct drm_i915_private *i915,*/ void intel_fbc_init (struct drm_i915_private *i915) { -struct intel_fbc *fbc; +enum intel_fbc_id fbc_id;if (!drm_mm_initialized (&i915->mm.stolen)) -mkwrite_device_info (i915)->display.has_fbc = false; +mkwrite_device_info (i915)->display.fbc_mask =0 ;if (need_fbc_vtd_wa (i915)) -mkwrite_device_info (i915)->display.has_fbc = false; +mkwrite_device_info (i915)->display.fbc_mask =0 ; i915->params.enable_fbc =intel_sanitize_fbc_option (i915);drm_dbg_kms (&i915->drm,"Sanitized enable_fbc value: %d\n" , i915->params.enable_fbc); -if (!HAS_FBC (i915)) -return ; +for_each_fbc_id (i915, fbc_id) { +struct intel_fbc *fbc; - fbc =intel_fbc_create (i915,INTEL_FBC_A ); -if (!fbc) -return ; + fbc =intel_fbc_create (i915, fbc_id); +if (!fbc) +continue ; -/* We still don't have any sort of hardware state readout for FBC, so -* deactivate it in case the BIOS activated it to make sure software -* matches the hardware state. */ -if (intel_fbc_hw_is_active (fbc)) -intel_fbc_hw_deactivate (fbc); +/* +* We still don't have any sort of hardware state readout +* for FBC, so deactivate it in case the BIOS activated it +* to make sure software matches the hardware state. +*/ +if (intel_fbc_hw_is_active (fbc)) +intel_fbc_hw_deactivate (fbc); - i915->fbc[fbc->id] = fbc; + i915->fbc[fbc->id] = fbc; + } }static int intel_fbc_debugfs_status_show (struct seq_file *m,void *unused)
drivers/gpu/drm/i915/display/skl_universal_plane.c +12 -5
@@ -1816,20 +1816,27 @@ static int skl_plane_check(struct intel_crtc_state *crtc_state,return 0 ; } +static enum intel_fbc_id skl_fbc_id_for_pipe (enum pipe pipe) +{ +return pipe -PIPE_A +INTEL_FBC_A ; +} +static bool skl_plane_has_fbc (struct drm_i915_private *dev_priv, -enum pipe pipe,enum plane_id plane_id) +enum intel_fbc_id fbc_id,enum plane_id plane_id) { -if (!HAS_FBC (dev_priv)) +if ((INTEL_INFO (dev_priv)->display.fbc_mask &BIT (fbc_id)) ==0 )return false; -return pipe ==PIPE_A && plane_id ==PLANE_PRIMARY ; +return plane_id ==PLANE_PRIMARY ; }static struct intel_fbc *skl_plane_fbc (struct drm_i915_private *dev_priv,enum pipe pipe,enum plane_id plane_id) { -if (skl_plane_has_fbc (dev_priv, pipe, plane_id)) -return dev_priv->fbc[INTEL_FBC_A ]; +enum intel_fbc_id fbc_id =skl_fbc_id_for_pipe (pipe); + +if (skl_plane_has_fbc (dev_priv, fbc_id, plane_id)) +return dev_priv->fbc[fbc_id];else return NULL ; }
drivers/gpu/drm/i915/i915_drv.h +1 -1
@@ -1495,7 +1495,7 @@ IS_SUBPLATFORM(const struct drm_i915_private *i915,#define I915_HAS_HOTPLUG (dev_priv) (INTEL_INFO(dev_priv)->display.has_hotplug)#define HAS_FW_BLC (dev_priv) (GRAPHICS_VER(dev_priv) > 2) -#define HAS_FBC (dev_priv) (INTEL_INFO(dev_priv)->display.has_fbc) +#define HAS_FBC (dev_priv) (INTEL_INFO(dev_priv)->display.fbc_mask != 0)#define HAS_CUR_FBC (dev_priv) (!HAS_GMCH(dev_priv) && GRAPHICS_VER(dev_priv) >= 7)#define HAS_IPS (dev_priv) (IS_HSW_ULT(dev_priv) || IS_BROADWELL(dev_priv))
drivers/gpu/drm/i915/i915_pci.c +11 -11
@@ -214,13 +214,13 @@ static const struct intel_device_info i845g_info = {static const struct intel_device_info i85x_info = {I830_FEATURES ,PLATFORM (INTEL_I85X ), - .display.has_fbc =1 , + .display.fbc_mask =BIT (INTEL_FBC_A ), };static const struct intel_device_info i865g_info = {I845_FEATURES ,PLATFORM (INTEL_I865G ), - .display.has_fbc =1 , + .display.fbc_mask =BIT (INTEL_FBC_A ), };#define GEN3_FEATURES \
@@ -258,7 +258,7 @@ static const struct intel_device_info i915gm_info = { .display.has_overlay = 1, .display.overlay_needs_physical = 1, .display.supports_tv = 1, - .display.has_fbc = 1, + .display.fbc_mask = BIT(INTEL_FBC_A), .hws_needs_physical = 1, .unfenced_needs_alignment = 1, };
@@ -283,7 +283,7 @@ static const struct intel_device_info i945gm_info = { .display.has_overlay = 1, .display.overlay_needs_physical = 1, .display.supports_tv = 1, - .display.has_fbc = 1, + .display.fbc_mask = BIT(INTEL_FBC_A), .hws_needs_physical = 1, .unfenced_needs_alignment = 1, };
@@ -342,7 +342,7 @@ static const struct intel_device_info i965gm_info = {GEN4_FEATURES ,PLATFORM (INTEL_I965GM ), .is_mobile = 1, - .display.has_fbc = 1, + .display.fbc_mask = BIT(INTEL_FBC_A), .display.has_overlay = 1, .display.supports_tv = 1, .hws_needs_physical = 1,
@@ -360,7 +360,7 @@ static const struct intel_device_info gm45_info = {GEN4_FEATURES ,PLATFORM (INTEL_GM45 ), .is_mobile = 1, - .display.has_fbc = 1, + .display.fbc_mask = BIT(INTEL_FBC_A), .display.supports_tv = 1, .platform_engine_mask = BIT(RCS0) | BIT(VCS0), .gpu_reset_clobbers_display = false,
@@ -393,7 +393,7 @@ static const struct intel_device_info ilk_m_info = { PLATFORM(INTEL_IRONLAKE), .is_mobile = 1, .has_rps = true, - .display.has_fbc = 1, + .display.fbc_mask = BIT(INTEL_FBC_A), };#define GEN6_FEATURES \
@@ -401,7 +401,7 @@ static const struct intel_device_info ilk_m_info = { .display.pipe_mask = BIT(PIPE_A) | BIT(PIPE_B), \ .display.cpu_transcoder_mask = BIT(TRANSCODER_A) | BIT(TRANSCODER_B), \ .display.has_hotplug = 1, \ - .display.has_fbc = 1, \ + .display.fbc_mask = BIT(INTEL_FBC_A), \ .platform_engine_mask = BIT(RCS0) | BIT(VCS0) | BIT(BCS0), \ .has_coherent_ggtt = true, \ .has_llc = 1, \
@@ -452,7 +452,7 @@ static const struct intel_device_info snb_m_gt2_info = { .display.pipe_mask = BIT(PIPE_A) | BIT(PIPE_B) | BIT(PIPE_C), \ .display.cpu_transcoder_mask = BIT(TRANSCODER_A) | BIT(TRANSCODER_B) | BIT(TRANSCODER_C), \ .display.has_hotplug = 1, \ - .display.has_fbc = 1, \ + .display.fbc_mask = BIT(INTEL_FBC_A), \ .platform_engine_mask = BIT(RCS0) | BIT(VCS0) | BIT(BCS0), \ .has_coherent_ggtt = true, \ .has_llc = 1, \
@@ -693,7 +693,7 @@ static const struct intel_device_info skl_gt4_info = { .has_64bit_reloc = 1, \ .display.has_ddi = 1, \ .display.has_fpga_dbg = 1, \ - .display.has_fbc = 1, \ + .display.fbc_mask = BIT(INTEL_FBC_A), \ .display.has_hdcp = 1, \ .display.has_psr = 1, \ .display.has_psr_hw_tracking = 1, \
@@ -948,7 +948,7 @@ static const struct intel_device_info adl_s_info = { .display.has_dp_mst = 1, \ .display.has_dsb = 1, \ .display.has_dsc = 1, \ - .display.has_fbc = 1, \ + .display.fbc_mask = BIT(INTEL_FBC_A), \ .display.has_fpga_dbg = 1, \ .display.has_hdcp = 1, \ .display.has_hotplug = 1, \
drivers/gpu/drm/i915/intel_device_info.c +3 -1
@@ -328,6 +328,7 @@ void intel_device_info_runtime_init(struct drm_i915_private *dev_priv) "Display fused off, disabling\n"); info->display.pipe_mask =0 ; info->display.cpu_transcoder_mask =0 ; + info->display.fbc_mask =0 ; }else if (fuse_strap &IVB_PIPE_C_DISABLE ) {drm_info (&dev_priv->drm,"PipeC fused off\n" ); info->display.pipe_mask &= ~BIT (PIPE_C );
@@ -339,6 +340,7 @@ void intel_device_info_runtime_init(struct drm_i915_private *dev_priv)if (dfsm &SKL_DFSM_PIPE_A_DISABLE ) { info->display.pipe_mask &= ~BIT (PIPE_A ); info->display.cpu_transcoder_mask &= ~BIT (TRANSCODER_A ); + info->display.fbc_mask &= ~BIT (INTEL_FBC_A ); }if (dfsm &SKL_DFSM_PIPE_B_DISABLE ) { info->display.pipe_mask &= ~BIT (PIPE_B );
@@ -359,7 +361,7 @@ void intel_device_info_runtime_init(struct drm_i915_private *dev_priv) info->display.has_hdcp =0 ;if (dfsm &SKL_DFSM_DISPLAY_PM_DISABLE ) - info->display.has_fbc =0 ; + info->display.fbc_mask =0 ;if (DISPLAY_VER (dev_priv) >=11 && (dfsm &ICL_DFSM_DMC_DISABLE )) info->display.has_dmc =0 ;
drivers/gpu/drm/i915/intel_device_info.h +1 -1
@@ -156,7 +156,6 @@ enum intel_ppgtt_type {func (has_dp_mst); \func (has_dsb); \func (has_dsc); \ -func (has_fbc); \func (has_fpga_dbg); \func (has_gmch); \func (has_hdcp); \
@@ -206,6 +205,7 @@ struct intel_device_info {u8 pipe_mask;u8 cpu_transcoder_mask; +u8 fbc_mask;u8 abox_mask;#define DEFINE_FLAG (name) u8 name:1
Signature · 1 line
2.32.0
PATCH v2 4/4 drm/i915/fbc: Register per-crtc debugfs files
In reply to Ville SyrjalaFrom: Ville Syrjälä <[email protected]>
Expose FBC debugfs files for each crtc. These may or may not point to the same FBC instance depending on the platform.
We leave the old global debugfs files in place until igt catches up to the new per-crtc approach.
--- drivers/gpu/drm/i915/display/intel_fbc.c | 31 +++++++++++++++--------- 1 file changed, 19 insertions(+), 12 deletions(-)
drivers/gpu/drm/i915/display/intel_fbc.c +19 -12
@@ -1798,25 +1798,32 @@ DEFINE_SIMPLE_ATTRIBUTE(intel_fbc_debugfs_false_color_fops, intel_fbc_debugfs_false_color_set, "%llu\n"); -static void intel_fbc_debugfs_add (struct intel_fbc *fbc) +static void intel_fbc_debugfs_add (struct intel_fbc *fbc, +struct dentry *parent) { -struct drm_i915_private *i915 = fbc->i915; -struct drm_minor *minor = i915->drm.primary; - -debugfs_create_file ("i915_fbc_status" ,0444 , - minor->debugfs_root, fbc, - &intel_fbc_debugfs_status_fops); +debugfs_create_file ("i915_fbc_status" ,0444 , parent, + fbc, &intel_fbc_debugfs_status_fops);if (fbc->funcs->set_false_color) -debugfs_create_file ("i915_fbc_false_color" ,0644 , - minor->debugfs_root, fbc, - &intel_fbc_debugfs_false_color_fops); +debugfs_create_file ("i915_fbc_false_color" ,0644 , parent, + fbc, &intel_fbc_debugfs_false_color_fops); }void intel_fbc_debugfs_register (struct drm_i915_private *i915) { -struct intel_fbc *fbc = i915->fbc[INTEL_FBC_A ]; +struct drm_minor *minor = i915->drm.primary; +struct intel_crtc *crtc; +struct intel_fbc *fbc; +for_each_intel_crtc (&i915->drm, crtc) { +struct intel_plane *plane =to_intel_plane (crtc->base.primary); + +if (plane->fbc) +intel_fbc_debugfs_add (plane->fbc, crtc->base.debugfs_entry); + } + +/* FIXME: remove this once igt is on board with per-crtc stuff */ + fbc = i915->fbc[INTEL_FBC_A ];if (fbc) -intel_fbc_debugfs_add (fbc); +intel_fbc_debugfs_add (fbc, minor->debugfs_root); }
Signature · 1 line
2.32.0
Re: [Intel-gfx] [PATCH v2 4/4] drm/i915/fbc: Register per-crtc debugfs files
Quoted 46 lines · Ville Syrjala
From: Ville Syrjälä <[email protected]>
Expose FBC debugfs files for each crtc. These may or may not point to the same FBC instance depending on the platform.
We leave the old global debugfs files in place until igt catches up to the new per-crtc approach.
Cc Jani Nikula <[email protected]>Signed-off-by Ville Syrjälä <[email protected]>--- drivers/gpu/drm/i915/display/intel_fbc.c | 31 +++++++++++++++--------- 1 file changed, 19 insertions(+), 12 deletions(-)drivers/gpu/drm/i915/display/intel_fbc.c +6
-11@@ -1798,25 +1798,32 @@ DEFINE_SIMPLE_ATTRIBUTE(intel_fbc_debugfs_false_color_fops, intel_fbc_debugfs_false_color_set, "%llu\n"); -static void intel_fbc_debugfs_add (struct intel_fbc *fbc) +static void intel_fbc_debugfs_add (struct intel_fbc *fbc, +struct dentry *parent) { -struct drm_i915_private *i915 = fbc->i915; -struct drm_minor *minor = i915->drm.primary; - -debugfs_create_file ("i915_fbc_status" ,0444 , - minor->debugfs_root, fbc, - &intel_fbc_debugfs_status_fops); +debugfs_create_file ("i915_fbc_status" ,0444 , parent, + fbc, &intel_fbc_debugfs_status_fops);if (fbc->funcs->set_false_color) -debugfs_create_file ("i915_fbc_false_color" ,0644 , - minor->debugfs_root, fbc, - &intel_fbc_debugfs_false_color_fops); +debugfs_create_file ("i915_fbc_false_color" ,0644 , parent, + fbc, &intel_fbc_debugfs_false_color_fops); }void intel_fbc_debugfs_register (struct drm_i915_private *i915) { -struct intel_fbc *fbc = i915->fbc[INTEL_FBC_A ];
drivers/gpu/drm/i915/display/intel_fbc.c DEFINE_SIMPLE_ATTRIBUTE(intel_fbc_debugfs_false_color_fops, · line 1823
Quoted 10 lines
drivers/gpu/drm/i915/display/intel_fbc.c +9
-0+struct drm_minor *minor = i915->drm.primary; +struct intel_crtc *crtc; +struct intel_fbc *fbc; +for_each_intel_crtc (&i915->drm, crtc) { +struct intel_plane *plane =to_intel_plane (crtc->base.primary); + +if (plane->fbc) +intel_fbc_debugfs_add (plane->fbc, crtc->base.debugfs_entry); + }
I think the per-crtc debugfs files should be registered via intel_crtc_debugfs_add(). Maybe leave the current intel_fbc_debugfs_register() function as-is and remove once igt is fixed.
BR,
Jani.
Quoted 7 lines
drivers/gpu/drm/i915/display/intel_fbc.c +4
-1+ +/* FIXME: remove this once igt is on board with per-crtc stuff */ + fbc = i915->fbc[INTEL_FBC_A ];if (fbc) -intel_fbc_debugfs_add (fbc); +intel_fbc_debugfs_add (fbc, minor->debugfs_root); }
Signature · 1 line
Jani Nikula, Intel Open Source Graphics Center
Re: [Intel-gfx] [PATCH v2 4/4] drm/i915/fbc: Register per-crtc debugfs files
Quoted 51 lines · Jani Nikula
Quoted 50 lines · Ville Syrjala
From: Ville Syrjälä <[email protected]>
Expose FBC debugfs files for each crtc. These may or may not point to the same FBC instance depending on the platform.
We leave the old global debugfs files in place until igt catches up to the new per-crtc approach.
Cc Jani Nikula <[email protected]>Signed-off-by Ville Syrjälä <[email protected]>--- drivers/gpu/drm/i915/display/intel_fbc.c | 31 +++++++++++++++--------- 1 file changed, 19 insertions(+), 12 deletions(-)drivers/gpu/drm/i915/display/intel_fbc.c +9
-11@@ -1798,25 +1798,32 @@ DEFINE_SIMPLE_ATTRIBUTE(intel_fbc_debugfs_false_color_fops, intel_fbc_debugfs_false_color_set, "%llu\n"); -static void intel_fbc_debugfs_add (struct intel_fbc *fbc) +static void intel_fbc_debugfs_add (struct intel_fbc *fbc, +struct dentry *parent) { -struct drm_i915_private *i915 = fbc->i915; -struct drm_minor *minor = i915->drm.primary; - -debugfs_create_file ("i915_fbc_status" ,0444 , - minor->debugfs_root, fbc, - &intel_fbc_debugfs_status_fops); +debugfs_create_file ("i915_fbc_status" ,0444 , parent, + fbc, &intel_fbc_debugfs_status_fops);if (fbc->funcs->set_false_color) -debugfs_create_file ("i915_fbc_false_color" ,0644 , - minor->debugfs_root, fbc, - &intel_fbc_debugfs_false_color_fops); +debugfs_create_file ("i915_fbc_false_color" ,0644 , parent, + fbc, &intel_fbc_debugfs_false_color_fops); }void intel_fbc_debugfs_register (struct drm_i915_private *i915) { -struct intel_fbc *fbc = i915->fbc[INTEL_FBC_A ]; +struct drm_minor *minor = i915->drm.primary; +struct intel_crtc *crtc; +struct intel_fbc *fbc;
Quoted 9 lines
drivers/gpu/drm/i915/display/intel_fbc.c DEFINE_SIMPLE_ATTRIBUTE(intel_fbc_debugfs_false_color_fops, · line 1823
Quoted 6 lines
drivers/gpu/drm/i915/display/intel_fbc.c +6
-0+for_each_intel_crtc (&i915->drm, crtc) { +struct intel_plane *plane =to_intel_plane (crtc->base.primary); + +if (plane->fbc) +intel_fbc_debugfs_add (plane->fbc, crtc->base.debugfs_entry); + }I think the per-crtc debugfs files should be registered via
intel_crtc_debugfs_add().
I supposs. Seems a bit more leaky as far as abstractions goes though. It would make a lot more sense if crtcs could be registered dynamically, but they can't. I'll respin anyway.
Signature · 2 lines
Ville Syrjälä Intel
PATCH v3 4/4 drm/i915/fbc: Register per-crtc debugfs files
In reply to Ville SyrjalaFrom: Ville Syrjälä <[email protected]>
Expose FBC debugfs files for each crtc. These may or may not point to the same FBC instance depending on the platform.
We leave the old global debugfs files in place until igt catches up to the new per-crtc approach.
v2: Take a trip via intel_crtc_debugfs_add() (Jani)
--- .../drm/i915/display/intel_display_debugfs.c | 7 +++-- drivers/gpu/drm/i915/display/intel_fbc.c | 31 ++++++++++++------- drivers/gpu/drm/i915/display/intel_fbc.h | 1 + 3 files changed, 25 insertions(+), 14 deletions(-)
drivers/gpu/drm/i915/display/intel_display_debugfs.c +5 -2
@@ -2402,6 +2402,9 @@ void intel_connector_debugfs_add(struct intel_connector *intel_connector)*/ void intel_crtc_debugfs_add (struct drm_crtc *crtc) { -if (crtc->debugfs_entry) -crtc_updates_add (crtc); +if (!crtc->debugfs_entry) +return ; + +crtc_updates_add (crtc); +intel_fbc_crtc_debugfs_add (to_intel_crtc (crtc)); }
drivers/gpu/drm/i915/display/intel_fbc.c +19 -12
@@ -1798,25 +1798,32 @@ DEFINE_SIMPLE_ATTRIBUTE(intel_fbc_debugfs_false_color_fops, intel_fbc_debugfs_false_color_set, "%llu\n"); -static void intel_fbc_debugfs_add (struct intel_fbc *fbc) +static void intel_fbc_debugfs_add (struct intel_fbc *fbc, +struct dentry *parent) { -struct drm_i915_private *i915 = fbc->i915; -struct drm_minor *minor = i915->drm.primary; - -debugfs_create_file ("i915_fbc_status" ,0444 , - minor->debugfs_root, fbc, - &intel_fbc_debugfs_status_fops); +debugfs_create_file ("i915_fbc_status" ,0444 , parent, + fbc, &intel_fbc_debugfs_status_fops);if (fbc->funcs->set_false_color) -debugfs_create_file ("i915_fbc_false_color" ,0644 , - minor->debugfs_root, fbc, - &intel_fbc_debugfs_false_color_fops); +debugfs_create_file ("i915_fbc_false_color" ,0644 , parent, + fbc, &intel_fbc_debugfs_false_color_fops); } +void intel_fbc_crtc_debugfs_add (struct intel_crtc *crtc) +{ +struct intel_plane *plane =to_intel_plane (crtc->base.primary); + +if (plane->fbc) +intel_fbc_debugfs_add (plane->fbc, crtc->base.debugfs_entry); +} + +/* FIXME: remove this once igt is on board with per-crtc stuff */ void intel_fbc_debugfs_register (struct drm_i915_private *i915) { -struct intel_fbc *fbc = i915->fbc[INTEL_FBC_A ]; +struct drm_minor *minor = i915->drm.primary; +struct intel_fbc *fbc; + fbc = i915->fbc[INTEL_FBC_A ];if (fbc) -intel_fbc_debugfs_add (fbc); +intel_fbc_debugfs_add (fbc, minor->debugfs_root); }
drivers/gpu/drm/i915/display/intel_fbc.h +1 -0
@@ -42,6 +42,7 @@ void intel_fbc_flush(struct drm_i915_private *dev_priv,void intel_fbc_add_plane (struct intel_fbc *fbc,struct intel_plane *plane);void intel_fbc_handle_fifo_underrun_irq (struct drm_i915_private *i915);void intel_fbc_reset_underrun (struct drm_i915_private *i915); +void intel_fbc_crtc_debugfs_add (struct intel_crtc *crtc);void intel_fbc_debugfs_register (struct drm_i915_private *i915);#endif /* __INTEL_FBC_H__ */
Signature · 1 line
2.32.0
Re: [Intel-gfx] [PATCH v3 4/4] drm/i915/fbc: Register per-crtc debugfs files
Quoted 5 lines · Ville Syrjala
From: Ville Syrjälä <[email protected]>
Expose FBC debugfs files for each crtc. These may or may not point to the same FBC instance depending on the platform.
Quoted 7 lines
We leave the old global debugfs files in place until igt catches up to the new per-crtc approach.
v2: Take a trip via
intel_crtc_debugfs_add()(Jani)Cc Jani Nikula <[email protected]>Signed-off-by Ville Syrjälä <[email protected]>
Quoted 11 lines
--- .../drm/i915/display/intel_display_debugfs.c | 7 +++-- drivers/gpu/drm/i915/display/intel_fbc.c | 31 ++++++++++++------- drivers/gpu/drm/i915/display/intel_fbc.h | 1 + 3 files changed, 25 insertions(+), 14 deletions(-)drivers/gpu/drm/i915/display/intel_display_debugfs.c +0
-0
drivers/gpu/drm/i915/display/intel_display_debugfs.c void intel_connector_debugfs_add(struct intel_connector *intel_connector) · line 2406
Quoted 7 lines
drivers/gpu/drm/i915/display/intel_display_debugfs.c +2
-2@@ -2402,6 +2402,9 @@ void intel_connector_debugfs_add(struct intel_connector *intel_connector)*/ void intel_crtc_debugfs_add (struct drm_crtc *crtc) { -if (crtc->debugfs_entry) -crtc_updates_add (crtc); +if (!crtc->debugfs_entry) +return ;
I think this is probably unnecessary, but that's for another patch.
Quoted 65 lines
drivers/gpu/drm/i915/display/intel_display_debugfs.c +3
-0+ +crtc_updates_add (crtc); +intel_fbc_crtc_debugfs_add (to_intel_crtc (crtc)); }drivers/gpu/drm/i915/display/intel_fbc.c +19
-12@@ -1798,25 +1798,32 @@ DEFINE_SIMPLE_ATTRIBUTE(intel_fbc_debugfs_false_color_fops, intel_fbc_debugfs_false_color_set, "%llu\n"); -static void intel_fbc_debugfs_add (struct intel_fbc *fbc) +static void intel_fbc_debugfs_add (struct intel_fbc *fbc, +struct dentry *parent) { -struct drm_i915_private *i915 = fbc->i915; -struct drm_minor *minor = i915->drm.primary; - -debugfs_create_file ("i915_fbc_status" ,0444 , - minor->debugfs_root, fbc, - &intel_fbc_debugfs_status_fops); +debugfs_create_file ("i915_fbc_status" ,0444 , parent, + fbc, &intel_fbc_debugfs_status_fops);if (fbc->funcs->set_false_color) -debugfs_create_file ("i915_fbc_false_color" ,0644 , - minor->debugfs_root, fbc, - &intel_fbc_debugfs_false_color_fops); +debugfs_create_file ("i915_fbc_false_color" ,0644 , parent, + fbc, &intel_fbc_debugfs_false_color_fops); } +void intel_fbc_crtc_debugfs_add (struct intel_crtc *crtc) +{ +struct intel_plane *plane =to_intel_plane (crtc->base.primary); + +if (plane->fbc) +intel_fbc_debugfs_add (plane->fbc, crtc->base.debugfs_entry); +} + +/* FIXME: remove this once igt is on board with per-crtc stuff */ void intel_fbc_debugfs_register (struct drm_i915_private *i915) { -struct intel_fbc *fbc = i915->fbc[INTEL_FBC_A ]; +struct drm_minor *minor = i915->drm.primary; +struct intel_fbc *fbc; + fbc = i915->fbc[INTEL_FBC_A ];if (fbc) -intel_fbc_debugfs_add (fbc); +intel_fbc_debugfs_add (fbc, minor->debugfs_root); }drivers/gpu/drm/i915/display/intel_fbc.h +1
-0@@ -42,6 +42,7 @@ void intel_fbc_flush(struct drm_i915_private *dev_priv,void intel_fbc_add_plane (struct intel_fbc *fbc,struct intel_plane *plane);void intel_fbc_handle_fifo_underrun_irq (struct drm_i915_private *i915);void intel_fbc_reset_underrun (struct drm_i915_private *i915); +void intel_fbc_crtc_debugfs_add (struct intel_crtc *crtc);void intel_fbc_debugfs_register (struct drm_i915_private *i915);#endif /* __INTEL_FBC_H__ */
Signature · 1 line
Jani Nikula, Intel Open Source Graphics Center
Re: [Intel-gfx] [PATCH v3 4/4] drm/i915/fbc: Register per-crtc debugfs files
Quoted 22 lines · Jani Nikula
Quoted 5 lines · Ville Syrjala
From: Ville Syrjälä <[email protected]>
Expose FBC debugfs files for each crtc. These may or may not point to the same FBC instance depending on the platform.
Quoted 7 lines
We leave the old global debugfs files in place until igt catches up to the new per-crtc approach.
v2: Take a trip via
intel_crtc_debugfs_add()(Jani)Cc Jani Nikula <[email protected]>Signed-off-by Ville Syrjälä <[email protected]>Reviewed-by Jani Nikula <[email protected]>Quoted 6 lines
--- .../drm/i915/display/intel_display_debugfs.c | 7 +++-- drivers/gpu/drm/i915/display/intel_fbc.c | 31 ++++++++++++------- drivers/gpu/drm/i915/display/intel_fbc.h | 1 + 3 files changed, 25 insertions(+), 14 deletions(-)
Quoted 14 lines
drivers/gpu/drm/i915/display/intel_display_debugfs.c void intel_connector_debugfs_add(struct intel_connector *intel_connector) · line 2406
Quoted 12 lines
drivers/gpu/drm/i915/display/intel_display_debugfs.c +2
-2@@ -2402,6 +2402,9 @@ void intel_connector_debugfs_add(struct intel_connector *intel_connector)*/ void intel_crtc_debugfs_add (struct drm_crtc *crtc) { -if (crtc->debugfs_entry) -crtc_updates_add (crtc); +if (!crtc->debugfs_entry) +return ;I think this is probably unnecessary, but that's for another patch.
I guess. Seems unlikely at best that we'd have failed to allocate that.
Signature · 2 lines
Ville Syrjälä Intel
Re: [Intel-gfx] [PATCH v3 4/4] drm/i915/fbc: Register per-crtc debugfs files
In reply to Ville SyrjalaHi Ville,
Quoted 5 lines · Ville Syrjala
From: Ville Syrjälä <[email protected]>
Expose FBC debugfs files for each crtc. These may or may not point to the same FBC instance depending on the platform.
Quoted 7 lines
We leave the old global debugfs files in place until igt catches up to the new per-crtc approach.
v2: Take a trip via
intel_crtc_debugfs_add()(Jani)Cc Jani Nikula <[email protected]>Signed-off-by Ville Syrjälä <[email protected]>
Apologies if this has already been reported and fixed, I have not seen anything on lore.kernel.org or drm-intel about it.
This patch as commit e74c6aa955ca ("drm/i915/fbc: Register per-crtc debugfs files") breaks the build when CONFIG_DEBUG_FS is disabled.
drivers/gpu/drm/i915/display/intel_fbc.c: In function ‘intel_fbc_crtc_debugfs_add’:drivers/gpu/drm/i915/display/intel_fbc.c:1817:61: error: ‘struct drm_crtc’ has no member named ‘debugfs_entry’
1817 | intel_fbc_debugfs_add(plane->fbc, crtc->base.debugfs_entry);
| ^
Cheers,
Nathan
Re: [Intel-gfx] [PATCH v3 4/4] drm/i915/fbc: Register per-crtc debugfs files
Quoted 19 lines · Nathan Chancellor
Hi Ville,
Quoted 5 lines · Ville Syrjala
From: Ville Syrjälä <[email protected]>
Expose FBC debugfs files for each crtc. These may or may not point to the same FBC instance depending on the platform.
Quoted 7 lines
We leave the old global debugfs files in place until igt catches up to the new per-crtc approach.
v2: Take a trip via
intel_crtc_debugfs_add()(Jani)Cc Jani Nikula <[email protected]>Signed-off-by Ville Syrjälä <[email protected]>Apologies if this has already been reported and fixed, I have not seen anything on lore.kernel.org or drm-intel about it.
Quoted 7 lines
This patch as commit
e74c6aa955ca("drm/i915/fbc: Register per-crtc debugfs files") breaks the build whenCONFIG_DEBUG_FSis disabled.
drivers/gpu/drm/i915/display/intel_fbc.c: In function ‘intel_fbc_crtc_debugfs_add’:drivers/gpu/drm/i915/display/intel_fbc.c:1817:61: error: ‘struct drm_crtc’ has no member named ‘debugfs_entry’
1817 |intel_fbc_debugfs_add(plane->fbc, crtc->base.debugfs_entry);
| ^
Doh. I guess I didn't actually build test the final version with DEBUGFS=n.
Does this fix it for you?
include/drm/drm_crtc.h +0 -2
@@ -1135,14 +1135,12 @@ struct drm_crtc {*/ spinlock_t commit_lock; -#ifdef CONFIG_DEBUG_FS /** * @debugfs_entry: * * Debugfs directory for this CRTC. */ struct dentry *debugfs_entry; -#endif /** * @crc:
Signature · 5 lines
2.32.0 -- Ville Syrjälä Intel
Nathan Chancellor
Tested-byRe: [Intel-gfx] [PATCH v3 4/4] drm/i915/fbc: Register per-crtc debugfs files
Quoted 28 lines · Ville Syrjälä
Quoted 19 lines · Nathan Chancellor
Hi Ville,
Quoted 5 lines · Ville Syrjala
From: Ville Syrjälä <[email protected]>
Expose FBC debugfs files for each crtc. These may or may not point to the same FBC instance depending on the platform.
Quoted 7 lines
We leave the old global debugfs files in place until igt catches up to the new per-crtc approach.
v2: Take a trip via
intel_crtc_debugfs_add()(Jani)Cc Jani Nikula <[email protected]>Signed-off-by Ville Syrjälä <[email protected]>Apologies if this has already been reported and fixed, I have not seen anything on lore.kernel.org or drm-intel about it.
Quoted 7 lines
This patch as commit
e74c6aa955ca("drm/i915/fbc: Register per-crtc debugfs files") breaks the build whenCONFIG_DEBUG_FSis disabled.
drivers/gpu/drm/i915/display/intel_fbc.c: In function ‘intel_fbc_crtc_debugfs_add’:drivers/gpu/drm/i915/display/intel_fbc.c:1817:61: error: ‘struct drm_crtc’ has no member named ‘debugfs_entry’
1817 |intel_fbc_debugfs_add(plane->fbc, crtc->base.debugfs_entry);
| ^
Quoted 4 lines
Doh. I guess I didn't actually build test the final version with DEBUGFS=n.
Does this fix it for you?
Yes, it does.
Quoted 25 lines
include/drm/drm_crtc.h +0
-2@@ -1135,14 +1135,12 @@ struct drm_crtc {*/ spinlock_t commit_lock; -#ifdef CONFIG_DEBUG_FS /** * @debugfs_entry: * * Debugfs directory for this CRTC. */ struct dentry *debugfs_entry; -#endif /** * @crc: Signature · 5 lines
2.32.0 -- Ville Syrjälä Intel
Patchwork
CI[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/fbc: More multi-FBC refactoring (rev3)
In reply to Ville Syrjala== Series Details ==
== Series Details ==
Series: drm/i915/fbc: More multi-FBC refactoring (rev3)
URL : https://patchwork.freedesktop.org/series/97821/
State : warning
== Summary ==
$ dim checkpatch origin/drm-tip 88faeb3cb9ee drm/i915/fbc: Parametrize FBC register offsets ca4050953f1b drm/i915/fbc: Loop through FBC instances in various places -:42: CHECK:MACRO_ARG_REUSE: Macro argument reuse '__fbc_id' - possible side-effects? #42: FILE: drivers/gpu/drm/i915/display/intel_fbc.c:52: +#define for_each_fbc_id(__fbc_id) \ + for ((__fbc_id) = INTEL_FBC_A; (__fbc_id) < I915_MAX_FBCS; (__fbc_id)++)
-:45: ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses #45: FILE: drivers/gpu/drm/i915/display/intel_fbc.c:55:
+#define for_each_intel_fbc(__dev_priv, __fbc, __fbc_id) \
+ for_each_fbc_id(__fbc_id) \
+ for_each_if((__fbc) = (__dev_priv)->fbc[(__fbc_id)])
-:45: CHECK:MACRO_ARG_REUSE: Macro argument reuse '__fbc_id' - possible side-effects? #45: FILE: drivers/gpu/drm/i915/display/intel_fbc.c:55:
+#define for_each_intel_fbc(__dev_priv, __fbc, __fbc_id) \
+ for_each_fbc_id(__fbc_id) \
+ for_each_if((__fbc) = (__dev_priv)->fbc[(__fbc_id)])
-:115: CHECK:BRACES: Blank lines aren't necessary before a close brace '}' #115: FILE: drivers/gpu/drm/i915/display/intel_fbc.c:1344:
+
+}
total: 1 errors, 0 warnings, 3 checks, 253 lines checked0bcf7d617272 drm/i915/fbc: Introduce device info fbc_mask
-:33: CHECK:MACRO_ARG_REUSE: Macro argument reuse '__fbc_id' - possible side-effects? #33: FILE: drivers/gpu/drm/i915/display/intel_fbc.c:52:
+#define for_each_fbc_id(__dev_priv, __fbc_id) \
+ for ((__fbc_id) = INTEL_FBC_A; (__fbc_id) < I915_MAX_FBCS; (__fbc_id)++) \
+ for_each_if(INTEL_INFO(__dev_priv)->display.fbc_mask & BIT(__fbc_id))
total: 0 errors, 0 warnings, 1 checks, 227 lines checked 5ef4aae1e202 drm/i915/fbc: Register per-crtc debugfs files
Patchwork
CI[Intel-gfx] ✗ Fi.CI.SPARSE: warning for drm/i915/fbc: More multi-FBC refactoring (rev3)
In reply to Ville Syrjala== Series Details ==
== Series Details ==
Series: drm/i915/fbc: More multi-FBC refactoring (rev3)
URL : https://patchwork.freedesktop.org/series/97821/
State : warning
== Summary ==
$ dim sparse --fast origin/drm-tip Sparse version: v0.6.2 Fast mode used, each commit won't be checked separately.
Patchwork
CI[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/fbc: More multi-FBC refactoring (rev3)
In reply to Ville Syrjala== Series Details ==
== Series Details ==
Series: drm/i915/fbc: More multi-FBC refactoring (rev3)
URL : https://patchwork.freedesktop.org/series/97821/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_10995 -> Patchwork_21839
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/index.html
Participating hosts (40 -> 34)
------------------------------
Additional (1): fi-tgl-u2
Missing (7): bat-dg1-6 fi-bsw-cyan bat-adlp-6 bat-adlp-4 fi-ctg-p8600 fi-pnv-d510 fi-bdw-samus
Known issues
------------
Here are the changes found in Patchwork_21839 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@amdgpu/amd_basic@cs-gfx:
- fi-rkl-guc: NOTRUN -> [SKIP][1] ([fdo#109315]) +17 similar issues
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/fi-rkl-guc/igt@amdgpu/[email protected]
* igt@amdgpu/amd_basic@semaphore:
- fi-bdw-5557u: NOTRUN -> [SKIP][2] ([fdo#109271]) +31 similar issues
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/fi-bdw-5557u/igt@amdgpu/[email protected]
* igt@gem_huc_copy@huc-copy:
- fi-tgl-u2: NOTRUN -> [SKIP][3] ([i915#2190])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/fi-tgl-u2/igt@[email protected]
* igt@gem_lmem_swapping@verify-random:
- fi-tgl-u2: NOTRUN -> [SKIP][4] ([i915#4613]) +3 similar issues
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/fi-tgl-u2/igt@[email protected]
* igt@kms_chamelium@dp-crc-fast:
- fi-bdw-5557u: NOTRUN -> [SKIP][5] ([fdo#109271] / [fdo#111827]) +8 similar issues
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/fi-bdw-5557u/igt@[email protected]
* igt@kms_chamelium@dp-hpd-fast:
- fi-tgl-u2: NOTRUN -> [SKIP][6] ([fdo#109284] / [fdo#111827]) +8 similar issues
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/fi-tgl-u2/igt@[email protected]
* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-atomic:
- fi-tgl-u2: NOTRUN -> [SKIP][7] ([i915#4103]) +1 similar issue
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/fi-tgl-u2/igt@[email protected]
* igt@kms_force_connector_basic@force-load-detect:
- fi-tgl-u2: NOTRUN -> [SKIP][8] ([fdo#109285])
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/fi-tgl-u2/igt@[email protected]
* igt@prime_vgem@basic-userptr:
- fi-tgl-u2: NOTRUN -> [SKIP][9] ([i915#3301])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/fi-tgl-u2/igt@[email protected]
* igt@runner@aborted:
- fi-skl-6600u: NOTRUN -> [FAIL][10] ([i915#2722] / [i915#4312])
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/fi-skl-6600u/igt@[email protected]
#### Possible fixes ####
* igt@gem_exec_suspend@basic-s3:
- fi-bdw-5557u: [INCOMPLETE][11] ([i915#146]) -> [PASS][12]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10995/fi-bdw-5557u/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/fi-bdw-5557u/igt@[email protected]
* igt@i915_selftest@live@workarounds:
- fi-rkl-guc: [INCOMPLETE][13] -> [PASS][14]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10995/fi-rkl-guc/igt@i915_selftest@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/fi-rkl-guc/igt@i915_selftest@[email protected]
* igt@kms_frontbuffer_tracking@basic:
- fi-cml-u2: [DMESG-WARN][15] ([i915#4269]) -> [PASS][16]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10995/fi-cml-u2/igt@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/fi-cml-u2/igt@[email protected]
#### Warnings ####
* igt@gem_flink_basic@bad-flink:
- fi-skl-6600u: [INCOMPLETE][17] ([i915#198]) -> [INCOMPLETE][18] ([i915#198] / [i915#4547])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10995/fi-skl-6600u/igt@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/fi-skl-6600u/igt@[email protected]
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109284]: https://bugs.freedesktop.org/show_bug.cgi?id=109284
[fdo#109285]: https://bugs.freedesktop.org/show_bug.cgi?id=109285
[fdo#109315]: https://bugs.freedesktop.org/show_bug.cgi?id=109315
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[i915#146]: https://gitlab.freedesktop.org/drm/intel/issues/146
[i915#198]: https://gitlab.freedesktop.org/drm/intel/issues/198
[i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
[i915#2722]: https://gitlab.freedesktop.org/drm/intel/issues/2722
[i915#3301]: https://gitlab.freedesktop.org/drm/intel/issues/3301
[i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103
[i915#4269]: https://gitlab.freedesktop.org/drm/intel/issues/4269
[i915#4312]: https://gitlab.freedesktop.org/drm/intel/issues/4312
[i915#4547]: https://gitlab.freedesktop.org/drm/intel/issues/4547
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
Build changes
-------------
* Linux: CI_DRM_10995 -> Patchwork_21839
CI-20190529: 20190529
CI_DRM_10995: 9ed632ca6db2fb2c6ae01f833fd825114bce97d5 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_6307: be84fe4f151bc092e068cab5cd0cd19c34948b40 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_21839: 5ef4aae1e20255520839c2a92b9677db13bcd04c @ git://anongit.freedesktop.org/gfx-ci/linux
== Linux commits ==
5ef4aae1e202 drm/i915/fbc: Register per-crtc debugfs files 0bcf7d617272 drm/i915/fbc: Introduce device info fbc_mask ca4050953f1b drm/i915/fbc: Loop through FBC instances in various places 88faeb3cb9ee drm/i915/fbc: Parametrize FBC register offsets
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/index.html
Patchwork
CI[Intel-gfx] ✗ Fi.CI.IGT: failure for drm/i915/fbc: More multi-FBC refactoring (rev3)
In reply to Ville Syrjala== Series Details ==
== Series Details ==
Series: drm/i915/fbc: More multi-FBC refactoring (rev3)
URL : https://patchwork.freedesktop.org/series/97821/
State : failure
== Summary ==
CI Bug Log - changes from CI_DRM_10995_full -> Patchwork_21839_full
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with Patchwork_21839_full absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes introduced in Patchwork_21839_full, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.
Participating hosts (10 -> 10)
------------------------------
No changes in participating hosts
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_21839_full:
### IGT changes ###
#### Possible regressions ####
* igt@kms_psr2_sf@overlay-primary-update-sf-dmg-area:
- shard-tglb: NOTRUN -> [SKIP][1]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-tglb8/igt@[email protected]
Known issues
------------
Here are the changes found in Patchwork_21839_full that come from known issues:
### CI changes ###
#### Possible fixes ####
* boot:
- shard-apl: ([PASS][2], [PASS][3], [PASS][4], [PASS][5], [PASS][6], [PASS][7], [PASS][8], [PASS][9], [PASS][10], [PASS][11], [PASS][12], [PASS][13], [PASS][14], [PASS][15], [PASS][16], [PASS][17], [PASS][18], [PASS][19], [PASS][20], [PASS][21], [FAIL][22], [PASS][23], [PASS][24], [PASS][25], [PASS][26]) ([i915#4386]) -> ([PASS][27], [PASS][28], [PASS][29], [PASS][30], [PASS][31], [PASS][32], [PASS][33], [PASS][34], [PASS][35], [PASS][36], [PASS][37], [PASS][38], [PASS][39], [PASS][40], [PASS][41], [PASS][42], [PASS][43], [PASS][44], [PASS][45], [PASS][46], [PASS][47], [PASS][48], [PASS][49], [PASS][50], [PASS][51])
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10995/shard-apl8/boot.html
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10995/shard-apl8/boot.html
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10995/shard-apl8/boot.html
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10995/shard-apl8/boot.html
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10995/shard-apl8/boot.html
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10995/shard-apl7/boot.html
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10995/shard-apl7/boot.html
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10995/shard-apl7/boot.html
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10995/shard-apl6/boot.html
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10995/shard-apl6/boot.html
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10995/shard-apl6/boot.html
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10995/shard-apl4/boot.html
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10995/shard-apl4/boot.html
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10995/shard-apl4/boot.html
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10995/shard-apl3/boot.html
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10995/shard-apl3/boot.html
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10995/shard-apl3/boot.html
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10995/shard-apl3/boot.html
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10995/shard-apl2/boot.html
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10995/shard-apl2/boot.html
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10995/shard-apl2/boot.html
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10995/shard-apl1/boot.html
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10995/shard-apl1/boot.html
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10995/shard-apl1/boot.html
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10995/shard-apl1/boot.html
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-apl1/boot.html
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-apl1/boot.html
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-apl1/boot.html
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-apl1/boot.html
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-apl2/boot.html
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-apl2/boot.html
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-apl2/boot.html
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-apl2/boot.html
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-apl3/boot.html
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-apl3/boot.html
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-apl3/boot.html
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-apl3/boot.html
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-apl4/boot.html
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-apl4/boot.html
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-apl4/boot.html
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-apl4/boot.html
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-apl6/boot.html
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-apl6/boot.html
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-apl6/boot.html
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-apl7/boot.html
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-apl7/boot.html
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-apl7/boot.html
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-apl8/boot.html
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-apl8/boot.html
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-apl8/boot.html
### IGT changes ###
#### Issues hit ####
* igt@gem_ctx_sseu@invalid-args:
- shard-apl: NOTRUN -> [SKIP][52] ([fdo#109271]) +79 similar issues
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-apl8/igt@[email protected]
* igt@gem_exec_capture@pi@bcs0:
- shard-skl: [PASS][53] -> [INCOMPLETE][54] ([i915#4547])
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10995/shard-skl7/igt@gem_exec_capture@[email protected]
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-skl6/igt@gem_exec_capture@[email protected]
* igt@gem_exec_fair@basic-none@vecs0:
- shard-apl: [PASS][55] -> [FAIL][56] ([i915#2842])
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10995/shard-apl3/igt@gem_exec_fair@[email protected]
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-apl4/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-pace-solo@rcs0:
- shard-iclb: [PASS][57] -> [FAIL][58] ([i915#2842]) +1 similar issue
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10995/shard-iclb1/igt@gem_exec_fair@[email protected]
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-iclb7/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-throttle@rcs0:
- shard-glk: [PASS][59] -> [FAIL][60] ([i915#2842]) +1 similar issue
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10995/shard-glk7/igt@gem_exec_fair@[email protected]
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-glk2/igt@gem_exec_fair@[email protected]
- shard-iclb: [PASS][61] -> [FAIL][62] ([i915#2849])
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10995/shard-iclb5/igt@gem_exec_fair@[email protected]
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-iclb7/igt@gem_exec_fair@[email protected]
* igt@gem_exec_whisper@basic-queues-priority-all:
- shard-glk: [PASS][63] -> [DMESG-WARN][64] ([i915#118])
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10995/shard-glk4/igt@[email protected]
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-glk4/igt@[email protected]
* igt@gem_huc_copy@huc-copy:
- shard-apl: NOTRUN -> [SKIP][65] ([fdo#109271] / [i915#2190])
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-apl8/igt@[email protected]
* igt@gem_lmem_swapping@parallel-multi:
- shard-skl: NOTRUN -> [SKIP][66] ([fdo#109271] / [i915#4613])
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-skl1/igt@[email protected]
- shard-tglb: NOTRUN -> [SKIP][67] ([i915#4613]) +1 similar issue
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-tglb6/igt@[email protected]
* igt@gem_lmem_swapping@smem-oom:
- shard-kbl: NOTRUN -> [SKIP][68] ([fdo#109271] / [i915#4613]) +1 similar issue
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-kbl3/igt@[email protected]
* igt@gem_pxp@fail-invalid-protected-context:
- shard-iclb: NOTRUN -> [SKIP][69] ([i915#4270])
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-iclb7/igt@[email protected]
* igt@gen9_exec_parse@batch-without-end:
- shard-tglb: NOTRUN -> [SKIP][70] ([i915#2856])
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-tglb8/igt@[email protected]
* igt@i915_pm_backlight@fade_with_suspend:
- shard-skl: [PASS][71] -> [INCOMPLETE][72] ([i915#198]) +1 similar issue
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10995/shard-skl4/igt@i915_pm_backlight@fade_with_suspend.html
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-skl6/igt@i915_pm_backlight@fade_with_suspend.html
* igt@i915_pm_dc@dc9-dpms:
- shard-tglb: NOTRUN -> [SKIP][73] ([i915#4281])
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-tglb8/igt@[email protected]
* igt@kms_big_fb@x-tiled-max-hw-stride-64bpp-rotate-0-hflip:
- shard-kbl: NOTRUN -> [SKIP][74] ([fdo#109271] / [i915#3777]) +1 similar issue
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-kbl2/igt@[email protected]
* igt@kms_big_fb@x-tiled-max-hw-stride-64bpp-rotate-180-async-flip:
- shard-skl: NOTRUN -> [FAIL][75] ([i915#3743])
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-skl9/igt@kms_big_fb@x-tiled-max-hw-stride-64bpp-rotate-180-async-flip.html
* igt@kms_big_fb@y-tiled-64bpp-rotate-270:
- shard-tglb: NOTRUN -> [SKIP][76] ([fdo#111614]) +1 similar issue
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-tglb8/igt@[email protected]
* igt@kms_big_fb@yf-tiled-32bpp-rotate-90:
- shard-tglb: NOTRUN -> [SKIP][77] ([fdo#111615])
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-tglb8/igt@[email protected]
* igt@kms_big_fb@yf-tiled-max-hw-stride-32bpp-rotate-0-hflip:
- shard-apl: NOTRUN -> [SKIP][78] ([fdo#109271] / [i915#3777]) +2 similar issues
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-apl8/igt@[email protected]
* igt@kms_ccs@pipe-a-missing-ccs-buffer-y_tiled_gen12_mc_ccs:
- shard-kbl: NOTRUN -> [SKIP][79] ([fdo#109271] / [i915#3886]) +2 similar issues
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-kbl3/igt@kms_ccs@pipe-a-missing-ccs-buffer-y_tiled_gen12_mc_ccs.html
* igt@kms_ccs@pipe-b-bad-pixel-format-yf_tiled_ccs:
- shard-tglb: NOTRUN -> [SKIP][80] ([fdo#111615] / [i915#3689]) +1 similar issue
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-tglb6/igt@kms_ccs@pipe-b-bad-pixel-format-yf_tiled_ccs.html
* igt@kms_ccs@pipe-b-crc-primary-basic-y_tiled_gen12_mc_ccs:
- shard-apl: NOTRUN -> [SKIP][81] ([fdo#109271] / [i915#3886]) +2 similar issues
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-apl8/igt@kms_ccs@pipe-b-crc-primary-basic-y_tiled_gen12_mc_ccs.html
* igt@kms_ccs@pipe-b-missing-ccs-buffer-y_tiled_ccs:
- shard-tglb: NOTRUN -> [SKIP][82] ([i915#3689])
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-tglb8/igt@kms_ccs@pipe-b-missing-ccs-buffer-y_tiled_ccs.html
* igt@kms_ccs@pipe-c-bad-pixel-format-y_tiled_gen12_mc_ccs:
- shard-tglb: NOTRUN -> [SKIP][83] ([i915#3689] / [i915#3886])
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-tglb8/igt@kms_ccs@pipe-c-bad-pixel-format-y_tiled_gen12_mc_ccs.html
* igt@kms_ccs@pipe-c-bad-pixel-format-y_tiled_gen12_rc_ccs_cc:
- shard-skl: NOTRUN -> [SKIP][84] ([fdo#109271] / [i915#3886])
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-skl8/igt@kms_ccs@pipe-c-bad-pixel-format-y_tiled_gen12_rc_ccs_cc.html
* igt@kms_color_chamelium@pipe-a-ctm-0-75:
- shard-kbl: NOTRUN -> [SKIP][85] ([fdo#109271] / [fdo#111827]) +8 similar issues
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-kbl6/igt@[email protected]
* igt@kms_color_chamelium@pipe-b-ctm-0-75:
- shard-tglb: NOTRUN -> [SKIP][86] ([fdo#109284] / [fdo#111827]) +3 similar issues
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-tglb6/igt@[email protected]
* igt@kms_color_chamelium@pipe-b-ctm-limited-range:
- shard-skl: NOTRUN -> [SKIP][87] ([fdo#109271] / [fdo#111827]) +2 similar issues
[87]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-skl9/igt@[email protected]
- shard-apl: NOTRUN -> [SKIP][88] ([fdo#109271] / [fdo#111827]) +5 similar issues
[88]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-apl7/igt@[email protected]
* igt@kms_color_chamelium@pipe-c-ctm-0-5:
- shard-glk: NOTRUN -> [SKIP][89] ([fdo#109271] / [fdo#111827]) +1 similar issue
[89]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-glk2/igt@[email protected]
* igt@kms_cursor_crc@pipe-a-cursor-suspend:
- shard-kbl: [PASS][90] -> [DMESG-WARN][91] ([i915#180]) +4 similar issues
[90]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10995/shard-kbl3/igt@[email protected]
[91]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-kbl6/igt@[email protected]
* igt@kms_cursor_crc@pipe-b-cursor-32x32-onscreen:
- shard-tglb: NOTRUN -> [SKIP][92] ([i915#3319])
[92]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-tglb8/igt@[email protected]
* igt@kms_cursor_crc@pipe-b-cursor-512x170-rapid-movement:
- shard-glk: NOTRUN -> [SKIP][93] ([fdo#109271]) +12 similar issues
[93]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-glk9/igt@[email protected]
* igt@kms_cursor_crc@pipe-c-cursor-max-size-rapid-movement:
- shard-tglb: NOTRUN -> [SKIP][94] ([i915#3359])
[94]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-tglb8/igt@[email protected]
* igt@kms_cursor_crc@pipe-d-cursor-512x512-rapid-movement:
- shard-tglb: NOTRUN -> [SKIP][95] ([fdo#109279] / [i915#3359])
[95]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-tglb8/igt@[email protected]
* igt@kms_cursor_legacy@cursorb-vs-flipb-atomic:
- shard-tglb: NOTRUN -> [SKIP][96] ([fdo#111825]) +11 similar issues
[96]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-tglb6/igt@[email protected]
* igt@kms_fbcon_fbt@fbc-suspend:
- shard-kbl: [PASS][97] -> [INCOMPLETE][98] ([i915#180] / [i915#636])
[97]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10995/shard-kbl2/igt@[email protected]
[98]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-kbl7/igt@[email protected]
* igt@kms_flip@flip-vs-expired-vblank@c-dp1:
- shard-apl: [PASS][99] -> [FAIL][100] ([i915#79]) +1 similar issue
[99]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10995/shard-apl8/igt@kms_flip@[email protected]
[100]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-apl1/igt@kms_flip@[email protected]
* igt@kms_flip@plain-flip-fb-recreate-interruptible@b-edp1:
- shard-skl: [PASS][101] -> [FAIL][102] ([i915#2122])
[101]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10995/shard-skl6/igt@kms_flip@[email protected]
[102]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-skl1/igt@kms_flip@[email protected]
* igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytilercccs:
- shard-skl: NOTRUN -> [SKIP][103] ([fdo#109271] / [i915#2672])
[103]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-skl8/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-cur-indfb-draw-blt:
- shard-kbl: NOTRUN -> [SKIP][104] ([fdo#109271]) +116 similar issues
[104]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-kbl3/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-rgb101010-draw-blt:
- shard-skl: NOTRUN -> [SKIP][105] ([fdo#109271]) +40 similar issues
[105]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-skl9/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-suspend:
- shard-apl: [PASS][106] -> [DMESG-WARN][107] ([i915#180]) +1 similar issue
[106]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10995/shard-apl3/igt@[email protected]
[107]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-apl6/igt@[email protected]
* igt@kms_frontbuffer_tracking@psr-2p-scndscrn-pri-shrfb-draw-mmap-cpu:
- shard-iclb: NOTRUN -> [SKIP][108] ([fdo#109280]) +1 similar issue
[108]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-iclb7/igt@kms_frontbuffer_tracking@psr-2p-scndscrn-pri-shrfb-draw-mmap-cpu.html
* igt@kms_hdr@bpc-switch:
- shard-skl: [PASS][109] -> [FAIL][110] ([i915#1188])
[109]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10995/shard-skl1/igt@[email protected]
[110]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-skl6/igt@[email protected]
* igt@kms_hdr@static-swap:
- shard-tglb: NOTRUN -> [SKIP][111] ([i915#1187])
[111]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-tglb8/igt@[email protected]
* igt@kms_pipe_crc_basic@disable-crc-after-crtc-pipe-d:
- shard-iclb: NOTRUN -> [SKIP][112] ([fdo#109278]) +1 similar issue
[112]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-iclb7/igt@[email protected]
- shard-kbl: NOTRUN -> [SKIP][113] ([fdo#109271] / [i915#533]) +1 similar issue
[113]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-kbl3/igt@[email protected]
- shard-skl: NOTRUN -> [SKIP][114] ([fdo#109271] / [i915#533])
[114]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-skl4/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-a-alpha-opaque-fb:
- shard-glk: NOTRUN -> [FAIL][115] ([fdo#108145] / [i915#265])
[115]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-glk2/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-a-coverage-7efc:
- shard-skl: [PASS][116] -> [FAIL][117] ([fdo#108145] / [i915#265]) +1 similar issue
[116]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10995/shard-skl4/igt@[email protected]
[117]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-skl6/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-b-alpha-basic:
- shard-kbl: NOTRUN -> [FAIL][118] ([fdo#108145] / [i915#265])
[118]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-kbl2/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-c-constant-alpha-max:
- shard-skl: NOTRUN -> [FAIL][119] ([fdo#108145] / [i915#265]) +1 similar issue
[119]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-skl8/igt@[email protected]
* igt@kms_plane_lowres@pipe-c-tiling-y:
- shard-tglb: NOTRUN -> [SKIP][120] ([i915#3536])
[120]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-tglb8/igt@[email protected]
* igt@kms_psr@psr2_basic:
- shard-tglb: NOTRUN -> [FAIL][121] ([i915#132] / [i915#3467])
[121]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-tglb8/igt@kms_psr@psr2_basic.html
* igt@kms_psr@psr2_cursor_render:
- shard-iclb: [PASS][122] -> [SKIP][123] ([fdo#109441]) +1 similar issue
[122]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10995/shard-iclb2/igt@kms_psr@psr2_cursor_render.html
[123]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-iclb3/igt@kms_psr@psr2_cursor_render.html
* igt@kms_tv_load_detect@load-detect:
- shard-tglb: NOTRUN -> [SKIP][124] ([fdo#109309])
[124]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-tglb8/igt@[email protected]
* igt@nouveau_crc@pipe-b-ctx-flip-detection:
- shard-tglb: NOTRUN -> [SKIP][125] ([i915#2530]) +1 similar issue
[125]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-tglb8/igt@[email protected]
* igt@perf@enable-disable:
- shard-skl: [PASS][126] -> [FAIL][127] ([i915#1352])
[126]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10995/shard-skl4/igt@[email protected]
[127]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-skl7/igt@[email protected]
* igt@sysfs_clients@fair-0:
- shard-skl: NOTRUN -> [SKIP][128] ([fdo#109271] / [i915#2994]) +2 similar issues
[128]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-skl1/igt@[email protected]
- shard-tglb: NOTRUN -> [SKIP][129] ([i915#2994]) +1 similar issue
[129]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-tglb6/igt@[email protected]
* igt@sysfs_clients@fair-7:
- shard-apl: NOTRUN -> [SKIP][130] ([fdo#109271] / [i915#2994]) +1 similar issue
[130]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-apl7/igt@[email protected]
* igt@sysfs_clients@sema-25:
- shard-kbl: NOTRUN -> [SKIP][131] ([fdo#109271] / [i915#2994]) +2 similar issues
[131]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-kbl3/igt@[email protected]
#### Possible fixes ####
* igt@feature_discovery@psr1:
- {shard-rkl}: [SKIP][132] ([i915#658]) -> [PASS][133]
[132]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10995/shard-rkl-1/igt@[email protected]
[133]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-rkl-6/igt@[email protected]
* igt@gem_eio@unwedge-stress:
- shard-iclb: [TIMEOUT][134] ([i915#2481] / [i915#3070]) -> [PASS][135]
[134]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10995/shard-iclb5/igt@[email protected]
[135]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-iclb5/igt@[email protected]
- {shard-rkl}: [TIMEOUT][136] ([i915#3063]) -> ([PASS][137], [PASS][138])
[136]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10995/shard-rkl-6/igt@[email protected]
[137]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-rkl-2/igt@[email protected]
[138]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-rkl-4/igt@[email protected]
* igt@gem_exec_fair@basic-pace-share@rcs0:
- shard-tglb: [FAIL][139] ([i915#2842]) -> [PASS][140] +1 similar issue
[139]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10995/shard-tglb5/igt@gem_exec_fair@[email protected]
[140]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-tglb8/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-pace@vcs1:
- shard-kbl: [FAIL][141] ([i915#2842]) -> [PASS][142]
[141]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10995/shard-kbl7/igt@gem_exec_fair@[email protected]
[142]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-kbl2/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-pace@vecs0:
- shard-iclb: [FAIL][143] ([i915#2842]) -> [PASS][144]
[143]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10995/shard-iclb2/igt@gem_exec_fair@[email protected]
[144]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-iclb2/igt@gem_exec_fair@[email protected]
* igt@gem_sync@basic-all:
- shard-glk: [DMESG-WARN][145] ([i915#118]) -> [PASS][146]
[145]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10995/shard-glk5/igt@[email protected]
[146]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-glk5/igt@[email protected]
* igt@gen9_exec_parse@allowed-single:
- shard-skl: [DMESG-WARN][147] ([i915#1436] / [i915#716]) -> [PASS][148]
[147]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10995/shard-skl10/igt@[email protected]
[148]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-skl8/igt@[email protected]
* igt@i915_suspend@fence-restore-tiled2untiled:
- shard-apl: [DMESG-WARN][149] ([i915#180]) -> [PASS][150] +2 similar issues
[149]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10995/shard-apl3/igt@[email protected]
[150]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-apl7/igt@[email protected]
- shard-skl: [INCOMPLETE][151] ([i915#198]) -> [PASS][152]
[151]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10995/shard-skl6/igt@[email protected]
[152]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-skl9/igt@[email protected]
* igt@i915_suspend@forcewake:
- shard-glk: [INCOMPLETE][153] -> [PASS][154]
[153]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10995/shard-glk3/igt@[email protected]
[154]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-glk2/igt@[email protected]
* igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-180:
- {shard-rkl}: ([PASS][155], [SKIP][156]) ([i915#1845]) -> [PASS][157]
[155]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10995/shard-rkl-6/igt@[email protected]
[156]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10995/shard-rkl-4/igt@[email protected]
[157]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-rkl-6/igt@[email protected]
* igt@kms_cursor_legacy@cursor-vs-flip-varying-size:
- shard-iclb: [FAIL][158] ([i915#2370]) -> [PASS][159]
[158]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10995/shard-iclb7/igt@[email protected]
[159]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-iclb6/igt@[email protected]
* igt@kms_cursor_legacy@flip-vs-cursor-toggle:
- shard-apl: [FAIL][160] ([i915#2346]) -> [PASS][161]
[160]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10995/shard-apl2/igt@[email protected]
[161]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-apl6/igt@[email protected]
* igt@kms_flip@flip-vs-expired-vblank-interruptible@a-edp1:
- shard-skl: [FAIL][162] ([i915#79]) -> [PASS][163] +1 similar issue
[162]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10995/shard-skl9/igt@kms_flip@[email protected]
[163]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-skl10/igt@kms_flip@[email protected]
* igt@kms_flip@flip-vs-expired-vblank-interruptible@b-hdmi-a2:
- shard-glk: [FAIL][164] ([i915#79]) -> [PASS][165]
[164]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10995/shard-glk9/igt@kms_flip@[email protected]
[165]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/shard-glk9/igt@kms_flip@[email protected]
* igt@kms_flip@flip-v
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21839/index.html