drm/nouveau: fix dma_address check for CPU/GPU sync
authorChristian König <christian.koenig@amd.com>
Fri, 11 Jun 2021 12:34:50 +0000 (14:34 +0200)
committerChristian König <christian.koenig@amd.com>
Thu, 24 Jun 2021 13:40:44 +0000 (15:40 +0200)
commitd330099115597bbc238d6758a4930e72b49ea9ba
treeb9ebabc0c73b1c2c57d1c0e08c323fc8b498e444
parent6fd8f323b3e4e5290d02174559308669507c00dd
drm/nouveau: fix dma_address check for CPU/GPU sync

AGP for example doesn't have a dma_address array.

Signed-off-by: Christian König <christian.koenig@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210614110517.1624-1-christian.koenig@amd.com
drivers/gpu/drm/nouveau/nouveau_bo.c