drm/i915: fix typos and repeated words in comments
Subsystems (4)
PATCH 1/2 drm/i915: fix typos in comments
In reply to Hemanth SelamFix typos in comments, reported by scripts/checkpatch.pl using the misspelling list in scripts/spelling.txt. Only touches comments, no code changes.
--- drivers/gpu/drm/i915/display/icl_dsi.c | 2 +- drivers/gpu/drm/i915/display/intel_hdcp.c | 2 +- drivers/gpu/drm/i915/display/intel_hdmi.c | 4 ++-- drivers/gpu/drm/i915/display/intel_vdsc.c | 2 +- drivers/gpu/drm/i915/display/intel_vrr.c | 2 +- drivers/gpu/drm/i915/display/skl_scaler.c | 2 +- drivers/gpu/drm/i915/display/vlv_dsi.c | 2 +- drivers/gpu/drm/i915/gem/i915_gem_context.c | 2 +- drivers/gpu/drm/i915/gt/intel_migrate.c | 2 +- 9 files changed, 10 insertions(+), 10 deletions(-)
drivers/gpu/drm/i915/display/icl_dsi.c +1 -1
@@ -958,7 +958,7 @@ gen11_dsi_set_transcoder_timings(struct intel_encoder *encoder,/* TRANS_HSYNC register to be programmed only for video mode */ if (is_vid_mode (intel_dsi)) {if (intel_dsi->video_mode ==NON_BURST_SYNC_PULSE ) { -/* BSPEC: hsync size should be atleast 16 pixels */ +/* BSPEC: hsync size should be at least 16 pixels */ if (hsync_size <16 )drm_err (display->drm,"hsync size < 16 pixels\n" );
drivers/gpu/drm/i915/display/intel_hdcp.c +1 -1
@@ -787,7 +787,7 @@ int intel_hdcp_auth_downstream(struct intel_connector *connector)/* * When V prime mismatches, DP Spec mandates re-read of -* V prime atleast twice. +* V prime at least twice. */ for (i =0 ; i < tries; i++) { ret = intel_hdcp_validate_v_prime(connector, shim,
drivers/gpu/drm/i915/display/intel_hdmi.c +2 -2
@@ -3234,7 +3234,7 @@ intel_hdmi_dsc_get_num_slices(const struct intel_crtc_state *crtc_state,#define HDMI_DSC_PEAK_PIXEL_RATE 2720000/* * Rates at which the source and sink are required to process pixels in each -* slice, can be two levels: either atleast 340000KHz or atleast 40000KHz. +* slice, can be two levels: either at least 340000KHz or at least 40000KHz. */ #define HDMI_DSC_MAX_ENC_THROUGHPUT_0 340000#define HDMI_DSC_MAX_ENC_THROUGHPUT_1 400000
@@ -3267,7 +3267,7 @@ intel_hdmi_dsc_get_num_slices(const struct intel_crtc_state *crtc_state,/* * As per spec, the rate at which the source and the sink process -* the pixels per slice are at two levels: atleast 340Mhz or 400Mhz. +* the pixels per slice are at two levels: at least 340Mhz or 400Mhz. * This depends upon the pixel clock rate and output formats * (kslice adjust). * If pixel clock * kslice adjust >= 2720MHz slices can be processed
drivers/gpu/drm/i915/display/intel_vdsc.c +1 -1
@@ -378,7 +378,7 @@ int intel_dsc_compute_params(struct intel_crtc_state *pipe_config)/* * From XE_LPD onwards we supports compression bpps in steps of 1 -* upto uncompressed bpp-1, hence add calculations for all the rc +* up to uncompressed bpp-1, hence add calculations for all the rc * parameters * * We don't want to calculate all rc parameters when the panel
drivers/gpu/drm/i915/display/intel_vrr.c +1 -1
@@ -46,7 +46,7 @@ bool intel_vrr_is_capable(struct intel_connector *connector)/* * DP Sink is capable of VRR video timings if * Ignore MSA bit is set in DPCD. -* EDID monitor range also should be atleast 10 for reasonable +* EDID monitor range also should be at least 10 for reasonable * Adaptive Sync or Variable Refresh Rate end user experience. */ switch (connector->base.connector_type) {
drivers/gpu/drm/i915/display/skl_scaler.c +1 -1
@@ -194,7 +194,7 @@ skl_update_scaler(struct intel_crtc_state *crtc_state, bool force_detach,/* * if plane is being disabled or scaler is no more required or force detach -* - free scaler binded to this plane/crtc +* - free scaler bound to this plane/crtc * - in order to do this, update crtc->scaler_usage * * Here scaler state in crtc_state is set free so that
drivers/gpu/drm/i915/display/vlv_dsi.c +1 -1
@@ -1028,7 +1028,7 @@ static void bxt_dsi_get_pipe_config(struct intel_encoder *encoder, adjusted_mode_sw = &crtc->config->hw.adjusted_mode;/* -* Atleast one port is active as encoder->get_config called only if +* At least one port is active as encoder->get_config called only if * encoder->get_hw_state() returns true. */ for_each_dsi_port (port, intel_dsi->ports) {
drivers/gpu/drm/i915/gem/i915_gem_context.c +1 -1
@@ -1378,7 +1378,7 @@ static struct intel_engine_cs *active_engine(struct intel_context *ce)list_for_each_entry_reverse (rq, &ce->timeline->requests, link) {bool found; -/* timeline is already completed upto this point? */ +/* timeline is already completed up to this point? */ if (!i915_request_get_rcu (rq))break ;
drivers/gpu/drm/i915/gt/intel_migrate.c +1 -1
@@ -643,7 +643,7 @@ calculate_chunk_sz(struct drm_i915_private *i915, bool src_is_lmem, {if (ccs_bytes_to_cpy && !src_is_lmem)/* -* When CHUNK_SZ is passed all the pages upto CHUNK_SZ +* When CHUNK_SZ is passed all the pages up to CHUNK_SZ * will be taken for the blt. in Flat-ccs supported * platform Smem obj will have more pages than required * for main memory hence limit it to the required size
Signature · 1 line
2.48.1
cover drm/i915: fix typos and repeated words in comments
This corrects 2 misspellings and repeated words in comments. Each is a separate patch so that any one of them can be dropped without touching the rest.
Nothing outside comments changes. Every touched C file was checked by dropping its comments, replacing each string literal with a placeholder and collapsing whitespace; what remained was identical before and after, so the compiled code cannot differ.
The mistakes were found with scripts/checkpatch.pl against the list in scripts/spelling.txt. The scanning, the edits and the changelogs were produced with Cursor running the claude-opus-5 model, from a request to find and fix spelling mistakes across the tree, and every correction was then re-checked by the comparison described above. Words that name an identifier were left alone deliberately, even when they read as typos, because correcting the prose would make the comment disagree with the code it describes.
Tested by building x86_64 defconfig at v7.3-rc1-269-gbc35965f6940, which is clean. Nothing else was built, so any patch touching code that x86_64 defconfig does not compile has been read but not compiled.
Hemanth Selam (2):
drm/i915: fix typos in comments
drm/i915: fix repeated words in comments
drivers/gpu/drm/i915/display/icl_dsi.c | 2 +- drivers/gpu/drm/i915/display/intel_hdcp.c | 2 +- drivers/gpu/drm/i915/display/intel_hdmi.c | 4 ++-- drivers/gpu/drm/i915/display/intel_vdsc.c | 2 +- drivers/gpu/drm/i915/display/intel_vrr.c | 2 +- drivers/gpu/drm/i915/display/skl_scaler.c | 2 +- drivers/gpu/drm/i915/display/vlv_dsi.c | 2 +- drivers/gpu/drm/i915/gem/i915_gem_context.c | 2 +- drivers/gpu/drm/i915/gem/i915_gem_context_types.h | 2 +- drivers/gpu/drm/i915/gt/intel_migrate.c | 2 +- drivers/gpu/drm/i915/gt/uc/intel_guc.c | 2 +- drivers/gpu/drm/i915/gvt/scheduler.c | 2 +- drivers/gpu/drm/i915/i915_gem_evict.c | 2 +- 13 files changed, 14 insertions(+), 14 deletions(-)
Signature · 1 line
2.48.1
PATCH 2/2 drm/i915: fix repeated words in comments
Drop words accidentally written twice, reported by checkpatch.pl as a possible repeated word. Only touches comments, no code changes.
--- drivers/gpu/drm/i915/gem/i915_gem_context_types.h | 2 +- drivers/gpu/drm/i915/gt/uc/intel_guc.c | 2 +- drivers/gpu/drm/i915/gvt/scheduler.c | 2 +- drivers/gpu/drm/i915/i915_gem_evict.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-)
drivers/gpu/drm/i915/gem/i915_gem_context_types.h +1 -1
@@ -208,7 +208,7 @@ struct i915_gem_proto_context {/** @legacy_rcs_sseu: Client-set SSEU parameters for the legacy RCS */ struct intel_sseu legacy_rcs_sseu; -/** @single_timeline: See See &i915_gem_context.syncobj */ +/** @single_timeline: See &i915_gem_context.syncobj */ bool single_timeline;/** @uses_protected_content: See &i915_gem_context.uses_protected_content */
drivers/gpu/drm/i915/gt/uc/intel_guc.c +1 -1
@@ -769,7 +769,7 @@ int intel_guc_resume(struct intel_guc *guc)* This is a wrapper to create an object for use with the GuC. In order to * use it inside the GuC, an object needs to be pinned lifetime, so we allocate * both some backing storage and a range inside the Global GTT. We must pin -* it in the GGTT somewhere other than than [0, GUC ggtt_pin_bias) because that +* it in the GGTT somewhere other than [0, GUC ggtt_pin_bias) because that * range is reserved inside GuC. * * Return: A i915_vma if successful, otherwise an ERR_PTR.
drivers/gpu/drm/i915/gvt/scheduler.c +1 -1
@@ -201,7 +201,7 @@ static int populate_shadow_context(struct intel_vgpu_workload *workload) workload->ring_context_gpa);/* only need to ensure this context is not pinned/unpinned during the -* period from last submission to this this submission. +* period from last submission to this submission. * Upon reaching this function, the currently submitted context is not * supposed to get unpinned. If a misbehaving guest driver ever does * this, it would corrupt itself.
drivers/gpu/drm/i915/i915_gem_evict.c +1 -1
@@ -273,7 +273,7 @@ i915_gem_evict_something(struct i915_address_space *vm, goto search_again; found: -/* drm_mm doesn't allow any other other operations while +/* drm_mm doesn't allow any other operations while * scanning, therefore store to-be-evicted objects on a * temporary list and take a reference for all before * calling unbind (which may remove the active reference
Signature · 1 line
2.48.1
Re: [PATCH 1/2] drm/i915: fix typos in comments
In reply to Hemanth SelamQuoted 6 lines · Hemanth Selam
Fix typos in comments, reported by
scripts/checkpatch.plusing the misspelling list inscripts/spelling.txt. Only touches comments, no code changes.Assisted-by Cursor:claude-opus-5Signed-off-by Hemanth Selam <[email protected]>
Quoted 138 lines
--- drivers/gpu/drm/i915/display/icl_dsi.c | 2 +- drivers/gpu/drm/i915/display/intel_hdcp.c | 2 +- drivers/gpu/drm/i915/display/intel_hdmi.c | 4 ++-- drivers/gpu/drm/i915/display/intel_vdsc.c | 2 +- drivers/gpu/drm/i915/display/intel_vrr.c | 2 +- drivers/gpu/drm/i915/display/skl_scaler.c | 2 +- drivers/gpu/drm/i915/display/vlv_dsi.c | 2 +- drivers/gpu/drm/i915/gem/i915_gem_context.c | 2 +- drivers/gpu/drm/i915/gt/intel_migrate.c | 2 +- 9 files changed, 10 insertions(+), 10 deletions(-)drivers/gpu/drm/i915/display/icl_dsi.c +1
-1@@ -958,7 +958,7 @@ gen11_dsi_set_transcoder_timings(struct intel_encoder *encoder,/* TRANS_HSYNC register to be programmed only for video mode */ if (is_vid_mode (intel_dsi)) {if (intel_dsi->video_mode ==NON_BURST_SYNC_PULSE ) { -/* BSPEC: hsync size should be atleast 16 pixels */ +/* BSPEC: hsync size should be at least 16 pixels */ if (hsync_size <16 )drm_err (display->drm,"hsync size < 16 pixels\n" );drivers/gpu/drm/i915/display/intel_hdcp.c +1
-1@@ -787,7 +787,7 @@ int intel_hdcp_auth_downstream(struct intel_connector *connector)/* * When V prime mismatches, DP Spec mandates re-read of -* V prime atleast twice. +* V prime at least twice. */ for (i =0 ; i < tries; i++) { ret = intel_hdcp_validate_v_prime(connector, shim,drivers/gpu/drm/i915/display/intel_hdmi.c +2
-2@@ -3234,7 +3234,7 @@ intel_hdmi_dsc_get_num_slices(const struct intel_crtc_state *crtc_state,#define HDMI_DSC_PEAK_PIXEL_RATE 2720000/* * Rates at which the source and sink are required to process pixels in each -* slice, can be two levels: either atleast 340000KHz or atleast 40000KHz. +* slice, can be two levels: either at least 340000KHz or at least 40000KHz. */ #define HDMI_DSC_MAX_ENC_THROUGHPUT_0 340000#define HDMI_DSC_MAX_ENC_THROUGHPUT_1 400000@@ -3267,7 +3267,7 @@ intel_hdmi_dsc_get_num_slices(const struct intel_crtc_state *crtc_state,/* * As per spec, the rate at which the source and the sink process -* the pixels per slice are at two levels: atleast 340Mhz or 400Mhz. +* the pixels per slice are at two levels: at least 340Mhz or 400Mhz. * This depends upon the pixel clock rate and output formats * (kslice adjust). * If pixel clock * kslice adjust >= 2720MHz slices can be processed drivers/gpu/drm/i915/display/intel_vdsc.c +1
-1@@ -378,7 +378,7 @@ int intel_dsc_compute_params(struct intel_crtc_state *pipe_config)/* * From XE_LPD onwards we supports compression bpps in steps of 1 -* upto uncompressed bpp-1, hence add calculations for all the rc +* up to uncompressed bpp-1, hence add calculations for all the rc * parameters * * We don't want to calculate all rc parameters when the panel drivers/gpu/drm/i915/display/intel_vrr.c +1
-1@@ -46,7 +46,7 @@ bool intel_vrr_is_capable(struct intel_connector *connector)/* * DP Sink is capable of VRR video timings if * Ignore MSA bit is set in DPCD. -* EDID monitor range also should be atleast 10 for reasonable +* EDID monitor range also should be at least 10 for reasonable * Adaptive Sync or Variable Refresh Rate end user experience. */ switch (connector->base.connector_type) {drivers/gpu/drm/i915/display/skl_scaler.c +1
-1@@ -194,7 +194,7 @@ skl_update_scaler(struct intel_crtc_state *crtc_state, bool force_detach,/* * if plane is being disabled or scaler is no more required or force detach -* - free scaler binded to this plane/crtc +* - free scaler bound to this plane/crtc * - in order to do this, update crtc->scaler_usage * * Here scaler state in crtc_state is set free so that drivers/gpu/drm/i915/display/vlv_dsi.c +1
-1@@ -1028,7 +1028,7 @@ static void bxt_dsi_get_pipe_config(struct intel_encoder *encoder, adjusted_mode_sw = &crtc->config->hw.adjusted_mode;/* -* Atleast one port is active as encoder->get_config called only if +* At least one port is active as encoder->get_config called only if * encoder->get_hw_state() returns true. */ for_each_dsi_port (port, intel_dsi->ports) {drivers/gpu/drm/i915/gem/i915_gem_context.c +1
-1@@ -1378,7 +1378,7 @@ static struct intel_engine_cs *active_engine(struct intel_context *ce)list_for_each_entry_reverse (rq, &ce->timeline->requests, link) {bool found; -/* timeline is already completed upto this point? */ +/* timeline is already completed up to this point? */ if (!i915_request_get_rcu (rq))break ;drivers/gpu/drm/i915/gt/intel_migrate.c +1
-1@@ -643,7 +643,7 @@ calculate_chunk_sz(struct drm_i915_private *i915, bool src_is_lmem, {if (ccs_bytes_to_cpy && !src_is_lmem)/* -* When CHUNK_SZ is passed all the pages upto CHUNK_SZ +* When CHUNK_SZ is passed all the pages up to CHUNK_SZ * will be taken for the blt. in Flat-ccs supported * platform Smem obj will have more pages than required * for main memory hence limit it to the required size
Signature · 1 line
Jani Nikula, Intel
Re: [PATCH 2/2] drm/i915: fix repeated words in comments
In reply to Hemanth SelamQuoted 5 lines · Hemanth Selam
Drop words accidentally written twice, reported by checkpatch.pl as a possible repeated word. Only touches comments, no code changes.
Assisted-by Cursor:claude-opus-5Signed-off-by Hemanth Selam <[email protected]>
Quoted 59 lines
--- drivers/gpu/drm/i915/gem/i915_gem_context_types.h | 2 +- drivers/gpu/drm/i915/gt/uc/intel_guc.c | 2 +- drivers/gpu/drm/i915/gvt/scheduler.c | 2 +- drivers/gpu/drm/i915/i915_gem_evict.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-)drivers/gpu/drm/i915/gem/i915_gem_context_types.h +1
-1@@ -208,7 +208,7 @@ struct i915_gem_proto_context {/** @legacy_rcs_sseu: Client-set SSEU parameters for the legacy RCS */ struct intel_sseu legacy_rcs_sseu; -/** @single_timeline: See See &i915_gem_context.syncobj */ +/** @single_timeline: See &i915_gem_context.syncobj */ bool single_timeline;/** @uses_protected_content: See &i915_gem_context.uses_protected_content */ drivers/gpu/drm/i915/gt/uc/intel_guc.c +1
-1@@ -769,7 +769,7 @@ int intel_guc_resume(struct intel_guc *guc)* This is a wrapper to create an object for use with the GuC. In order to * use it inside the GuC, an object needs to be pinned lifetime, so we allocate * both some backing storage and a range inside the Global GTT. We must pin -* it in the GGTT somewhere other than than [0, GUC ggtt_pin_bias) because that +* it in the GGTT somewhere other than [0, GUC ggtt_pin_bias) because that * range is reserved inside GuC. * * Return: A i915_vma if successful, otherwise an ERR_PTR. drivers/gpu/drm/i915/gvt/scheduler.c +1
-1@@ -201,7 +201,7 @@ static int populate_shadow_context(struct intel_vgpu_workload *workload) workload->ring_context_gpa);/* only need to ensure this context is not pinned/unpinned during the -* period from last submission to this this submission. +* period from last submission to this submission. * Upon reaching this function, the currently submitted context is not * supposed to get unpinned. If a misbehaving guest driver ever does * this, it would corrupt itself. drivers/gpu/drm/i915/i915_gem_evict.c +1
-1@@ -273,7 +273,7 @@ i915_gem_evict_something(struct i915_address_space *vm, goto search_again; found: -/* drm_mm doesn't allow any other other operations while +/* drm_mm doesn't allow any other operations while * scanning, therefore store to-be-evicted objects on a * temporary list and take a reference for all before * calling unbind (which may remove the active reference
Signature · 1 line
Jani Nikula, Intel
Patchwork
CI✗ LGCI.VerificationFailed: failure for series starting with [1/2] drm/i915: fix typos in comments
In reply to Hemanth Selam== Series Details ==
== Series Details ==
Series: series starting with [1/2] drm/i915: fix typos in comments
URL : https://patchwork.freedesktop.org/series/173617/
State : failure
== Summary ==
Series author address '[email protected]' is not on the allowlist, which prevents CI from being automatically triggered. If you want CI to run for this series, ask Patchwork project owners to click 'retest' on the series in Patchwork. Exception occurred during validation, bailing out!
Build URL: http://gfx-ci.igk.intel.com:8080/job/CI_PW_kernel/187022/ (on built-in)