From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pg1-f171.google.com (mail-pg1-f171.google.com [209.85.215.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BD6F535E93E for ; Fri, 1 May 2026 20:48:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.171 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777668538; cv=none; b=k64jorbXAnNXr5dqUIM9rQTEKOJa5es7TgAkWdYVMxcuSLp95RmPMaFqX/bsvEEx79u7DIS/zHjCvV9Cn8mijIcVHFGfn6KXUXdQgxc/dTOrDDheEGUW0WYjkfnGptR4iaLYIvMgqTnDydjBNyXwyVAWzwsmvhM6cp1RkISOp7k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777668538; c=relaxed/simple; bh=ibQriOf5pQAFBHO+4hWTyVOkEhgHCUGDZb/NTTxM9Hw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=WFzQNd22oxxwDOKFMX4jsA8HTB/Je9kGmbQo4pK5IzLaXKGjLH9+nP3I+8sC+wGlCoDxnvsmmWP/9AXX3vTWonxqczQ2Rzx/nIXafXYl9cowFK1ewxORUf0rpcSVbaioBok2PZ0hm8l6flzDUmJeuk1fJ88Gi1J03/AM7wqCWL0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=iWEgyF11; arc=none smtp.client-ip=209.85.215.171 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="iWEgyF11" Received: by mail-pg1-f171.google.com with SMTP id 41be03b00d2f7-c7971d0d97dso1309672a12.1 for ; Fri, 01 May 2026 13:48:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1777668536; x=1778273336; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=TDTG+3/DnSLNqGWEZBCoD/zuD/bmDCvWNrNY2zLrKIk=; b=iWEgyF111notiC3SynA0z1eo4YEjXjrPUNkHH+uFwhHDeFY5zm9nv+cBfAP34tN9RI vskO3xRw+G6pACSPbjtyZ74Krpn2ggtZwBrZzT6TS35TwriuiPzKJT9zZvGhpdrrVjdN MT+txYLyraYjXSG+Qw42pCCzNWATkIu61gJ2an7jI30zh4GlTUgAslzig7fjV+Ce0Sbw BLFAND3fxJRlk1OOGnKBSU5ipkm6c35bXoFRhn51d7o4++vCXxPqDu0C8783+Uzjjros kEc4aH1SY2fcS29p8MJ4FLNyJgXefnjRb6QEMNuiieXBkkaYEWjnHEIdEhXkt97iBSSp GvWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1777668536; x=1778273336; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=TDTG+3/DnSLNqGWEZBCoD/zuD/bmDCvWNrNY2zLrKIk=; b=cYSYK52Z9eKGGL2WhGKp2HNzCwsaZna/nZeW7d0PG6gUsz7aYm9dKQ5NaMd6Xbs/0B 0fxOJiSMWsVJN0PVIxri0miCxtC/XYGwykhi4Z7fWbdXVJycjZl+IcOfKZAXeWvjAkwr 0EBpIjyhA8h2UEVFLm7ThFgwllLNNiQiZRFxmRr8kg+uGEiS8I/qLx6t2Ea3U/n0SzDY 04bN7m5LU44U0U4f5o723BVewsoDWLYgBDM0MjzngX0VAEYE/Etzmbrn85wS/7rdzV0S 46+Q0LEm2JNlhFhpLGU12Thugbe6VV2imo9Ue0yRpmQJRETtOw3gYYeFnyUsaZ1m0aem TrmQ== X-Forwarded-Encrypted: i=1; AFNElJ+H2Lcw1HfESGDvNtLhOgfWkikYBgHKaxehvFi7+A0lc3KWqIXwtyRWAODDKdyXHQ684VnRpaAf6/9Qa6Q=@vger.kernel.org X-Gm-Message-State: AOJu0YxnQYqdbysix5c+bQvCAWd3ysOVvYAjysR6p5aZclBBAlbHj1+L F1uqj3i8cVL3ElbBLXTwmgYpgBmYRbEGOwgBxAy+mS7CUojHD+v74fJT X-Gm-Gg: AeBDiesP9g12hGCFiB7zSAbEDdy2+ggM3JNzJvAiUJPq9pIcuMRX1yYUnBVwAPD9p3z V2132/h/BgPvXU7jy+JznghDTIJ1RTY7aKoKktYCKbn0+bdGqUK4SXtjky93ZCSdQCWFJwre36M soaCujo4/0Ep3++Db4Ah7pmkvHEJP5Kbmx4MTnXQ33y0ysiOy7FKNEX0Zp6nlHnryvfdjPw3alR ZKaLgyhslEy3RHxixiHxflgS7HYxLT22Ct0ooO2f+48qPxfpNPpIKeE6KwHVGdLhFRdWv3hyZdz NJ8qlZs1FlIxRr36sGYc67Dk7/ObSpky0RqyDnVrRZF60Y9wFjiQkwz46U37ftV8Gq5FPsLkMJf kAik63ZN+q+ISafEfjQEktXrK01oFTOTn3ebqjRbm6qeH3NnsWT/5jhlkVcI8XCgyPtPUYDAHNQ v6G0JMFmlcY+W1DVYHF651GhG74pKhXujK X-Received: by 2002:a05:6a21:6da2:b0:394:5513:ce5 with SMTP id adf61e73a8af0-3a7f1fd1314mr559712637.51.1777668536068; Fri, 01 May 2026 13:48:56 -0700 (PDT) Received: from archbox ([2401:4900:1c0a:5b5d:d61f:366a:2e4:3109]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-c7ffbc6f511sm2878652a12.16.2026.05.01.13.48.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 May 2026 13:48:55 -0700 (PDT) From: Daksh Sahni To: amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Cc: alexander.deucher@amd.com, christian.koenig@amd.com, airlied@gmail.com, simona@ffwll.ch, Daksh Sahni Subject: [PATCH] drm/amd: Fix spelling mistakes in comments Date: Fri, 1 May 2026 16:48:32 -0400 Message-ID: <20260501204832.66251-1-swizzguy76@gmail.com> X-Mailer: git-send-email 2.54.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Fix several instances of "occurred" and "separate" in comments. Signed-off-by: Daksh Sahni --- drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c | 4 ++-- drivers/gpu/drm/amd/amdgpu/amdgpu_job.h | 2 +- drivers/gpu/drm/amd/display/dc/dcn20/dcn20_vmid.c | 2 +- drivers/gpu/drm/amd/display/dmub/dmub_srv.h | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c index 7af86a32c0c5..e5884bb4d63a 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c @@ -564,7 +564,7 @@ static int amdgpu_ctx_query(struct amdgpu_device *adev, out->state.flags = 0x0; out->state.hangs = 0x0; - /* determine if a GPU reset has occured since the last call */ + /* determine if a GPU reset has occurred since the last call */ reset_counter = atomic_read(&adev->gpu_reset_counter); /* TODO: this should ideally return NO, GUILTY, or INNOCENT. */ if (ctx->reset_counter_query == reset_counter) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c index 124fb38eb465..095ab609623f 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c @@ -161,12 +161,12 @@ void amdgpu_pasid_free_delayed(struct dma_resv *resv, */ /** - * amdgpu_vmid_had_gpu_reset - check if reset occured since last use + * amdgpu_vmid_had_gpu_reset - check if reset occurred since last use * * @adev: amdgpu_device pointer * @id: VMID structure * - * Check if GPU reset occured since last use of the VMID. + * Check if GPU reset occurred since last use of the VMID. */ bool amdgpu_vmid_had_gpu_reset(struct amdgpu_device *adev, struct amdgpu_vmid *id) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_job.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_job.h index 56a88e14a044..bc011b4639f2 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_job.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_job.h @@ -31,7 +31,7 @@ #define AMDGPU_PREAMBLE_IB_PRESENT (1 << 0) /* bit set means preamble IB is first presented in belonging context */ #define AMDGPU_PREAMBLE_IB_PRESENT_FIRST (1 << 1) -/* bit set means context switch occured */ +/* bit set means context switch occurred */ #define AMDGPU_HAVE_CTX_SWITCH (1 << 2) /* bit set means IB is preempted */ #define AMDGPU_IB_PREEMPTED (1 << 3) diff --git a/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_vmid.c b/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_vmid.c index 5bc3bc60a2ac..ebbe7900205e 100644 --- a/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_vmid.c +++ b/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_vmid.c @@ -46,7 +46,7 @@ static void dcn20_wait_for_vmid_ready(struct dcn20_vmid *vmid) /* According the hardware spec, we need to poll for the lowest * bit of PAGE_TABLE_BASE_ADDR_LO32 = 1 any time a GPUVM * context is updated. We can't use REG_WAIT here since we - * don't have a seperate field to wait on. + * don't have a separate field to wait on. * * TODO: Confirm timeout / poll interval with hardware team */ diff --git a/drivers/gpu/drm/amd/display/dmub/dmub_srv.h b/drivers/gpu/drm/amd/display/dmub/dmub_srv.h index c18ff8f00bb8..43b05e56679c 100644 --- a/drivers/gpu/drm/amd/display/dmub/dmub_srv.h +++ b/drivers/gpu/drm/amd/display/dmub/dmub_srv.h @@ -355,7 +355,7 @@ struct dmub_srv_hw_params { /** * struct dmub_srv_debug - Debug info for dmub_srv - * @timeout_occured: Indicates a timeout occured on any message from driver to dmub + * @timeout_occured: Indicates a timeout occurred on any message from driver to dmub * @timeout_cmd: first cmd sent from driver that timed out - subsequent timeouts are not stored */ struct dmub_timeout_info { -- 2.54.0