Re: [PATCH v2 08/15] drm/i915: Fix region start during initial plane readout

2024-01-12 Thread Ville Syrjälä
On Tue, Dec 19, 2023 at 02:01:15AM +0200, Ville Syrjälä wrote: > On Mon, Dec 18, 2023 at 02:00:10PM +0100, Andrzej Hajda wrote: > > On 15.12.2023 11:59, Ville Syrjala wrote: > > > From: Ville Syrjälä > > > > > > On MTL the stolen region starts at offset 8MiB from the start of > > > LMEMBAR. The d

Re: [PATCH v2 08/15] drm/i915: Fix region start during initial plane readout

2023-12-18 Thread Ville Syrjälä
On Mon, Dec 18, 2023 at 02:00:10PM +0100, Andrzej Hajda wrote: > On 15.12.2023 11:59, Ville Syrjala wrote: > > From: Ville Syrjälä > > > > On MTL the stolen region starts at offset 8MiB from the start of > > LMEMBAR. The dma addresses are thus also offset by 8MiB. However the > > mm_node/etc. is

Re: [PATCH v2 08/15] drm/i915: Fix region start during initial plane readout

2023-12-18 Thread Andrzej Hajda
On 15.12.2023 11:59, Ville Syrjala wrote: From: Ville Syrjälä On MTL the stolen region starts at offset 8MiB from the start of LMEMBAR. The dma addresses are thus also offset by 8MiB. However the mm_node/etc. is zero based, and i915_pages_create_for_stolen() will add the appropriate region.star

[PATCH v2 08/15] drm/i915: Fix region start during initial plane readout

2023-12-15 Thread Ville Syrjala
From: Ville Syrjälä On MTL the stolen region starts at offset 8MiB from the start of LMEMBAR. The dma addresses are thus also offset by 8MiB. However the mm_node/etc. is zero based, and i915_pages_create_for_stolen() will add the appropriate region.start into the sg dma address. So when we do the