auxccs late flush
cover auxccs late flush
i915 sets up the async flush which triggers when the atomic commit waits on the fences. That is later than straight after the pin so lets try that since we are desperate...
Tvrtko Ursulin (13):
drm/xe/xelpg: Flush CCS when flushing caches drm/xe/xelp: Quiesce memory traffic before invalidating auxccs drm/xe/xelp: Support auxccs invalidation on blitter drm/xe/xelp: Use MI_FLUSH_DW_CCS on auxccs platforms drm/xe/xelp: Wait for AuxCCS invalidation to complete drm/xe: Export xe_emit_aux_table_inv
drm/xe/xelp: Add AuxCCS invalidation to the indirect context
workarounds
drm/xe: Flush GGTT writes after populating DPT drm/xe: Handle DPT in system memory
drm/xe/display: Add support for AuxCCS
drm/xe: Force flush system memory AuxCCS data before scan out late flush
drm/i915/display: Expose AuxCCS frame buffer modifiers for Xe
drivers/gpu/drm/i915/display/intel_display.c | 15 +- .../drm/i915/display/skl_universal_plane.c | 6 - drivers/gpu/drm/i915/gem/i915_gem_object.h | 5 + .../compat-i915-headers/gem/i915_gem_object.h | 2 + drivers/gpu/drm/xe/display/xe_fb_pin.c | 183 +++++++++++++++--- .../gpu/drm/xe/instructions/xe_gpu_commands.h | 1 + .../gpu/drm/xe/instructions/xe_mi_commands.h | 6 + drivers/gpu/drm/xe/regs/xe_gt_regs.h | 1 + drivers/gpu/drm/xe/xe_bo_types.h | 14 +- drivers/gpu/drm/xe/xe_lrc.c | 47 +++++ drivers/gpu/drm/xe/xe_ring_ops.c | 161 +++++++-------- drivers/gpu/drm/xe/xe_ring_ops.h | 3 + drivers/gpu/drm/xe/xe_ring_ops_types.h | 2 +- 13 files changed, 328 insertions(+), 118 deletions(-)
Signature · 1 line
2.48.0
PATCH 1/13 drm/xe/xelpg: Flush CCS when flushing caches
According to i915 PIPE_CONTROL0_CCS_FLUSH needs to be set when flushing render caches on gfx ip 12.70+.
--- drivers/gpu/drm/xe/instructions/xe_gpu_commands.h | 1 + drivers/gpu/drm/xe/xe_ring_ops.c | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletion(-)
drivers/gpu/drm/xe/instructions/xe_gpu_commands.h +1 -0
@@ -43,6 +43,7 @@#define PIPE_CONTROL0_L3_READ_ONLY_CACHE_INVALIDATE BIT(10)/* gen12 */ #define PIPE_CONTROL0_HDC_PIPELINE_FLUSH BIT(9)/* gen12 */ +#define PIPE_CONTROL0_CCS_FLUSH BIT(13)/* MTL+ */ #define PIPE_CONTROL_COMMAND_CACHE_INVALIDATE (1<<29)#define PIPE_CONTROL_TILE_CACHE_FLUSH (1<<28)
drivers/gpu/drm/xe/xe_ring_ops.c +6 -1
@@ -176,13 +176,18 @@ static int emit_store_imm_ppgtt_posted(u64 addr, u64 value,static int emit_render_cache_flush (struct xe_sched_job *job,u32 *dw,int i) {struct xe_gt *gt = job->q->gt; +struct xe_device *xe =gt_to_xe (gt);bool lacks_render = !(gt->info.engine_mask &XE_HW_ENGINE_RCS_MASK ); +u32 bit_group_0 =PIPE_CONTROL0_HDC_PIPELINE_FLUSH ;u32 flags;if (XE_GT_WA (gt,14016712196 )) i =emit_pipe_control (dw, i,0 ,PIPE_CONTROL_DEPTH_CACHE_FLUSH ,LRC_PPHWSP_FLUSH_INVAL_SCRATCH_ADDR ,0 ); +if (GRAPHICS_VERx100 (xe) >=1270 ) + bit_group_0 |=PIPE_CONTROL0_CCS_FLUSH ; + flags = (PIPE_CONTROL_CS_STALL | PIPE_CONTROL_TILE_CACHE_FLUSH | PIPE_CONTROL_RENDER_TARGET_CACHE_FLUSH |
@@ -198,7 +203,7 @@ static int emit_render_cache_flush(struct xe_sched_job *job, u32 *dw, int i)else if (job->q->class ==XE_ENGINE_CLASS_COMPUTE ) flags &= ~PIPE_CONTROL_3D_ENGINE_FLAGS ; -return emit_pipe_control (dw, i,PIPE_CONTROL0_HDC_PIPELINE_FLUSH , flags,0 ,0 ); +return emit_pipe_control (dw, i, bit_group_0, flags,0 ,0 ); }static int emit_pipe_control_to_ring_end (struct xe_hw_engine *hwe,u32 *dw,int i)
Signature · 1 line
2.48.0
PATCH 2/13 drm/xe/xelp: Quiesce memory traffic before invalidating auxccs
In reply to Tvrtko UrsulinAccording to i915 before invalidating auxccs we must quiesce the memory traffic by an extra flush.
--- drivers/gpu/drm/xe/xe_ring_ops.c | 7 ++++++- drivers/gpu/drm/xe/xe_ring_ops_types.h | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-)
drivers/gpu/drm/xe/xe_ring_ops.c +6 -1
@@ -358,10 +358,15 @@ static void __emit_job_gen12_render_compute(struct xe_sched_job *job,struct xe_gt *gt = job->q->gt;struct xe_device *xe =gt_to_xe (gt);bool lacks_render = !(gt->info.engine_mask &XE_HW_ENGINE_RCS_MASK ); +const bool aux_ccs =has_aux_ccs (xe);u32 mask_flags =0 ; i =emit_copy_timestamp (lrc, dw, i); +/* hsdes: 1809175790 */ +if (aux_ccs) + i =emit_render_cache_flush (job, dw, i); + dw[i++] =preparser_disable (true);if (lacks_render) mask_flags =PIPE_CONTROL_3D_ARCH_FLAGS ;
@@ -372,7 +377,7 @@ static void __emit_job_gen12_render_compute(struct xe_sched_job *job, i =emit_pipe_invalidate (mask_flags, job->ring_ops_flush_tlb, dw, i);/* hsdes: 1809175790 */ -if (has_aux_ccs (xe)) +if (aux_ccs) i =emit_aux_table_inv (gt,CCS_AUX_INV , dw, i); dw[i++] =preparser_disable (false);
drivers/gpu/drm/xe/xe_ring_ops_types.h +1 -1
@@ -8,7 +8,7 @@struct xe_sched_job ; -#define MAX_JOB_SIZE_DW 58 +#define MAX_JOB_SIZE_DW 70#define MAX_JOB_SIZE_BYTES (MAX_JOB_SIZE_DW * 4)/**
Signature · 1 line
2.48.0
PATCH 3/13 drm/xe/xelp: Support auxccs invalidation on blitter
In reply to Tvrtko UrsulinAuxccs platforms need to be able to invalidate auxccs on the blitter engine.
Add the relevant mmio register and enable this by refactoring the ring emission a bit to consolidate all non-render engines.
--- drivers/gpu/drm/xe/regs/xe_gt_regs.h | 1 + drivers/gpu/drm/xe/xe_ring_ops.c | 104 +++++++++++---------------- 2 files changed, 41 insertions(+), 64 deletions(-)
drivers/gpu/drm/xe/regs/xe_gt_regs.h +1 -0
@@ -88,6 +88,7 @@#define CCS_AUX_INV XE_REG(0x4208)#define VD0_AUX_INV XE_REG(0x4218) +#define BCS_AUX_INV XE_REG(0x4248)#define VE0_AUX_INV XE_REG(0x4238)#define VE1_AUX_INV XE_REG(0x42b8)
drivers/gpu/drm/xe/xe_ring_ops.c +40 -64
147 lines not on this page · raw message
Signature · 1 line
2.48.0
PATCH 4/13 drm/xe/xelp: Use MI_FLUSH_DW_CCS on auxccs platforms
In reply to Tvrtko UrsulinEmit MI_FLUSH_DW_CCS when invalidating on auxccs platforms.
--- drivers/gpu/drm/xe/xe_ring_ops.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
drivers/gpu/drm/xe/xe_ring_ops.c +4 -3
@@ -275,15 +275,16 @@ static void __emit_job_gen12_xcs(struct xe_sched_job *job, struct xe_lrc *lrc, class ==XE_ENGINE_CLASS_VIDEO_DECODE || class == XE_ENGINE_CLASS_VIDEO_ENHANCE);const bool invalidate_tlb = aux_ccs || job->ring_ops_flush_tlb; +const u32 flags = aux_ccs && class ==XE_ENGINE_CLASS_COPY ? +MI_FLUSH_DW_CCS :0 ; i =emit_copy_timestamp (lrc, dw, i);if (invalidate_tlb) { dw[i++] =preparser_disable (true); i =emit_flush_imm_ggtt (xe_lrc_start_seqno_ggtt_addr (lrc), - seqno, -MI_INVALIDATE_TLB , - dw, i); + seqno,MI_INVALIDATE_TLB | flags, dw, + i);/* hsdes: 1809175790 */ if (aux_ccs) {struct xe_reg reg;
Signature · 1 line
2.48.0
PATCH 5/13 drm/xe/xelp: Wait for AuxCCS invalidation to complete
In reply to Tvrtko UrsulinOn AuxCCS platforms we need to wait for AuxCCS invalidations to complete.
--- drivers/gpu/drm/xe/instructions/xe_mi_commands.h | 6 ++++++ drivers/gpu/drm/xe/xe_ring_ops.c | 9 ++++++++- drivers/gpu/drm/xe/xe_ring_ops_types.h | 2 +- 3 files changed, 15 insertions(+), 2 deletions(-)
drivers/gpu/drm/xe/instructions/xe_mi_commands.h +6 -0
@@ -81,4 +81,10 @@#define MI_SET_APPID_SESSION_ID_MASK REG_GENMASK(6, 0)#define MI_SET_APPID_SESSION_ID (x) REG_FIELD_PREP(MI_SET_APPID_SESSION_ID_MASK, x) +#define MI_SEMAPHORE_WAIT_TOKEN (__MI_INSTR(0x1c) | XE_INSTR_NUM_DW(5))/* XeLP+ */ +#define MI_SEMAPHORE_REGISTER_POLL REG_BIT(16) +#define MI_SEMAPHORE_POLL REG_BIT(15) +#define MI_SEMAPHORE_CMP_OP_MASK REG_GENMASK(14, 12) +#define MI_SEMAPHORE_SAD_EQ_SDD REG_FIELD_PREP(MI_SEMAPHORE_CMP_OP_MASK, 4) +#endif
drivers/gpu/drm/xe/xe_ring_ops.c +8 -1
@@ -56,7 +56,14 @@ static int emit_aux_table_inv(struct xe_gt *gt, struct xe_reg reg, dw[i++] =MI_LOAD_REGISTER_IMM |MI_LRI_NUM_REGS (1 ) |MI_LRI_MMIO_REMAP_EN ; dw[i++] = reg.addr + gt->mmio.adj_offset; dw[i++] =AUX_INV ; - dw[i++] =MI_NOOP ; + dw[i++] =MI_SEMAPHORE_WAIT_TOKEN | +MI_SEMAPHORE_REGISTER_POLL | +MI_SEMAPHORE_POLL | +MI_SEMAPHORE_SAD_EQ_SDD ; + dw[i++] =0 ; + dw[i++] = reg.addr + gt->mmio.adj_offset; + dw[i++] =0 ; + dw[i++] =0 ;return i; }
drivers/gpu/drm/xe/xe_ring_ops_types.h +1 -1
@@ -8,7 +8,7 @@struct xe_sched_job ; -#define MAX_JOB_SIZE_DW 70 +#define MAX_JOB_SIZE_DW 74#define MAX_JOB_SIZE_BYTES (MAX_JOB_SIZE_DW * 4)/**
Signature · 1 line
2.48.0
PATCH 6/13 drm/xe: Export xe_emit_aux_table_inv
In reply to Tvrtko UrsulinExport the existing AuxCCS invalidation ring buffer programming helper which we will need to use to setup the indirect context workaround in the next patch.
--- drivers/gpu/drm/xe/xe_ring_ops.c | 77 +++++++++++++++++++------------- drivers/gpu/drm/xe/xe_ring_ops.h | 3 ++ 2 files changed, 49 insertions(+), 31 deletions(-)
drivers/gpu/drm/xe/xe_ring_ops.c +46 -31
@@ -50,22 +50,51 @@ static u32 preparser_disable(bool state)return MI_ARB_CHECK |BIT (8 ) | state; } -static int emit_aux_table_inv (struct xe_gt *gt,struct xe_reg reg, -u32 *dw,int i) +u32 *xe_emit_aux_table_inv (struct xe_hw_engine *hwe,u32 *cmd) { - dw[i++] =MI_LOAD_REGISTER_IMM |MI_LRI_NUM_REGS (1 ) |MI_LRI_MMIO_REMAP_EN ; - dw[i++] = reg.addr + gt->mmio.adj_offset; - dw[i++] =AUX_INV ; - dw[i++] =MI_SEMAPHORE_WAIT_TOKEN | -MI_SEMAPHORE_REGISTER_POLL | -MI_SEMAPHORE_POLL | -MI_SEMAPHORE_SAD_EQ_SDD ; - dw[i++] =0 ; - dw[i++] = reg.addr + gt->mmio.adj_offset; - dw[i++] =0 ; - dw[i++] =0 ; +struct xe_gt *gt = hwe->gt; +struct xe_reg reg; -return i; +switch (hwe->class) { +case XE_ENGINE_CLASS_RENDER : +case XE_ENGINE_CLASS_COMPUTE : + reg =CCS_AUX_INV ; +break ; +case XE_ENGINE_CLASS_COPY : + reg =BCS_AUX_INV ; +break ; +case XE_ENGINE_CLASS_VIDEO_DECODE : + reg =VD0_AUX_INV ; +break ; +case XE_ENGINE_CLASS_VIDEO_ENHANCE : + reg =VE0_AUX_INV ; +break ; +default : +return cmd; + }; + + *cmd++ =MI_LOAD_REGISTER_IMM |MI_LRI_NUM_REGS (1 ) | +MI_LRI_MMIO_REMAP_EN ; + *cmd++ = reg.addr + gt->mmio.adj_offset; + *cmd++ =AUX_INV ; + *cmd++ =MI_SEMAPHORE_WAIT_TOKEN |MI_SEMAPHORE_REGISTER_POLL | +MI_SEMAPHORE_POLL |MI_SEMAPHORE_SAD_EQ_SDD ; + *cmd++ =0 ; + *cmd++ = reg.addr + gt->mmio.adj_offset; + *cmd++ =0 ; + *cmd++ =0 ; + +return cmd; +} + +static int emit_aux_table_inv (struct xe_hw_engine *hwe,u32 *dw,int i) +{ +u32 *start, *end; + + start = dw + i; + end =xe_emit_aux_table_inv (hwe, start); + +return i + (end - start); }static int emit_user_interrupt (u32 *dw,int i)
@@ -293,22 +322,8 @@ static void __emit_job_gen12_xcs(struct xe_sched_job *job, struct xe_lrc *lrc, seqno,MI_INVALIDATE_TLB | flags, dw, i);/* hsdes: 1809175790 */ -if (aux_ccs) { -struct xe_reg reg; - -switch (job->q->class) { -case XE_ENGINE_CLASS_COPY : - reg =BCS_AUX_INV ; -break ; -case XE_ENGINE_CLASS_VIDEO_DECODE : - reg =VD0_AUX_INV ; -break ; -default : - reg =VE0_AUX_INV ; - }; - - i =emit_aux_table_inv (gt, reg, dw, i); - } +if (aux_ccs) + i =emit_aux_table_inv (job->q->hwe, dw, i); dw[i++] =preparser_disable (false); }else { i = emit_store_imm_ggtt(xe_lrc_start_seqno_ggtt_addr(lrc),
@@ -362,7 +377,7 @@ static void __emit_job_gen12_render_compute(struct xe_sched_job *job,/* hsdes: 1809175790 */ if (aux_ccs) - i =emit_aux_table_inv (gt,CCS_AUX_INV , dw, i); + i =emit_aux_table_inv (job->q->hwe, dw, i); dw[i++] =preparser_disable (false);
drivers/gpu/drm/xe/xe_ring_ops.h +3 -0
@@ -10,8 +10,11 @@#include "xe_ring_ops_types.h" struct xe_gt ; +struct xe_hw_engine ;const struct xe_ring_ops *xe_ring_ops_get (struct xe_gt *gt,enum xe_engine_class class); +u32 *xe_emit_aux_table_inv (struct xe_hw_engine *hwe,u32 *cmd); +#endif
Signature · 1 line
2.48.0
PATCH 7/13 drm/xe/xelp: Add AuxCCS invalidation to the indirect context workarounds
In reply to Tvrtko UrsulinFollowing from the i915 reference implementation, we add the AuxCCS invalidation to the indirect context workarounds page.
--- drivers/gpu/drm/xe/xe_lrc.c | 47 +++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+)
drivers/gpu/drm/xe/xe_lrc.c +47 -0
@@ -25,6 +25,7 @@#include "xe_map.h" #include "xe_memirq.h" #include "xe_mmio.h" +#include "xe_ring_ops.h" #include "xe_sriov.h" #include "xe_trace_lrc.h" #include "xe_vm.h"
@@ -75,11 +76,23 @@ lrc_to_xe(struct xe_lrc *lrc)static bool gt_engine_needs_indirect_ctx (struct xe_gt *gt,enum xe_engine_class class) { +struct xe_device *xe =gt_to_xe (gt); +if (XE_GT_WA (gt,16010904313 ) && (class ==XE_ENGINE_CLASS_RENDER || class ==XE_ENGINE_CLASS_COMPUTE ))return true; +/* AuxCCS invalidation */ +if (GRAPHICS_VERx100 (xe) >=1200 && +GRAPHICS_VERx100 (xe) <=1210 && + (class ==XE_ENGINE_CLASS_RENDER || + class ==XE_ENGINE_CLASS_COMPUTE || + class ==XE_ENGINE_CLASS_COPY || + class ==XE_ENGINE_CLASS_VIDEO_DECODE || + class ==XE_ENGINE_CLASS_VIDEO_ENHANCE )) +return true; +return false; }
@@ -1122,6 +1135,31 @@ static ssize_t setup_invalidate_state_cache_wa(struct xe_lrc *lrc,return cmd - batch; } +static ssize_t setup_invalidate_auxccs_wa (struct xe_lrc *lrc, +struct xe_hw_engine *hwe, +u32 *batch,size_t max_len) +{ +struct xe_gt *gt = lrc->gt; +struct xe_device *xe =gt_to_xe (gt); +const unsigned int class = hwe->class; +u32 *cmd; + +if (GRAPHICS_VERx100 (xe) <1200 ||GRAPHICS_VERx100 (xe) >1210 || + !(class ==XE_ENGINE_CLASS_RENDER || + class ==XE_ENGINE_CLASS_COMPUTE || + class ==XE_ENGINE_CLASS_COPY || + class ==XE_ENGINE_CLASS_VIDEO_DECODE || + class ==XE_ENGINE_CLASS_VIDEO_ENHANCE )) +return 0 ; + +if (xe_gt_WARN_ON (gt, max_len <8 )) +return -ENOSPC ; + + cmd =xe_emit_aux_table_inv (hwe, batch); + +return cmd - batch; +} +struct bo_setup {ssize_t (*setup)(struct xe_lrc *lrc,struct xe_hw_engine *hwe,u32 *batch,size_t max_size);
@@ -1251,6 +1289,10 @@ setup_indirect_ctx(struct xe_lrc *lrc, struct xe_hw_engine *hwe) {static struct bo_setup rcs_funcs[] = { { .setup = setup_timestamp_wa }, + { .setup = setup_invalidate_auxccs_wa }, + }; +static struct bo_setup xcs_funcs[] = { + { .setup = setup_invalidate_auxccs_wa }, };struct bo_setup_state state = { .lrc = lrc,
@@ -1268,6 +1310,11 @@ setup_indirect_ctx(struct xe_lrc *lrc, struct xe_hw_engine *hwe) hwe->class == XE_ENGINE_CLASS_COMPUTE) { state.funcs = rcs_funcs; state.num_funcs =ARRAY_SIZE (rcs_funcs); + } else if (hwe->class == XE_ENGINE_CLASS_COPY || + hwe->class == XE_ENGINE_CLASS_VIDEO_DECODE || + hwe->class == XE_ENGINE_CLASS_VIDEO_ENHANCE) { + state.funcs = xcs_funcs; + state.num_funcs =ARRAY_SIZE (xcs_funcs); }if (xe_gt_WARN_ON (lrc->gt, !state.funcs))
Signature · 1 line
2.48.0
PATCH 8/13 drm/xe: Flush GGTT writes after populating DPT
In reply to Tvrtko UrsulinWhen DPT is placed in stolen it is populated using ioremap_wc() via GGTT.
I915 has established that on modern platforms a small flush and delay is required for those writes to reliably land so lets add the same logic (simplified by removing impossible platforms) to xe as well.
v2:
* Do it only for system memory buffers.
--- drivers/gpu/drm/xe/display/xe_fb_pin.c | 45 ++++++++++++++++++++++++++ 1 file changed, 45 insertions(+)
drivers/gpu/drm/xe/display/xe_fb_pin.c +45 -0
@@ -12,9 +12,11 @@#include "intel_fb.h" #include "intel_fb_pin.h" #include "intel_fbdev.h" +#include "regs/xe_engine_regs.h" #include "xe_bo.h" #include "xe_device.h" #include "xe_ggtt.h" +#include "xe_mmio.h" #include "xe_pm.h" #include "xe_vram_types.h"
@@ -79,6 +81,46 @@ write_dpt_remapped(struct xe_bo *bo, struct iosys_map *map, u32 *dpt_ofs, *dpt_ofs =ALIGN (*dpt_ofs,4096 ); } +static void gt_flush_ggtt_writes (struct xe_gt *gt) +{ +if (!gt) +return ; + +xe_mmio_read32 (>->mmio,RING_TAIL (RENDER_RING_BASE )); +} + +static void ggtt_flush_writes (struct xe_ggtt *ggtt) +{ +struct xe_device *xe =tile_to_xe (ggtt->tile); + +/* +* No actual flushing is required for the GTT write domain for reads +* from the GTT domain. Writes to it "immediately" go to main memory +* as far as we know, so there's no chipset flush. It also doesn't +* land in the GPU render cache. +* +* However, we do have to enforce the order so that all writes through +* the GTT land before any writes to the device, such as updates to +* the GATT itself. +* +* We also have to wait a bit for the writes to land from the GTT. +* An uncached read (i.e. mmio) seems to be ideal for the round-trip +* timing. This issue has only been observed when switching quickly +* between GTT writes and CPU reads from inside the kernel on recent hw, +* and it appears to only affect discrete GTT blocks (i.e. on LLC +* system agents we cannot reproduce this behaviour, until Cannonlake +* that was!). +*/ + +wmb (); + +if (xe_pm_runtime_get_if_active (xe)) { +gt_flush_ggtt_writes (ggtt->tile->primary_gt); +gt_flush_ggtt_writes (ggtt->tile->media_gt); +xe_pm_runtime_put (xe); + } +} + static int __xe_pin_fb_vma_dpt(const struct intel_framebuffer *fb, const struct i915_gtt_view *view, struct i915_vma *vma,
@@ -162,6 +204,9 @@ static int __xe_pin_fb_vma_dpt(const struct intel_framebuffer *fb, rot_info->plane[i].dst_stride); } +if (dpt->vmap.is_iomem && !xe_bo_is_vram (dpt)) +ggtt_flush_writes (tile0->mem.ggtt); + vma->dpt = dpt; vma->node = dpt->ggtt_node[tile0->id];
Signature · 1 line
2.48.0
PATCH 9/13 drm/xe: Handle DPT in system memory
In reply to Tvrtko UrsulinIf DPT is allocated from system memory it will be created in the default write-back cached mode. This means we need to flush it after populating otherwise nothing works.
--- drivers/gpu/drm/xe/display/xe_fb_pin.c | 3 +++ 1 file changed, 3 insertions(+)
drivers/gpu/drm/xe/display/xe_fb_pin.c +3 -0
@@ -3,6 +3,7 @@* Copyright © 2021 Intel Corporation */ +#include <drm/drm_cache.h> #include <drm/ttm/ttm_bo.h> #include "i915_vma.h"
@@ -206,6 +207,8 @@ static int __xe_pin_fb_vma_dpt(const struct intel_framebuffer *fb,if (dpt->vmap.is_iomem && !xe_bo_is_vram (dpt))ggtt_flush_writes (tile0->mem.ggtt); +else if (!xe_bo_is_vram (dpt) && !xe_bo_is_stolen (dpt)) +drm_clflush_virt_range (dpt->vmap.vaddr, dpt_size); vma->dpt = dpt; vma->node = dpt->ggtt_node[tile0->id];
Signature · 1 line
2.48.0
PATCH 10/13 drm/xe/display: Add support for AuxCCS
In reply to Tvrtko UrsulinAdd support for mapping the auxiliary CCS buffer into the DPT page tables.
This will allow for more power efficiency by enabling the render compression frame buffer modifiers such as I915_FORMAT_MOD_Y_TILED_GEN12_RC_CCS in a following patch.
We do this by refactoring the code a bit so handling for the linear auxiliary frame buffer can be added in a tidy way. Also replace some hardcoded constants.
--- drivers/gpu/drm/xe/display/xe_fb_pin.c | 111 ++++++++++++++++++------- 1 file changed, 81 insertions(+), 30 deletions(-)
drivers/gpu/drm/xe/display/xe_fb_pin.c +81 -30
@@ -53,33 +53,94 @@ write_dpt_rotated(struct xe_bo *bo, struct iosys_map *map, u32 *dpt_ofs, u32 bo_ *dpt_ofs =ALIGN (*dpt_ofs,4096 ); } +static unsigned int +write_dpt_padding (struct iosys_map *map,unsigned int dest,unsigned int pad) +{ +/* The DE ignores the PTEs for the padding tiles */ +return dest + pad *sizeof (u64); +} + +static unsigned int +write_dpt_remapped_linear (struct xe_bo *bo,struct iosys_map *map, +unsigned int dest, +const struct intel_remapped_plane_info *plane) +{ +struct xe_device *xe =xe_bo_device (bo); +struct xe_ggtt *ggtt =xe_device_get_root_tile (xe)->mem.ggtt; +const u64 pte =xe_ggtt_encode_pte_flags (ggtt, bo, + xe->pat.idx[XE_CACHE_NONE ]); +unsigned int offset = plane->offset *XE_PAGE_SIZE ; +unsigned int size = plane->size; + +while (size--) { +u64 addr =xe_bo_addr (bo, offset,XE_PAGE_SIZE ); + +iosys_map_wr (map, dest, u64, addr | pte); + dest +=sizeof (u64); + offset +=XE_PAGE_SIZE ; + } + +return dest; +} + +static unsigned int +write_dpt_remapped_tiled (struct xe_bo *bo,struct iosys_map *map, +unsigned int dest, +const struct intel_remapped_plane_info *plane) +{ +struct xe_device *xe =xe_bo_device (bo); +struct xe_ggtt *ggtt =xe_device_get_root_tile (xe)->mem.ggtt; +const u64 pte =xe_ggtt_encode_pte_flags (ggtt, bo, + xe->pat.idx[XE_CACHE_NONE ]); +unsigned int offset, column, row; + +for (row =0 ; row < plane->height; row++) { + offset = (plane->offset + plane->src_stride * row) * +XE_PAGE_SIZE ; + +for (column =0 ; column < plane->width; column++) { +u64 addr =xe_bo_addr (bo, offset,XE_PAGE_SIZE ); + +iosys_map_wr (map, dest, u64, addr | pte); + dest +=sizeof (u64); + offset +=XE_PAGE_SIZE ; + } + + dest =write_dpt_padding (map, dest, + plane->dst_stride - plane->width); + } + +return dest; +} +static void -write_dpt_remapped (struct xe_bo *bo,struct iosys_map *map,u32 *dpt_ofs, -u32 bo_ofs,u32 width,u32 height,u32 src_stride, -u32 dst_stride) +write_dpt_remapped (struct xe_bo *bo, +const struct intel_remapped_info *remap_info, +struct iosys_map *map) { -struct xe_device *xe =xe_bo_device (bo); -struct xe_ggtt *ggtt =xe_device_get_root_tile (xe)->mem.ggtt; -u32 column, row; -u64 pte =xe_ggtt_encode_pte_flags (ggtt, bo, xe->pat.idx[XE_CACHE_NONE ]); +unsigned int i, dest =0 ; -for (row =0 ; row < height; row++) { -u32 src_idx = src_stride * row + bo_ofs; +for (i =0 ; i <ARRAY_SIZE (remap_info->plane); i++) { +const struct intel_remapped_plane_info *plane = + &remap_info->plane[i]; -for (column =0 ; column < width; column++) { -u64 addr =xe_bo_addr (bo, src_idx *XE_PAGE_SIZE ,XE_PAGE_SIZE ); -iosys_map_wr (map, *dpt_ofs, u64, pte | addr); +if (!plane->width && !plane->height && !plane->linear) +continue ; - *dpt_ofs +=8 ; - src_idx++; +if (remap_info->plane_alignment) { +const unsigned int index = dest /sizeof (u64); +const unsigned int pad = +ALIGN (index, remap_info->plane_alignment) - + index; + + dest =write_dpt_padding (map, dest, pad); } -/* The DE ignores the PTEs for the padding tiles */ - *dpt_ofs += (dst_stride - width) *8 ; +if (plane->linear) + dest =write_dpt_remapped_linear (bo, map, dest, plane); +else + dest =write_dpt_remapped_tiled (bo, map, dest, plane); } - -/* Align to next page */ - *dpt_ofs =ALIGN (*dpt_ofs,4096 ); }static void gt_flush_ggtt_writes (struct xe_gt *gt)
@@ -181,17 +242,7 @@ static int __xe_pin_fb_vma_dpt(const struct intel_framebuffer *fb,iosys_map_wr (&dpt->vmap, x *8 , u64, pte | addr); } }else if (view->type ==I915_GTT_VIEW_REMAPPED ) { -const struct intel_remapped_info *remap_info = &view->remapped; -u32 i, dpt_ofs =0 ; - -for (i =0 ; i <ARRAY_SIZE (remap_info->plane); i++) -write_dpt_remapped (bo, &dpt->vmap, &dpt_ofs, - remap_info->plane[i].offset, - remap_info->plane[i].width, - remap_info->plane[i].height, - remap_info->plane[i].src_stride, - remap_info->plane[i].dst_stride); - +write_dpt_remapped (bo, &view->remapped, &dpt->vmap); }else {const struct intel_rotation_info *rot_info = &view->rotated;u32 i, dpt_ofs =0 ;
Signature · 1 line
2.48.0
PATCH 11/13 drm/xe: Force flush system memory AuxCCS data before scan out
In reply to Tvrtko UrsulinEven though frame buffer objects are created as write-combined, in practice, on top of all the ring buffer flushing, an additional clflush seems to be needed before display engine can coherently scan out the AuxCCS compressed data without transient artifacts.
If for comparison we look at how i915 handles things (where AuxCCS works fine), as it happens it has this same clflush before a frame buffer is pinned for display for the first time, courtesy the dynamic tracking of the buffer cache mode and setting the latter to uncached before handing to display.
Since xe considers the buffer object caching mode as static we can implement the same approach by adding a flag telling us if the buffer was ever pinned for display and flush on the first pin. Subsequent re-pins will not repeat the clflush but so far I have not observed any glitching after the first pin.
--- drivers/gpu/drm/xe/display/xe_fb_pin.c | 53 ++++++++++++++++++++++++++ drivers/gpu/drm/xe/xe_bo_types.h | 14 ++++--- 2 files changed, 62 insertions(+), 5 deletions(-)
drivers/gpu/drm/xe/display/xe_fb_pin.c +53 -0
@@ -371,6 +371,46 @@ static int __xe_pin_fb_vma_ggtt(const struct intel_framebuffer *fb,return ret; } +static void xe_bo_clflush_auxccs (struct xe_bo *bo, +const struct i915_gtt_view *view) +{ +const struct intel_remapped_info *remap_info = &view->remapped; +unsigned int i; + +if (!IS_ENABLED (CONFIG_X86 )) +return ; + +if (!static_cpu_has (X86_FEATURE_CLFLUSH )) +return ; + +for (i =0 ; i <ARRAY_SIZE (remap_info->plane); i++) { +const struct intel_remapped_plane_info *plane = + &remap_info->plane[i]; +const int size = boot_cpu_data.x86_clflush_size; +struct sg_table *st =xe_bo_sg (bo); +struct sg_page_iter sg_iter; + +if (!plane->width && !plane->height && !plane->linear) +continue ; + +if (!plane->linear) +continue ; + +mb (); +for_each_sgtable_page (st, &sg_iter, plane->offset) { +struct page *page =sg_page_iter_page (&sg_iter); +uint8_t *page_virtual; +unsigned int j; + + page_virtual =kmap_local_page (page); +for (j =0 ; j <PAGE_SIZE ; j += size) +clflushopt (page_virtual + j); +kunmap_local (page_virtual); + } +mb (); + } +} +static struct i915_vma *__xe_pin_fb_vma (const struct intel_framebuffer *fb,const struct i915_gtt_view *view,unsigned int alignment)
@@ -380,6 +420,7 @@ static struct i915_vma *__xe_pin_fb_vma(const struct intel_framebuffer *fb,struct i915_vma *vma =kzalloc (sizeof (*vma),GFP_KERNEL );struct drm_gem_object *obj =intel_fb_bo (&fb->base);struct xe_bo *bo =gem_to_xe_bo (obj); +bool first_pin;int ret;if (!vma)
@@ -411,6 +452,9 @@ static struct i915_vma *__xe_pin_fb_vma(const struct intel_framebuffer *fb,if (ret) goto err; + first_pin = !bo->display_pin; + bo->display_pin = true; +if (IS_DGFX (xe)) ret =xe_bo_migrate (bo,XE_PL_VRAM0 );else
@@ -429,6 +473,15 @@ static struct i915_vma *__xe_pin_fb_vma(const struct intel_framebuffer *fb,if (ret) goto err_unpin; +/* +* Force flush AuxCCS data for non-coherent display access. +*/ +if (first_pin && + !xe_bo_is_vram (bo) && !xe_bo_is_stolen (bo) && +intel_fb_is_ccs_modifier (fb->base.modifier) && + view->type ==I915_GTT_VIEW_REMAPPED ) +xe_bo_clflush_auxccs (bo, view); +return vma; err_unpin:
drivers/gpu/drm/xe/xe_bo_types.h +9 -5
@@ -71,11 +71,6 @@ struct xe_bo {struct llist_node freed;/** @update_index: Update index if PT BO */ int update_index; -/** @created: Whether the bo has passed initial creation */ -bool created; - -/** @ccs_cleared */ -bool ccs_cleared;/** @bb_ccs_rw: BB instructions of CCS read/write. Valid only for VF */ struct xe_bb *bb_ccs[XE_SRIOV_VF_CCS_CTX_COUNT ];
@@ -90,6 +85,15 @@ struct xe_bo {/** @devmem_allocation: SVM device memory allocation */ struct drm_pagemap_devmem devmem_allocation; +/** @created: Whether the bo has passed initial creation */ + bool created : 1; + +/** @ccs_cleared */ + bool ccs_cleared : 1; + +/** @display_pin: Was it ever pinned to display */ + bool display_pin : 1; +/** @vram_userfault_link: Link into @mem_access.vram_userfault.list */ struct list_head vram_userfault_link;
Signature · 1 line
2.48.0
PATCH 12/13 late flush
In reply to Tvrtko Ursulin--- drivers/gpu/drm/i915/display/intel_display.c | 15 ++++- drivers/gpu/drm/i915/gem/i915_gem_object.h | 5 ++ .../compat-i915-headers/gem/i915_gem_object.h | 2 + drivers/gpu/drm/xe/display/xe_fb_pin.c | 55 +++++-------------- drivers/gpu/drm/xe/xe_bo_types.h | 4 +- 5 files changed, 37 insertions(+), 44 deletions(-)
drivers/gpu/drm/i915/display/intel_display.c +14 -1
@@ -45,6 +45,7 @@#include <drm/drm_rect.h> #include <drm/drm_vblank.h> +#include "gem/i915_gem_object.h" #include "g4x_dp.h" #include "g4x_hdmi.h" #include "hsw_ips.h"
@@ -7099,7 +7100,7 @@ static void intel_atomic_commit_fence_wait(struct intel_atomic_state *intel_statstruct drm_plane *plane;struct drm_plane_state *new_plane_state;long ret; -int i; +int i, j;for_each_new_plane_in_state (&intel_state->base, plane, new_plane_state, i) {if (new_plane_state->fence) {
@@ -7112,6 +7113,18 @@ static void intel_atomic_commit_fence_wait(struct intel_atomic_state *intel_stat new_plane_state->fence =NULL ; } } + +for_each_new_plane_in_state (&intel_state->base, plane, new_plane_state, i) { +if (!new_plane_state->fb) +continue ; + +for (j =0 ; j < new_plane_state->fb->format->num_planes; j++) { +if (!new_plane_state->fb->obj[j]) +continue ; + +intel_display_object_sync_flush (new_plane_state->fb->obj[j]); + } + } }static void intel_atomic_dsb_wait_commit (struct intel_crtc_state *crtc_state)
drivers/gpu/drm/i915/gem/i915_gem_object.h +5 -0
@@ -772,6 +772,11 @@ void i915_gem_object_flush_if_display(struct drm_i915_gem_object *obj);void i915_gem_object_flush_if_display_locked (struct drm_i915_gem_object *obj);bool i915_gem_cpu_write_needs_clflush (struct drm_i915_gem_object *obj); +static inline void intel_display_object_sync_flush (struct drm_gem_object *obj) +{ + +} +int __must_check i915_gem_object_set_to_wc_domain (struct drm_i915_gem_object *obj,bool write);int __must_check
drivers/gpu/drm/xe/compat-i915-headers/gem/i915_gem_object.h +2 -0
@@ -12,4 +12,6 @@ static inline void i915_gem_fence_wait_priority(struct dma_fence *fence, { } +void intel_display_object_sync_flush (struct drm_gem_object *obj); +#endif
drivers/gpu/drm/xe/display/xe_fb_pin.c +14 -41
85 lines not on this page · raw message
drivers/gpu/drm/xe/xe_bo_types.h +2 -2
@@ -91,8 +91,8 @@ struct xe_bo {/** @ccs_cleared */ bool ccs_cleared : 1; -/** @display_pin: Was it ever pinned to display */ - bool display_pin : 1; +/** @display_flush: Is clflush required before first scanout */ + bool display_flush : 1;/** @vram_userfault_link: Link into @mem_access.vram_userfault.list */ struct list_head vram_userfault_link;
Signature · 1 line
2.48.0
PATCH 13/13 drm/i915/display: Expose AuxCCS frame buffer modifiers for Xe
In reply to Tvrtko UrsulinNow that we have fixed the DPT handling we can undo the nerf which was done in cf48bddd31de ("drm/i915/display: Disable AuxCCS framebuffers if built for Xe").
Tested with KDE Wayland, on Lenovo Carbon X1 ADL-P:
[PLANE:32:plane 1A]: type=PRI uapi: [FB:242] AR30 little-endian (0x30335241),0x100000000000008,2880x1800, visible=visible, src=2880.000000x1800.000000+0.000000+0.000000, dst=2880x1800+0+0, rotation=0 (0x00000001) hw: [FB:242] AR30 little-endian (0x30335241),0x100000000000008,2880x1800, visible=yes, src=2880.000000x1800.000000+0.000000+0.000000, dst=2880x1800+0+0, rotation=0 (0x00000001)
Display working fine - no artefacts, no DMAR/PIPE faults.
v2:
* Adjust patch title. (Rodrigo)
References: cf48bddd31de ("drm/i915/display: Disable AuxCCS framebuffers if built for Xe")
--- drivers/gpu/drm/i915/display/skl_universal_plane.c | 6 ------ 1 file changed, 6 deletions(-)
drivers/gpu/drm/i915/display/skl_universal_plane.c +0 -6
@@ -2928,12 +2928,6 @@ skl_universal_plane_create(struct intel_display *display,else caps =skl_plane_caps (display, pipe, plane_id); -/* FIXME: xe has problems with AUX */ -if (!IS_ENABLED (I915 ) && !HAS_FLAT_CCS (to_i915 (display->drm))) - caps &= ~(INTEL_PLANE_CAP_CCS_RC | -INTEL_PLANE_CAP_CCS_RC_CC | -INTEL_PLANE_CAP_CCS_MC ); - modifiers =intel_fb_plane_get_modifiers (display, caps); ret = drm_universal_plane_init(display->drm, &plane->base,
Signature · 1 line
2.48.0
✗ CI.checkpatch: warning for auxccs late flush
In reply to Tvrtko Ursulin== Series Details ==
== Series Details ==
Series: auxccs late flush
URL : https://patchwork.freedesktop.org/series/153121/
State : warning
== Summary ==
+ KERNEL=/kernel
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools mt Cloning into 'mt'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ git -C mt rev-list -n1 origin/master 553439844b6500767ce8aef522cfe9fbb7ece541
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 76970b8618c87dc045734223c973ba492fbb4821
Author: Tvrtko Ursulin <[email protected]> Date: Tue Aug 19 09:55:34 2025 +0100
drm/i915/display: Expose AuxCCS frame buffer modifiers for Xe
Now that we have fixed the DPT handling we can undo the nerf which was done in cf48bddd31de ("drm/i915/display: Disable AuxCCS framebuffers if built for Xe").
Tested with KDE Wayland, on Lenovo Carbon X1 ADL-P:
[PLANE:32:plane 1A]: type=PRI
uapi: [FB:242] AR30 little-endian (0x30335241),0x100000000000008,2880x1800, visible=visible, src=2880.000000x1800.000000+0.000000+0.000000, dst=2880x1800+0+0, rotation=0 (0x00000001)
hw: [FB:242] AR30 little-endian (0x30335241),0x100000000000008,2880x1800, visible=yes, src=2880.000000x1800.000000+0.000000+0.000000, dst=2880x1800+0+0, rotation=0 (0x00000001)
Display working fine - no artefacts, no DMAR/PIPE faults.
v2:
* Adjust patch title. (Rodrigo)
References: cf48bddd31de ("drm/i915/display: Disable AuxCCS framebuffers if built for Xe")
+ /mt/dim checkpatch deb6c5d08f8b84ea7e019b7682631c6375cc17aa drm-intel 1a64b3664875 drm/xe/xelpg: Flush CCS when flushing caches8a62b67b48b2 drm/xe/xelp: Quiesce memory traffic before invalidating auxccs c0df5d7819a1 drm/xe/xelp: Support auxccs invalidation on blitter 4b2f1b921dbf drm/xe/xelp: Use MI_FLUSH_DW_CCS on auxccs platforms 7cb2694030f6 drm/xe/xelp: Wait for AuxCCS invalidation to complete c677b40fc158 drm/xe: Export xe_emit_aux_table_inv012ca4bca58c drm/xe/xelp: Add AuxCCS invalidation to the indirect context workarounds 52aa1d8379e7 drm/xe: Flush GGTT writes after populating DPT
-:72: WARNING:MEMORY_BARRIER: memory barrier without comment
#72: FILE: drivers/gpu/drm/xe/display/xe_fb_pin.c:115:
+ wmb();
total: 0 errors, 1 warnings, 0 checks, 66 lines checked f1e1e0f3463d drm/xe: Handle DPT in system memorycec9376918e2 drm/xe/display: Add support for AuxCCS ff75f296bb63 drm/xe: Force flush system memory AuxCCS data before scan out -:58: WARNING:MEMORY_BARRIER: memory barrier without comment #58: FILE: drivers/gpu/drm/xe/display/xe_fb_pin.c:399:
+ mb();
-:61: CHECK:PREFER_KERNEL_TYPES: Prefer kernel type 'u8' over 'uint8_t' #61: FILE: drivers/gpu/drm/xe/display/xe_fb_pin.c:402:
+ uint8_t *page_virtual;
-:69: WARNING:MEMORY_BARRIER: memory barrier without comment #69: FILE: drivers/gpu/drm/xe/display/xe_fb_pin.c:410:
+ mb();
total: 0 errors, 2 warnings, 1 checks, 103 lines checked eeeecd0a0435 late flush
-:7: WARNING:COMMIT_MESSAGE: Missing commit description - Add an appropriate one
-:58: CHECK:BRACES: Blank lines aren't necessary after an open brace '{' #58: FILE: drivers/gpu/drm/i915/gem/i915_gem_object.h:777:
+{
+
-:59: CHECK:BRACES: Blank lines aren't necessary before a close brace '}' #59: FILE: drivers/gpu/drm/i915/gem/i915_gem_object.h:778:
+
+}
total: 0 errors, 1 warnings, 2 checks, 145 lines checked76970b8618c8 drm/i915/display: Expose AuxCCS frame buffer modifiers for Xe
-:10: ERROR:GIT_COMMIT_ID: Please use git commit description style 'commit <12+ chars of sha1> ("<title line>")' - ie: 'commit cf48bddd31de ("drm/i915/display: Disable AuxCCS framebuffers if built for Xe")' #10:
done in cf48bddd31de ("drm/i915/display: Disable AuxCCS framebuffers if
-:16: WARNING:COMMIT_LOG_LONG_LINE: Prefer a maximum 75 chars per line (possible unwrapped commit description?) #16:
uapi: [FB:242] AR30 little-endian (0x30335241),0x100000000000008,2880x1800, visible=visible, src=2880.000000x1800.000000+0.000000+0.000000, dst=2880x1800+0+0, rotation=0 (0x00000001)
total: 1 errors, 1 warnings, 0 checks, 12 lines checked
Patchwork
CI✓ CI.KUnit: success for auxccs late flush
In reply to Tvrtko Ursulin== Series Details ==
== Series Details ==
Series: auxccs late flush
URL : https://patchwork.freedesktop.org/series/153121/
State : success
== Summary ==
+ trap cleanup EXIT
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/xe/.kunitconfig [14:16:33] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [14:16:37] Building KUnit Kernel ... Populating config with: $ make ARCH=um O=.kunit olddefconfig Building with: $ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48 [14:17:07] Starting KUnit Kernel (1/1)... [14:17:07] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [14:17:07] ================== guc_buf (11 subtests) =================== [14:17:07] [PASSED] test_smallest [14:17:07] [PASSED] test_largest [14:17:07] [PASSED] test_granular [14:17:07] [PASSED] test_unique [14:17:07] [PASSED] test_overlap [14:17:07] [PASSED] test_reusable [14:17:07] [PASSED] test_too_big [14:17:07] [PASSED] test_flush [14:17:07] [PASSED] test_lookup [14:17:07] [PASSED] test_data [14:17:07] [PASSED] test_class [14:17:07] ===================== [PASSED] guc_buf ===================== [14:17:07] =================== guc_dbm (7 subtests) =================== [14:17:07] [PASSED] test_empty [14:17:07] [PASSED] test_default [14:17:07] ======================== test_size ======================== [14:17:07] [PASSED] 4 [14:17:07] [PASSED] 8 [14:17:07] [PASSED] 32 [14:17:07] [PASSED] 256 [14:17:07] ==================== [PASSED] test_size ==================== [14:17:07] ======================= test_reuse ======================== [14:17:07] [PASSED] 4 [14:17:07] [PASSED] 8 [14:17:07] [PASSED] 32 [14:17:07] [PASSED] 256 [14:17:07] =================== [PASSED] test_reuse ==================== [14:17:07] =================== test_range_overlap ==================== [14:17:07] [PASSED] 4 [14:17:07] [PASSED] 8 [14:17:07] [PASSED] 32 [14:17:07] [PASSED] 256 [14:17:07] =============== [PASSED] test_range_overlap ================ [14:17:07] =================== test_range_compact ==================== [14:17:07] [PASSED] 4 [14:17:07] [PASSED] 8 [14:17:07] [PASSED] 32 [14:17:07] [PASSED] 256 [14:17:07] =============== [PASSED] test_range_compact ================ [14:17:07] ==================== test_range_spare ===================== [14:17:07] [PASSED] 4 [14:17:07] [PASSED] 8 [14:17:07] [PASSED] 32 [14:17:07] [PASSED] 256 [14:17:07] ================ [PASSED] test_range_spare ================= [14:17:07] ===================== [PASSED] guc_dbm ===================== [14:17:07] =================== guc_idm (6 subtests) =================== [14:17:07] [PASSED] bad_init [14:17:07] [PASSED] no_init [14:17:07] [PASSED] init_fini [14:17:07] [PASSED] check_used [14:17:07] [PASSED] check_quota [14:17:07] [PASSED] check_all [14:17:07] ===================== [PASSED] guc_idm ===================== [14:17:07] ================== no_relay (3 subtests) =================== [14:17:07] [PASSED] xe_drops_guc2pf_if_not_ready [14:17:07] [PASSED] xe_drops_guc2vf_if_not_ready [14:17:07] [PASSED] xe_rejects_send_if_not_ready [14:17:07] ==================== [PASSED] no_relay ===================== [14:17:07] ================== pf_relay (14 subtests) ================== [14:17:07] [PASSED] pf_rejects_guc2pf_too_short [14:17:07] [PASSED] pf_rejects_guc2pf_too_long [14:17:07] [PASSED] pf_rejects_guc2pf_no_payload [14:17:07] [PASSED] pf_fails_no_payload [14:17:07] [PASSED] pf_fails_bad_origin [14:17:07] [PASSED] pf_fails_bad_type [14:17:07] [PASSED] pf_txn_reports_error [14:17:07] [PASSED] pf_txn_sends_pf2guc [14:17:07] [PASSED] pf_sends_pf2guc [14:17:07] [SKIPPED] pf_loopback_nop [14:17:07] [SKIPPED] pf_loopback_echo [14:17:07] [SKIPPED] pf_loopback_fail [14:17:07] [SKIPPED] pf_loopback_busy [14:17:07] [SKIPPED] pf_loopback_retry [14:17:07] ==================== [PASSED] pf_relay ===================== [14:17:07] ================== vf_relay (3 subtests) =================== [14:17:07] [PASSED] vf_rejects_guc2vf_too_short [14:17:07] [PASSED] vf_rejects_guc2vf_too_long [14:17:07] [PASSED] vf_rejects_guc2vf_no_payload [14:17:07] ==================== [PASSED] vf_relay ===================== [14:17:07] ===================== lmtt (1 subtest) ===================== [14:17:07] ======================== test_ops ========================= [14:17:07] [PASSED] 2-level [14:17:07] [PASSED] multi-level [14:17:07] ==================== [PASSED] test_ops ===================== [14:17:07] ====================== [PASSED] lmtt ======================= [14:17:07] ================= pf_service (11 subtests) ================= [14:17:07] [PASSED] pf_negotiate_any [14:17:07] [PASSED] pf_negotiate_base_match [14:17:07] [PASSED] pf_negotiate_base_newer [14:17:07] [PASSED] pf_negotiate_base_next [14:17:07] [SKIPPED] pf_negotiate_base_older [14:17:07] [PASSED] pf_negotiate_base_prev [14:17:07] [PASSED] pf_negotiate_latest_match [14:17:07] [PASSED] pf_negotiate_latest_newer [14:17:07] [PASSED] pf_negotiate_latest_next [14:17:07] [SKIPPED] pf_negotiate_latest_older [14:17:07] [SKIPPED] pf_negotiate_latest_prev [14:17:07] =================== [PASSED] pf_service ==================== [14:17:07] =================== xe_mocs (2 subtests) =================== [14:17:07] ================ xe_live_mocs_kernel_kunit ================ [14:17:07] =========== [SKIPPED] xe_live_mocs_kernel_kunit ============ [14:17:07] ================ xe_live_mocs_reset_kunit ================= [14:17:07] ============ [SKIPPED] xe_live_mocs_reset_kunit ============ [14:17:07] ==================== [SKIPPED] xe_mocs ===================== [14:17:07] ================= xe_migrate (2 subtests) ================== [14:17:07] ================= xe_migrate_sanity_kunit ================= [14:17:07] ============ [SKIPPED] xe_migrate_sanity_kunit ============= [14:17:07] ================== xe_validate_ccs_kunit ================== [14:17:07] ============= [SKIPPED] xe_validate_ccs_kunit ============== [14:17:07] =================== [SKIPPED] xe_migrate =================== [14:17:07] ================== xe_dma_buf (1 subtest) ================== [14:17:07] ==================== xe_dma_buf_kunit ===================== [14:17:07] ================ [SKIPPED] xe_dma_buf_kunit ================ [14:17:07] =================== [SKIPPED] xe_dma_buf =================== [14:17:07] ================= xe_bo_shrink (1 subtest) ================= [14:17:07] =================== xe_bo_shrink_kunit ==================== [14:17:07] =============== [SKIPPED] xe_bo_shrink_kunit =============== [14:17:07] ================== [SKIPPED] xe_bo_shrink ================== [14:17:07] ==================== xe_bo (2 subtests) ==================== [14:17:07] ================== xe_ccs_migrate_kunit =================== [14:17:07] ============== [SKIPPED] xe_ccs_migrate_kunit ============== [14:17:07] ==================== xe_bo_evict_kunit ==================== [14:17:07] =============== [SKIPPED] xe_bo_evict_kunit ================ [14:17:07] ===================== [SKIPPED] xe_bo ====================== [14:17:07] ==================== args (11 subtests) ==================== [14:17:07] [PASSED] count_args_test [14:17:07] [PASSED] call_args_example [14:17:07] [PASSED] call_args_test [14:17:07] [PASSED] drop_first_arg_example [14:17:07] [PASSED] drop_first_arg_test [14:17:07] [PASSED] first_arg_example [14:17:07] [PASSED] first_arg_test [14:17:07] [PASSED] last_arg_example [14:17:07] [PASSED] last_arg_test [14:17:07] [PASSED] pick_arg_example [14:17:07] [PASSED] sep_comma_example [14:17:07] ====================== [PASSED] args ======================= [14:17:07] =================== xe_pci (3 subtests) ==================== [14:17:07] ==================== check_graphics_ip ==================== [14:17:07] [PASSED] 12.70 Xe_LPG [14:17:07] [PASSED] 12.71 Xe_LPG [14:17:07] [PASSED] 12.74 Xe_LPG+ [14:17:07] [PASSED] 20.01 Xe2_HPG [14:17:07] [PASSED] 20.02 Xe2_HPG [14:17:07] [PASSED] 20.04 Xe2_LPG [14:17:07] [PASSED] 30.00 Xe3_LPG [14:17:07] [PASSED] 30.01 Xe3_LPG [14:17:07] [PASSED] 30.03 Xe3_LPG [14:17:07] ================ [PASSED] check_graphics_ip ================ [14:17:07] ===================== check_media_ip ====================== [14:17:07] [PASSED] 13.00 Xe_LPM+ [14:17:07] [PASSED] 13.01 Xe2_HPM [14:17:07] [PASSED] 20.00 Xe2_LPM [14:17:07] [PASSED] 30.00 Xe3_LPM [14:17:07] [PASSED] 30.02 Xe3_LPM [14:17:07] ================= [PASSED] check_media_ip ================== [14:17:07] ================= check_platform_gt_count ================= [14:17:07] [PASSED] 0x9A60 (TIGERLAKE) [14:17:07] [PASSED] 0x9A68 (TIGERLAKE) [14:17:07] [PASSED] 0x9A70 (TIGERLAKE) [14:17:07] [PASSED] 0x9A40 (TIGERLAKE) [14:17:07] [PASSED] 0x9A49 (TIGERLAKE) [14:17:07] [PASSED] 0x9A59 (TIGERLAKE) [14:17:07] [PASSED] 0x9A78 (TIGERLAKE) [14:17:07] [PASSED] 0x9AC0 (TIGERLAKE) [14:17:07] [PASSED] 0x9AC9 (TIGERLAKE) [14:17:07] [PASSED] 0x9AD9 (TIGERLAKE) [14:17:07] [PASSED] 0x9AF8 (TIGERLAKE) [14:17:07] [PASSED] 0x4C80 (ROCKETLAKE) [14:17:07] [PASSED] 0x4C8A (ROCKETLAKE) [14:17:07] [PASSED] 0x4C8B (ROCKETLAKE) [14:17:07] [PASSED] 0x4C8C (ROCKETLAKE) [14:17:07] [PASSED] 0x4C90 (ROCKETLAKE) [14:17:07] [PASSED] 0x4C9A (ROCKETLAKE) [14:17:07] [PASSED] 0x4680 (ALDERLAKE_S) [14:17:07] [PASSED] 0x4682 (ALDERLAKE_S) [14:17:07] [PASSED] 0x4688 (ALDERLAKE_S) [14:17:07] [PASSED] 0x468A (ALDERLAKE_S) [14:17:07] [PASSED] 0x468B (ALDERLAKE_S) [14:17:07] [PASSED] 0x4690 (ALDERLAKE_S) [14:17:07] [PASSED] 0x4692 (ALDERLAKE_S) [14:17:07] [PASSED] 0x4693 (ALDERLAKE_S) [14:17:07] [PASSED] 0x46A0 (ALDERLAKE_P) [14:17:07] [PASSED] 0x46A1 (ALDERLAKE_P) [14:17:07] [PASSED] 0x46A2 (ALDERLAKE_P) [14:17:07] [PASSED] 0x46A3 (ALDERLAKE_P) [14:17:07] [PASSED] 0x46A6 (ALDERLAKE_P) [14:17:07] [PASSED] 0x46A8 (ALDERLAKE_P) [14:17:07] [PASSED] 0x46AA (ALDERLAKE_P) [14:17:07] [PASSED] 0x462A (ALDERLAKE_P) [14:17:07] [PASSED] 0x4626 (ALDERLAKE_P) [14:17:07] [PASSED] 0x4628 (ALDERLAKE_P) [14:17:07] [PASSED] 0x46B0 (ALDERLAKE_P) [14:17:07] [PASSED] 0x46B1 (ALDERLAKE_P) [14:17:07] [PASSED] 0x46B2 (ALDERLAKE_P) [14:17:07] [PASSED] 0x46B3 (ALDERLAKE_P) [14:17:07] [PASSED] 0x46C0 (ALDERLAKE_P) [14:17:07] [PASSED] 0x46C1 (ALDERLAKE_P) [14:17:07] [PASSED] 0x46C2 (ALDERLAKE_P) [14:17:07] [PASSED] 0x46C3 (ALDERLAKE_P) [14:17:07] [PASSED] 0x46D0 (ALDERLAKE_N) [14:17:07] [PASSED] 0x46D1 (ALDERLAKE_N) [14:17:07] [PASSED] 0x46D2 (ALDERLAKE_N) [14:17:07] [PASSED] 0x46D3 (ALDERLAKE_N) [14:17:07] [PASSED] 0x46D4 (ALDERLAKE_N) [14:17:07] [PASSED] 0xA721 (ALDERLAKE_P) [14:17:07] [PASSED] 0xA7A1 (ALDERLAKE_P) [14:17:07] [PASSED] 0xA7A9 (ALDERLAKE_P) [14:17:07] [PASSED] 0xA7AC (ALDERLAKE_P) [14:17:07] [PASSED] 0xA7AD (ALDERLAKE_P) [14:17:07] [PASSED] 0xA720 (ALDERLAKE_P) [14:17:07] [PASSED] 0xA7A0 (ALDERLAKE_P) [14:17:07] [PASSED] 0xA7A8 (ALDERLAKE_P) [14:17:07] [PASSED] 0xA7AA (ALDERLAKE_P) [14:17:07] [PASSED] 0xA7AB (ALDERLAKE_P) [14:17:07] [PASSED] 0xA780 (ALDERLAKE_S) [14:17:07] [PASSED] 0xA781 (ALDERLAKE_S) [14:17:07] [PASSED] 0xA782 (ALDERLAKE_S) [14:17:07] [PASSED] 0xA783 (ALDERLAKE_S) [14:17:07] [PASSED] 0xA788 (ALDERLAKE_S) [14:17:07] [PASSED] 0xA789 (ALDERLAKE_S) [14:17:07] [PASSED] 0xA78A (ALDERLAKE_S) [14:17:07] [PASSED] 0xA78B (ALDERLAKE_S) [14:17:07] [PASSED] 0x4905 (DG1) [14:17:07] [PASSED] 0x4906 (DG1) [14:17:07] [PASSED] 0x4907 (DG1) [14:17:07] [PASSED] 0x4908 (DG1) [14:17:07] [PASSED] 0x4909 (DG1) [14:17:07] [PASSED] 0x56C0 (DG2) [14:17:07] [PASSED] 0x56C2 (DG2) [14:17:07] [PASSED] 0x56C1 (DG2) [14:17:07] [PASSED] 0x7D51 (METEORLAKE) [14:17:07] [PASSED] 0x7DD1 (METEORLAKE) [14:17:07] [PASSED] 0x7D41 (METEORLAKE) [14:17:07] [PASSED] 0x7D67 (METEORLAKE) [14:17:07] [PASSED] 0xB640 (METEORLAKE) [14:17:07] [PASSED] 0x56A0 (DG2) [14:17:07] [PASSED] 0x56A1 (DG2) [14:17:07] [PASSED] 0x56A2 (DG2) [14:17:07] [PASSED] 0x56BE (DG2) [14:17:07] [PASSED] 0x56BF (DG2) [14:17:07] [PASSED] 0x5690 (DG2) [14:17:07] [PASSED] 0x5691 (DG2) [14:17:07] [PASSED] 0x5692 (DG2) [14:17:07] [PASSED] 0x56A5 (DG2) [14:17:07] [PASSED] 0x56A6 (DG2) [14:17:07] [PASSED] 0x56B0 (DG2) [14:17:07] [PASSED] 0x56B1 (DG2) [14:17:07] [PASSED] 0x56BA (DG2) [14:17:07] [PASSED] 0x56BB (DG2) [14:17:07] [PASSED] 0x56BC (DG2) [14:17:07] [PASSED] 0x56BD (DG2) [14:17:07] [PASSED] 0x5693 (DG2) [14:17:07] [PASSED] 0x5694 (DG2) [14:17:07] [PASSED] 0x5695 (DG2) [14:17:07] [PASSED] 0x56A3 (DG2) [14:17:07] [PASSED] 0x56A4 (DG2) [14:17:07] [PASSED] 0x56B2 (DG2) [14:17:07] [PASSED] 0x56B3 (DG2) [14:17:07] [PASSED] 0x5696 (DG2) [14:17:07] [PASSED] 0x5697 (DG2) [14:17:07] [PASSED] 0xB69 (PVC) [14:17:07] [PASSED] 0xB6E (PVC) [14:17:07] [PASSED] 0xBD4 (PVC) [14:17:07] [PASSED] 0xBD5 (PVC) [14:17:07] [PASSED] 0xBD6 (PVC) [14:17:07] [PASSED] 0xBD7 (PVC) [14:17:07] [PASSED] 0xBD8 (PVC) [14:17:07] [PASSED] 0xBD9 (PVC) [14:17:07] [PASSED] 0xBDA (PVC) [14:17:07] [PASSED] 0xBDB (PVC) [14:17:07] [PASSED] 0xBE0 (PVC) [14:17:07] [PASSED] 0xBE1 (PVC) [14:17:07] [PASSED] 0xBE5 (PVC) [14:17:07] [PASSED] 0x7D40 (METEORLAKE) [14:17:07] [PASSED] 0x7D45 (METEORLAKE) [14:17:07] [PASSED] 0x7D55 (METEORLAKE) [14:17:07] [PASSED] 0x7D60 (METEORLAKE) [14:17:07] [PASSED] 0x7DD5 (METEORLAKE) [14:17:07] [PASSED] 0x6420 (LUNARLAKE) [14:17:07] [PASSED] 0x64A0 (LUNARLAKE) [14:17:07] [PASSED] 0x64B0 (LUNARLAKE) [14:17:07] [PASSED] 0xE202 (BATTLEMAGE) [14:17:07] [PASSED] 0xE209 (BATTLEMAGE) [14:17:07] [PASSED] 0xE20B (BATTLEMAGE) [14:17:07] [PASSED] 0xE20C (BATTLEMAGE) [14:17:07] [PASSED] 0xE20D (BATTLEMAGE) [14:17:07] [PASSED] 0xE210 (BATTLEMAGE) [14:17:07] [PASSED] 0xE211 (BATTLEMAGE) [14:17:07] [PASSED] 0xE212 (BATTLEMAGE) [14:17:07] [PASSED] 0xE216 (BATTLEMAGE) [14:17:07] [PASSED] 0xE220 (BATTLEMAGE) [14:17:07] [PASSED] 0xE221 (BATTLEMAGE) [14:17:07] [PASSED] 0xE222 (BATTLEMAGE) [14:17:07] [PASSED] 0xE223 (BATTLEMAGE) [14:17:07] [PASSED] 0xB080 (PANTHERLAKE) [14:17:07] [PASSED] 0xB081 (PANTHERLAKE) [14:17:07] [PASSED] 0xB082 (PANTHERLAKE) [14:17:07] [PASSED] 0xB083 (PANTHERLAKE) [14:17:07] [PASSED] 0xB084 (PANTHERLAKE) [14:17:07] [PASSED] 0xB085 (PANTHERLAKE) [14:17:07] [PASSED] 0xB086 (PANTHERLAKE) [14:17:07] [PASSED] 0xB087 (PANTHERLAKE) [14:17:07] [PASSED] 0xB08F (PANTHERLAKE) [14:17:07] [PASSED] 0xB090 (PANTHERLAKE) [14:17:07] [PASSED] 0xB0A0 (PANTHERLAKE) [14:17:07] [PASSED] 0xB0B0 (PANTHERLAKE) [14:17:07] [PASSED] 0xFD80 (PANTHERLAKE) [14:17:07] [PASSED] 0xFD81 (PANTHERLAKE) [14:17:07] ============= [PASSED] check_platform_gt_count ============= [14:17:07] ===================== [PASSED] xe_pci ====================== [14:17:07] =================== xe_rtp (2 subtests) ==================== [14:17:07] =============== xe_rtp_process_to_sr_tests ================ [14:17:07] [PASSED] coalesce-same-reg [14:17:07] [PASSED] no-match-no-add [14:17:07] [PASSED] match-or [14:17:07] [PASSED] match-or-xfail [14:17:07] [PASSED] no-match-no-add-multiple-rules [14:17:07] [PASSED] two-regs-two-entries [14:17:07] [PASSED] clr-one-set-other [14:17:07] [PASSED] set-field [14:17:07] [PASSED] conflict-duplicate [14:17:07] [PASSED] conflict-not-disjoint [14:17:07] [PASSED] conflict-reg-type [14:17:07] =========== [PASSED] xe_rtp_process_to_sr_tests ============ [14:17:07] ================== xe_rtp_process_tests =================== [14:17:07] [PASSED] active1 [14:17:07] [PASSED] active2 [14:17:07] [PASSED] active-inactive [14:17:07] [PASSED] inactive-active [14:17:07] [PASSED] inactive-1st_or_active-inactive [14:17:07] [PASSED] inactive-2nd_or_active-inactive [14:17:07] [PASSED] inactive-last_or_active-inactive [14:17:07] [PASSED] inactive-no_or_active-inactive [14:17:07] ============== [PASSED] xe_rtp_process_tests =============== [14:17:07] ===================== [PASSED] xe_rtp ====================== [14:17:07] ==================== xe_wa (1 subtest) ===================== [14:17:07] ======================== xe_wa_gt ========================= [14:17:07] [PASSED] TIGERLAKE (B0) [14:17:07] [PASSED] DG1 (A0) [14:17:07] [PASSED] DG1 (B0) [14:17:07] [PASSED] ALDERLAKE_S (A0) [14:17:07] [PASSED] ALDERLAKE_S (B0) [14:17:07] [PASSED] ALDERLAKE_S (C0) [14:17:07] [PASSED] ALDERLAKE_S (D0) [14:17:07] [PASSED] ALDERLAKE_P (A0) [14:17:07] [PASSED] ALDERLAKE_P (B0) [14:17:07] [PASSED] ALDERLAKE_P (C0) [14:17:07] [PASSED] ALDERLAKE_S_RPLS (D0) [14:17:07] [PASSED] ALDERLAKE_P_RPLU (E0) [14:17:07] [PASSED] DG2_G10 (C0) [14:17:07] [PASSED] DG2_G11 (B1) [14:17:07] [PASSED] DG2_G12 (A1) [14:17:07] [PASSED] METEORLAKE (g:A0, m:A0) [14:17:07] [PASSED] METEORLAKE (g:A0, m:A0) [14:17:07] [PASSED] METEORLAKE (g:A0, m:A0) [14:17:07] [PASSED] LUNARLAKE (g:A0, m:A0) [14:17:07] [PASSED] LUNARLAKE (g:B0, m:A0) stty: 'standard input': Inappropriate ioctl for device [14:17:07] [PASSED] BATTLEMAGE (g:A0, m:A1) [14:17:07] ==================== [PASSED] xe_wa_gt ===================== [14:17:07] ====================== [PASSED] xe_wa ====================== [14:17:07] ============================================================ [14:17:07] Testing complete. Ran 297 tests: passed: 281, skipped: 16 [14:17:07] Elapsed time: 33.940s total, 4.236s configuring, 29.337s building, 0.324s running
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/tests/.kunitconfig [14:17:07] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [14:17:09] Building KUnit Kernel ... Populating config with: $ make ARCH=um O=.kunit olddefconfig Building with: $ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48 [14:17:32] Starting KUnit Kernel (1/1)... [14:17:32] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [14:17:32] == drm_test_atomic_get_connector_for_encoder (1 subtest) === [14:17:32] [PASSED] drm_test_drm_atomic_get_connector_for_encoder [14:17:32] ==== [PASSED] drm_test_atomic_get_connector_for_encoder ==== [14:17:32] =========== drm_validate_clone_mode (2 subtests) =========== [14:17:32] ============== drm_test_check_in_clone_mode =============== [14:17:32] [PASSED] in_clone_mode [14:17:32] [PASSED] not_in_clone_mode [14:17:32] ========== [PASSED] drm_test_check_in_clone_mode =========== [14:17:32] =============== drm_test_check_valid_clones =============== [14:17:32] [PASSED] not_in_clone_mode [14:17:32] [PASSED] valid_clone [14:17:32] [PASSED] invalid_clone [14:17:32] =========== [PASSED] drm_test_check_valid_clones =========== [14:17:32] ============= [PASSED] drm_validate_clone_mode ============= [14:17:32] ============= drm_validate_modeset (1 subtest) ============= [14:17:32] [PASSED] drm_test_check_connector_changed_modeset [14:17:32] ============== [PASSED] drm_validate_modeset =============== [14:17:32] ====== drm_test_bridge_get_current_state (2 subtests) ====== [14:17:32] [PASSED] drm_test_drm_bridge_get_current_state_atomic [14:17:32] [PASSED] drm_test_drm_bridge_get_current_state_legacy [14:17:32] ======== [PASSED] drm_test_bridge_get_current_state ======== [14:17:32] ====== drm_test_bridge_helper_reset_crtc (3 subtests) ====== [14:17:32] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic [14:17:32] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic_disabled [14:17:32] [PASSED] drm_test_drm_bridge_helper_reset_crtc_legacy [14:17:32] ======== [PASSED] drm_test_bridge_helper_reset_crtc ======== [14:17:32] ============== drm_bridge_alloc (2 subtests) =============== [14:17:32] [PASSED] drm_test_drm_bridge_alloc_basic [14:17:32] [PASSED] drm_test_drm_bridge_alloc_get_put [14:17:32] ================ [PASSED] drm_bridge_alloc ================= [14:17:32] ================== drm_buddy (7 subtests) ================== [14:17:32] [PASSED] drm_test_buddy_alloc_limit [14:17:32] [PASSED] drm_test_buddy_alloc_optimistic [14:17:32] [PASSED] drm_test_buddy_alloc_pessimistic [14:17:32] [PASSED] drm_test_buddy_alloc_pathological [14:17:32] [PASSED] drm_test_buddy_alloc_contiguous [14:17:32] [PASSED] drm_test_buddy_alloc_clear [14:17:32] [PASSED] drm_test_buddy_alloc_range_bias [14:17:32] ==================== [PASSED] drm_buddy ==================== [14:17:32] ============= drm_cmdline_parser (40 subtests) ============= [14:17:32] [PASSED] drm_test_cmdline_force_d_only [14:17:32] [PASSED] drm_test_cmdline_force_D_only_dvi [14:17:32] [PASSED] drm_test_cmdline_force_D_only_hdmi [14:17:32] [PASSED] drm_test_cmdline_force_D_only_not_digital [14:17:32] [PASSED] drm_test_cmdline_force_e_only [14:17:32] [PASSED] drm_test_cmdline_res [14:17:32] [PASSED] drm_test_cmdline_res_vesa [14:17:32] [PASSED] drm_test_cmdline_res_vesa_rblank [14:17:32] [PASSED] drm_test_cmdline_res_rblank [14:17:32] [PASSED] drm_test_cmdline_res_bpp [14:17:32] [PASSED] drm_test_cmdline_res_refresh [14:17:32] [PASSED] drm_test_cmdline_res_bpp_refresh [14:17:32] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced [14:17:32] [PASSED] drm_test_cmdline_res_bpp_refresh_margins [14:17:32] [PASSED] drm_test_cmdline_res_bpp_refresh_force_off [14:17:32] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on [14:17:32] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_analog [14:17:32] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_digital [14:17:32] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced_margins_force_on [14:17:32] [PASSED] drm_test_cmdline_res_margins_force_on [14:17:32] [PASSED] drm_test_cmdline_res_vesa_margins [14:17:32] [PASSED] drm_test_cmdline_name [14:17:32] [PASSED] drm_test_cmdline_name_bpp [14:17:32] [PASSED] drm_test_cmdline_name_option [14:17:32] [PASSED] drm_test_cmdline_name_bpp_option [14:17:32] [PASSED] drm_test_cmdline_rotate_0 [14:17:32] [PASSED] drm_test_cmdline_rotate_90 [14:17:32] [PASSED] drm_test_cmdline_rotate_180 [14:17:32] [PASSED] drm_test_cmdline_rotate_270 [14:17:32] [PASSED] drm_test_cmdline_hmirror [14:17:32] [PASSED] drm_test_cmdline_vmirror [14:17:32] [PASSED] drm_test_cmdline_margin_options [14:17:32] [PASSED] drm_test_cmdline_multiple_options [14:17:32] [PASSED] drm_test_cmdline_bpp_extra_and_option [14:17:32] [PASSED] drm_test_cmdline_extra_and_option [14:17:32] [PASSED] drm_test_cmdline_freestanding_options [14:17:32] [PASSED] drm_test_cmdline_freestanding_force_e_and_options [14:17:32] [PASSED] drm_test_cmdline_panel_orientation [14:17:32] ================ drm_test_cmdline_invalid ================= [14:17:32] [PASSED] margin_only [14:17:32] [PASSED] interlace_only [14:17:32] [PASSED] res_missing_x [14:17:32] [PASSED] res_missing_y [14:17:32] [PASSED] res_bad_y [14:17:32] [PASSED] res_missing_y_bpp [14:17:32] [PASSED] res_bad_bpp [14:17:32] [PASSED] res_bad_refresh [14:17:32] [PASSED] res_bpp_refresh_force_on_off [14:17:32] [PASSED] res_invalid_mode [14:17:32] [PASSED] res_bpp_wrong_place_mode [14:17:32] [PASSED] name_bpp_refresh [14:17:32] [PASSED] name_refresh [14:17:32] [PASSED] name_refresh_wrong_mode [14:17:32] [PASSED] name_refresh_invalid_mode [14:17:32] [PASSED] rotate_multiple [14:17:32] [PASSED] rotate_invalid_val [14:17:32] [PASSED] rotate_truncated [14:17:32] [PASSED] invalid_option [14:17:32] [PASSED] invalid_tv_option [14:17:32] [PASSED] truncated_tv_option [14:17:32] ============ [PASSED] drm_test_cmdline_invalid ============= [14:17:32] =============== drm_test_cmdline_tv_options =============== [14:17:32] [PASSED] NTSC [14:17:32] [PASSED] NTSC_443 [14:17:32] [PASSED] NTSC_J [14:17:32] [PASSED] PAL [14:17:32] [PASSED] PAL_M [14:17:32] [PASSED] PAL_N [14:17:32] [PASSED] SECAM [14:17:32] [PASSED] MONO_525 [14:17:32] [PASSED] MONO_625 [14:17:32] =========== [PASSED] drm_test_cmdline_tv_options =========== [14:17:32] =============== [PASSED] drm_cmdline_parser ================ [14:17:32] ========== drmm_connector_hdmi_init (20 subtests) ========== [14:17:32] [PASSED] drm_test_connector_hdmi_init_valid [14:17:32] [PASSED] drm_test_connector_hdmi_init_bpc_8 [14:17:32] [PASSED] drm_test_connector_hdmi_init_bpc_10 [14:17:32] [PASSED] drm_test_connector_hdmi_init_bpc_12 [14:17:32] [PASSED] drm_test_connector_hdmi_init_bpc_invalid [14:17:32] [PASSED] drm_test_connector_hdmi_init_bpc_null [14:17:32] [PASSED] drm_test_connector_hdmi_init_formats_empty [14:17:32] [PASSED] drm_test_connector_hdmi_init_formats_no_rgb [14:17:32] === drm_test_connector_hdmi_init_formats_yuv420_allowed === [14:17:32] [PASSED] supported_formats=0x9 yuv420_allowed=1 [14:17:32] [PASSED] supported_formats=0x9 yuv420_allowed=0 [14:17:32] [PASSED] supported_formats=0x3 yuv420_allowed=1 [14:17:32] [PASSED] supported_formats=0x3 yuv420_allowed=0 [14:17:32] === [PASSED] drm_test_connector_hdmi_init_formats_yuv420_allowed === [14:17:32] [PASSED] drm_test_connector_hdmi_init_null_ddc [14:17:32] [PASSED] drm_test_connector_hdmi_init_null_product [14:17:32] [PASSED] drm_test_connector_hdmi_init_null_vendor [14:17:32] [PASSED] drm_test_connector_hdmi_init_product_length_exact [14:17:32] [PASSED] drm_test_connector_hdmi_init_product_length_too_long [14:17:32] [PASSED] drm_test_connector_hdmi_init_product_valid [14:17:32] [PASSED] drm_test_connector_hdmi_init_vendor_length_exact [14:17:32] [PASSED] drm_test_connector_hdmi_init_vendor_length_too_long [14:17:32] [PASSED] drm_test_connector_hdmi_init_vendor_valid [14:17:32] ========= drm_test_connector_hdmi_init_type_valid ========= [14:17:32] [PASSED] HDMI-A [14:17:32] [PASSED] HDMI-B [14:17:32] ===== [PASSED] drm_test_connector_hdmi_init_type_valid ===== [14:17:32] ======== drm_test_connector_hdmi_init_type_invalid ======== [14:17:32] [PASSED] Unknown [14:17:32] [PASSED] VGA [14:17:32] [PASSED] DVI-I [14:17:32] [PASSED] DVI-D [14:17:32] [PASSED] DVI-A [14:17:32] [PASSED] Composite [14:17:32] [PASSED] SVIDEO [14:17:32] [PASSED] LVDS [14:17:32] [PASSED] Component [14:17:32] [PASSED] DIN [14:17:32] [PASSED] DP [14:17:32] [PASSED] TV [14:17:32] [PASSED] eDP [14:17:32] [PASSED] Virtual [14:17:32] [PASSED] DSI [14:17:32] [PASSED] DPI [14:17:32] [PASSED] Writeback [14:17:32] [PASSED] SPI [14:17:32] [PASSED] USB [14:17:32] ==== [PASSED] drm_test_connector_hdmi_init_type_invalid ==== [14:17:32] ============ [PASSED] drmm_connector_hdmi_init ============= [14:17:32] ============= drmm_connector_init (3 subtests) ============= [14:17:32] [PASSED] drm_test_drmm_connector_init [14:17:32] [PASSED] drm_test_drmm_connector_init_null_ddc [14:17:32] ========= drm_test_drmm_connector_init_type_valid ========= [14:17:32] [PASSED] Unknown [14:17:32] [PASSED] VGA [14:17:32] [PASSED] DVI-I [14:17:32] [PASSED] DVI-D [14:17:32] [PASSED] DVI-A [14:17:32] [PASSED] Composite [14:17:32] [PASSED] SVIDEO [14:17:32] [PASSED] LVDS [14:17:32] [PASSED] Component [14:17:32] [PASSED] DIN [14:17:32] [PASSED] DP [14:17:32] [PASSED] HDMI-A [14:17:32] [PASSED] HDMI-B [14:17:32] [PASSED] TV [14:17:32] [PASSED] eDP [14:17:32] [PASSED] Virtual [14:17:32] [PASSED] DSI [14:17:32] [PASSED] DPI [14:17:32] [PASSED] Writeback [14:17:32] [PASSED] SPI [14:17:32] [PASSED] USB [14:17:32] ===== [PASSED] drm_test_drmm_connector_init_type_valid ===== [14:17:32] =============== [PASSED] drmm_connector_init =============== [14:17:32] ========= drm_connector_dynamic_init (6 subtests) ========== [14:17:32] [PASSED] drm_test_drm_connector_dynamic_init [14:17:32] [PASSED] drm_test_drm_connector_dynamic_init_null_ddc [14:17:32] [PASSED] drm_test_drm_connector_dynamic_init_not_added [14:17:32] [PASSED] drm_test_drm_connector_dynamic_init_properties [14:17:32] ===== drm_test_drm_connector_dynamic_init_type_valid ====== [14:17:32] [PASSED] Unknown [14:17:32] [PASSED] VGA [14:17:32] [PASSED] DVI-I [14:17:32] [PASSED] DVI-D [14:17:32] [PASSED] DVI-A [14:17:32] [PASSED] Composite [14:17:32] [PASSED] SVIDEO [14:17:32] [PASSED] LVDS [14:17:32] [PASSED] Component [14:17:32] [PASSED] DIN [14:17:32] [PASSED] DP [14:17:32] [PASSED] HDMI-A [14:17:32] [PASSED] HDMI-B [14:17:32] [PASSED] TV [14:17:32] [PASSED] eDP [14:17:32] [PASSED] Virtual [14:17:32] [PASSED] DSI [14:17:32] [PASSED] DPI [14:17:32] [PASSED] Writeback [14:17:32] [PASSED] SPI [14:17:32] [PASSED] USB [14:17:32] = [PASSED] drm_test_drm_connector_dynamic_init_type_valid == [14:17:32] ======== drm_test_drm_connector_dynamic_init_name ========= [14:17:32] [PASSED] Unknown [14:17:32] [PASSED] VGA [14:17:32] [PASSED] DVI-I [14:17:32] [PASSED] DVI-D [14:17:32] [PASSED] DVI-A [14:17:32] [PASSED] Composite [14:17:32] [PASSED] SVIDEO [14:17:32] [PASSED] LVDS [14:17:32] [PASSED] Component [14:17:32] [PASSED] DIN [14:17:32] [PASSED] DP [14:17:32] [PASSED] HDMI-A [14:17:32] [PASSED] HDMI-B [14:17:32] [PASSED] TV [14:17:32] [PASSED] eDP [14:17:32] [PASSED] Virtual [14:17:32] [PASSED] DSI [14:17:32] [PASSED] DPI [14:17:32] [PASSED] Writeback [14:17:32] [PASSED] SPI [14:17:32] [PASSED] USB [14:17:32] ==== [PASSED] drm_test_drm_connector_dynamic_init_name ===== [14:17:32] =========== [PASSED] drm_connector_dynamic_init ============ [14:17:32] ==== drm_connector_dynamic_register_early (4 subtests) ===== [14:17:32] [PASSED] drm_test_drm_connector_dynamic_register_early_on_list [14:17:32] [PASSED] drm_test_drm_connector_dynamic_register_early_defer [14:17:32] [PASSED] drm_test_drm_connector_dynamic_register_early_no_init [14:17:32] [PASSED] drm_test_drm_connector_dynamic_register_early_no_mode_object [14:17:32] ====== [PASSED] drm_connector_dynamic_register_early ======= [14:17:32] ======= drm_connector_dynamic_register (7 subtests) ======== [14:17:32] [PASSED] drm_test_drm_connector_dynamic_register_on_list [14:17:32] [PASSED] drm_test_drm_connector_dynamic_register_no_defer [14:17:32] [PASSED] drm_test_drm_connector_dynamic_register_no_init [14:17:32] [PASSED] drm_test_drm_connector_dynamic_register_mode_object [14:17:32] [PASSED] drm_test_drm_connector_dynamic_register_sysfs [14:17:32] [PASSED] drm_test_drm_connector_dynamic_register_sysfs_name [14:17:32] [PASSED] drm_test_drm_connector_dynamic_register_debugfs [14:17:32] ========= [PASSED] drm_connector_dynamic_register ========== [14:17:32] = drm_connector_attach_broadcast_rgb_property (2 subtests) = [14:17:32] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property [14:17:32] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property_hdmi_connector [14:17:32] === [PASSED] drm_connector_attach_broadcast_rgb_property === [14:17:32] ========== drm_get_tv_mode_from_name (2 subtests) ========== [14:17:32] ========== drm_test_get_tv_mode_from_name_valid =========== [14:17:32] [PASSED] NTSC [14:17:32] [PASSED] NTSC-443 [14:17:32] [PASSED] NTSC-J [14:17:32] [PASSED] PAL [14:17:32] [PASSED] PAL-M [14:17:32] [PASSED] PAL-N [14:17:32] [PASSED] SECAM [14:17:32] [PASSED] Mono [14:17:32] ====== [PASSED] drm_test_get_tv_mode_from_name_valid ======= [14:17:32] [PASSED] drm_test_get_tv_mode_from_name_truncated [14:17:32] ============ [PASSED] drm_get_tv_mode_from_name ============ [14:17:32] = drm_test_connector_hdmi_compute_mode_clock (12 subtests) = [14:17:32] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb [14:17:32] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc [14:17:32] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc_vic_1 [14:17:32] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc [14:17:32] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc_vic_1 [14:17:32] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_double [14:17:32] = drm_test_connector_hdmi_compute_mode_clock_yuv420_valid = [14:17:32] [PASSED] VIC 96 [14:17:32] [PASSED] VIC 97 [14:17:32] [PASSED] VIC 101 [14:17:32] [PASSED] VIC 102 [14:17:32] [PASSED] VIC 106 [14:17:32] [PASSED] VIC 107 [14:17:32] === [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_valid === [14:17:32] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_10_bpc [14:17:32] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_12_bpc [14:17:32] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_8_bpc [14:17:32] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_10_bpc [14:17:32] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_12_bpc [14:17:32] === [PASSED] drm_test_connector_hdmi_compute_mode_clock ==== [14:17:32] == drm_hdmi_connector_get_broadcast_rgb_name (2 subtests) == [14:17:32] === drm_test_drm_hdmi_connector_get_broadcast_rgb_name ==== [14:17:32] [PASSED] Automatic [14:17:32] [PASSED] Full [14:17:32] [PASSED] Limited 16:235 [14:17:32] === [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name === [14:17:32] [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name_invalid [14:17:32] ==== [PASSED] drm_hdmi_connector_get_broadcast_rgb_name ==== [14:17:32] == drm_hdmi_connector_get_output_format_name (2 subtests) == [14:17:32] === drm_test_drm_hdmi_connector_get_output_format_name ==== [14:17:32] [PASSED] RGB [14:17:32] [PASSED] YUV 4:2:0 [14:17:32] [PASSED] YUV 4:2:2 [14:17:32] [PASSED] YUV 4:4:4 [14:17:32] === [PASSED] drm_test_drm_hdmi_connector_get_output_format_name === [14:17:32] [PASSED] drm_test_drm_hdmi_connector_get_output_format_name_invalid [14:17:32] ==== [PASSED] drm_hdmi_connector_get_output_format_name ==== [14:17:32] ============= drm_damage_helper (21 subtests) ============== [14:17:32] [PASSED] drm_test_damage_iter_no_damage [14:17:32] [PASSED] drm_test_damage_iter_no_damage_fractional_src [14:17:32] [PASSED] drm_test_damage_iter_no_damage_src_moved [14:17:32] [PASSED] drm_test_damage_iter_no_damage_fractional_src_moved [14:17:32] [PASSED] drm_test_damage_iter_no_damage_not_visible [14:17:32] [PASSED] drm_test_damage_iter_no_damage_no_crtc [14:17:32] [PASSED] drm_test_damage_iter_no_damage_no_fb [14:17:32] [PASSED] drm_test_damage_iter_simple_damage [14:17:32] [PASSED] drm_test_damage_iter_single_damage [14:17:32] [PASSED] drm_test_damage_iter_single_damage_intersect_src [14:17:32] [PASSED] drm_test_damage_iter_single_damage_outside_src [14:17:32] [PASSED] drm_test_damage_iter_single_damage_fractional_src [14:17:32] [PASSED] drm_test_damage_iter_single_damage_intersect_fractional_src [14:17:32] [PASSED] drm_test_damage_iter_single_damage_outside_fractional_src [14:17:32] [PASSED] drm_test_damage_iter_single_damage_src_moved [14:17:32] [PASSED] drm_test_damage_iter_single_damage_fractional_src_moved [14:17:32] [PASSED] drm_test_damage_iter_damage [14:17:32] [PASSED] drm_test_damage_iter_damage_one_intersect [14:17:32] [PASSED] drm_test_damage_iter_damage_one_outside [14:17:32] [PASSED] drm_test_damage_iter_damage_src_moved [14:17:32] [PASSED] drm_test_damage_iter_damage_not_visible [14:17:32] ================ [PASSED] drm_damage_helper ================ [14:17:32] ============== drm_dp_mst_helper (3 subtests) ============== [14:17:32] ============== drm_test_dp_mst_calc_pbn_mode ============== [14:17:32] [PASSED] Clock 154000 BPP 30 DSC disabled [14:17:32] [PASSED] Clock 234000 BPP 30 DSC disabled [14:17:32] [PASSED] Clock 297000 BPP 24 DSC disabled [14:17:32] [PASSED] Clock 332880 BPP 24 DSC enabled [14:17:32] [PASSED] Clock 324540 BPP 24 DSC enabled [14:17:32] ========== [PASSED] drm_test_dp_mst_calc_pbn_mode ========== [14:17:32] ============== drm_test_dp_mst_calc_pbn_div =============== [14:17:32] [PASSED] Link rate 2000000 lane count 4 [14:17:32] [PASSED] Link rate 2000000 lane count 2 [14:17:32] [PASSED] Link rate 2000000 lane count 1 [14:17:32] [PASSED] Link rate 1350000 lane count 4 [14:17:32] [PASSED] Link rate 1350000 lane count 2 [14:17:32] [PASSED] Link rate 1350000 lane count 1 [14:17:32] [PASSED] Link rate 1000000 lane count 4 [14:17:32] [PASSED] Link rate 1000000 lane count 2 [14:17:32] [PASSED] Link rate 1000000 lane count 1 [14:17:32] [PASSED] Link rate 810000 lane count 4 [14:17:32] [PASSED] Link rate 810000 lane count 2 [14:17:32] [PASSED] Link rate 810000 lane count 1 [14:17:32] [PASSED] Link rate 540000 lane count 4 [14:17:32] [PASSED] Link rate 540000 lane count 2 [14:17:32] [PASSED] Link rate 540000 lane count 1 [14:17:32] [PASSED] Link rate 270000 lane count 4 [14:17:32] [PASSED] Link rate 270000 lane count 2 [14:17:32] [PASSED] Link rate 270000 lane count 1 [14:17:32] [PASSED] Link rate 162000 lane count 4 [14:17:32] [PASSED] Link rate 162000 lane count 2 [14:17:32] [PASSED] Link rate 162000 lane count 1 [14:17:32] ========== [PASSED] drm_test_dp_mst_calc_pbn_div =========== [14:17:32] ========= drm_test_dp_mst_sideband_msg_req_decode ========= [14:17:32] [PASSED] DP_ENUM_PATH_RESOURCES with port number [14:17:32] [PASSED] DP_POWER_UP_PHY with port number [14:17:32] [PASSED] DP_POWER_DOWN_PHY with port number [14:17:32] [PASSED] DP_ALLOCATE_PAYLOAD with SDP stream sinks [14:17:32] [PASSED] DP_ALLOCATE_PAYLOAD with port number [14:17:32] [PASSED] DP_ALLOCATE_PAYLOAD with VCPI [14:17:32] [PASSED] DP_ALLOCATE_PAYLOAD with PBN [14:17:32] [PASSED] DP_QUERY_PAYLOAD with port number [14:17:32] [PASSED] DP_QUERY_PAYLOAD with VCPI [14:17:32] [PASSED] DP_REMOTE_DPCD_READ with port number [14:17:32] [PASSED] DP_REMOTE_DPCD_READ with DPCD address [14:17:32] [PASSED] DP_REMOTE_DPCD_READ with max number of bytes [14:17:32] [PASSED] DP_REMOTE_DPCD_WRITE with port number [14:17:32] [PASSED] DP_REMOTE_DPCD_WRITE with DPCD address [14:17:32] [PASSED] DP_REMOTE_DPCD_WRITE with data array [14:17:32] [PASSED] DP_REMOTE_I2C_READ with port number [14:17:32] [PASSED] DP_REMOTE_I2C_READ with I2C device ID [14:17:32] [PASSED] DP_REMOTE_I2C_READ with transactions array [14:17:32] [PASSED] DP_REMOTE_I2C_WRITE with port number [14:17:32] [PASSED] DP_REMOTE_I2C_WRITE with I2C device ID [14:17:32] [PASSED] DP_REMOTE_I2C_WRITE with data array [14:17:32] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream ID [14:17:32] [PASSED] DP_QUERY_STREAM_ENC_STATUS with client ID [14:17:32] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream event [14:17:32] [PASSED] DP_QUERY_STREAM_ENC_STATUS with valid stream event [14:17:32] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream behavior [14:17:32] [PASSED] DP_QUERY_STREAM_ENC_STATUS with a valid stream behavior [14:17:32] ===== [PASSED] drm_test_dp_mst_sideband_msg_req_decode ===== [14:17:32] ================ [PASSED] drm_dp_mst_helper ================ [14:17:32] ================== drm_exec (7 subtests) =================== [14:17:32] [PASSED] sanitycheck [14:17:32] [PASSED] test_lock [14:17:32] [PASSED] test_lock_unlock [14:17:32] [PASSED] test_duplicates [14:17:32] [PASSED] test_prepare [14:17:32] [PASSED] test_prepare_array [14:17:32] [PASSED] test_multiple_loops [14:17:32] ==================== [PASSED] drm_exec ===================== [14:17:32] =========== drm_format_helper_test (17 subtests) =========== [14:17:32] ============== drm_test_fb_xrgb8888_to_gray8 ============== [14:17:32] [PASSED] single_pixel_source_buffer [14:17:32] [PASSED] single_pixel_clip_rectangle [14:17:32] [PASSED] well_known_colors [14:17:32] [PASSED] destination_pitch [14:17:32] ========== [PASSED] drm_test_fb_xrgb8888_to_gray8 ========== [14:17:32] ============= drm_test_fb_xrgb8888_to_rgb332 ============== [14:17:32] [PASSED] single_pixel_source_buffer [14:17:32] [PASSED] single_pixel_clip_rectangle [14:17:32] [PASSED] well_known_colors [14:17:32] [PASSED] destination_pitch [14:17:32] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb332 ========== [14:17:32] ============= drm_test_fb_xrgb8888_to_rgb565 ============== [14:17:32] [PASSED] single_pixel_source_buffer [14:17:32] [PASSED] single_pixel_clip_rectangle [14:17:32] [PASSED] well_known_colors [14:17:32] [PASSED] destination_pitch [14:17:32] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb565 ========== [14:17:32] ============ drm_test_fb_xrgb8888_to_xrgb1555 ============= [14:17:32] [PASSED] single_pixel_source_buffer [14:17:32] [PASSED] single_pixel_clip_rectangle [14:17:32] [PASSED] well_known_colors [14:17:32] [PASSED] destination_pitch [14:17:32] ======== [PASSED] drm_test_fb_xrgb8888_to_xrgb1555 ========= [14:17:32] ============ drm_test_fb_xrgb8888_to_argb1555 ============= [14:17:32] [PASSED] single_pixel_source_buffer [14:17:32] [PASSED] single_pixel_clip_rectangle [14:17:32] [PASSED] well_known_colors [14:17:32] [PASSED] destination_pitch [14:17:32] ======== [PASSED] drm_test_fb_xrgb8888_to_argb1555 ========= [14:17:32] ============ drm_test_fb_xrgb8888_to_rgba5551 ============= [14:17:32] [PASSED] single_pixel_source_buffer [14:17:32] [PASSED] single_pixel_clip_rectangle [14:17:32] [PASSED] well_known_colors [14:17:32] [PASSED] destination_pitch [14:17:32] ======== [PASSED] drm_test_fb_xrgb8888_to_rgba5551 ========= [14:17:32] ============= drm_test_fb_xrgb8888_to_rgb888 ============== [14:17:32] [PASSED] single_pixel_source_buffer [14:17:32] [PASSED] single_pixel_clip_rectangle [14:17:32] [PASSED] well_known_colors [14:17:32] [PASSED] destination_pitch [14:17:32] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb888 ========== [14:17:32] ============= drm_test_fb_xrgb8888_to_bgr888 ============== [14:17:32] [PASSED] single_pixel_source_buffer [14:17:32] [PASSED] single_pixel_clip_rectangle [14:17:32] [PASSED] well_known_colors [14:17:32] [PASSED] destination_pitch [14:17:32] ========= [PASSED] drm_test_fb_xrgb8888_to_bgr888 ========== [14:17:32] ============ drm_test_fb_xrgb8888_to_argb8888 ============= [14:17:32] [PASSED] single_pixel_source_buffer [14:17:32] [PASSED] single_pixel_clip_rectangle [14:17:32] [PASSED] well_known_colors [14:17:32] [PASSED] destination_pitch [14:17:32] ======== [PASSED] drm_test_fb_xrgb8888_to_argb8888 ========= [14:17:32] =========== drm_test_fb_xrgb8888_to_xrgb2101010 =========== [14:17:32] [PASSED] single_pixel_source_buffer [14:17:32] [PASSED] single_pixel_clip_rectangle [14:17:32] [PASSED] well_known_colors [14:17:32] [PASSED] destination_pitch [14:17:32] ======= [PASSED] drm_test_fb_xrgb8888_to_xrgb2101010 ======= [14:17:32] =========== drm_test_fb_xrgb8888_to_argb2101010 =========== [14:17:32] [PASSED] single_pixel_source_buffer [14:17:32] [PASSED] single_pixel_clip_rectangle [14:17:32] [PASSED] well_known_colors [14:17:32] [PASSED] destination_pitch [14:17:32] ======= [PASSED] drm_test_fb_xrgb8888_to_argb2101010 ======= [14:17:32] ============== drm_test_fb_xrgb8888_to_mono =============== [14:17:32] [PASSED] single_pixel_source_buffer [14:17:32] [PASSED] single_pixel_clip_rectangle [14:17:32] [PASSED] well_known_colors [14:17:32] [PASSED] destination_pitch [14:17:32] ========== [PASSED] drm_test_fb_xrgb8888_to_mono =========== [14:17:32] ==================== drm_test_fb_swab ===================== [14:17:32] [PASSED] single_pixel_source_buffer [14:17:32] [PASSED] single_pixel_clip_rectangle [14:17:32] [PASSED] well_known_colors [14:17:32] [PASSED] destination_pitch [14:17:32] ================ [PASSED] drm_test_fb_swab ================= [14:17:32] ============ drm_test_fb_xrgb8888_to_xbgr8888 ============= [14:17:32] [PASSED] single_pixel_source_buffer [14:17:32] [PASSED] single_pixel_clip_rectangle [14:17:32] [PASSED] well_known_colors [14:17:32] [PASSED] destination_pitch [14:17:32] ======== [PASSED] drm_test_fb_xrgb8888_to_xbgr8888 ========= [14:17:32] ============ drm_test_fb_xrgb8888_to_abgr8888 ============= [14:17:32] [PASSED] single_pixel_source_buffer [14:17:32] [PASSED] single_pixel_clip_rectangle [14:17:32] [PASSED] well_known_colors [14:17:32] [PASSED] destination_pitch [14:17:32] ======== [PASSED] drm_test_fb_xrgb8888_to_abgr8888 ========= [14:17:32] ================= drm_test_fb_clip_offset ================= [14:17:32] [PASSED] pass through [14:17:32] [PASSED] horizontal offset [14:17:32] [PASSED] vertical offset [14:17:32] [PASSED] horizontal and vertical offset [14:17:32] [PASSED] horizontal offset (custom pitch) [14:17:32] [PASSED] vertical offset (custom pitch) [14:17:32] [PASSED] horizontal and vertical offset (custom pitch) [14:17:32] ============= [PASSED] drm_test_fb_clip_offset ============= [14:17:32] =================== drm_test_fb_memcpy ==================== [14:17:32] [PASSED] single_pixel_source_buffer: XR24 little-endian (0x34325258) [14:17:32] [PASSED] single_pixel_source_buffer: XRA8 little-endian (0x38415258) [14:17:32] [PASSED] single_pixel_source_buffer: YU24 little-endian (0x34325559) [14:17:32] [PASSED] single_pixel_clip_rectangle: XB24 little-endian (0x34324258) [14:17:32] [PASSED] single_pixel_clip_rectangle: XRA8 little-endian (0x38415258) [14:17:32] [PASSED] single_pixel_clip_rectangle: YU24 little-endian (0x34325559) [14:17:32] [PASSED] well_known_colors: XB24 little-endian (0x34324258) [14:17:32] [PASSED] well_known_colors: XRA8 little-endian (0x38415258) [14:17:32] [PASSED] well_known_colors: YU24 little-endian (0x34325559) [14:17:32] [PASSED] destination_pitch: XB24 little-endian (0x34324258) [14:17:32] [PASSED] destination_pitch: XRA8 little-endian (0x38415258) [14:17:32] [PASSED] destination_pitch: YU24 little-endian (0x34325559) [14:17:32] =============== [PASSED] drm_test_fb_memcpy ================ [14:17:32] ============= [PASSED] drm_format_helper_test ============== [14:17:32] ================= drm_format (18 subtests) ================= [14:17:32] [PASSED] drm_test_format_block_width_invalid [14:17:32] [PASSED] drm_test_format_block_width_one_plane [14:17:32] [PASSED] drm_test_format_block_width_two_plane [14:17:32] [PASSED] drm_test_format_block_width_three_plane [14:17:32] [PASSED] drm_test_format_block_width_tiled [14:17:32] [PASSED] drm_test_format_block_height_invalid [14:17:32] [PASSED] drm_test_format_block_height_one_plane [14:17:32] [PASSED] drm_test_format_block_height_two_plane [14:17:32] [PASSED] drm_test_format_block_height_three_plane [14:17:32] [PASSED] drm_test_format_block_height_tiled [14:17:32] [PASSED] drm_test_format_min_pitch_invalid [14:17:32] [PASSED] drm_test_format_min_pitch_one_plane_8bpp [14:17:32] [PASSED] drm_test_format_min_pitch_one_plane_16bpp [14:17:32] [PASSED] drm_test_format_min_pitch_one_plane_24bpp [14:17:32] [PASSED] drm_test_format_min_pitch_one_plane_32bpp [14:17:32] [PASSED] drm_test_format_min_pitch_two_plane [14:17:32] [PASSED] drm_test_format_min_pitch_three_plane_8bpp [14:17:32] [PASSED] drm_test_format_min_pitch_tiled [14:17:32] =================== [PASSED] drm_format ==================== [14:17:32] ============== drm_framebuffer (10 subtests) =============== [14:17:32] ========== drm_test_framebuffer_check_src_coords ========== [14:17:32] [PASSED] Success: source fits into fb [14:17:32] [PASSED] Fail: overflowing fb with x-axis coordinate [14:17:32] [PASSED] Fail: overflowing fb with y-axis coordinate [14:17:32] [PASSED] Fail: overflowing fb with source width [14:17:32] [PASSED] Fail: overflowing fb with source height [14:17:32] ====== [PASSED] drm_test_framebuffer_check_src_coords ====== [14:17:32] [PASSED] drm_test_framebuffer_cleanup [14:17:32] =============== drm_test_framebuffer_create =============== [14:17:32] [PASSED] ABGR8888 normal sizes [14:17:32] [PASSED] ABGR8888 max sizes [14:17:32] [PASSED] ABGR8888 pitch greater than min required [14:17:32] [PASSED] ABGR8888 pitch less than min required [14:17:32] [PASSED] ABGR8888 Invalid width [14:17:32] [PASSED] ABGR8888 Invalid buffer handle [14:17:32] [PASSED] No pixel format [14:17:32] [PASSED] ABGR8888 Width 0 [14:17:32] [PASSED] ABGR8888 Height 0 [14:17:32] [PASSED] ABGR8888 Out of bound height * pitch combination [14:17:32] [PASSED] ABGR8888 Large buffer offset [14:17:32] [PASSED] ABGR8888 Buffer offset for inexistent plane [14:17:32] [PASSED] ABGR8888 Invalid flag [14:17:32] [PASSED] ABGR8888 Set DRM_MODE_FB_MODIFIERS without modifiers [14:17:32] [PASSED] ABGR8888 Valid buffer modifier [14:17:32] [PASSED] ABGR8888 Invalid buffer modifier(DRM_FORMAT_MOD_SAMSUNG_64_32_TILE) [14:17:32] [PASSED] ABGR8888 Extra pitches without DRM_MODE_FB_MODIFIERS [14:17:32] [PASSED] ABGR8888 Extra pitches with DRM_MODE_FB_MODIFIERS [14:17:32] [PASSED] NV12 Normal sizes [14:17:32] [PASSED] NV12 Max sizes [14:17:32] [PASSED] NV12 Invalid pitch [14:17:32] [PASSED] NV12 Invalid modifier/missing DRM_MODE_FB_MODIFIERS flag [14:17:32] [PASSED] NV12 different modifier per-plane [14:17:32] [PASSED] NV12 with DRM_FORMAT_MOD_SAMSUNG_64_32_TILE [14:17:32] [PASSED] NV12 Valid modifiers without DRM_MODE_FB_MODIFIERS [14:17:32] [PASSED] NV12 Modifier for inexistent plane [14:17:32] [PASSED] NV12 Handle for inexistent plane [14:17:32] [PASSED] NV12 Handle for inexistent plane without DRM_MODE_FB_MODIFIERS [14:17:32] [PASSED] YVU420 DRM_MODE_FB_MODIFIERS set without modifier [14:17:32] [PASSED] YVU420 Normal sizes [14:17:32] [PASSED] YVU420 Max sizes [14:17:32] [PASSED] YVU420 Invalid pitch [14:17:32] [PASSED] YVU420 Different pitches [14:17:32] [PASSED] YVU420 Different buffer offsets/pitches [14:17:32] [PASSED] YVU420 Modifier set just for plane 0, without DRM_MODE_FB_MODIFIERS [14:17:32] [PASSED] YVU420 Modifier set just for planes 0, 1, without DRM_MODE_FB_MODIFIERS [14:17:32] [PASSED] YVU420 Modifier set just for plane 0, 1, with DRM_MODE_FB_MODIFIERS [14:17:32] [PASSED] YVU420 Valid modifier [14:17:32] [PASSED] YVU420 Different modifiers per plane [14:17:32] [PASSED] YVU420 Modifier for inexistent plane [14:17:32] [PASSED] YUV420_10BIT Invalid modifier(DRM_FORMAT_MOD_LINEAR) [14:17:32] [PASSED] X0L2 Normal sizes [14:17:32] [PASSED] X0L2 Max sizes [14:17:32] [PASSED] X0L2 Invalid pitch [14:17:32] [PASSED] X0L2 Pitch greater than minimum required [14:17:32] [PASSED] X0L2 Handle for inexistent plane [14:17:32] [PASSED] X0L2 Offset for inexistent plane, without DRM_MODE_FB_MODIFIERS set [14:17:32] [PASSED] X0L2 Modifier without DRM_MODE_FB_MODIFIERS set [14:17:32] [PASSED] X0L2 Valid modifier [14:17:32] [PASSED] X0L2 Modifier for inexistent plane [14:17:32] =========== [PASSED] drm_test_framebuffer_create =========== [14:17:32] [PASSED] drm_test_framebuffer_free [14:17:32] [PASSED] drm_test_framebuffer_init [14:17:32] [PASSED] drm_test_framebuffer_init_bad_format [14:17:32] [PASSED] drm_test_framebuffer_init_dev_mismatch [14:17:32] [PASSED] drm_test_framebuffer_lookup [14:17:32] [PASSED] drm_test_framebuffer_lookup_inexistent [14:17:32] [PASSED] drm_test_framebuffer_modifiers_not_supported [14:17:32] ================= [PASSED] drm_framebuffer ================= [14:17:32] ================ drm_gem_shmem (8 subtests) ================ [14:17:32] [PASSED] drm_gem_shmem_test_obj_create [14:17:32] [PASSED] drm_gem_shmem_test_obj_create_private [14:17:32] [PASSED] drm_gem_shmem_test_pin_pages [14:17:32] [PASSED] drm_gem_shmem_test_vmap [14:17:32] [PASSED] drm_gem_shmem_test_get_pages_sgt [14:17:32] [PASSED] drm_gem_shmem_test_get_sg_table [14:17:32] [PASSED] drm_gem_shmem_test_madvise [14:17:32] [PASSED] drm_gem_shmem_test_purge [14:17:32] ================== [PASSED] drm_gem_shmem ================== [14:17:32] === drm_atomic_helper_connector_hdmi_check (27 subtests) === [14:17:32] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode [14:17:32] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode_vic_1 [14:17:32] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode [14:17:32] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode_vic_1 [14:17:32] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode [14:17:32] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode_vic_1 [14:17:32] ====== drm_test_check_broadcast_rgb_cea_mode_yuv420 ======= [14:17:32] [PASSED] Automatic [14:17:32] [PASSED] Full [14:17:32] [PASSED] Limited 16:235 [14:17:32] == [PASSED] drm_test_check_broadcast_rgb_cea_mode_yuv420 === [14:17:32] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_changed [14:17:32] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_not_changed [14:17:32] [PASSED] drm_test_check_disable_connector [14:17:32] [PASSED] drm_test_check_hdmi_funcs_reject_rate [14:17:32] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_rgb [14:17:32] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_yuv420 [14:17:32] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv422 [14:17:32] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv420 [14:17:32] [PASSED] drm_test_check_driver_unsupported_fallback_yuv420 [14:17:32] [PASSED] drm_test_check_output_bpc_crtc_mode_changed [14:17:32] [PASSED] drm_test_check_output_bpc_crtc_mode_not_changed [14:17:32] [PASSED] drm_test_check_output_bpc_dvi [14:17:32] [PASSED] drm_test_check_output_bpc_format_vic_1 [14:17:32] [PASSED] drm_test_check_output_bpc_format_display_8bpc_only [14:17:32] [PASSED] drm_test_check_output_bpc_format_display_rgb_only [14:17:32] [PASSED] drm_test_check_output_bpc_format_driver_8bpc_only [14:17:32] [PASSED] drm_test_check_output_bpc_format_driver_rgb_only [14:17:32] [PASSED] drm_test_check_tmds_char_rate_rgb_8bpc [14:17:32] [PASSED] drm_test_check_tmds_char_rate_rgb_10bpc [14:17:32] [PASSED] drm_test_check_tmds_char_rate_rgb_12bpc [14:17:32] ===== [PASSED] drm_atomic_helper_connector_hdmi_check ====== [14:17:32] === drm_atomic_helper_connector_hdmi_reset (6 subtests) ==== [14:17:32] [PASSED] drm_test_check_broadcast_rgb_value [14:17:32] [PASSED] drm_test_check_bpc_8_value [14:17:32] [PASSED] drm_test_check_bpc_10_value [14:17:32] [PASSED] drm_test_check_bpc_12_value [14:17:32] [PASSED] drm_test_check_format_value [14:17:32] [PASSED] drm_test_check_tmds_char_value [14:17:32] ===== [PASSED] drm_atomic_helper_connector_hdmi_reset ====== [14:17:32] = drm_atomic_helper_connector_hdmi_mode_valid (4 subtests) = [14:17:32] [PASSED] drm_test_check_mode_valid [14:17:32] [PASSED] drm_test_check_mode_valid_reject [14:17:32] [PASSED] drm_test_check_mode_valid_reject_rate [14:17:32] [PASSED] drm_test_check_mode_valid_reject_max_clock [14:17:32] === [PASSED] drm_atomic_helper_connector_hdmi_mode_valid === [14:17:32] ================= drm_managed (2 subtests) ================= [14:17:32] [PASSED] drm_test_managed_release_action [14:17:32] [PASSED] drm_test_managed_run_action [14:17:32] =================== [PASSED] drm_managed =================== [14:17:32] =================== drm_mm (6 subtests) ==================== [14:17:32] [PASSED] drm_test_mm_init [14:17:32] [PASSED] drm_test_mm_debug [14:17:32] [PASSED] drm_test_mm_align32 [14:17:32] [PASSED] drm_test_mm_align64 [14:17:32] [PASSED] drm_test_mm_lowest [14:17:32] [PASSED] drm_test_mm_highest [14:17:32] ===================== [PASSED] drm_mm ====================== [14:17:32] ============= drm_modes_analog_tv (5 subtests) ============= [14:17:32] [PASSED] drm_test_modes_analog_tv_mono_576i [14:17:32] [PASSED] drm_test_modes_analog_tv_ntsc_480i [14:17:32] [PASSED] drm_test_modes_analog_tv_ntsc_480i_inlined [14:17:32] [PASSED] drm_test_modes_analog_tv_pal_576i [14:17:32] [PASSED] drm_test_modes_analog_tv_pal_576i_inlined [14:17:32] =============== [PASSED] drm_modes_analog_tv =============== [14:17:32] ============== drm_plane_helper (2 subtests) =============== [14:17:32] =============== drm_test_check_plane_state ================ [14:17:32] [PASSED] clipping_simple [14:17:32] [PASSED] clipping_rotate_reflect [14:17:32] [PASSED] positioning_simple [14:17:32] [PASSED] upscaling [14:17:32] [PASSED] downscaling [14:17:32] [PASSED] rounding1 [14:17:32] [PASSED] rounding2 [14:17:32] [PASSED] rounding3 [14:17:32] [PASSED] rounding4 [14:17:32] =========== [PASSED] drm_test_check_plane_state ============ [14:17:32] =========== drm_test_check_invalid_plane_state ============ [14:17:32] [PASSED] positioning_invalid [14:17:32] [PASSED] upscaling_invalid [14:17:32] [PASSED] downscaling_invalid [14:17:32] ======= [PASSED] drm_test_check_invalid_plane_state ======== [14:17:32] ================ [PASSED] drm_plane_helper ================= [14:17:32] ====== drm_connector_helper_tv_get_modes (1 subtest) ======= [14:17:32] ====== drm_test_connector_helper_tv_get_modes_check ======= [14:17:32] [PASSED] None [14:17:32] [PASSED] PAL [14:17:32] [PASSED] NTSC [14:17:32] [PASSED] Both, NTSC Default [14:17:32] [PASSED] Both, PAL Default [14:17:32] [PASSED] Both, NTSC Default, with PAL on command-line [14:17:32] [PASSED] Both, PAL Default, with NTSC on command-line [14:17:32] == [PASSED] drm_test_connector_helper_tv_get_modes_check === [14:17:32] ======== [PASSED] drm_connector_helper_tv_get_modes ======== [14:17:32] ================== drm_rect (9 subtests) =================== [14:17:32] [PASSED] drm_test_rect_clip_scaled_div_by_zero [14:17:32] [PASSED] drm_test_rect_clip_scaled_not_clipped [14:17:32] [PASSED] drm_test_rect_clip_scaled_clipped [14:17:32] [PASSED] drm_test_rect_clip_scaled_signed_vs_unsigned [14:17:32] ================= drm_test_rect_intersect ================= [14:17:32] [PASSED] top-left x bottom-right: 2x2+1+1 x 2x2+0+0 [14:17:32] [PASSED] top-right x bottom-left: 2x2+0+0 x 2x2+1-1 [14:17:32] [PASSED] bottom-left x top-right: 2x2+1-1 x 2x2+0+0 [14:17:32] [PASSED] bottom-right x top-left: 2x2+0+0 x 2x2+1+1 [14:17:32] [PASSED] right x left: 2x1+0+0 x 3x1+1+0 [14:17:32] [PASSED] left x right: 3x1+1+0 x 2x1+0+0 [14:17:32] [PASSED] up x bottom: 1x2+0+0 x 1x3+0-1 [14:17:32] [PASSED] bottom x up: 1x3+0-1 x 1x2+0+0 [14:17:32] [PASSED] touching corner: 1x1+0+0 x 2x2+1+1 [14:17:32] [PASSED] touching side: 1x1+0+0 x 1x1+1+0 [14:17:32] [PASSED] equal rects: 2x2+0+0 x 2x2+0+0 [14:17:32] [PASSED] inside another: 2x2+0+0 x 1x1+1+1 [14:17:32] [PASSED] far away: 1x1+0+0 x 1x1+3+6 [14:17:32] [PASSED] points intersecting: 0x0+5+10 x 0x0+5+10 [14:17:32] [PASSED] points not intersecting: 0x0+0+0 x 0x0+5+10 [14:17:32] ============= [PASSED] drm_test_rect_intersect ============= [14:17:32] ================ drm_test_rect_calc_hscale ================ [14:17:32] [PASSED] normal use [14:17:32] [PASSED] out of max range [14:17:32] [PASSED] out of min range [14:17:32] [PASSED] zero dst [14:17:32] [PASSED] negative src [14:17:32] [PASSED] negative dst [14:17:32] ============ [PASSED] drm_test_rect_calc_hscale ============ [14:17:32] ================ drm_test_rect_calc_vscale ================ [14:17:32] [PASSED] normal use [14:17:32] [PASSED] out of max range [14:17:32] [PASSED] out of min range [14:17:32] [PASSED] zero dst [14:17:32] [PASSED] negative src [14:17:32] [PASSED] negative dst [14:17:32] ============ [PASSED] drm_test_rect_calc_vscale ============ [14:17:32] ================== drm_test_rect_rotate =================== [14:17:32] [PASSED] reflect-x [14:17:32] [PASSED] reflect-y [14:17:32] [PASSED] rotate-0 [14:17:32] [PASSED] rotate-90 [14:17:32] [PASSED] rotate-180 [14:17:32] [PASSED] rotate-270 stty: 'standard input': Inappropriate ioctl for device [14:17:32] ============== [PASSED] drm_test_rect_rotate =============== [14:17:32] ================ drm_test_rect_rotate_inv ================= [14:17:32] [PASSED] reflect-x [14:17:32] [PASSED] reflect-y [14:17:32] [PASSED] rotate-0 [14:17:32] [PASSED] rotate-90 [14:17:32] [PASSED] rotate-180 [14:17:32] [PASSED] rotate-270 [14:17:32] ============ [PASSED] drm_test_rect_rotate_inv ============= [14:17:32] ==================== [PASSED] drm_rect ===================== [14:17:32] ============ drm_sysfb_modeset_test (1 subtest) ============ [14:17:32] ============ drm_test_sysfb_build_fourcc_list ============= [14:17:32] [PASSED] no native formats [14:17:32] [PASSED] XRGB8888 as native format [14:17:32] [PASSED] remove duplicates [14:17:32] [PASSED] convert alpha formats [14:17:32] [PASSED] random formats [14:17:32] ======== [PASSED] drm_test_sysfb_build_fourcc_list ========= [14:17:32] ============= [PASSED] drm_sysfb_modeset_test ============== [14:17:32] ============================================================ [14:17:32] Testing complete. Ran 616 tests: passed: 616 [14:17:32] Elapsed time: 25.127s total, 1.722s configuring, 23.234s building, 0.140s running
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/ttm/tests/.kunitconfig [14:17:32] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [14:17:34] Building KUnit Kernel ... Populating config with: $ make ARCH=um O=.kunit olddefconfig Building with: $ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48 [14:17:42] Starting KUnit Kernel (1/1)... [14:17:42] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [14:17:42] ================= ttm_device (5 subtests) ================== [14:17:42] [PASSED] ttm_device_init_basic [14:17:42] [PASSED] ttm_device_init_multiple [14:17:42] [PASSED] ttm_device_fini_basic [14:17:42] [PASSED] ttm_device_init_no_vma_man [14:17:42] ================== ttm_device_init_pools ================== [14:17:42] [PASSED] No DMA allocations, no DMA32 required [14:17:42] [PASSED] DMA allocations, DMA32 required [14:17:42] [PASSED] No DMA allocations, DMA32 required [14:17:42] [PASSED] DMA allocations, no DMA32 required [14:17:42] ============== [PASSED] ttm_device_init_pools ============== [14:17:42] =================== [PASSED] ttm_device ==================== [14:17:42] ================== ttm_pool (8 subtests) =================== [14:17:42] ================== ttm_pool_alloc_basic =================== [14:17:42] [PASSED] One page [14:17:42] [PASSED] More than one page [14:17:42] [PASSED] Above the allocation limit [14:17:42] [PASSED] One page, with coherent DMA mappings enabled [14:17:42] [PASSED] Above the allocation limit, with coherent DMA mappings enabled [14:17:42] ============== [PASSED] ttm_pool_alloc_basic =============== [14:17:42] ============== ttm_pool_alloc_basic_dma_addr ============== [14:17:42] [PASSED] One page [14:17:42] [PASSED] More than one page [14:17:42] [PASSED] Above the allocation limit [14:17:42] [PASSED] One page, with coherent DMA mappings enabled [14:17:42] [PASSED] Above the allocation limit, with coherent DMA mappings enabled [14:17:42] ========== [PASSED] ttm_pool_alloc_basic_dma_addr ========== [14:17:42] [PASSED] ttm_pool_alloc_order_caching_match [14:17:42] [PASSED] ttm_pool_alloc_caching_mismatch [14:17:42] [PASSED] ttm_pool_alloc_order_mismatch [14:17:42] [PASSED] ttm_pool_free_dma_alloc [14:17:42] [PASSED] ttm_pool_free_no_dma_alloc [14:17:42] [PASSED] ttm_pool_fini_basic [14:17:42] ==================== [PASSED] ttm_pool ===================== [14:17:42] ================ ttm_resource (8 subtests) ================= [14:17:42] ================= ttm_resource_init_basic ================= [14:17:42] [PASSED] Init resource in TTM_PL_SYSTEM [14:17:42] [PASSED] Init resource in TTM_PL_VRAM [14:17:42] [PASSED] Init resource in a private placement [14:17:42] [PASSED] Init resource in TTM_PL_SYSTEM, set placement flags [14:17:42] ============= [PASSED] ttm_resource_init_basic ============= [14:17:42] [PASSED] ttm_resource_init_pinned [14:17:42] [PASSED] ttm_resource_fini_basic [14:17:42] [PASSED] ttm_resource_manager_init_basic [14:17:42] [PASSED] ttm_resource_manager_usage_basic [14:17:42] [PASSED] ttm_resource_manager_set_used_basic [14:17:42] [PASSED] ttm_sys_man_alloc_basic [14:17:42] [PASSED] ttm_sys_man_free_basic [14:17:42] ================== [PASSED] ttm_resource =================== [14:17:42] =================== ttm_tt (15 subtests) =================== [14:17:42] ==================== ttm_tt_init_basic ==================== [14:17:42] [PASSED] Page-aligned size [14:17:42] [PASSED] Extra pages requested [14:17:42] ================ [PASSED] ttm_tt_init_basic ================ [14:17:42] [PASSED] ttm_tt_init_misaligned [14:17:42] [PASSED] ttm_tt_fini_basic [14:17:42] [PASSED] ttm_tt_fini_sg [14:17:42] [PASSED] ttm_tt_fini_shmem [14:17:42] [PASSED] ttm_tt_create_basic [14:17:42] [PASSED] ttm_tt_create_invalid_bo_type [14:17:42] [PASSED] ttm_tt_create_ttm_exists [14:17:42] [PASSED] ttm_tt_create_failed [14:17:42] [PASSED] ttm_tt_destroy_basic [14:17:42] [PASSED] ttm_tt_populate_null_ttm [14:17:42] [PASSED] ttm_tt_populate_populated_ttm [14:17:42] [PASSED] ttm_tt_unpopulate_basic [14:17:42] [PASSED] ttm_tt_unpopulate_empty_ttm [14:17:42] [PASSED] ttm_tt_swapin_basic [14:17:42] ===================== [PASSED] ttm_tt ====================== [14:17:42] =================== ttm_bo (14 subtests) =================== [14:17:42] =========== ttm_bo_reserve_optimistic_no_ticket =========== [14:17:42] [PASSED] Cannot be interrupted and sleeps [14:17:42] [PASSED] Cannot be interrupted, locks straight away [14:17:42] [PASSED] Can be interrupted, sleeps [14:17:42] ======= [PASSED] ttm_bo_reserve_optimistic_no_ticket ======= [14:17:42] [PASSED] ttm_bo_reserve_locked_no_sleep [14:17:42] [PASSED] ttm_bo_reserve_no_wait_ticket [14:17:42] [PASSED] ttm_bo_reserve_double_resv [14:17:42] [PASSED] ttm_bo_reserve_interrupted [14:17:42] [PASSED] ttm_bo_reserve_deadlock [14:17:42] [PASSED] ttm_bo_unreserve_basic [14:17:42] [PASSED] ttm_bo_unreserve_pinned [14:17:42] [PASSED] ttm_bo_unreserve_bulk [14:17:42] [PASSED] ttm_bo_put_basic [14:17:42] [PASSED] ttm_bo_put_shared_resv [14:17:42] [PASSED] ttm_bo_pin_basic [14:17:42] [PASSED] ttm_bo_pin_unpin_resource [14:17:42] [PASSED] ttm_bo_multiple_pin_one_unpin [14:17:42] ===================== [PASSED] ttm_bo ====================== [14:17:42] ============== ttm_bo_validate (21 subtests) =============== [14:17:42] ============== ttm_bo_init_reserved_sys_man =============== [14:17:42] [PASSED] Buffer object for userspace [14:17:42] [PASSED] Kernel buffer object [14:17:42] [PASSED] Shared buffer object [14:17:42] ========== [PASSED] ttm_bo_init_reserved_sys_man =========== [14:17:42] ============== ttm_bo_init_reserved_mock_man ============== [14:17:42] [PASSED] Buffer object for userspace [14:17:42] [PASSED] Kernel buffer object [14:17:42] [PASSED] Shared buffer object [14:17:42] ========== [PASSED] ttm_bo_init_reserved_mock_man ========== [14:17:42] [PASSED] ttm_bo_init_reserved_resv [14:17:42] ================== ttm_bo_validate_basic ================== [14:17:42] [PASSED] Buffer object for userspace [14:17:42] [PASSED] Kernel buffer object [14:17:42] [PASSED] Shared buffer object [14:17:42] ============== [PASSED] ttm_bo_validate_basic ============== [14:17:42] [PASSED] ttm_bo_validate_invalid_placement [14:17:42] ============= ttm_bo_validate_same_placement ============== [14:17:42] [PASSED] System manager [14:17:42] [PASSED] VRAM manager [14:17:42] ========= [PASSED] ttm_bo_validate_same_placement ========== [14:17:42] [PASSED] ttm_bo_validate_failed_alloc [14:17:42] [PASSED] ttm_bo_validate_pinned [14:17:42] [PASSED] ttm_bo_validate_busy_placement [14:17:42] ================ ttm_bo_validate_multihop ================= [14:17:42] [PASSED] Buffer object for userspace [14:17:42] [PASSED] Kernel buffer object [14:17:42] [PASSED] Shared buffer object [14:17:42] ============ [PASSED] ttm_bo_validate_multihop ============= [14:17:42] ========== ttm_bo_validate_no_placement_signaled ========== [14:17:42] [PASSED] Buffer object in system domain, no page vector [14:17:42] [PASSED] Buffer object in system domain with an existing page vector [14:17:42] ====== [PASSED] ttm_bo_validate_no_placement_signaled ====== [14:17:42] ======== ttm_bo_validate_no_placement_not_signaled ======== [14:17:42] [PASSED] Buffer object for userspace [14:17:42] [PASSED] Kernel buffer object [14:17:42] [PASSED] Shared buffer object [14:17:42] ==== [PASSED] ttm_bo_validate_no_placement_not_signaled ==== [14:17:42] [PASSED] ttm_bo_validate_move_fence_signaled [14:17:42] ========= ttm_bo_validate_move_fence_not_signaled ========= [14:17:42] [PASSED] Waits for GPU [14:17:42] [PASSED] Tries to lock straight away [14:17:42] ===== [PASSED] ttm_bo_validate_move_fence_not_signaled ===== [14:17:42] [PASSED] ttm_bo_validate_happy_evict [14:17:42] [PASSED] ttm_bo_validate_all_pinned_evict [14:17:42] [PASSED] ttm_bo_validate_allowed_only_evict [14:17:42] [PASSED] ttm_bo_validate_deleted_evict [14:17:42] [PASSED] ttm_bo_validate_busy_domain_evict [14:17:42] [PASSED] ttm_bo_validate_evict_gutting [14:17:42] [PASSED] ttm_bo_validate_recrusive_evict stty: 'standard input': Inappropriate ioctl for device [14:17:42] ================= [PASSED] ttm_bo_validate ================= [14:17:42] ============================================================ [14:17:42] Testing complete. Ran 101 tests: passed: 101 [14:17:42] Elapsed time: 9.738s total, 1.697s configuring, 7.824s building, 0.186s running
+ cleanup
++ stat -c %u:%g /kernel
+ chown -R 1003:1003 /kernel