Re: [Intel-gfx] [PATCH 3/3] drm/i915/error: Fix object page offset within a region

2021-01-18 Thread Chris Wilson
Quoting Matthew Auld (2021-01-18 14:17:32) > From: CQ Tang > > io_mapping_map_wc() expects the offset to be relative to the iomapping > base address. Currently we just pass in the physical address for the > page which only works if the region.start starts at zero. > > Signed-off-by: CQ Tang > S

[Intel-gfx] [PATCH 3/3] drm/i915/error: Fix object page offset within a region

2021-01-18 Thread Matthew Auld
From: CQ Tang io_mapping_map_wc() expects the offset to be relative to the iomapping base address. Currently we just pass in the physical address for the page which only works if the region.start starts at zero. Signed-off-by: CQ Tang Signed-off-by: Matthew Auld --- drivers/gpu/drm/i915/i915_