Commit faf26f2b authored by pengfuyuan's avatar pengfuyuan Committed by Alex Deucher
Browse files

drm/amd: Fix spelling typo in comments



Fix spelling typo in comments.

Reported-by: default avatark2ci <kernel-bot@kylinos.cn>
Signed-off-by: default avatarpengfuyuan <pengfuyuan@kylinos.cn>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent e309434a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -274,7 +274,7 @@ extern int amdgpu_vcnfw_log;
#define CIK_CURSOR_WIDTH 128
#define CIK_CURSOR_HEIGHT 128

/* smasrt shift bias level limits */
/* smart shift bias level limits */
#define AMDGPU_SMARTSHIFT_MAX_BIAS (100)
#define AMDGPU_SMARTSHIFT_MIN_BIAS (-100)

+1 −1
Original line number Diff line number Diff line
@@ -6679,7 +6679,7 @@ static void dm_disable_vblank(struct drm_crtc *crtc)
	dm_set_vblank(crtc, false);
}

/* Implemented only the options currently availible for the driver */
/* Implemented only the options currently available for the driver */
static const struct drm_crtc_funcs amdgpu_dm_crtc_funcs = {
	.reset = dm_crtc_reset_state,
	.destroy = amdgpu_dm_crtc_destroy,
+2 −2
Original line number Diff line number Diff line
@@ -619,7 +619,7 @@ static int get_max_dsc_slices(union dsc_enc_slice_caps slice_caps)
}


// Increment sice number in available sice numbers stops if possible, or just increment if not
// Increment slice number in available slice numbers stops if possible, or just increment if not
static int inc_num_slices(union dsc_enc_slice_caps slice_caps, int num_slices)
{
	// Get next bigger num slices available in common caps
@@ -650,7 +650,7 @@ static int inc_num_slices(union dsc_enc_slice_caps slice_caps, int num_slices)
}


// Decrement sice number in available sice numbers stops if possible, or just decrement if not. Stop at zero.
// Decrement slice number in available slice numbers stops if possible, or just decrement if not. Stop at zero.
static int dec_num_slices(union dsc_enc_slice_caps slice_caps, int num_slices)
{
	// Get next bigger num slices available in common caps
+1 −1
Original line number Diff line number Diff line
@@ -66,7 +66,7 @@ static void evict_vmids(struct core_vmid *core_vmid)
	}
}

// Return value of -1 indicates vmid table unitialized or ptb dne in the table
// Return value of -1 indicates vmid table uninitialized or ptb dne in the table
static int get_existing_vmid_for_ptb(struct core_vmid *core_vmid, uint64_t ptb)
{
	int i;
+1 −1
Original line number Diff line number Diff line
@@ -33,7 +33,7 @@
 */
enum { API_FRAME_SIZE_IN_DWORDS = 64 };

/* To avoid command in scheduler context to be overwritten whenenver mutilple
/* To avoid command in scheduler context to be overwritten whenever multiple
 * interrupts come in, this creates another queue.
 */
enum { API_NUMBER_OF_COMMAND_MAX = 32 };
Loading