summaryrefslogtreecommitdiff
path: root/src/driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/driver.c')
-rw-r--r--src/driver.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/driver.c b/src/driver.c
index 4504349..182debb 100644
--- a/src/driver.c
+++ b/src/driver.c
@@ -309,7 +309,6 @@ TegraPreInit(ScrnInfoPtr pScrn, int flags)
return FALSE;
tegra = TegraPTR(pScrn);
- tegra->SaveGeneration = -1;
tegra->pEnt = pEnt;
pScrn->displayWidth = 640; /* default it */
@@ -523,7 +522,7 @@ TegraCreateScreenResources(ScreenPtr pScreen)
drmmode_uevent_init(pScrn, &tegra->drmmode);
- if (!tegra->SWCursor)
+ if (!tegra->drmmode.sw_cursor)
drmmode_map_cursor_bos(pScrn, &tegra->drmmode);
pixels = drmmode_map_front_bo(&tegra->drmmode);