summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-01-22 14:02:12 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-01-22 14:02:12 -0800
commit6168d934890e1066cf34f5bd97fd8c17b9dff548 (patch)
tree29eb68c5523617c067f092501332ed9564db972b
parentec6c1e02f91ad84577543a0a3bb24c27ca3bca23 (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--README.md2
-rw-r--r--src/nv_driver.c2
-rw-r--r--src/nv_hw.c4
3 files changed, 4 insertions, 4 deletions
diff --git a/README.md b/README.md
index 3fc4c9a..97cd20b 100644
--- a/README.md
+++ b/README.md
@@ -6,7 +6,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-nv
diff --git a/src/nv_driver.c b/src/nv_driver.c
index 3a74038..b7188e3 100644
--- a/src/nv_driver.c
+++ b/src/nv_driver.c
@@ -100,7 +100,7 @@ static const struct pci_id_match NVPciIdMatchList[] = {
/*
* This contains the functions needed by the server after loading the
* driver module. It must be supplied, and gets added the driver list by
- * the Module Setup funtion in the dynamic case. In the static case a
+ * the Module Setup function in the dynamic case. In the static case a
* reference to this is compiled in, and this requires that the name of
* this DriverRec be an upper-case version of the driver name.
*/
diff --git a/src/nv_hw.c b/src/nv_hw.c
index 9291912..6fcadc0 100644
--- a/src/nv_hw.c
+++ b/src/nv_hw.c
@@ -234,12 +234,12 @@ static void nv4CalcArbitration (
nv4_sim_state *arb
)
{
- int data, pagemiss, cas,width, video_enable, bpp;
+ int data, pagemiss, cas, width, video_enable, bpp;
int nvclks, mclks, pclks, vpagemiss, crtpagemiss, vbs;
int found, mclk_extra, mclk_loop, cbs, m1, p1;
int mclk_freq, pclk_freq, nvclk_freq, mp_enable;
int us_m, us_n, us_p, video_drain_rate, crtc_drain_rate;
- int vpm_us, us_video, vlwm, video_fill_us, cpm_us, us_crt,clwm;
+ int vpm_us, us_video, vlwm, video_fill_us, cpm_us, us_crt, clwm;
fifo->valid = 1;
pclk_freq = arb->pclk_khz;