summaryrefslogtreecommitdiff
path: root/hw/xfree86/drivers
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2020-07-05 13:07:33 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2020-07-05 13:07:33 -0700
commit23e83724df4809fd7857cc609c33ce7e8d3021a4 (patch)
treec3018d5ce5c474883b9a31aca33962d73a540bd8 /hw/xfree86/drivers
parentb0413b6e99c6b5fbc04229ce64ddf1f41b08e63e (diff)
Fix spelling/wording issues
Most (but not all) of these were found by using codespell --builtin clear,rare,usage,informal,code,names but not everything reported by that was fixed. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'hw/xfree86/drivers')
-rw-r--r--hw/xfree86/drivers/modesetting/driver.c4
-rw-r--r--hw/xfree86/drivers/modesetting/drmmode_display.c2
-rw-r--r--hw/xfree86/drivers/modesetting/pageflip.c6
3 files changed, 6 insertions, 6 deletions
diff --git a/hw/xfree86/drivers/modesetting/driver.c b/hw/xfree86/drivers/modesetting/driver.c
index 0c1867f02..5098adb94 100644
--- a/hw/xfree86/drivers/modesetting/driver.c
+++ b/hw/xfree86/drivers/modesetting/driver.c
@@ -1267,7 +1267,7 @@ msEnableSharedPixmapFlipping(RRCrtcPtr crtc, PixmapPtr front, PixmapPtr back)
return FALSE;
/* EVDI uses USB transport but is platform device, not usb.
- * Blacklist it explicitly */
+ * Exclude it explicitly. */
if (syspath && strstr(syspath, "evdi"))
return FALSE;
}
@@ -1691,7 +1691,7 @@ ScreenInit(ScreenPtr pScreen, int argc, char **argv)
miDCInitialize(pScreen, xf86GetPointerScreenFuncs());
/* If pageflip is enabled hook the screen's cursor-sprite (swcursor) funcs.
- * So that we can disabe page-flipping on fallback to a swcursor. */
+ * So that we can disable page-flipping on fallback to a swcursor. */
if (ms->drmmode.pageflip) {
miPointerScreenPtr PointPriv =
dixLookupPrivate(&pScreen->devPrivates, miPointerScreenKey);
diff --git a/hw/xfree86/drivers/modesetting/drmmode_display.c b/hw/xfree86/drivers/modesetting/drmmode_display.c
index a9a83aa8b..49b9ae944 100644
--- a/hw/xfree86/drivers/modesetting/drmmode_display.c
+++ b/hw/xfree86/drivers/modesetting/drmmode_display.c
@@ -3970,7 +3970,7 @@ drmmode_get_default_bpp(ScrnInfoPtr pScrn, drmmode_ptr drmmode, int *depth,
/*
* We hook the screen's cursor-sprite (swcursor) functions to see if a swcursor
- * is active. When a swcursor is active we disabe page-flipping.
+ * is active. When a swcursor is active we disable page-flipping.
*/
static void drmmode_sprite_do_set_cursor(msSpritePrivPtr sprite_priv,
diff --git a/hw/xfree86/drivers/modesetting/pageflip.c b/hw/xfree86/drivers/modesetting/pageflip.c
index 2113f2228..9c199668f 100644
--- a/hw/xfree86/drivers/modesetting/pageflip.c
+++ b/hw/xfree86/drivers/modesetting/pageflip.c
@@ -85,7 +85,7 @@ struct ms_flipdata {
};
/*
- * Per crtc pageflipping infomation,
+ * Per crtc pageflipping information,
* These are submitted to the queuing code
* one of them per crtc per flip.
*/
@@ -219,7 +219,7 @@ queue_flip_on_crtc(ScreenPtr screen, xf86CrtcPtr crtc,
xf86DrvMsg(scrn->scrnIndex, X_WARNING, "flip queue retry\n");
}
- /* The page flip succeded. */
+ /* The page flip succeeded. */
return TRUE;
}
@@ -273,7 +273,7 @@ ms_do_pageflip(ScreenPtr screen,
* Take a local reference on flipdata.
* if the first flip fails, the sequence abort
* code will free the crtc flip data, and drop
- * it's reference which would cause this to be
+ * its reference which would cause this to be
* freed when we still required it.
*/
flipdata->flip_count++;