[Intel-gfx] [PATCH 1/3] drm/i915: Fix the sgt.pfn sanity check

2021-01-18 Thread Matthew Auld
From: Kui Wen For the device local-memory case, sgt.pfn will always be equal to zero, since we instead use sgt.dma. Also, for device local-memory it is perfectly valid for it to start from zero anyway, so no need to add a new check for that either. Signed-off-by: Kui Wen Signed-off-by: Matthew

[Intel-gfx] [PATCH 1/3] drm/i915: Fix the sgt.pfn sanity check

2021-01-18 Thread Matthew Auld
From: Kui Wen For the device local-memory case, sgt.pfn will always be equal to zero, since we instead use sgt.dma. Also, for device local-memory it is perfectly valid for it to start from zero anyway, so no need to add a new check for that either. Signed-off-by: Kui Wen Signed-off-by: Matthew