Fix all typos in i915
Subsystems (4)
v2 cover Fix all typos in i915
Fix all typos in i915 reported by codespell tool.
v2: Fix the commenting style and grammer mistakes
in comment.
Nitin Gote (8):
drm/i915/gt: fix typos in i915/gt files. drm/i915/gvt: fix typos in i915/gvt files drm/i915/gem: fix typos in i915/gem files drm/i915/pxp: fix typos in i915/pxp files drm/i915/selftests: fix typos in i915/selftests files drm/i915/soc: fix typos in i915/soc files drm/i915/display: fix typos in i915/display files drm/i915: fix typos in drm/i915 files
drivers/gpu/drm/i915/display/dvo_ns2501.c | 2 +- drivers/gpu/drm/i915/display/i9xx_wm.c | 6 +-- drivers/gpu/drm/i915/display/icl_dsi.c | 4 +- drivers/gpu/drm/i915/display/intel_audio.c | 4 +- drivers/gpu/drm/i915/display/intel_cdclk.c | 2 +- drivers/gpu/drm/i915/display/intel_color.c | 2 +- drivers/gpu/drm/i915/display/intel_crt.c | 2 +- drivers/gpu/drm/i915/display/intel_crtc.c | 2 +- drivers/gpu/drm/i915/display/intel_cursor.c | 2 +- drivers/gpu/drm/i915/display/intel_ddi.c | 4 +- drivers/gpu/drm/i915/display/intel_display.c | 8 ++-- .../drm/i915/display/intel_display_debugfs.c | 2 +- .../drm/i915/display/intel_display_power.c | 4 +- .../i915/display/intel_display_power_well.h | 4 +- .../drm/i915/display/intel_display_types.h | 4 +- drivers/gpu/drm/i915/display/intel_dp.c | 2 +- .../drm/i915/display/intel_dp_link_training.c | 4 +- drivers/gpu/drm/i915/display/intel_dp_mst.c | 4 +- drivers/gpu/drm/i915/display/intel_dp_test.c | 4 +- .../gpu/drm/i915/display/intel_dp_tunnel.c | 2 +- drivers/gpu/drm/i915/display/intel_dpio_phy.c | 2 +- drivers/gpu/drm/i915/display/intel_dpll.c | 2 +- drivers/gpu/drm/i915/display/intel_dpll_mgr.c | 2 +- drivers/gpu/drm/i915/display/intel_dpll_mgr.h | 2 +- drivers/gpu/drm/i915/display/intel_dsb.c | 2 +- drivers/gpu/drm/i915/display/intel_dsi_vbt.c | 2 +- drivers/gpu/drm/i915/display/intel_dvo_dev.h | 2 +- drivers/gpu/drm/i915/display/intel_fdi.c | 2 +- .../drm/i915/display/intel_fifo_underrun.c | 2 +- .../gpu/drm/i915/display/intel_frontbuffer.c | 2 +- drivers/gpu/drm/i915/display/intel_hdcp.c | 8 ++-- drivers/gpu/drm/i915/display/intel_hotplug.c | 6 +-- .../gpu/drm/i915/display/intel_hotplug_irq.c | 2 +- drivers/gpu/drm/i915/display/intel_link_bw.c | 2 +- drivers/gpu/drm/i915/display/intel_overlay.c | 21 +++++--- drivers/gpu/drm/i915/display/intel_pmdemand.c | 2 +- drivers/gpu/drm/i915/display/intel_pps.c | 2 +- drivers/gpu/drm/i915/display/intel_psr.c | 8 ++-- drivers/gpu/drm/i915/display/intel_sdvo.c | 4 +- .../gpu/drm/i915/display/intel_sdvo_regs.h | 2 +- drivers/gpu/drm/i915/display/intel_snps_phy.c | 2 +- drivers/gpu/drm/i915/display/intel_vblank.c | 2 +- drivers/gpu/drm/i915/display/intel_vdsc.c | 2 +- drivers/gpu/drm/i915/display/skl_scaler.c | 48 +++++++++---------- .../drm/i915/display/skl_universal_plane.c | 4 +- drivers/gpu/drm/i915/display/skl_watermark.c | 4 +- drivers/gpu/drm/i915/display/vlv_dsi.c | 2 +- drivers/gpu/drm/i915/display/vlv_dsi_pll.c | 2 +- drivers/gpu/drm/i915/gem/i915_gem_context.c | 6 +-- .../gpu/drm/i915/gem/i915_gem_context_types.h | 4 +- drivers/gpu/drm/i915/gem/i915_gem_domain.c | 2 +- .../gpu/drm/i915/gem/i915_gem_execbuffer.c | 4 +- drivers/gpu/drm/i915/gem/i915_gem_region.c | 2 +- drivers/gpu/drm/i915/gem/i915_gem_shrinker.c | 4 +- drivers/gpu/drm/i915/gem/i915_gem_tiling.c | 2 +- drivers/gpu/drm/i915/gem/i915_gem_ttm.c | 2 +- drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c | 2 +- .../gpu/drm/i915/gem/selftests/huge_pages.c | 2 +- .../drm/i915/gem/selftests/i915_gem_mman.c | 2 +- drivers/gpu/drm/i915/gt/gen2_engine_cs.c | 2 +- drivers/gpu/drm/i915/gt/intel_engine_cs.c | 8 ++-- drivers/gpu/drm/i915/gt/intel_engine_types.h | 4 +- drivers/gpu/drm/i915/gt/intel_gt_irq.c | 2 +- drivers/gpu/drm/i915/gt/intel_gt_mcr.c | 2 +- drivers/gpu/drm/i915/gt/intel_migrate.c | 4 +- drivers/gpu/drm/i915/gt/intel_mocs.c | 2 +- drivers/gpu/drm/i915/gt/intel_reset.c | 2 +- .../gpu/drm/i915/gt/intel_ring_submission.c | 2 +- drivers/gpu/drm/i915/gt/intel_rps_types.h | 4 +- drivers/gpu/drm/i915/gt/intel_sa_media.c | 2 +- drivers/gpu/drm/i915/gt/intel_sseu.c | 2 +- drivers/gpu/drm/i915/gt/intel_workarounds.c | 2 +- drivers/gpu/drm/i915/gt/selftest_execlists.c | 2 +- drivers/gpu/drm/i915/gt/selftest_hangcheck.c | 2 +- drivers/gpu/drm/i915/gt/selftest_lrc.c | 2 +- drivers/gpu/drm/i915/gt/selftest_rc6.c | 2 +- drivers/gpu/drm/i915/gt/selftest_rps.c | 2 +- drivers/gpu/drm/i915/gt/shaders/README | 6 +-- .../drm/i915/gt/shaders/clear_kernel/hsw.asm | 2 +- .../drm/i915/gt/shaders/clear_kernel/ivb.asm | 2 +- drivers/gpu/drm/i915/gt/uc/guc_capture_fwif.h | 4 +- drivers/gpu/drm/i915/gt/uc/intel_guc.c | 2 +- drivers/gpu/drm/i915/gt/uc/intel_guc.h | 2 +- drivers/gpu/drm/i915/gt/uc/intel_guc_fwif.h | 2 +- .../gpu/drm/i915/gt/uc/intel_guc_submission.c | 4 +- drivers/gpu/drm/i915/gt/uc/intel_uc.c | 2 +- .../drm/i915/gt/uc/selftest_guc_hangcheck.c | 2 +- drivers/gpu/drm/i915/gvt/cmd_parser.c | 4 +- drivers/gpu/drm/i915/gvt/dmabuf.c | 2 +- drivers/gpu/drm/i915/gvt/edid.c | 2 +- drivers/gpu/drm/i915/gvt/gtt.c | 2 +- drivers/gpu/drm/i915/gvt/gvt.h | 8 ++-- drivers/gpu/drm/i915/gvt/handlers.c | 6 +-- drivers/gpu/drm/i915/gvt/kvmgt.c | 2 +- drivers/gpu/drm/i915/gvt/mmio_context.c | 6 +-- drivers/gpu/drm/i915/gvt/scheduler.c | 6 +-- drivers/gpu/drm/i915/gvt/vgpu.c | 6 +-- drivers/gpu/drm/i915/i915_driver.c | 2 +- drivers/gpu/drm/i915/i915_gem.c | 2 +- drivers/gpu/drm/i915/i915_irq.c | 2 +- drivers/gpu/drm/i915/i915_module.c | 2 +- drivers/gpu/drm/i915/i915_perf.c | 10 ++-- drivers/gpu/drm/i915/i915_pmu.h | 2 +- drivers/gpu/drm/i915/i915_reg.h | 4 +- drivers/gpu/drm/i915/i915_request.c | 2 +- drivers/gpu/drm/i915/i915_request.h | 4 +- drivers/gpu/drm/i915/i915_vma.c | 8 ++-- drivers/gpu/drm/i915/intel_clock_gating.c | 2 +- drivers/gpu/drm/i915/intel_gvt.c | 2 +- drivers/gpu/drm/i915/intel_gvt_mmio_table.c | 2 +- drivers/gpu/drm/i915/intel_runtime_pm.c | 2 +- drivers/gpu/drm/i915/intel_runtime_pm.h | 2 +- drivers/gpu/drm/i915/intel_uncore.c | 2 +- .../drm/i915/pxp/intel_pxp_cmd_interface_43.h | 2 +- drivers/gpu/drm/i915/pxp/intel_pxp_types.h | 2 +- drivers/gpu/drm/i915/selftests/i915_gem.c | 2 +- drivers/gpu/drm/i915/selftests/i915_gem_gtt.c | 21 ++++---- drivers/gpu/drm/i915/selftests/i915_vma.c | 15 ++++-- drivers/gpu/drm/i915/soc/intel_pch.c | 2 +- 119 files changed, 239 insertions(+), 218 deletions(-)
Signature · 1 line
2.25.1
PATCH v2 1/8 drm/i915/gt: fix typos in i915/gt files.
Fix all typos in files under drm/i915/gt reported by codespell tool.
v2: Fix grammer mistake in comment <Andi>
--- drivers/gpu/drm/i915/gt/gen2_engine_cs.c | 2 +- drivers/gpu/drm/i915/gt/intel_engine_cs.c | 8 ++++---- drivers/gpu/drm/i915/gt/intel_engine_types.h | 4 ++-- drivers/gpu/drm/i915/gt/intel_gt_irq.c | 2 +- drivers/gpu/drm/i915/gt/intel_gt_mcr.c | 2 +- drivers/gpu/drm/i915/gt/intel_migrate.c | 4 ++-- drivers/gpu/drm/i915/gt/intel_mocs.c | 2 +- drivers/gpu/drm/i915/gt/intel_reset.c | 2 +- drivers/gpu/drm/i915/gt/intel_ring_submission.c | 2 +- drivers/gpu/drm/i915/gt/intel_rps_types.h | 4 ++-- drivers/gpu/drm/i915/gt/intel_sa_media.c | 2 +- drivers/gpu/drm/i915/gt/intel_sseu.c | 2 +- drivers/gpu/drm/i915/gt/intel_workarounds.c | 2 +- drivers/gpu/drm/i915/gt/selftest_execlists.c | 2 +- drivers/gpu/drm/i915/gt/selftest_hangcheck.c | 2 +- drivers/gpu/drm/i915/gt/selftest_lrc.c | 2 +- drivers/gpu/drm/i915/gt/selftest_rc6.c | 2 +- drivers/gpu/drm/i915/gt/selftest_rps.c | 2 +- drivers/gpu/drm/i915/gt/shaders/README | 6 +++--- drivers/gpu/drm/i915/gt/shaders/clear_kernel/hsw.asm | 2 +- drivers/gpu/drm/i915/gt/shaders/clear_kernel/ivb.asm | 2 +- drivers/gpu/drm/i915/gt/uc/guc_capture_fwif.h | 4 ++-- drivers/gpu/drm/i915/gt/uc/intel_guc.c | 2 +- drivers/gpu/drm/i915/gt/uc/intel_guc.h | 2 +- drivers/gpu/drm/i915/gt/uc/intel_guc_fwif.h | 2 +- drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c | 4 ++-- drivers/gpu/drm/i915/gt/uc/intel_uc.c | 2 +- drivers/gpu/drm/i915/gt/uc/selftest_guc_hangcheck.c | 2 +- 28 files changed, 38 insertions(+), 38 deletions(-)
drivers/gpu/drm/i915/gt/gen2_engine_cs.c +1 -1
@@ -179,7 +179,7 @@ u32 *gen5_emit_breadcrumb(struct i915_request *rq, u32 *cs)return __gen2_emit_breadcrumb (rq, cs,8 ,8 ); } -/* Just userspace ABI convention to limit the wa batch bo to a resonable size */ +/* Just userspace ABI convention to limit the wa batch bo to a reasonable size */ #define I830_BATCH_LIMIT SZ_256K#define I830_TLB_ENTRIES (2)#define I830_WA_SIZE max(I830_TLB_ENTRIES * SZ_4K, I830_BATCH_LIMIT)
drivers/gpu/drm/i915/gt/intel_engine_cs.c +4 -4
@@ -308,7 +308,7 @@ u32 intel_engine_context_size(struct intel_gt *gt, u8 class)/* * There is a discrepancy here between the size reported * by the register and the size of the context layout -* in the docs. Both are described as authorative! +* in the docs. Both are described as authoritative! * * The discrepancy is on the order of a few cachelines, * but the total is under one page (4k), which is our
@@ -845,7 +845,7 @@ static void engine_mask_apply_compute_fuses(struct intel_gt *gt)* Note that we have a catch-22 situation where we need to be able to access * the blitter forcewake domain to read the engine fuses, but at the same time * we need to know which engines are available on the system to know which -* forcewake domains are present. We solve this by intializing the forcewake +* forcewake domains are present. We solve this by initializing the forcewake * domains based on the full engine mask in the platform capabilities before * calling this function and pruning the domains for fused-off engines * afterwards.
@@ -1411,7 +1411,7 @@ create_ggtt_bind_context(struct intel_engine_cs *engine)/* * MI_UPDATE_GTT can insert up to 511 PTE entries and there could be multiple -* bind requets at a time so get a bigger ring. +* bind requests at a time so get a bigger ring. */ return intel_engine_create_pinned_context(engine, engine->gt->vm, SZ_512K, I915_GEM_HWS_GGTT_BIND_ADDR,
@@ -1533,7 +1533,7 @@ int intel_engines_init(struct intel_gt *gt)/** * intel_engine_cleanup_common - cleans up the engine state created by -* the common initiailizers. +* the common initializers. * @engine: Engine to cleanup. * * This cleans up everything created by the common helpers.
drivers/gpu/drm/i915/gt/intel_engine_types.h +2 -2
@@ -237,7 +237,7 @@ struct intel_engine_execlists {*/ struct i915_request *const *active;/** -* @inflight: the set of contexts submitted and acknowleged by HW +* @inflight: the set of contexts submitted and acknowledged by HW * * The set of inflight contexts is managed by reading CS events * from the HW. On a context-switch event (not preemption), we
@@ -260,7 +260,7 @@ struct intel_engine_execlists {unsigned int port_mask;/** -* @virtual: Queue of requets on a virtual engine, sorted by priority. +* @virtual: Queue of requests on a virtual engine, sorted by priority. * Each RB entry is a struct i915_priolist containing a list of requests * of the same priority. */
drivers/gpu/drm/i915/gt/intel_gt_irq.c +1 -1
@@ -480,7 +480,7 @@ void gen8_gt_irq_postinstall(struct intel_gt *gt)gen2_irq_init (uncore,GEN8_GT_IRQ_REGS (1 ), ~gt_interrupts[1 ], gt_interrupts[1 ]);/* * RPS interrupts will get enabled/disabled on demand when RPS itself -* is enabled/disabled. Same wil be the case for GuC interrupts. +* is enabled/disabled. Same will be the case for GuC interrupts. */ gen2_irq_init (uncore,GEN8_GT_IRQ_REGS (2 ), gt->pm_imr, gt->pm_ier);gen2_irq_init (uncore,GEN8_GT_IRQ_REGS (3 ), ~gt_interrupts[3 ], gt_interrupts[3 ]);
drivers/gpu/drm/i915/gt/intel_gt_mcr.c +1 -1
@@ -239,7 +239,7 @@ static u32 rw_with_mcr_steering_fw(struct intel_gt *gt,* to remain in multicast mode for reads. There's no real * downside to this, so we'll just go ahead and do so on all * platforms; we'll only clear the multicast bit from the mask -* when exlicitly doing a write operation. +* when explicitly doing a write operation. */ if (rw_flag ==FW_REG_WRITE ) mcr_mask |=GEN11_MCR_MULTICAST ;
drivers/gpu/drm/i915/gt/intel_migrate.c +2 -2
@@ -304,7 +304,7 @@ struct intel_context *intel_migrate_create_context(struct intel_migrate *m)struct intel_context *ce;/* -* We randomly distribute contexts across the engines upon constrction, +* We randomly distribute contexts across the engines upon construction, * as they all share the same pinned vm, and so in order to allow * multiple blits to run in parallel, we must construct each blit * to use a different range of the vm for its GTT. This has to be
@@ -646,7 +646,7 @@ calculate_chunk_sz(struct drm_i915_private *i915, bool src_is_lmem,* When CHUNK_SZ is passed all the pages upto CHUNK_SZ * will be taken for the blt. in Flat-ccs supported * platform Smem obj will have more pages than required -* for main meory hence limit it to the required size +* for main memory hence limit it to the required size * for main memory */ return min_t (u64, bytes_to_cpy,CHUNK_SZ );
drivers/gpu/drm/i915/gt/intel_mocs.c +1 -1
@@ -675,7 +675,7 @@ void intel_mocs_init(struct intel_gt *gt)__init_mocs_table (gt->uncore, &table,global_mocs_offset ());/* -* Initialize the L3CC table as part of mocs initalization to make +* Initialize the L3CC table as part of mocs initialization to make * sure the LNCFCMOCSx registers are programmed for the subsequent * memory transactions including guc transactions */
drivers/gpu/drm/i915/gt/intel_reset.c +1 -1
@@ -1098,7 +1098,7 @@ static bool __intel_gt_unset_wedged(struct intel_gt *gt)dma_fence_default_wait (fence, false,MAX_SCHEDULE_TIMEOUT );dma_fence_put (fence); -/* Restart iteration after droping lock */ +/* Restart iteration after dropping lock */ spin_lock (&timelines->lock); tl =list_entry (&timelines->active_list,typeof (*tl), link); }
drivers/gpu/drm/i915/gt/intel_ring_submission.c +1 -1
@@ -242,7 +242,7 @@ static int xcs_resume(struct intel_engine_cs *engine)/* * In case of resets fails because engine resumes from * incorrect RING_HEAD and then GPU may be then fed -* to invalid instrcutions, which may lead to unrecoverable +* to invalid instructions, which may lead to unrecoverable * hang. So at first write doesn't succeed then try again. */ ENGINE_WRITE_FW (engine,RING_HEAD , ring->head);
drivers/gpu/drm/i915/gt/intel_rps_types.h +2 -2
@@ -40,7 +40,7 @@ enum {/** * struct intel_rps_freq_caps - rps freq capabilities * @rp0_freq: non-overclocked max frequency -* @rp1_freq: "less than" RP0 power/freqency +* @rp1_freq: "less than" RP0 power/frequency * @min_freq: aka RPn, minimum frequency * * Freq caps exposed by HW, values are in "hw units" and intel_gpu_freq()
@@ -90,7 +90,7 @@ struct intel_rps {u8 boost_freq;/* Frequency to request when wait boosting */ u8 idle_freq;/* Frequency to request when we are idle */ u8 efficient_freq;/* AKA RPe. Pre-determined balanced frequency */ -u8 rp1_freq;/* "less than" RP0 power/freqency */ +u8 rp1_freq;/* "less than" RP0 power/frequency */ u8 rp0_freq;/* Non-overclocked max frequency. */ u16 gpll_ref_freq;/* vlv/chv GPLL reference frequency */
drivers/gpu/drm/i915/gt/intel_sa_media.c +1 -1
@@ -27,7 +27,7 @@ int intel_sa_mediagt_setup(struct intel_gt *gt, phys_addr_t phys_addr,/* * Standalone media shares the general MMIO space with the primary -* GT. We'll re-use the primary GT's mapping. +* GT. We'll reuse the primary GT's mapping. */ uncore->regs =intel_uncore_regs (&i915->uncore);if (drm_WARN_ON (&i915->drm, uncore->regs ==NULL ))
drivers/gpu/drm/i915/gt/intel_sseu.c +1 -1
@@ -687,7 +687,7 @@ u32 intel_sseu_make_rpcs(struct intel_gt *gt,* According to documentation software must consider the configuration * as 2x4x8 and hardware will translate this to 1x8x8. * -* Furthemore, even though SScount is three bits, maximum documented +* Furthermore, even though SScount is three bits, maximum documented * value for it is four. From this some rules/restrictions follow: * * 1.
drivers/gpu/drm/i915/gt/intel_workarounds.c +1 -1
@@ -1318,7 +1318,7 @@ xehp_init_mcr(struct intel_gt *gt, struct i915_wa_list *wal)* We'll do our default/implicit steering based on GSLICE (in the * sliceid field) and DSS (in the subsliceid field). If we can * find overlap between the valid MSLICE and/or LNCF values with -* a suitable GSLICE, then we can just re-use the default value and +* a suitable GSLICE, then we can just reuse the default value and * skip and explicit steering at runtime. * * We only need to look for overlap between GSLICE/MSLICE/LNCF to find
drivers/gpu/drm/i915/gt/selftest_execlists.c +1 -1
@@ -53,7 +53,7 @@ static int wait_for_submit(struct intel_engine_cs *engine,if (i915_request_completed (rq))/* that was quick! */ return 0 ; -/* Wait until the HW has acknowleged the submission (or err) */ +/* Wait until the HW has acknowledged the submission (or err) */ intel_engine_flush_submission (engine);if (!READ_ONCE (engine->execlists.pending[0 ]) &&is_active (rq))return 0 ;
drivers/gpu/drm/i915/gt/selftest_hangcheck.c +1 -1
@@ -548,7 +548,7 @@ static int igt_reset_fail_engine(void *arg)struct intel_engine_cs *engine;enum intel_engine_id id; -/* Check that we can recover from engine-reset failues */ +/* Check that we can recover from engine-reset failures */ if (!intel_has_reset_engine (gt))return 0 ;
drivers/gpu/drm/i915/gt/selftest_lrc.c +1 -1
@@ -63,7 +63,7 @@ static int wait_for_submit(struct intel_engine_cs *engine,if (i915_request_completed (rq))/* that was quick! */ return 0 ; -/* Wait until the HW has acknowleged the submission (or err) */ +/* Wait until the HW has acknowledged the submission (or err) */ intel_engine_flush_submission (engine);if (!READ_ONCE (engine->execlists.pending[0 ]) &&is_active (rq))return 0 ;
drivers/gpu/drm/i915/gt/selftest_rc6.c +1 -1
@@ -222,7 +222,7 @@ int live_rc6_ctx_wa(void *arg)i915_reset_engine_count (error, engine);const u32 *res; -/* Use a sacrifical context */ +/* Use a sacrificial context */ ce =intel_context_create (engine);if (IS_ERR (ce)) { err =PTR_ERR (ce);
drivers/gpu/drm/i915/gt/selftest_rps.c +1 -1
@@ -22,7 +22,7 @@#include "selftests/igt_spinner.h" #include "selftests/librapl.h" -/* Try to isolate the impact of cstates from determing frequency response */ +/* Try to isolate the impact of cstates from determining frequency response */ #define CPU_LATENCY 0/* -1 to disable pm_qos, 0 to disable cstates */ static void dummy_rps_work (struct work_struct *wrk)
drivers/gpu/drm/i915/gt/shaders/README +3 -3
@@ -10,7 +10,7 @@ i915/gt/shaders/clear_kernel directory. The generated .c files should never be modified directly. Instead, any modification needs to be done on the on their respective ASM files and build instructions below -needes to be followed. +needs to be followed. Building ========
@@ -24,7 +24,7 @@ on building. Please make sure your Mesa tool is compiled with "-Dtools=intel" and "-Ddri-drivers=i965", and run this script from IGT source root directory" -The instructions bellow assume: +The instructions below assume: * IGT gpu tools source code is located on your home directory (~) as ~/igt * Mesa source code is located on your home directory (~) as ~/mesa and built under the ~/mesa/build directory
@@ -43,4 +43,4 @@ igt $ ./scripts/generate_clear_kernel.sh -g ivb \ ~/igt/lib/i915/shaders/clear_kernel/hsw.asm ~ $ cd ~/igt igt $ ./scripts/generate_clear_kernel.sh -g hsw \ - -m ~/mesa/build/src/intel/tools/i965_asm + -m ~/mesa/build/src/intel/tools/i965_asm
drivers/gpu/drm/i915/gt/shaders/clear_kernel/hsw.asm +1 -1
@@ -24,7 +24,7 @@ mov(1) f0.1<1>UW g1.2<0,1,0>UW { align1 1N }; * DW 1.4 - Rsvd (intended for context ID) * DW 1.5 - [31:16]:SliceCount, [15:0]:SubSlicePerSliceCount * DW 1.6 - Rsvd MBZ (intended for Enable Wait on Total Thread Count) - * DW 1.7 - Rsvd MBZ (inteded for Total Thread Count) + * DW 1.7 - Rsvd MBZ (intended for Total Thread Count) * * Binding Table *
drivers/gpu/drm/i915/gt/shaders/clear_kernel/ivb.asm +1 -1
@@ -24,7 +24,7 @@ mov(1) f0.1<1>UW g1.2<0,1,0>UW { align1 1N }; * DW 1.4 - Rsvd (intended for context ID) * DW 1.5 - [31:16]:SliceCount, [15:0]:SubSlicePerSliceCount * DW 1.6 - Rsvd MBZ (intended for Enable Wait on Total Thread Count) - * DW 1.7 - Rsvd MBZ (inteded for Total Thread Count) + * DW 1.7 - Rsvd MBZ (intended for Total Thread Count) * * Binding Table *
drivers/gpu/drm/i915/gt/uc/guc_capture_fwif.h +2 -2
@@ -81,7 +81,7 @@ struct guc_debug_capture_list {* * intel_guc_capture module uses these structures to maintain static * tables (per unique platform) that consists of lists of registers -* (offsets, names, flags,...) that are used at the ADS regisration +* (offsets, names, flags,...) that are used at the ADS registration * time as well as during runtime processing and reporting of error- * capture states generated by GuC just prior to engine reset events. */
@@ -200,7 +200,7 @@ struct intel_guc_state_capture {* dynamically allocate new nodes when receiving the G2H notification * because the event handlers for all G2H event-processing is called * by the ct processing worker queue and when that queue is being -* processed, there is no absoluate guarantee that we are not in the +* processed, there is no absolute guarantee that we are not in the * midst of a GT reset operation (which doesn't allow allocations). */ struct list_head cachelist;
drivers/gpu/drm/i915/gt/uc/intel_guc.c +1 -1
@@ -690,7 +690,7 @@ int intel_guc_suspend(struct intel_guc *guc)* H2G MMIO command completes. * * Don't abort on a failure code from the GuC. Keep going and do the -* clean up in santize() and re-initialisation on resume and hopefully +* clean up in sanitize() and re-initialisation on resume and hopefully * the error here won't be problematic. */ ret =intel_guc_send_mmio (guc, action,ARRAY_SIZE (action),NULL ,0 );
drivers/gpu/drm/i915/gt/uc/intel_guc.h +1 -1
@@ -295,7 +295,7 @@ struct intel_guc {*/ struct work_struct dead_guc_worker;/** -* @last_dead_guc_jiffies: timestamp of previous 'dead guc' occurrance +* @last_dead_guc_jiffies: timestamp of previous 'dead guc' occurrence * used to prevent a fundamentally broken system from continuously * reloading the GuC. */
drivers/gpu/drm/i915/gt/uc/intel_guc_fwif.h +1 -1
@@ -408,7 +408,7 @@ enum guc_capture_type { GUC_CAPTURE_LIST_TYPE_MAX, }; -/* Class indecies for capture_class and capture_instance arrays */ +/* Class indices for capture_class and capture_instance arrays */ enum {GUC_CAPTURE_LIST_CLASS_RENDER_COMPUTE =0 ,GUC_CAPTURE_LIST_CLASS_VIDEO =1 ,
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c +2 -2
@@ -1223,7 +1223,7 @@ __extend_last_switch(struct intel_guc *guc, u64 *prev_start, u32 new_start)* determine validity of these values. Instead we read the values multiple times * until they are consistent. In test runs, 3 attempts results in consistent * values. The upper bound is set to 6 attempts and may need to be tuned as per -* any new occurences. +* any new occurrences. */ static void __get_engine_usage_record (struct intel_engine_cs *engine,u32 *last_in,u32 *id,u32 *total)
@@ -2995,7 +2995,7 @@ static int __guc_context_pin(struct intel_context *ce,/* * GuC context gets pinned in guc_request_alloc. See that function for -* explaination of why. +* explanation of why. */ return lrc_pin (ce, engine, vaddr);
drivers/gpu/drm/i915/gt/uc/intel_uc.c +1 -1
@@ -512,7 +512,7 @@ static int __uc_init_hw(struct intel_uc *uc) ERR_PTR(ret), attempts); } -/* Did we succeded or run out of retries? */ +/* Did we succeed or run out of retries? */ if (ret) goto err_log_capture;
drivers/gpu/drm/i915/gt/uc/selftest_guc_hangcheck.c +1 -1
@@ -64,7 +64,7 @@ static int intel_hang_guc(void *arg) old_beat = engine->props.heartbeat_interval_ms; ret =intel_engine_set_heartbeat (engine,BEAT_INTERVAL );if (ret) { -gt_err (gt,"Failed to boost heatbeat interval: %pe\n" ,ERR_PTR (ret)); +gt_err (gt,"Failed to boost heartbeat interval: %pe\n" ,ERR_PTR (ret)); goto err; }
Signature · 1 line
2.25.1
PATCH v2 2/8 drm/i915/gvt: fix typos in i915/gvt files
In reply to Nitin GoteFix all typos in files under drm/i915/gvt reported by codespell tool.
--- drivers/gpu/drm/i915/gvt/cmd_parser.c | 4 ++-- drivers/gpu/drm/i915/gvt/dmabuf.c | 2 +- drivers/gpu/drm/i915/gvt/edid.c | 2 +- drivers/gpu/drm/i915/gvt/gtt.c | 2 +- drivers/gpu/drm/i915/gvt/gvt.h | 8 +++++--- drivers/gpu/drm/i915/gvt/handlers.c | 6 +++--- drivers/gpu/drm/i915/gvt/kvmgt.c | 2 +- drivers/gpu/drm/i915/gvt/mmio_context.c | 6 +++--- drivers/gpu/drm/i915/gvt/scheduler.c | 6 +++--- drivers/gpu/drm/i915/gvt/vgpu.c | 6 +++--- 10 files changed, 23 insertions(+), 21 deletions(-)
drivers/gpu/drm/i915/gvt/cmd_parser.c +2 -2
@@ -1924,7 +1924,7 @@ static int perform_bb_shadow(struct parser_exec_state *s)/* the start_offset stores the batch buffer's start gma's * offset relative to page boundary. so for non-privileged batch * buffer, the shadowed gem object holds exactly the same page -* layout as original gem object. This is for the convience of +* layout as original gem object. This is for the convenience of * replacing the whole non-privilged batch buffer page to this * shadowed one in PPGTT at the same gma address. (this replacing * action is not implemented yet now, but may be necessary in
@@ -1976,7 +1976,7 @@ static int perform_bb_shadow(struct parser_exec_state *s)/* * ip_va saves the virtual address of the shadow batch buffer, while * ip_gma saves the graphics address of the original batch buffer. -* As the shadow batch buffer is just a copy from the originial one, +* As the shadow batch buffer is just a copy from the original one, * it should be right to use shadow batch buffer'va and original batch * buffer's gma in pair. After all, we don't want to pin the shadow * buffer here (too early).
drivers/gpu/drm/i915/gvt/dmabuf.c +1 -1
@@ -436,7 +436,7 @@ int intel_vgpu_query_plane(struct intel_vgpu *vgpu, void *args)dmabuf_obj_get (dmabuf_obj); } ret =0 ; -gvt_dbg_dpy ("vgpu%d: re-use dmabuf_obj ref %d, id %d\n" , +gvt_dbg_dpy ("vgpu%d: reuse dmabuf_obj ref %d, id %d\n" , vgpu->id,kref_read (&dmabuf_obj->kref), gfx_plane_info->dmabuf_id);mutex_unlock (&vgpu->dmabuf_lock);
drivers/gpu/drm/i915/gvt/edid.c +1 -1
@@ -298,7 +298,7 @@ static int gmbus3_mmio_read(struct intel_vgpu *vgpu, unsigned int offset,int byte_count = byte_left;u32 reg_data =0 ; -/* Data can only be recevied if previous settings correct */ +/* Data can only be received if previous settings correct */ if (vgpu_vreg_t (vgpu,PCH_GMBUS1 ) &GMBUS_SLAVE_READ ) {if (byte_left <=0 ) {memcpy (p_data, &vgpu_vreg (vgpu, offset), bytes);
drivers/gpu/drm/i915/gvt/gtt.c +1 -1
@@ -1259,7 +1259,7 @@ static int ppgtt_populate_shadow_entry(struct intel_vgpu *vgpu,gvt_vdbg_mm ("shadow 64K gtt entry\n" );/* * The layout of 64K page is special, the page size is -* controlled by uper PDE. To be simple, we always split +* controlled by upper PDE. To be simple, we always split * 64K page to smaller 4K pages in shadow PT. */ return split_64KB_gtt_entry (vgpu, spt, index, &se);
drivers/gpu/drm/i915/gvt/gvt.h +5 -3
@@ -452,8 +452,10 @@ void intel_vgpu_free_resource(struct intel_vgpu *vgpu);void intel_vgpu_write_fence (struct intel_vgpu *vgpu,u32 fence,u64 value); -/* Macros for easily accessing vGPU virtual/shadow register. -Explicitly seperate use for typed MMIO reg or real offset.*/ +/* +* Macros for easily accessing vGPU virtual/shadow register. +* Explicitly separate use for typed MMIO reg or real offset. +*/ #define vgpu_vreg_t (vgpu, reg) \ (*(u32 *)(vgpu->mmio.vreg + i915_mmio_reg_offset(reg)))#define vgpu_vreg (vgpu, offset) \
@@ -702,7 +704,7 @@ static inline void intel_gvt_mmio_set_cmd_write_patch(* @offset: register offset * * Returns: -* True if GPU commmand write to an MMIO should be patched +* True if GPU command write to an MMIO should be patched */ static inline bool intel_gvt_mmio_is_cmd_write_patch (struct intel_gvt *gvt,unsigned int offset)
drivers/gpu/drm/i915/gvt/handlers.c +3 -3
@@ -689,11 +689,11 @@ static void vgpu_update_refresh_rate(struct intel_vgpu *vgpu)u32 new_rate =0 ;u32 *old_rate = &(intel_vgpu_port (vgpu, vgpu->display.port_num)->vrefresh_k); -/* Calcuate pixel clock by (ls_clk * M / N) */ +/* Calculate pixel clock by (ls_clk * M / N) */ pixel_clk =div_u64 (mul_u32_u32 (link_m, dp_br), link_n); pixel_clk *=MSEC_PER_SEC ; -/* Calcuate refresh rate by (pixel_clk / (h_total * v_total)) */ +/* Calculate refresh rate by (pixel_clk / (h_total * v_total)) */ new_rate =DIV64_U64_ROUND_CLOSEST (mul_u64_u32_shr (pixel_clk,MSEC_PER_SEC ,0 ),mul_u32_u32 (htotal +1 , vtotal +1 ));if (*old_rate != new_rate)
@@ -2001,7 +2001,7 @@ static int elsp_mmio_write(struct intel_vgpu *vgpu, unsigned int offset,* vGPU reset, it's set on D0->D3 on PCI config write, and cleared after * vGPU reset if in resuming. * In S0ix exit, the device power state also transite from D3 to D0 as -* S3 resume, but no vGPU reset (triggered by QEMU devic model). After +* S3 resume, but no vGPU reset (triggered by QEMU device model). After * S0ix exit, all engines continue to work. However the d3_entered * remains set which will break next vGPU reset logic (miss the expected * PPGTT invalidation).
drivers/gpu/drm/i915/gvt/kvmgt.c +1 -1
@@ -142,7 +142,7 @@ static int gvt_pin_guest_page(struct intel_vgpu *vgpu, unsigned long gfn,int ret;/* -* We pin the pages one-by-one to avoid allocating a big arrary +* We pin the pages one-by-one to avoid allocating a big array * on stack to hold pfns. */ for (npage =0 ; npage < total_pages; npage++) {
drivers/gpu/drm/i915/gvt/mmio_context.c +3 -3
@@ -53,7 +53,7 @@ struct engine_mmio {u32 value; }; -/* Raw offset is appened to each line for convenience. */ +/* Raw offset is append to each line for convenience. */ static struct engine_mmio gen8_engine_mmio_list[] __cacheline_aligned = { {RCS0 ,RING_MODE_GEN7 (RENDER_RING_BASE ),0xffff , false},/* 0x229c */ {RCS0 ,GEN9_CTX_PREEMPT_REG ,0x0 , false},/* 0x2248 */
@@ -576,8 +576,8 @@ void intel_gvt_switch_mmio(struct intel_vgpu *pre,/** * We are using raw mmio access wrapper to improve the -* performace for batch mmio read/write, so we need -* handle forcewake mannually. +* performance for batch mmio read/write, so we need +* handle forcewake manually. */ intel_uncore_forcewake_get (engine->uncore,FORCEWAKE_ALL );switch_mmio (pre, next, engine);
drivers/gpu/drm/i915/gvt/scheduler.c +3 -3
@@ -77,7 +77,7 @@ static void update_shadow_pdps(struct intel_vgpu_workload *workload) }/* -* when populating shadow ctx from guest, we should not overrride oa related +* when populating shadow ctx from guest, we should not override oa related * registers, so that they will not be overlapped by guest oa configs. Thus * made it possible to capture oa data from host for both host and guests. */
@@ -528,7 +528,7 @@ static int prepare_shadow_batch_buffer(struct intel_vgpu_workload *workload)int ret;list_for_each_entry (bb, &workload->shadow_bb, list) { -/* For privilge batch buffer and not wa_ctx, the bb_start_cmd_va +/* For privilege batch buffer and not wa_ctx, the bb_start_cmd_va * is only updated into ring_scan_buffer, not real ring address * allocated in later copy_workload_to_ring_buffer. pls be noted * shadow_ring_buffer_va is now pointed to real ring buffer va
@@ -1774,7 +1774,7 @@ intel_vgpu_create_workload(struct intel_vgpu *vgpu, }/** -* intel_vgpu_queue_workload - Qeue a vGPU workload +* intel_vgpu_queue_workload - Queue a vGPU workload * @workload: the workload to queue in */ void intel_vgpu_queue_workload (struct intel_vgpu_workload *workload)
drivers/gpu/drm/i915/gvt/vgpu.c +3 -3
@@ -78,7 +78,7 @@ void populate_pvinfo_page(struct intel_vgpu *vgpu)* vGPU type name is defined as GVTg_Vx_y which contains the physical GPU * generation type (e.g V4 as BDW server, V5 as SKL server). * -* Depening on the physical SKU resource, we might see vGPU types like +* Depending on the physical SKU resource, we might see vGPU types like * GVTg_V4_8, GVTg_V4_4, GVTg_V4_2, etc. We can create different types of * vGPU on same physical GPU depending on available resource. Each vGPU * type will have a different number of avail_instance to indicate how
@@ -417,7 +417,7 @@ int intel_gvt_create_vgpu(struct intel_vgpu *vgpu,* the whole vGPU to default state as when it is created. This vGPU function * is required both for functionary and security concerns.The ultimate goal * of vGPU FLR is that reuse a vGPU instance by virtual machines. When we -* assign a vGPU to a virtual machine we must isse such reset first. +* assign a vGPU to a virtual machine we must issue such reset first. * * Full GT Reset and Per-Engine GT Reset are soft reset flow for GPU engines * (Render, Blitter, Video, Video Enhancement). It is defined by GPU Spec.
@@ -428,7 +428,7 @@ int intel_gvt_create_vgpu(struct intel_vgpu *vgpu,* * The parameter dev_level is to identify if we will do DMLR or GT reset. * The parameter engine_mask is to specific the engines that need to be -* resetted. If value ALL_ENGINES is given for engine_mask, it means +* reset. If value ALL_ENGINES is given for engine_mask, it means * the caller requests a full GT reset that we will reset all virtual * GPU engines. For FLR, engine_mask is ignored. */
Signature · 1 line
2.25.1
PATCH v2 3/8 drm/i915/gem: fix typos in i915/gem files
In reply to Nitin GoteFix all typos in files under drm/i915/gem reported by codespell tool.
--- drivers/gpu/drm/i915/gem/i915_gem_context.c | 6 +++--- drivers/gpu/drm/i915/gem/i915_gem_context_types.h | 4 ++-- drivers/gpu/drm/i915/gem/i915_gem_domain.c | 2 +- drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c | 4 ++-- drivers/gpu/drm/i915/gem/i915_gem_region.c | 2 +- drivers/gpu/drm/i915/gem/i915_gem_shrinker.c | 4 ++-- drivers/gpu/drm/i915/gem/i915_gem_tiling.c | 2 +- drivers/gpu/drm/i915/gem/i915_gem_ttm.c | 2 +- drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c | 2 +- drivers/gpu/drm/i915/gem/selftests/huge_pages.c | 2 +- drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c | 2 +- 11 files changed, 16 insertions(+), 16 deletions(-)
drivers/gpu/drm/i915/gem/i915_gem_context.c +3 -3
@@ -238,7 +238,7 @@ static int proto_context_set_persistence(struct drm_i915_private *i915,* * However, if we cannot reset an engine by itself, we cannot * cleanup a hanging persistent context without causing -* colateral damage, and we should not pretend we can by +* collateral damage, and we should not pretend we can by * exposing the interface. */ if (!intel_has_reset_engine (to_gt (i915)))
@@ -1589,7 +1589,7 @@ static int __context_set_persistence(struct i915_gem_context *ctx, bool state)* * However, if we cannot reset an engine by itself, we cannot * cleanup a hanging persistent context without causing -* colateral damage, and we should not pretend we can by +* collateral damage, and we should not pretend we can by * exposing the interface. */ if (!intel_has_reset_engine (to_gt (ctx->i915)))
@@ -2328,7 +2328,7 @@ finalize_create_context_locked(struct drm_i915_file_private *file_priv,/* * One for the xarray and one for the caller. We need to grab -* the reference *prior* to making the ctx visble to userspace +* the reference *prior* to making the ctx visible to userspace * in gem_context_register(), as at any point after that * userspace can try to race us with another thread destroying * the context under our feet.
drivers/gpu/drm/i915/gem/i915_gem_context_types.h +2 -2
@@ -245,7 +245,7 @@ struct i915_gem_context {* Execbuf uses the I915_EXEC_RING_MASK as an index into this * array to select which HW context + engine to execute on. For * the default array, the user_ring_map[] is used to translate -* the legacy uABI onto the approprate index (e.g. both +* the legacy uABI onto the appropriate index (e.g. both * I915_EXEC_DEFAULT and I915_EXEC_RENDER select the same * context, and I915_EXEC_BSD is weird). For a use defined * array, execbuf uses I915_EXEC_RING_MASK as a plain index.
@@ -276,7 +276,7 @@ struct i915_gem_context {* @vm: unique address space (GTT) * * In full-ppgtt mode, each context has its own address space ensuring -* complete seperation of one client from all others. +* complete separation of one client from all others. * * In other modes, this is a NULL pointer with the expectation that * the caller uses the shared global GTT.
drivers/gpu/drm/i915/gem/i915_gem_domain.c +1 -1
@@ -276,7 +276,7 @@ int i915_gem_object_set_cache_level(struct drm_i915_gem_object *obj,* For objects created by userspace through GEM_CREATE with pat_index * set by set_pat extension, simply return 0 here without touching * the cache setting, because such objects should have an immutable -* cache setting by desgin and always managed by userspace. +* cache setting by design and always managed by userspace. */ if (i915_gem_object_has_cache_level (obj, cache_level))return 0 ;
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c +2 -2
@@ -303,7 +303,7 @@ struct i915_execbuffer {struct intel_gt_buffer_pool_node *batch_pool;/** pool node for batch buffer */ /** -* Indicate either the size of the hastable used to resolve +* Indicate either the size of the hashtable used to resolve * relocation handles, or if negative that we are using a direct * index into the execobj[]. */
@@ -2543,7 +2543,7 @@ static int eb_pin_timeline(struct i915_execbuffer *eb, struct intel_context *ce,/* * Error path, cannot use intel_context_timeline_lock as -* that is user interruptable and this clean up step +* that is user interruptible and this clean up step * must be done. */ mutex_lock (&ce->timeline->mutex);
drivers/gpu/drm/i915/gem/i915_gem_region.c +1 -1
@@ -82,7 +82,7 @@ __i915_gem_object_create_region(struct intel_memory_region *mem,/* * Anything smaller than the min_page_size can't be freely inserted into -* the GTT, due to alignemnt restrictions. For such special objects, +* the GTT, due to alignment restrictions. For such special objects, * make sure we force memcpy based suspend-resume. In the future we can * revisit this, either by allowing special mis-aligned objects in the * migration path, or by mapping all of LMEM upfront using cheap 1G
drivers/gpu/drm/i915/gem/i915_gem_shrinker.c +2 -2
@@ -25,7 +25,7 @@ static bool swap_available(void)static bool can_release_pages (struct drm_i915_gem_object *obj) { -/* Consider only shrinkable ojects. */ +/* Consider only shrinkable objects. */ if (!i915_gem_object_is_shrinkable (obj))return false;
@@ -261,7 +261,7 @@ i915_gem_shrink(struct i915_gem_ww_ctx *ww,* i915_gem_shrink_all - Shrink buffer object caches completely * @i915: i915 device * -* This is a simple wraper around i915_gem_shrink() to aggressively shrink all +* This is a simple wrapper around i915_gem_shrink() to aggressively shrink all * caches completely. It also first waits for and retires all outstanding * requests to also be able to release backing storage for active objects. *
drivers/gpu/drm/i915/gem/i915_gem_tiling.c +1 -1
@@ -39,7 +39,7 @@* Since neither of this applies for new tiling layouts on modern platforms like * W, Ys and Yf tiling GEM only allows object tiling to be set to X or Y tiled. * Anything else can be handled in userspace entirely without the kernel's -* invovlement. +* involvement. */ /**
drivers/gpu/drm/i915/gem/i915_gem_ttm.c +1 -1
@@ -994,7 +994,7 @@ void i915_ttm_adjust_lru(struct drm_i915_gem_object *obj)* If we need to place an LMEM resource which doesn't need CPU * access then we should try not to victimize mappable objects * first, since we likely end up stealing more of the mappable -* portion. And likewise when we try to find space for a mappble +* portion. And likewise when we try to find space for a mappable * object, we know not to ever victimize objects that don't * occupy any mappable pages. */
drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c +1 -1
@@ -603,7 +603,7 @@ int i915_ttm_move(struct ttm_buffer_object *bo, bool evict,* sequence, where at the end we can do the move for real. * * The special case here is when the dst_mem is TTM_PL_SYSTEM, -* which doens't require any kind of move, so it should be safe +* which doesn't require any kind of move, so it should be safe * to skip all the below and call ttm_bo_move_null() here, where * the caller in __i915_ttm_get_pages() will take care of the * rest, since we should have a valid ttm_tt.
drivers/gpu/drm/i915/gem/selftests/huge_pages.c +1 -1
@@ -1781,7 +1781,7 @@ static int igt_tmpfs_fallback(void *arg)/* * Make sure that we don't burst into a ball of flames upon falling back -* to tmpfs, which we rely on if on the off-chance we encouter a failure +* to tmpfs, which we rely on if on the off-chance we encounter a failure * when setting up gemfs. */
drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c +1 -1
@@ -1342,7 +1342,7 @@ static int igt_mmap_migrate(void *arg) }/* -* Allocate in the mappable portion, should be no suprises here. +* Allocate in the mappable portion, should be no surprises here. */ err =__igt_mmap_migrate (mixed,ARRAY_SIZE (mixed), mr,0 );if (err)
Signature · 1 line
2.25.1
PATCH v2 4/8 drm/i915/pxp: fix typos in i915/pxp files
In reply to Nitin GoteFix all typos in files under drm/i915/pxp reported by codespell tool.
--- drivers/gpu/drm/i915/pxp/intel_pxp_cmd_interface_43.h | 2 +- drivers/gpu/drm/i915/pxp/intel_pxp_types.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/i915/pxp/intel_pxp_cmd_interface_43.h +1 -1
@@ -41,7 +41,7 @@ struct pxp43_huc_auth_out {/* PXP-Input-Packet: Init PXP session */ struct pxp43_create_arb_in {struct pxp_cmd_header header; -/* header.stream_id fields for vesion 4.3 of Init PXP session: */ +/* header.stream_id fields for version 4.3 of Init PXP session: */ #define PXP43_INIT_SESSION_VALID BIT(0)#define PXP43_INIT_SESSION_APPTYPE BIT(1)#define PXP43_INIT_SESSION_APPID GENMASK(17, 2)
drivers/gpu/drm/i915/pxp/intel_pxp_types.h +1 -1
@@ -21,7 +21,7 @@ struct drm_i915_private;*/ struct intel_pxp {/** -* @ctrl_gt: poiner to the tile that owns the controls for PXP subsystem assets that +* @ctrl_gt: pointer to the tile that owns the controls for PXP subsystem assets that * the VDBOX, the KCR engine (and GSC CS depending on the platform) */ struct intel_gt *ctrl_gt;
Signature · 1 line
2.25.1
PATCH v2 5/8 drm/i915/selftests: fix typos in i915/selftests files
In reply to Nitin GoteFix all typos in files under drm/i915/selftests reported by codespell tool.
v2: Fix commenting style <Andi>
--- drivers/gpu/drm/i915/selftests/i915_gem.c | 2 +- drivers/gpu/drm/i915/selftests/i915_gem_gtt.c | 21 ++++++++++++------- drivers/gpu/drm/i915/selftests/i915_vma.c | 15 ++++++++----- 3 files changed, 24 insertions(+), 14 deletions(-)
drivers/gpu/drm/i915/selftests/i915_gem.c +1 -1
@@ -80,7 +80,7 @@ static void simulate_hibernate(struct drm_i915_private *i915) wakeref =intel_runtime_pm_get (&i915->runtime_pm);/* -* As a final sting in the tail, invalidate stolen. Under a real S4, +* As a final string in the tail, invalidate stolen. Under a real S4, * stolen is lost and needs to be refilled on resume. However, under * CI we merely do S4-device testing (as full S4 is too unreliable * for automated testing across a cluster), so to simulate the effect
drivers/gpu/drm/i915/selftests/i915_gem_gtt.c +13 -8
@@ -287,7 +287,8 @@ static int lowlevel_hole(struct i915_address_space *vm,GEM_BUG_ON (count *BIT_ULL (aligned_size) > vm->total);GEM_BUG_ON (hole_start + count *BIT_ULL (aligned_size) > hole_end); -/* Ignore allocation failures (i.e. don't report them as +/* +* Ignore allocation failures (i.e. don't report them as * a test failure) as we are purposefully allocating very * large objects without checking that we have sufficient * memory. We expect to hit -ENOMEM.
@@ -446,7 +447,8 @@ static int fill_hole(struct i915_address_space *vm,list_add (&obj->st_link, &objects); -/* Align differing sized objects against the edges, and +/* +* Align differing sized objects against the edges, and * check we don't walk off into the void when binding * them into the GTT. */
@@ -831,7 +833,8 @@ static int drunk_hole(struct i915_address_space *vm,return -ENOMEM ;GEM_BUG_ON (!order); -/* Ignore allocation failures (i.e. don't report them as +/* +* Ignore allocation failures (i.e. don't report them as * a test failure) as we are purposefully allocating very * large objects without checking that we have sufficient * memory. We expect to hit -ENOMEM.
@@ -964,7 +967,7 @@ static int __shrink_hole(struct i915_address_space *vm,break ;if (igt_timeout (end_time, -"%s timed out at ofset %llx [%llx - %llx]\n" , +"%s timed out at offset %llx [%llx - %llx]\n" , __func__, addr, hole_start, hole_end)) { err = -EINTR ;break ;
@@ -1011,7 +1014,7 @@ static int shrink_boom(struct i915_address_space *vm,/* * Catch the case which shrink_hole seems to miss. The setup here * requires invoking the shrinker as we do the alloc_pt/alloc_pd, while -* ensuring that all vma assiocated with the respective pd/pdp are +* ensuring that all vma associated with the respective pd/pdp are * unpinned at the time. */
@@ -1537,9 +1540,10 @@ static int igt_gtt_reserve(void *arg)u64 total;int err = -ENODEV ; -/* i915_gem_gtt_reserve() tries to reserve the precise range +/* +* i915_gem_gtt_reserve() tries to reserve the precise range * for the node, and evicts if it has to. So our test checks that -* it can give us the requsted space and prevent overlaps. +* it can give us the requested space and prevent overlaps. */ /* Start by filling the GGTT */
@@ -1743,7 +1747,8 @@ static int igt_gtt_insert(void *arg)u64 total;int err = -ENODEV ; -/* i915_gem_gtt_insert() tries to allocate some free space in the GTT +/* +* i915_gem_gtt_insert() tries to allocate some free space in the GTT * to the node, evicting if required. */
drivers/gpu/drm/i915/selftests/i915_vma.c +10 -5
@@ -159,7 +159,8 @@ static int igt_vma_create(void *arg)LIST_HEAD (objects);int err = -ENOMEM ; -/* Exercise creating many vma amonst many objections, checking the +/* +* Exercise creating many vma amongst many objections, checking the * vma creation and lookup routines. */
@@ -292,7 +293,8 @@ static int igt_vma_pin1(void *arg)VALID (8192 ,PIN_GLOBAL |PIN_OFFSET_BIAS | (ggtt->mappable_end -4096 )), #if !IS_ENABLED(CONFIG_DRM_I915_DEBUG_GEM) -/* Misusing BIAS is a programming error (it is not controllable +/* +* Misusing BIAS is a programming error (it is not controllable * from userspace) so when debugging is enabled, it explodes. * However, the tests are still quite interesting for checking * variable start, end and size.
@@ -312,7 +314,8 @@ static int igt_vma_pin1(void *arg)struct i915_vma *vma;int err = -EINVAL ; -/* Exercise all the weird and wonderful i915_vma_pin requests, +/* +* Exercise all the weird and wonderful i915_vma_pin requests, * focusing on error handling of boundary conditions. */
@@ -577,7 +580,8 @@ static int igt_vma_rotate_remap(void *arg)const unsigned int max_pages =64 ;int err = -ENOMEM ; -/* Create VMA for many different combinations of planes and check +/* +* Create VMA for many different combinations of planes and check * that the page layout within the rotated VMA match our expectations. */
@@ -804,7 +808,8 @@ static int igt_vma_partial(void *arg)struct i915_vma *vma;int err = -ENOMEM ; -/* Create lots of different VMA for the object and check that +/* +* Create lots of different VMA for the object and check that * we are returned the same VMA when we later request the same range. */
Signature · 1 line
2.25.1
PATCH v2 6/8 drm/i915/soc: fix typos in i915/soc files
In reply to Nitin GoteFix all typos in files under drm/i915/soc reported by codespell tool.
--- drivers/gpu/drm/i915/soc/intel_pch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/i915/soc/intel_pch.c +1 -1
@@ -243,7 +243,7 @@ void intel_detect_pch(struct drm_i915_private *dev_priv)* underneath. This is a requirement from virtualization team. * * In some virtualized environments (e.g. XEN), there is irrelevant -* ISA bridge in the system. To work reliably, we should scan trhough +* ISA bridge in the system. To work reliably, we should scan through * all the ISA bridge devices and check for the first match, instead * of only checking the first one. */
Signature · 1 line
2.25.1
PATCH v2 7/8 drm/i915/display: fix typos in i915/display files
In reply to Nitin GoteFix all typos in files under drm/i915/display reported by codespell tool.
v2:
- Include british and american spelling, as those are not typos.
- Fix commenting style. <Jani>
--- drivers/gpu/drm/i915/display/dvo_ns2501.c | 2 +- drivers/gpu/drm/i915/display/i9xx_wm.c | 6 +-- drivers/gpu/drm/i915/display/icl_dsi.c | 4 +- drivers/gpu/drm/i915/display/intel_audio.c | 4 +- drivers/gpu/drm/i915/display/intel_cdclk.c | 2 +- drivers/gpu/drm/i915/display/intel_color.c | 2 +- drivers/gpu/drm/i915/display/intel_crt.c | 2 +- drivers/gpu/drm/i915/display/intel_crtc.c | 2 +- drivers/gpu/drm/i915/display/intel_cursor.c | 2 +- drivers/gpu/drm/i915/display/intel_ddi.c | 4 +- drivers/gpu/drm/i915/display/intel_display.c | 8 ++-- .../drm/i915/display/intel_display_debugfs.c | 2 +- .../drm/i915/display/intel_display_power.c | 4 +- .../i915/display/intel_display_power_well.h | 4 +- .../drm/i915/display/intel_display_types.h | 4 +- drivers/gpu/drm/i915/display/intel_dp.c | 2 +- .../drm/i915/display/intel_dp_link_training.c | 4 +- drivers/gpu/drm/i915/display/intel_dp_mst.c | 4 +- drivers/gpu/drm/i915/display/intel_dp_test.c | 4 +- .../gpu/drm/i915/display/intel_dp_tunnel.c | 2 +- drivers/gpu/drm/i915/display/intel_dpio_phy.c | 2 +- drivers/gpu/drm/i915/display/intel_dpll.c | 2 +- drivers/gpu/drm/i915/display/intel_dpll_mgr.c | 2 +- drivers/gpu/drm/i915/display/intel_dpll_mgr.h | 2 +- drivers/gpu/drm/i915/display/intel_dsb.c | 2 +- drivers/gpu/drm/i915/display/intel_dsi_vbt.c | 2 +- drivers/gpu/drm/i915/display/intel_dvo_dev.h | 2 +- drivers/gpu/drm/i915/display/intel_fdi.c | 2 +- .../drm/i915/display/intel_fifo_underrun.c | 2 +- .../gpu/drm/i915/display/intel_frontbuffer.c | 2 +- drivers/gpu/drm/i915/display/intel_hdcp.c | 8 ++-- drivers/gpu/drm/i915/display/intel_hotplug.c | 6 +-- .../gpu/drm/i915/display/intel_hotplug_irq.c | 2 +- drivers/gpu/drm/i915/display/intel_link_bw.c | 2 +- drivers/gpu/drm/i915/display/intel_overlay.c | 21 +++++--- drivers/gpu/drm/i915/display/intel_pmdemand.c | 2 +- drivers/gpu/drm/i915/display/intel_pps.c | 2 +- drivers/gpu/drm/i915/display/intel_psr.c | 8 ++-- drivers/gpu/drm/i915/display/intel_sdvo.c | 4 +- .../gpu/drm/i915/display/intel_sdvo_regs.h | 2 +- drivers/gpu/drm/i915/display/intel_snps_phy.c | 2 +- drivers/gpu/drm/i915/display/intel_vblank.c | 2 +- drivers/gpu/drm/i915/display/intel_vdsc.c | 2 +- drivers/gpu/drm/i915/display/skl_scaler.c | 48 +++++++++---------- .../drm/i915/display/skl_universal_plane.c | 4 +- drivers/gpu/drm/i915/display/skl_watermark.c | 4 +- drivers/gpu/drm/i915/display/vlv_dsi.c | 2 +- drivers/gpu/drm/i915/display/vlv_dsi_pll.c | 2 +- 48 files changed, 109 insertions(+), 102 deletions(-)
drivers/gpu/drm/i915/display/dvo_ns2501.c +1 -1
@@ -517,7 +517,7 @@ static enum drm_connector_status ns2501_detect(struct intel_dvo_device *dvo)* Even if not, the detection bit of the 2501 is unreliable as * it only works for some display types. * It is even more unreliable as the PLL must be active for -* allowing reading from the chiop. +* allowing reading from the chip. */ return connector_status_connected; }
drivers/gpu/drm/i915/display/i9xx_wm.c +3 -3
@@ -446,7 +446,7 @@ static const struct intel_watermark_params i845_wm_info = {* @latency: Memory wakeup latency in 0.1us units * * Compute the watermark using the method 1 or "small buffer" -* formula. The caller may additonally add extra cachelines +* formula. The caller may additionally add extra cachelines * to account for TLB misses and clock crossings. * * This method is concerned with the short term drain rate
@@ -493,7 +493,7 @@ static unsigned int intel_wm_method1(unsigned int pixel_rate,* @latency: Memory wakeup latency in 0.1us units * * Compute the watermark using the method 2 or "large buffer" -* formula. The caller may additonally add extra cachelines +* formula. The caller may additionally add extra cachelines * to account for TLB misses and clock crossings. * * This method is concerned with the long term drain rate
@@ -1562,7 +1562,7 @@ static int vlv_compute_fifo(struct intel_crtc_state *crtc_state)/* * When enabling sprite0 after sprite1 has already been enabled * we tend to get an underrun unless sprite0 already has some -* FIFO space allcoated. Hence we always allocate at least one +* FIFO space allocated. Hence we always allocate at least one * cacheline for sprite0 whenever sprite1 is enabled. * * All other plane enable sequences appear immune to this problem.
drivers/gpu/drm/i915/display/icl_dsi.c +2 -2
@@ -243,7 +243,7 @@ static void dsi_program_swing_and_deemphasis(struct intel_encoder *encoder)for_each_dsi_phy (phy, intel_dsi->phys) {/* * Program voltage swing and pre-emphasis level values as per -* table in BSPEC under DDI buffer programing +* table in BSPEC under DDI buffer programming */ mask =SCALING_MODE_SEL_MASK |RTERM_SELECT_MASK ; val = SCALING_MODE_SEL(0x2) | TAP2_DISABLE | TAP3_DISABLE |
@@ -961,7 +961,7 @@ gen11_dsi_set_transcoder_timings(struct intel_encoder *encoder,for_each_dsi_port (port, intel_dsi->ports) { dsi_trans =dsi_port_to_transcoder (port);/* -* FIXME: Programing this by assuming progressive mode, since +* FIXME: Programming this by assuming progressive mode, since * non-interlaced info from VBT is not saved inside * struct drm_display_mode. * For interlace mode: program required pixel minus 2
drivers/gpu/drm/i915/display/intel_audio.c +2 -2
@@ -567,7 +567,7 @@ static void hsw_audio_codec_enable(struct intel_encoder *encoder, AUDIO_ELD_VALID(cpu_transcoder), 0);/* -* The audio componenent is used to convey the ELD +* The audio component is used to convey the ELD * instead using of the hardware ELD buffer. */
@@ -663,7 +663,7 @@ static void ibx_audio_codec_enable(struct intel_encoder *encoder, IBX_ELD_VALID(port), 0);/* -* The audio componenent is used to convey the ELD +* The audio component is used to convey the ELD * instead using of the hardware ELD buffer. */
drivers/gpu/drm/i915/display/intel_cdclk.c +1 -1
@@ -2250,7 +2250,7 @@ static void bxt_sanitize_cdclk(struct intel_display *display)/* * Let's ignore the pipe field, since BIOS could have configured the -* dividers both synching to an active pipe, or asynchronously +* dividers both syncing to an active pipe, or asynchronously * (PIPE_NONE). */ cdctl &= ~bxt_cdclk_cd2x_pipe (display,INVALID_PIPE );
drivers/gpu/drm/i915/display/intel_color.c +1 -1
@@ -998,7 +998,7 @@ static void skl_color_commit_noarm(struct intel_dsb *dsb,* output all black (until CSC_MODE is rearmed and properly latched). * Once PSR exit (and proper register latching) has occurred the * danger is over. Thus when PSR is enabled the CSC coeff/offset -* register programming will be peformed from skl_color_commit_arm() +* register programming will be performed from skl_color_commit_arm() * which is called after PSR exit. */ if (!crtc_state->has_psr)
drivers/gpu/drm/i915/display/intel_crt.c +1 -1
@@ -745,7 +745,7 @@ intel_crt_load_detect(struct intel_crt *crt, enum pipe pipe) transconf | TRANSCONF_FORCE_BORDER);intel_de_posting_read (display,TRANSCONF (display, cpu_transcoder)); -/* Wait for next Vblank to substitue +/* Wait for next Vblank to substitute * border color for Color info */ intel_crtc_wait_for_next_vblank (intel_crtc_for_pipe (display, pipe)); st00 =intel_de_read8 (display, _VGA_MSR_WRITE);
drivers/gpu/drm/i915/display/intel_crtc.c +1 -1
@@ -96,7 +96,7 @@ u32 intel_crtc_max_vblank_count(const struct intel_crtc_state *crtc_state)struct drm_i915_private *dev_priv =to_i915 (crtc_state->uapi.crtc->dev);/* -* From Gen 11, In case of dsi cmd mode, frame counter wouldnt +* From Gen 11, In case of dsi cmd mode, frame counter wouldn't * have updated at the beginning of TE, if we want to use * the hw counter, then we would find it updated in only * the next TE, hence switching to sw counter.
drivers/gpu/drm/i915/display/intel_cursor.c +1 -1
@@ -680,7 +680,7 @@ static void i9xx_cursor_update_arm(struct intel_dsb *dsb,* CURPOS. * * On other platforms CURPOS always requires the -* CURBASE write to arm the update. Additonally +* CURBASE write to arm the update. Additionally * a write to any of the cursor register will cancel * an already armed cursor update. Thus leaving out * the CURBASE write after CURPOS could lead to a
drivers/gpu/drm/i915/display/intel_ddi.c +2 -2
@@ -2948,7 +2948,7 @@ static void intel_ddi_pre_enable_hdmi(struct intel_atomic_state *state,* - crtc_state will be the state of the first stream to be activated on this * port, and it may not be the same stream that will be deactivated last, but * each stream should have a state that is identical when it comes to the DP -* link parameteres +* link parameters */ static void intel_ddi_pre_enable(struct intel_atomic_state *state, struct intel_encoder *encoder,
@@ -3232,7 +3232,7 @@ static void intel_ddi_post_disable(struct intel_atomic_state *state,* be deactivated on this port, and it may not be the same * stream that was activated last, but each stream * should have a state that is identical when it comes to -* the DP link parameteres +* the DP link parameters */ if (intel_crtc_has_type (old_crtc_state,INTEL_OUTPUT_HDMI ))
drivers/gpu/drm/i915/display/intel_display.c +4 -4
@@ -1013,7 +1013,7 @@ static void intel_async_flip_vtd_wa(struct drm_i915_private *i915, {if (DISPLAY_VER (i915) ==9 ) {/* -* "Plane N strech max must be programmed to 11b (x1) +* "Plane N stretch max must be programmed to 11b (x1) * when Async flips are enabled on that plane." */ intel_de_rmw(i915, CHICKEN_PIPESL_1(pipe),
@@ -3529,7 +3529,7 @@ static void ilk_get_pfit_config(struct intel_crtc_state *crtc_state) REG_FIELD_GET(PF_WIN_YSIZE_MASK, size));/* -* We currently do not free assignements of panel fitters on +* We currently do not free assignments of panel fitters on * ivb/hsw (since we don't use the higher upscaling modes which * differentiates them) so just WARN about this case for now. */
@@ -4229,7 +4229,7 @@ int intel_dotclock_calculate(int link_freq,/* * The calculation for the data clock -> pixel clock is: * pixel_clock = ((m/n)*(link_clock * nr_lanes))/bpp -* But we want to avoid losing precison if possible, so: +* But we want to avoid losing precision if possible, so: * pixel_clock = ((m * link_clock * nr_lanes)/(n*bpp)) * * and for link freq (10kbs units) -> pixel clock it is:
@@ -6359,7 +6359,7 @@ static void kill_joiner_secondaries(struct intel_atomic_state *state,* the intel_crtc_enable_flip_done() function. * * As soon as the surface address register is written, flip done interrupt is -* generated and the requested events are sent to the usersapce in the interrupt +* generated and the requested events are sent to the userspace in the interrupt * handler itself. The timestamp and sequence sent during the flip done event * correspond to the last vblank and have no relation to the actual time when * the flip done event was sent.
drivers/gpu/drm/i915/display/intel_display_debugfs.c +1 -1
@@ -940,7 +940,7 @@ static int i915_lpsp_capability_show(struct seq_file *m, void *data)/* * Actually TGL can drive LPSP on port till DDI_C * but there is no physical connected DDI_C on TGL sku's, -* even driver is not initilizing DDI_C port for gen12. +* even driver is not initializing DDI_C port for gen12. */ lpsp_capable = encoder->port <=PORT_B ; else if (DISPLAY_VER(i915) == 11)
drivers/gpu/drm/i915/display/intel_display_power.c +2 -2
@@ -842,7 +842,7 @@ void intel_display_power_put(struct drm_i915_private *dev_priv,* block right away if this is the last reference. * * This function is only for the power domain code's internal use to suppress wakeref -* tracking when the correspondig debug kconfig option is disabled, should not +* tracking when the corresponding debug kconfig option is disabled, should not * be used otherwise. */ void intel_display_power_put_unchecked(struct drm_i915_private *dev_priv,
@@ -1736,7 +1736,7 @@ static void icl_display_core_uninit(struct intel_display *display)gen9_disable_dc_states (display);intel_dmc_disable_program (display); -/* 1. Disable all display engine functions -> aready done */ +/* 1. Disable all display engine functions -> already done */ /* 2. Disable DBUF */ gen9_dbuf_disable (display);
drivers/gpu/drm/i915/display/intel_display_power_well.h +2 -2
@@ -60,7 +60,7 @@ struct i915_power_well_instance {/* unique identifier for this power well */ enum i915_power_well_id id;/* -* Arbitraty data associated with this power well. Platform and power +* Arbitrary data associated with this power well. Platform and power * well specific. */ union {
@@ -77,7 +77,7 @@ struct i915_power_well_instance {struct {/* * request/status flag index in the power well -* constrol/status registers. +* control/status registers. */ u8 idx; } hsw;
drivers/gpu/drm/i915/display/intel_display_types.h +2 -2
@@ -732,7 +732,7 @@ struct intel_crtc_scaler_state {* * intel_atomic_setup_scalers will setup available scalers to users * requesting scalers. It will gracefully fail if request exceeds -* avilability. +* availability. */ #define SKL_CRTC_INDEX 31unsigned scaler_users;
@@ -1113,7 +1113,7 @@ struct intel_crtc_state {u16 su_y_granularity;/* -* Frequence the dpll for the port should run at. Differs from the +* Frequency the dpll for the port should run at. Differs from the * adjusted dotclock e.g. for DP or 10/12bpc hdmi mode. This is also * already multiplied by pixel_multiplier. */
drivers/gpu/drm/i915/display/intel_dp.c +1 -1
@@ -1075,7 +1075,7 @@ static bool source_can_output(struct intel_dp *intel_dp,/* * No YCbCr output support on gmch platforms. * Also, ILK doesn't seem capable of DP YCbCr output. -* The displayed image is severly corrupted. SNB+ is fine. +* The displayed image is severely corrupted. SNB+ is fine. */ return !HAS_GMCH (display) && !display->platform.ironlake;
drivers/gpu/drm/i915/display/intel_dp_link_training.c +2 -2
@@ -783,7 +783,7 @@ intel_dp_prepare_link_train(struct intel_dp *intel_dp,/* * WaEdpLinkRateDataReload * -* Parade PS8461E MUX (used on varius TGL+ laptops) needs +* Parade PS8461E MUX (used on various TGL+ laptops) needs * to snoop the link rates reported by the sink when we * use LINK_RATE_SET in order to operate in jitter cleaning * mode (as opposed to redriver mode). Unfortunately it
@@ -1629,7 +1629,7 @@ void intel_dp_start_link_train(struct intel_atomic_state *state,/* * Ignore the link failure in CI * -* In fixed enviroments like CI, sometimes unexpected long HPDs are +* In fixed environments like CI, sometimes unexpected long HPDs are * generated by the displays. If ignore_long_hpd flag is set, such long * HPDs are ignored. And probably as a consequence of these ignored * long HPDs, subsequent link trainings are failed resulting into CI
drivers/gpu/drm/i915/display/intel_dp_mst.c +2 -2
@@ -824,7 +824,7 @@ static int intel_dp_mst_check_bw(struct intel_atomic_state *state,* @state must be recomputed with the updated @limits. * * Returns: -* - 0 if the confugration is valid +* - 0 if the configuration is valid * - %-EAGAIN, if the configuration is invalid and @limits got updated * with fallback values with which the configuration of all CRTCs in * @state must be recomputed
@@ -2043,7 +2043,7 @@ bool intel_dp_mst_crtc_needs_modeset(struct intel_atomic_state *state,* @intel_dp: DP port object * * Prepare an MST link for topology probing, programming the target -* link parameters to DPCD. This step is a requirement of the enumaration +* link parameters to DPCD. This step is a requirement of the enumeration * of path resources during probing. */ void intel_dp_mst_prepare_probe (struct intel_dp *intel_dp)
drivers/gpu/drm/i915/display/intel_dp_test.c +2 -2
@@ -257,7 +257,7 @@ static void intel_dp_phy_pattern_update(struct intel_dp *intel_dp,/* * FIXME: Ideally pattern should come from DPCD 0x250. As * current firmware of DPR-100 could not set it, so hardcoding -* now for complaince test. +* now for compliance test. */ drm_dbg_kms (display->drm,"Set 80Bit Custom Phy Test Pattern 0x3e0f83e0 0x0f83e0f8 0x0000f83e\n" );
@@ -275,7 +275,7 @@ static void intel_dp_phy_pattern_update(struct intel_dp *intel_dp,/* * FIXME: Ideally pattern should come from DPCD 0x24A. As * current firmware of DPR-100 could not set it, so hardcoding -* now for complaince test. +* now for compliance test. */ drm_dbg_kms (display->drm,"Set HBR2 compliance Phy Test Pattern\n" );
drivers/gpu/drm/i915/display/intel_dp_tunnel.c +1 -1
@@ -647,7 +647,7 @@ void intel_dp_tunnel_atomic_clear_stream_bw(struct intel_atomic_state *state,* @state must be recomputed with the updated @limits. * * Returns: -* - 0 if the confugration is valid +* - 0 if the configuration is valid * - %-EAGAIN, if the configuration is invalid and @limits got updated * with fallback values with which the configuration of all CRTCs in * @state must be recomputed
drivers/gpu/drm/i915/display/intel_dpio_phy.c +1 -1
@@ -40,7 +40,7 @@* VLV, CHV and BXT have slightly peculiar display PHYs for driving DP/HDMI * ports. DPIO is the name given to such a display PHY. These PHYs * don't follow the standard programming model using direct MMIO -* registers, and instead their registers must be accessed trough IOSF +* registers, and instead their registers must be accessed through IOSF * sideband. VLV has one such PHY for driving ports B and C, and CHV * adds another PHY for driving port D. Each PHY responds to specific * IOSF-SB port.
drivers/gpu/drm/i915/display/intel_dpll.c +1 -1
@@ -2123,7 +2123,7 @@ static void chv_prepare_pll(const struct intel_crtc_state *crtc_state) tmp |=DPIO_CHV_TDC_TARGET_CNT (tribuf_calcntr);vlv_dpio_write (dev_priv, phy,CHV_PLL_DW8 (ch), tmp); -/* AFC Recal */ +/* AFC Recall */ vlv_dpio_write (dev_priv, phy,CHV_CMN_DW14 (ch),vlv_dpio_read (dev_priv, phy,CHV_CMN_DW14 (ch)) |DPIO_AFC_RECAL );
drivers/gpu/drm/i915/display/intel_dpll_mgr.c +1 -1
@@ -4372,7 +4372,7 @@ void intel_shared_dpll_init(struct drm_i915_private *i915)* calling intel_shared_dpll_swap_state(). * * Returns: -* 0 on success, negative error code on falure. +* 0 on success, negative error code on failure. */ int intel_compute_shared_dplls(struct intel_atomic_state *state, struct intel_crtc *crtc,
drivers/gpu/drm/i915/display/intel_dpll_mgr.h +1 -1
@@ -318,7 +318,7 @@ struct dpll_info {const struct intel_shared_dpll_funcs *funcs;/** -* @id: unique indentifier for this DPLL +* @id: unique identifier for this DPLL */ enum intel_dpll_id id;
drivers/gpu/drm/i915/display/intel_dsb.c +1 -1
@@ -825,7 +825,7 @@ void intel_dsb_irq_handler(struct intel_display *display,if (crtc->dsb_event) {/* -* Update vblank counter/timestmap in case it +* Update vblank counter/timestamp in case it * hasn't been done yet for this frame. */ drm_crtc_accurate_vblank_count (&crtc->base);
drivers/gpu/drm/i915/display/intel_dsi_vbt.c +1 -1
@@ -582,7 +582,7 @@ static const fn_mipi_elem_exec exec_elem[] = {/* * MIPI Sequence from VBT #53 parsing logic -* We have already separated each seqence during bios parsing +* We have already separated each sequence during bios parsing * Following is generic execution function for any sequence */
drivers/gpu/drm/i915/display/intel_dvo_dev.h +1 -1
@@ -57,7 +57,7 @@ struct intel_dvo_dev_ops {* Turn on/off output. * * Because none of our dvo drivers support an intermediate power levels, -* we don't expose this in the interfac. +* we don't expose this in the interface. */ void (*dpms)(struct intel_dvo_device *dvo,bool enable);
drivers/gpu/drm/i915/display/intel_fdi.c +1 -1
@@ -390,7 +390,7 @@ static int intel_fdi_atomic_check_bw(struct intel_atomic_state *state,* @state must be recomputed with the updated @limits. * * Returns: -* - 0 if the confugration is valid +* - 0 if the configuration is valid * - %-EAGAIN, if the configuration is invalid and @limits got updated * with fallback values with which the configuration of all CRTCs * in @state must be recomputed
drivers/gpu/drm/i915/display/intel_fifo_underrun.c +1 -1
@@ -290,7 +290,7 @@ static bool __intel_set_cpu_fifo_underrun_reporting(struct drm_device *dev, }/** -* intel_set_cpu_fifo_underrun_reporting - set cpu fifo underrrun reporting state +* intel_set_cpu_fifo_underrun_reporting - set cpu fifo underrun reporting state * @dev_priv: i915 device instance * @pipe: (CPU) pipe to set state for * @enable: whether underruns should be reported or not
drivers/gpu/drm/i915/display/intel_frontbuffer.c +1 -1
@@ -227,7 +227,7 @@ static void intel_frontbuffer_flush_work(struct work_struct *work)* @front: GEM object to flush * * This function is targeted for our dirty callback for queueing flush when -* dma fence is signales +* dma fence is signals */ void intel_frontbuffer_queue_flush (struct intel_frontbuffer *front) {
drivers/gpu/drm/i915/display/intel_hdcp.c +4 -4
@@ -353,7 +353,7 @@ static bool hdcp_key_loadable(struct intel_display *display)/* * Another req for hdcp key loadability is enabled state of pll for -* cdclk. Without active crtc we wont land here. So we are assuming that +* cdclk. Without active crtc we won't land here. So we are assuming that * cdclk is already on. */
@@ -1544,9 +1544,9 @@ static int hdcp2_authentication_key_exchange(struct intel_connector *connector)* with a 50ms delay if not hdcp2 capable for DP/DPMST encoders * (dock decides to stop advertising hdcp2 capability for some reason). * The reason being that during suspend resume dock usually keeps the -* HDCP2 registers inaccesible causing AUX error. This wouldn't be a +* HDCP2 registers inaccessible causing AUX error. This wouldn't be a * big problem if the userspace just kept retrying with some delay while -* it continues to play low value content but most userpace applications +* it continues to play low value content but most userspace applications * end up throwing an error when it receives one from KMD. This makes * sure we give the dock and the sink devices to complete its power cycle * and then try HDCP authentication. The values of 10 and delay of 50ms
@@ -2554,7 +2554,7 @@ void intel_hdcp_update_pipe(struct intel_atomic_state *state,/* * During the HDCP encryption session if Type change is requested, -* disable the HDCP and reenable it with new TYPE value. +* disable the HDCP and re-enable it with new TYPE value. */ if (conn_state->content_protection == DRM_MODE_CONTENT_PROTECTION_UNDESIRED ||
drivers/gpu/drm/i915/display/intel_hotplug.c +3 -3
@@ -806,7 +806,7 @@ static void i915_hpd_poll_init_work(struct work_struct *work)* of the powerwells. * * Since this function can get called in contexts where we're already holding -* dev->mode_config.mutex, we do the actual hotplug enabling in a seperate +* dev->mode_config.mutex, we do the actual hotplug enabling in a separate * worker. * * Also see: intel_hpd_init() and intel_hpd_poll_disable().
@@ -823,7 +823,7 @@ void intel_hpd_poll_enable(struct drm_i915_private *dev_priv)/* * We might already be holding dev->mode_config.mutex, so do this in a -* seperate worker +* separate worker * As well, there's no issue if we race here since we always reschedule * this worker anyway */
@@ -844,7 +844,7 @@ void intel_hpd_poll_enable(struct drm_i915_private *dev_priv)* of the powerwells. * * Since this function can get called in contexts where we're already holding -* dev->mode_config.mutex, we do the actual hotplug enabling in a seperate +* dev->mode_config.mutex, we do the actual hotplug enabling in a separate * worker. * * Also used during driver init to initialize connector->polled
drivers/gpu/drm/i915/display/intel_hotplug_irq.c +1 -1
@@ -197,7 +197,7 @@ void i915_hotplug_interrupt_update_locked(struct drm_i915_private *dev_priv,* @bits: bits to enable * NOTE: the HPD enable bits are modified both inside and outside * of an interrupt context. To avoid that read-modify-write cycles -* interfer, these bits are protected by a spinlock. Since this +* interfere, these bits are protected by a spinlock. Since this * function is usually not called from a context where the lock is * held already, this function acquires the lock itself. A non-locking * version is also available.
drivers/gpu/drm/i915/display/intel_link_bw.c +1 -1
@@ -221,7 +221,7 @@ assert_link_limit_change_valid(struct intel_display *display,* limits in @new_limits if there is a BW limitation. * * Returns: -* - 0 if the confugration is valid +* - 0 if the configuration is valid * - %-EAGAIN, if the configuration is invalid and @new_limits got updated * with fallback values with which the configuration of all CRTCs * in @state must be recomputed
drivers/gpu/drm/i915/display/intel_overlay.c +14 -7
@@ -43,10 +43,12 @@#include "intel_overlay.h" #include "intel_pci_config.h" -/* Limits for overlay size. According to intel doc, the real limits are: +/* +* Limits for overlay size. According to intel doc, the real limits are: * Y width: 4095, UV width (planar): 2047, Y height: 2047, * UV width (planar): * 1023. But the xorg thinks 2048 for height and width. Use -* the mininum of both. */ +* the minimum of both. +*/ #define IMAGE_MAX_WIDTH 2048#define IMAGE_MAX_HEIGHT 2046/* 2 * 1023 */ /* on 830 and 845 these large limits result in the card hanging */
@@ -408,10 +410,12 @@ static int intel_overlay_off(struct intel_overlay *overlay)drm_WARN_ON (display->drm, !overlay->active); -/* According to intel docs the overlay hw may hang (when switching +/* +* According to intel docs the overlay hw may hang (when switching * off) without loading the filter coeffs. It is however unclear whether * this applies to the disabling of the overlay or to the switching off -* of the hw. Do it in both cases */ +* of the hw. Do it in both cases. +*/ flip_addr |=OFC_UPDATE ; rq =alloc_request (overlay, intel_overlay_off_tail);
@@ -442,14 +446,17 @@ static int intel_overlay_off(struct intel_overlay *overlay)return i915_active_wait (&overlay->last_flip); } -/* recover from an interruption due to a signal -* We have to be careful not to repeat work forever an make forward progess. */ +/* +* Recover from an interruption due to a signal. +* We have to be careful not to repeat work forever an make forward progress. +*/ static int intel_overlay_recover_from_interrupt (struct intel_overlay *overlay) {return i915_active_wait (&overlay->last_flip); } -/* Wait for pending overlay flip and release old frame. +/* +* Wait for pending overlay flip and release old frame. * Needs to be called before the overlay register are changed * via intel_overlay_(un)map_regs */
drivers/gpu/drm/i915/display/intel_pmdemand.c +1 -1
@@ -576,7 +576,7 @@ intel_pmdemand_program_params(struct drm_i915_private *i915, goto unlock;drm_dbg_kms (&i915->drm, -"initate pmdemand request values: (0x%x 0x%x)\n" , +"initiate pmdemand request values: (0x%x 0x%x)\n" , mod_reg1, mod_reg2); intel_de_rmw(i915, XELPDP_INITIATE_PMDEMAND_REQUEST(1), 0,
drivers/gpu/drm/i915/display/intel_pps.c +1 -1
@@ -1502,7 +1502,7 @@ static void pps_init_delays_vbt(struct intel_dp *intel_dp,return ;/* On Toshiba Satellite P50-C-18C system the VBT T12 delay -* of 500ms appears to be too short. Ocassionally the panel +* of 500ms appears to be too short. Occasionally the panel * just fails to power back on. Increasing the delay to 800ms * seems sufficient to avoid this problem. */
drivers/gpu/drm/i915/display/intel_psr.c +4 -4
@@ -154,7 +154,7 @@* * Unfortunately CHICKEN_TRANS itself seems to be double buffered * and thus won't latch until the first vblank. So with DC states -* enabled the register effctively uses the reset value during DC5 +* enabled the register effectively uses the reset value during DC5 * exit+PSR exit sequence, and thus the bit does nothing until * latched by the vblank that it was trying to prevent from being * generated in the first place. So we should probably call this
@@ -171,7 +171,7 @@* CHICKEN_PIPESL_1[15]/HSW_UNMASK_VBL_TO_REGS_IN_SRD (hsw): * * On BDW without this bit is no vblanks whatsoever are -* generated after PSR exit. On HSW this has no apparant effect. +* generated after PSR exit. On HSW this has no apparent effect. * WaPsrDPRSUnmaskVBlankInSRD says to set this. * * The rest of the bits are more self-explanatory and/or
@@ -185,7 +185,7 @@* has_psr + has_panel_replay: Panel Replay * has_psr + has_panel_replay + has_sel_update: Panel Replay Selective Update * -* Description of some intel_psr varibles. enabled, panel_replay_enabled, +* Description of some intel_psr variables. enabled, panel_replay_enabled, * sel_update_enabled * * enabled (alone): PSR1
@@ -1043,7 +1043,7 @@ static void hsw_activate_psr2(struct intel_dp *intel_dp) };/* * Still using the default IO_BUFFER_WAKE and FAST_WAKE, see -* comments bellow for more information +* comments below for more information */ int tmp;
drivers/gpu/drm/i915/display/intel_sdvo.c +2 -2
@@ -1741,8 +1741,8 @@ static void intel_sdvo_get_config(struct intel_encoder *encoder,* pixel multiplier readout is tricky: Only on i915g/gm it is stored in * the sdvo port register, on all other platforms it is part of the dpll * state. Since the general pipe state readout happens before the -* encoder->get_config we so already have a valid pixel multplier on all -* other platfroms. +* encoder->get_config we so already have a valid pixel multiplier on all +* other platforms. */ if (IS_I915G (dev_priv) ||IS_I915GM (dev_priv)) { pipe_config->pixel_multiplier =
drivers/gpu/drm/i915/display/intel_sdvo_regs.h +1 -1
@@ -244,7 +244,7 @@ struct intel_sdvo_set_target_input_args {* Takes a struct intel_sdvo_output_flags of which outputs are targeted by * future output commands. * -* Affected commands inclue SET_OUTPUT_TIMINGS_PART[12], +* Affected commands include SET_OUTPUT_TIMINGS_PART[12], * GET_OUTPUT_TIMINGS_PART[12], and GET_OUTPUT_PIXEL_CLOCK_RANGE. */ #define SDVO_CMD_SET_TARGET_OUTPUT 0x11
drivers/gpu/drm/i915/display/intel_snps_phy.c +1 -1
@@ -521,7 +521,7 @@ static const struct intel_mpllb_state dg2_hdmi_148_5 = { REG_FIELD_PREP(SNPS_PHY_MPLLB_SSC_UP_SPREAD, 1), }; -/* values in the below table are calculted using the algo */ +/* values in the below table are calculated using the algo */ static const struct intel_mpllb_state dg2_hdmi_25200 = { .clock =25200 , .ref_control =
drivers/gpu/drm/i915/display/intel_vblank.c +1 -1
@@ -369,7 +369,7 @@ static bool i915_get_crtc_scanoutpos(struct drm_crtc *_crtc,/* * Already exiting vblank? If so, shift our position -* so it looks like we're already apporaching the full +* so it looks like we're already approaching the full * vblank end. This should make the generated timestamp * more or less match when the active portion will start. */
drivers/gpu/drm/i915/display/intel_vdsc.c +1 -1
@@ -99,7 +99,7 @@ calculate_rc_params(struct drm_dsc_config *vdsc_cfg)* According to DSC 1.2 spec in Section 4.1 if native_420 is set: * -second_line_bpg_offset is 12 in general and equal to 2*(slice_height-1) if slice * height < 8. -* -second_line_offset_adj is 512 as shown by emperical values to yield best chroma +* -second_line_offset_adj is 512 as shown by empirical values to yield best chroma * preservation in second line. * -nsl_bpg_offset is calculated as second_line_offset/slice_height -1 then rounded * up to 16 fractional bits, we left shift second line offset by 11 to preserve 11
drivers/gpu/drm/i915/display/skl_scaler.c +24 -24
55 lines not on this page · raw message
drivers/gpu/drm/i915/display/skl_universal_plane.c +2 -2
@@ -1024,7 +1024,7 @@ static u32 skl_plane_ctl_rotate(unsigned int rotate)break ;/* * DRM_MODE_ROTATE_ is counter clockwise to stay compatible with Xrandr -* while i915 HW rotation is clockwise, thats why this swapping. +* while i915 HW rotation is clockwise, that's why this swapping. */ case DRM_MODE_ROTATE_90 :return PLANE_CTL_ROTATE_270 ;
@@ -2885,7 +2885,7 @@ skl_get_initial_plane_config(struct intel_crtc *crtc,/* * DRM_MODE_ROTATE_ is counter clockwise to stay compatible with Xrandr -* while i915 HW rotation is clockwise, thats why this swapping. +* while i915 HW rotation is clockwise, that's why this swapping. */ switch (val &PLANE_CTL_ROTATE_MASK ) {case PLANE_CTL_ROTATE_0 :
drivers/gpu/drm/i915/display/skl_watermark.c +2 -2
@@ -584,7 +584,7 @@ u32 skl_ddb_dbuf_slice_mask(struct drm_i915_private *i915,/* * Per plane DDB entry can in a really worst case be on multiple slices -* but single entry is anyway contigious. +* but single entry is anyway contiguous. */ while (start_slice <= end_slice) { slice_mask |=BIT (start_slice);
@@ -3197,7 +3197,7 @@ adjust_wm_latency(struct drm_i915_private *i915,* WaWmMemoryReadLatency * * punit doesn't take into account the read latency so we need -* to add proper adjustement to each valid level we retrieve +* to add proper adjustment to each valid level we retrieve * from the punit when level 0 response data is 0us. */ if (wm[0 ] ==0 ) {
drivers/gpu/drm/i915/display/vlv_dsi.c +1 -1
@@ -59,7 +59,7 @@ static u16 txbyteclkhs(u16 pixels, int bpp, int lane_count, 8 * 100), lane_count); } -/* return pixels equvalent to txbyteclkhs */ +/* return pixels equivalent to txbyteclkhs */ static u16 pixels_from_txbyteclkhs (u16 clk_hs,int bpp,int lane_count,u16 burst_mode_ratio) {
drivers/gpu/drm/i915/display/vlv_dsi_pll.c +1 -1
@@ -459,7 +459,7 @@ static void bxt_dsi_program_clocks(struct drm_device *dev, enum port port,/* * rx divider value needs to be updated in the -* two differnt bit fields in the register hence splitting the +* two different bit fields in the register hence splitting the * rx divider value accordingly */ rx_div_lower = rx_div &RX_DIVIDER_BIT_1_2 ;
Signature · 1 line
2.25.1
PATCH v2 8/8 drm/i915: fix typos in drm/i915 files
In reply to Nitin GoteFix all typos in files under drm/i915 reported by codespell tool.
v2: Fix commenting style <Andi>
--- drivers/gpu/drm/i915/i915_driver.c | 2 +- drivers/gpu/drm/i915/i915_gem.c | 2 +- drivers/gpu/drm/i915/i915_irq.c | 2 +- drivers/gpu/drm/i915/i915_module.c | 2 +- drivers/gpu/drm/i915/i915_perf.c | 10 ++++++---- drivers/gpu/drm/i915/i915_pmu.h | 2 +- drivers/gpu/drm/i915/i915_reg.h | 4 ++-- drivers/gpu/drm/i915/i915_request.c | 2 +- drivers/gpu/drm/i915/i915_request.h | 4 ++-- drivers/gpu/drm/i915/i915_vma.c | 8 ++++---- drivers/gpu/drm/i915/intel_clock_gating.c | 2 +- drivers/gpu/drm/i915/intel_gvt.c | 2 +- drivers/gpu/drm/i915/intel_gvt_mmio_table.c | 2 +- drivers/gpu/drm/i915/intel_runtime_pm.c | 2 +- drivers/gpu/drm/i915/intel_runtime_pm.h | 2 +- drivers/gpu/drm/i915/intel_uncore.c | 2 +- 16 files changed, 26 insertions(+), 24 deletions(-)
drivers/gpu/drm/i915/i915_driver.c +1 -1
@@ -1130,7 +1130,7 @@ static int i915_drm_suspend_late(struct drm_device *dev, bool hibernation)* leave the device in D0 on those platforms and hope the BIOS will * power down the device properly. The issue was seen on multiple old * GENs with different BIOS vendors, so having an explicit blacklist -* is inpractical; apply the workaround on everything pre GEN6. The +* is impractical; apply the workaround on everything pre GEN6. The * platforms where the issue was seen: * Lenovo Thinkpad X301, X61s, X60, T60, X41 * Fujitsu FSC S7110
drivers/gpu/drm/i915/i915_gem.c +1 -1
@@ -1146,7 +1146,7 @@ int i915_gem_init(struct drm_i915_private *dev_priv)int ret;/* -* In the proccess of replacing cache_level with pat_index a tricky +* In the process of replacing cache_level with pat_index a tricky * dependency is created on the definition of the enum i915_cache_level. * in case this enum is changed, PTE encode would be broken. * Add a WARNING here. And remove when we completely quit using this
drivers/gpu/drm/i915/i915_irq.c +1 -1
@@ -1231,7 +1231,7 @@ int intel_irq_install(struct drm_i915_private *dev_priv) }/** -* intel_irq_uninstall - finilizes all irq handling +* intel_irq_uninstall - finalizes all irq handling * @dev_priv: i915 device instance * * This stops interrupt and hotplug handling and unregisters and frees all
drivers/gpu/drm/i915/i915_module.c +1 -1
@@ -24,7 +24,7 @@ static int i915_check_nomodeset(void)bool use_kms = true;/* -* Enable KMS by default, unless explicitly overriden by +* Enable KMS by default, unless explicitly overridden by * either the i915.modeset parameter or by the * nomodeset boot option. */
drivers/gpu/drm/i915/i915_perf.c +6 -4
@@ -570,7 +570,7 @@ static bool oa_buffer_check_unlocked(struct i915_perf_stream *stream) tail = hw_tail;/* Walk the stream backward until we find a report with report -* id and timestmap not at 0. Since the circular buffer pointers +* id and timestamp not at 0. Since the circular buffer pointers * progress by increments of 64 bytes and that reports can be up * to 256 bytes long, we can't tell whether a report has fully * landed in memory before the report id and timestamp of the
@@ -3849,7 +3849,7 @@ i915_perf_open_ioctl_locked(struct i915_perf *perf, }/* -* Asking for SSEU configuration is a priviliged operation. +* Asking for SSEU configuration is a privileged operation. */ if (props->has_sseu) privileged_op = true;
@@ -4478,14 +4478,16 @@ static bool gen12_is_valid_mux_addr(struct i915_perf *perf, u32 addr)static u32 mask_reg_value (u32 reg,u32 val) { -/* HALF_SLICE_CHICKEN2 is programmed with a the +/* +* HALF_SLICE_CHICKEN2 is programmed with a the * WaDisableSTUnitPowerOptimization workaround. Make sure the value * programmed by userspace doesn't change this. */ if (REG_EQUAL (reg,HALF_SLICE_CHICKEN2 )) val = val & ~_MASKED_BIT_ENABLE (GEN8_ST_PO_DISABLE ); -/* WAIT_FOR_RC6_EXIT has only one bit fullfilling the function +/* +* WAIT_FOR_RC6_EXIT has only one bit fulfilling the function * indicated by its name and a bunch of selection fields used by OA * configs. */
drivers/gpu/drm/i915/i915_pmu.h +1 -1
@@ -103,7 +103,7 @@ struct i915_pmu {/** * @timer_last: * -* Timestmap of the previous timer invocation. +* Timestamp of the previous timer invocation. */ ktime_t timer_last;
drivers/gpu/drm/i915/i915_reg.h +2 -2
@@ -84,7 +84,7 @@* Try to name registers according to the specs. If the register name changes in * the specs from platform to another, stick to the original name. * -* Try to re-use existing register macro definitions. Only add new macros for +* Try to reuse existing register macro definitions. Only add new macros for * new register offsets, or when the register contents have changed enough to * warrant a full redefinition. *
@@ -492,7 +492,7 @@#define MBUS_ABOX_BT_CREDIT_POOL1_MASK (0x1F << 0)#define MBUS_ABOX_BT_CREDIT_POOL1 (x) ((x) << 0) -/* Make render/texture TLB fetches lower priorty than associated data +/* Make render/texture TLB fetches lower priority than associated data * fetches. This is not turned on by default */ #define MI_ARB_RENDER_TLB_LOW_PRIORITY (1 << 15)
drivers/gpu/drm/i915/i915_request.c +1 -1
@@ -473,7 +473,7 @@ static bool __request_in_flight(const struct i915_request *signal)* to avoid tearing.] * * Note that the read of *execlists->active may race with the promotion -* of execlists->pending[] to execlists->inflight[], overwritting +* of execlists->pending[] to execlists->inflight[], overwriting * the value at *execlists->active. This is fine. The promotion implies * that we received an ACK from the HW, and so the context is not * stuck -- if we do not see ourselves in *active, the inflight status
drivers/gpu/drm/i915/i915_request.h +2 -2
@@ -161,7 +161,7 @@ enum {* parent-child relationship (parallel submission, multi-lrc) that * hit an error while generating requests in the execbuf IOCTL. * Indicates this request should be skipped as another request in -* submission / relationship encoutered an error. +* submission / relationship encountered an error. */ I915_FENCE_FLAG_SKIP_PARALLEL,
@@ -187,7 +187,7 @@ enum {* RCU lookup of it that may race against reallocation of the struct * from the slab freelist. We intentionally do not zero the structure on * allocation so that the lookup can use the dangling pointers (and is -* cogniscent that those pointers may be wrong). Instead, everything that +* cognisant that those pointers may be wrong). Instead, everything that * needs to be initialised must be done so explicitly. * * The requests are reference counted.
drivers/gpu/drm/i915/i915_vma.c +4 -4
@@ -778,8 +778,8 @@ bool i915_gem_valid_gtt_space(struct i915_vma *vma, unsigned long color)* @flags: mask of PIN_* flags to use * * First we try to allocate some free space that meets the requirements for -* the VMA. Failiing that, if the flags permit, it will evict an old VMA, -* preferrably the oldest idle entry to make room for the new VMA. +* the VMA. Failing that, if the flags permit, it will evict an old VMA, +* preferably the oldest idle entry to make room for the new VMA. * * Returns: * 0 on success, negative error code otherwise.
@@ -877,7 +877,7 @@ i915_vma_insert(struct i915_vma *vma, struct i915_gem_ww_ctx *ww,* objects which need to be tightly packed into the low 32bits. * * Note that we assume that GGTT are limited to 4GiB for the -* forseeable future. See also i915_ggtt_offset(). +* foreseeable future. See also i915_ggtt_offset(). */ if (upper_32_bits(end - 1) && vma->page_sizes.sg > I915_GTT_PAGE_SIZE &&
@@ -1001,7 +1001,7 @@ rotate_pages(struct drm_i915_gem_object *obj, unsigned int offset,/* * The DE ignores the PTEs for the padding tiles, the sg entry -* here is just a conenience to indicate how many padding PTEs +* here is just a convenience to indicate how many padding PTEs * to insert at this spot. */ sg_set_page (sg,NULL , left,0 );
drivers/gpu/drm/i915/intel_clock_gating.c +1 -1
@@ -682,7 +682,7 @@ static void i85x_init_clock_gating(struct drm_i915_private *i915)* Have FBC ignore 3D activity since we use software * render tracking, and otherwise a pure 3D workload * (even if it just renders a single frame and then does -* abosultely nothing) would not allow FBC to recompress +* absolutely nothing) would not allow FBC to recompress * until a 2D blit occurs. */ intel_uncore_write(&i915->uncore, SCPD0,
drivers/gpu/drm/i915/intel_gvt.c +1 -1
@@ -265,7 +265,7 @@ void intel_gvt_driver_remove(struct drm_i915_private *dev_priv) }/** -* intel_gvt_resume - GVT resume routine wapper +* intel_gvt_resume - GVT resume routine wrapper * * @dev_priv: drm i915 private * *
drivers/gpu/drm/i915/intel_gvt_mmio_table.c +1 -1
@@ -1260,7 +1260,7 @@ static int iterate_bxt_mmio(struct intel_gvt_mmio_table_iter *iter)/** * intel_gvt_iterate_mmio_table - Iterate the GVT MMIO table -* @iter: the interator +* @iter: the iterator * * This function is called for iterating the GVT MMIO table when i915 is * taking the snapshot of the HW and GVT is building MMIO tracking table.
drivers/gpu/drm/i915/intel_runtime_pm.c +1 -1
@@ -375,7 +375,7 @@ void intel_runtime_pm_enable(struct intel_runtime_pm *rpm)* leave the device suspended skipping the driver's suspend handlers * if the device was already runtime suspended. This is needed due to * the difference in our runtime and system suspend sequence and -* becaue the HDA driver may require us to enable the audio power +* because the HDA driver may require us to enable the audio power * domain during system suspend. */ dev_pm_set_driver_flags (kdev,DPM_FLAG_NO_DIRECT_COMPLETE );
drivers/gpu/drm/i915/intel_runtime_pm.h +1 -1
@@ -31,7 +31,7 @@ struct drm_printer;* it can be changed with the standard runtime PM files from sysfs. * * The irqs_disabled variable becomes true exactly after we disable the IRQs and -* goes back to false exactly before we reenable the IRQs. We use this variable +* goes back to false exactly before we re-enable the IRQs. We use this variable * to check if someone is trying to enable/disable IRQs while they're supposed * to be disabled. This shouldn't happen and we'll print some error messages in * case it happens.
drivers/gpu/drm/i915/intel_uncore.c +1 -1
@@ -2477,7 +2477,7 @@ static int sanity_check_mmio_access(struct intel_uncore *uncore)/* * Sanitycheck that MMIO access to the device is working properly. If -* the CPU is unable to communcate with a PCI device, BAR reads will +* the CPU is unable to communicate with a PCI device, BAR reads will * return 0xFFFFFFFF. Let's make sure the device isn't in this state * before we start trying to access registers. *
Signature · 1 line
2.25.1
Patchwork
CI✗ Fi.CI.BUILD: failure for Fix all typos in i915 (rev2)
In reply to Nitin Gote== Series Details ==
== Series Details ==
Series: Fix all typos in i915 (rev2)
URL : https://patchwork.freedesktop.org/series/143146/
State : failure
== Summary ==
Error: patch https://patchwork.freedesktop.org/api/1.0/series/143146/revisions/2/mbox/ not applied
Applying: drm/i915/gt: fix typos in i915/gt files.
Applying: drm/i915/gvt: fix typos in i915/gvt files
Applying: drm/i915/gem: fix typos in i915/gem files
Applying: drm/i915/pxp: fix typos in i915/pxp files
Applying: drm/i915/selftests: fix typos in i915/selftests files
Applying: drm/i915/soc: fix typos in i915/soc files
Applying: drm/i915/display: fix typos in i915/display files
Using index info to reconstruct a base tree...
M drivers/gpu/drm/i915/display/dvo_ns2501.c
M drivers/gpu/drm/i915/display/icl_dsi.c
M drivers/gpu/drm/i915/display/intel_cdclk.c
M drivers/gpu/drm/i915/display/intel_crt.c
M drivers/gpu/drm/i915/display/intel_ddi.c
M drivers/gpu/drm/i915/display/intel_display_power.c
M drivers/gpu/drm/i915/display/intel_display_types.h
M drivers/gpu/drm/i915/display/intel_dp.c
M drivers/gpu/drm/i915/display/intel_dp_mst.c
M drivers/gpu/drm/i915/display/intel_dvo_dev.h
M drivers/gpu/drm/i915/display/intel_hdcp.c
M drivers/gpu/drm/i915/display/intel_pmdemand.c
M drivers/gpu/drm/i915/display/intel_sdvo.c
M drivers/gpu/drm/i915/display/skl_scaler.c
M drivers/gpu/drm/i915/display/skl_watermark.c
M drivers/gpu/drm/i915/display/vlv_dsi.c
Falling back to patching base and 3-way merge...
Auto-merging drivers/gpu/drm/i915/display/vlv_dsi.c
Auto-merging drivers/gpu/drm/i915/display/skl_watermark.c
Auto-merging drivers/gpu/drm/i915/display/skl_scaler.c
Auto-merging drivers/gpu/drm/i915/display/intel_sdvo.c
Auto-merging drivers/gpu/drm/i915/display/intel_pmdemand.c
CONFLICT (content): Merge conflict in drivers/gpu/drm/i915/display/intel_pmdemand.c Auto-merging drivers/gpu/drm/i915/display/intel_hdcp.c
Auto-merging drivers/gpu/drm/i915/display/intel_dvo_dev.h
Auto-merging drivers/gpu/drm/i915/display/intel_dp_mst.c
Auto-merging drivers/gpu/drm/i915/display/intel_dp.c
Auto-merging drivers/gpu/drm/i915/display/intel_display_types.h
Auto-merging drivers/gpu/drm/i915/display/intel_display_power.c
Auto-merging drivers/gpu/drm/i915/display/intel_ddi.c
Auto-merging drivers/gpu/drm/i915/display/intel_crt.c
Auto-merging drivers/gpu/drm/i915/display/intel_cdclk.c
Auto-merging drivers/gpu/drm/i915/display/icl_dsi.c
Auto-merging drivers/gpu/drm/i915/display/dvo_ns2501.c
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0007 drm/i915/display: fix typos in i915/display files
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".
Build failed, no error log produced