summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-01-27 17:09:09 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-01-27 17:09:09 -0800
commitb5529f9602bd25d0d042995a349edaba3e6f315a (patch)
treee52ec895cf5e25e0104bbf984325937edc4a2aae
parent097c8e4f91e22cbeb8778febd1fc0ab8f2b58d3f (diff)
Fix spelling/wording issues
Found by using: codespell --builtin clear,rare,usage,informal,code,names Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--README2
-rw-r--r--src/r128.h2
-rw-r--r--src/r128_accel.c2
-rw-r--r--src/r128_crtc.c4
-rw-r--r--src/r128_driver.c2
-rw-r--r--src/r128_probe.c2
-rw-r--r--src/r128_probe.h2
-rw-r--r--src/r128_reg.h2
-rw-r--r--src/r128_sarea.h2
9 files changed, 10 insertions, 10 deletions
diff --git a/README b/README
index 28aad68..65a571e 100644
--- a/README
+++ b/README
@@ -163,7 +163,7 @@ Xorg mailing list:
https://lists.x.org/mailman/listinfo/xorg
-The master development code repository can be found at:
+The primary development code repository can be found at:
https://gitlab.freedesktop.org/xorg/driver/xf86-video-r128
diff --git a/src/r128.h b/src/r128.h
index 5e6502b..ebe95dc 100644
--- a/src/r128.h
+++ b/src/r128.h
@@ -442,7 +442,7 @@ typedef struct {
drmAddress agpTex; /* Map */
int log2AGPTexGran;
- /* CCE 2D accleration */
+ /* CCE 2D acceleration */
drmBufPtr indirectBuffer;
int indirectStart;
diff --git a/src/r128_accel.c b/src/r128_accel.c
index 589f49b..30d9f70 100644
--- a/src/r128_accel.c
+++ b/src/r128_accel.c
@@ -964,7 +964,7 @@ static void R128SubsequentScanlineImageWriteRect(ScrnInfoPtr pScrn,
OUTREG(R128_DST_HEIGHT_WIDTH, (h << 16) | ((w + shift) & ~shift));
}
-/* Subsequent XAA indirect iamge write. This is called once for each
+/* Subsequent XAA indirect image write. This is called once for each
scanline. */
static void R128SubsequentImageWriteScanline(ScrnInfoPtr pScrn, int bufno)
{
diff --git a/src/r128_crtc.c b/src/r128_crtc.c
index 5dc8e18..09d0860 100644
--- a/src/r128_crtc.c
+++ b/src/r128_crtc.c
@@ -699,7 +699,7 @@ Bool R128InitDDARegisters(xf86CrtcPtr crtc, R128SavePtr save,
DEBUG(xf86DrvMsg(pScrn->scrnIndex, X_INFO,
"XclkFreq = %d; VclkFreq = %d; "
- "per = %d, %d (useable = %d)\n",
+ "per = %d, %d (usable = %d)\n",
XclkFreq,
VclkFreq,
XclksPerTransfer,
@@ -778,7 +778,7 @@ Bool R128InitDDA2Registers(xf86CrtcPtr crtc, R128SavePtr save,
DEBUG(xf86DrvMsg(pScrn->scrnIndex, X_INFO,
"XclkFreq = %d; VclkFreq = %d; "
- "per = %d, %d (useable = %d)\n",
+ "per = %d, %d (usable = %d)\n",
XclkFreq,
VclkFreq,
XclksPerTransfer,
diff --git a/src/r128_driver.c b/src/r128_driver.c
index 18ff57f..6791290 100644
--- a/src/r128_driver.c
+++ b/src/r128_driver.c
@@ -1846,7 +1846,7 @@ Bool R128ScreenInit(SCREEN_INIT_ARGS_DECL)
#ifdef R128DRI
if (info->directRenderingEnabled)
/*
- * Recalculate the texture offset and size to accomodate any
+ * Recalculate the texture offset and size to accommodate any
* rounding to a whole number of scanlines.
*/
info->textureOffset = scanlines * width_bytes;
diff --git a/src/r128_probe.c b/src/r128_probe.c
index 363904e..20546c3 100644
--- a/src/r128_probe.c
+++ b/src/r128_probe.c
@@ -276,7 +276,7 @@ r128_get_scrninfo(int entity_num)
}
}
- /* mobility cards support Dual-Head, mark the entity as sharable*/
+ /* mobility cards support Dual-Head, mark the entity as shareable*/
if (pEnt->chipset == PCI_CHIP_RAGE128LE ||
pEnt->chipset == PCI_CHIP_RAGE128LF ||
pEnt->chipset == PCI_CHIP_RAGE128MF ||
diff --git a/src/r128_probe.h b/src/r128_probe.h
index 0b54d21..8c4bfbd 100644
--- a/src/r128_probe.h
+++ b/src/r128_probe.h
@@ -153,7 +153,7 @@ typedef struct
Bool HasSecondary;
Bool HasCRTC2;
/*These two registers are used to make sure the CRTC2 is
- retored before CRTC_EXT, otherwise it could lead to blank screen.*/
+ restored before CRTC_EXT, otherwise it could lead to blank screen.*/
Bool IsSecondaryRestored;
Bool RestorePrimary;
diff --git a/src/r128_reg.h b/src/r128_reg.h
index b147e00..912aca7 100644
--- a/src/r128_reg.h
+++ b/src/r128_reg.h
@@ -1524,7 +1524,7 @@
#define R128_CCE_VC_CNTL_PRIM_WALK_RING 0x00000030
#define R128_CCE_VC_CNTL_NUM_SHIFT 16
-/* hmm copyed blindly (no specs) from radeon.h ... */
+/* hmm copied blindly (no specs) from radeon.h ... */
#define R128_RE_TOP_LEFT 0x26c0
# define R128_RE_LEFT_SHIFT 0
# define R128_RE_TOP_SHIFT 16
diff --git a/src/r128_sarea.h b/src/r128_sarea.h
index 70f9122..c10f05c 100644
--- a/src/r128_sarea.h
+++ b/src/r128_sarea.h
@@ -181,7 +181,7 @@ typedef struct {
* no need to choose whether to kick out your own texture or someone
* else's - simply eject them all in LRU order.
*/
- /* Last elt is sentinal */
+ /* Last elt is sentinel */
drmTextureRegion texList[R128_NR_TEX_HEAPS][R128_NR_TEX_REGIONS+1];
/* last time texture was uploaded */
unsigned int texAge[R128_NR_TEX_HEAPS];