Fix spelling/wording issues

Found by using:
    codespell --builtin clear,rare,usage,informal,code,names

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
This commit is contained in:
Alan Coopersmith
2022-01-27 17:09:09 -08:00
parent 097c8e4f91
commit b5529f9602
9 changed files with 10 additions and 10 deletions

2
README
View File

@@ -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

View File

@@ -442,7 +442,7 @@ typedef struct {
drmAddress agpTex; /* Map */
int log2AGPTexGran;
/* CCE 2D accleration */
/* CCE 2D acceleration */
drmBufPtr indirectBuffer;
int indirectStart;

View File

@@ -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)
{

View File

@@ -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,

View File

@@ -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;

View File

@@ -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 ||

View File

@@ -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;

View File

@@ -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

View File

@@ -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];