We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fd8f32 commit d330099Copy full SHA for d330099
drivers/gpu/drm/nouveau/nouveau_bo.c
@@ -546,7 +546,7 @@ nouveau_bo_sync_for_device(struct nouveau_bo *nvbo)
546
struct ttm_tt *ttm_dma = (struct ttm_tt *)nvbo->bo.ttm;
547
int i, j;
548
549
- if (!ttm_dma)
+ if (!ttm_dma || !ttm_dma->dma_address)
550
return;
551
if (!ttm_dma->pages) {
552
NV_DEBUG(drm, "ttm_dma 0x%p: pages NULL\n", ttm_dma);
@@ -582,7 +582,7 @@ nouveau_bo_sync_for_cpu(struct nouveau_bo *nvbo)
582
583
584
585
586
587
588
0 commit comments