Re: [PATCH v3 1/5] drm/i915: use consistent CPU mappings for pin_map users

2021-07-07 Thread Daniel Vetter
On Mon, Jul 05, 2021 at 02:53:06PM +0100, Matthew Auld wrote: > For discrete, users of pin_map() needs to obey the same rules at the TTM > backend, where we map system only objects as WB, and everything else as > WC. The simplest for now is to just force the correct mapping type as > per the new ru

Re: [PATCH v3 1/5] drm/i915: use consistent CPU mappings for pin_map users

2021-07-06 Thread Ramalingam C
On 2021-07-05 at 14:53:06 +0100, Matthew Auld wrote: > For discrete, users of pin_map() needs to obey the same rules at the TTM > backend, where we map system only objects as WB, and everything else as > WC. The simplest for now is to just force the correct mapping type as > per the new rules for d

[PATCH v3 1/5] drm/i915: use consistent CPU mappings for pin_map users

2021-07-05 Thread Matthew Auld
For discrete, users of pin_map() needs to obey the same rules at the TTM backend, where we map system only objects as WB, and everything else as WC. The simplest for now is to just force the correct mapping type as per the new rules for discrete. Suggested-by: Thomas Hellström Signed-off-by: Matt