Re: [Intel-gfx] [RFC 33/60] drm/i915/lmem: support pwrite

2020-08-09 Thread Dave Airlie
On Fri, 7 Aug 2020 at 19:46, Joonas Lahtinen wrote: > > Quoting Dave Airlie (2020-07-13 08:09:30) > > On Fri, 10 Jul 2020 at 22:00, Matthew Auld wrote: > > > > > > We need to add support for pwrite'ing an LMEM object. > > > > why? DG1 is a discrete GPU, these interfaces we already gross and > > o

Re: [Intel-gfx] [RFC 33/60] drm/i915/lmem: support pwrite

2020-08-07 Thread Joonas Lahtinen
Quoting Dave Airlie (2020-07-13 08:09:30) > On Fri, 10 Jul 2020 at 22:00, Matthew Auld wrote: > > > > We need to add support for pwrite'ing an LMEM object. > > why? DG1 is a discrete GPU, these interfaces we already gross and > overly hacky for integrated, I'd prefer not to drag them across into

Re: [Intel-gfx] [RFC 33/60] drm/i915/lmem: support pwrite

2020-08-07 Thread Joonas Lahtinen
Quoting Dave Airlie (2020-07-20 00:52:19) > On Thu, 16 Jul 2020 at 20:11, Matthew Auld wrote: > > > > On 16/07/2020 01:43, Dave Airlie wrote: > > > On Wed, 15 Jul 2020 at 00:35, Matthew Auld wrote: > > >> > > >> On 13/07/2020 06:09, Dave Airlie wrote: > > >>> On Fri, 10 Jul 2020 at 22:00, Matthew

Re: [Intel-gfx] [RFC 33/60] drm/i915/lmem: support pwrite

2020-07-19 Thread Dave Airlie
On Thu, 16 Jul 2020 at 20:11, Matthew Auld wrote: > > On 16/07/2020 01:43, Dave Airlie wrote: > > On Wed, 15 Jul 2020 at 00:35, Matthew Auld wrote: > >> > >> On 13/07/2020 06:09, Dave Airlie wrote: > >>> On Fri, 10 Jul 2020 at 22:00, Matthew Auld wrote: > > We need to add support for p

Re: [Intel-gfx] [RFC 33/60] drm/i915/lmem: support pwrite

2020-07-16 Thread Matthew Auld
On 16/07/2020 01:43, Dave Airlie wrote: On Wed, 15 Jul 2020 at 00:35, Matthew Auld wrote: On 13/07/2020 06:09, Dave Airlie wrote: On Fri, 10 Jul 2020 at 22:00, Matthew Auld wrote: We need to add support for pwrite'ing an LMEM object. why? DG1 is a discrete GPU, these interfaces we alread

Re: [Intel-gfx] [RFC 33/60] drm/i915/lmem: support pwrite

2020-07-15 Thread Dave Airlie
On Wed, 15 Jul 2020 at 00:35, Matthew Auld wrote: > > On 13/07/2020 06:09, Dave Airlie wrote: > > On Fri, 10 Jul 2020 at 22:00, Matthew Auld wrote: > >> > >> We need to add support for pwrite'ing an LMEM object. > > > > why? DG1 is a discrete GPU, these interfaces we already gross and > > overly

Re: [Intel-gfx] [RFC 33/60] drm/i915/lmem: support pwrite

2020-07-14 Thread Matthew Auld
On 13/07/2020 06:09, Dave Airlie wrote: On Fri, 10 Jul 2020 at 22:00, Matthew Auld wrote: We need to add support for pwrite'ing an LMEM object. why? DG1 is a discrete GPU, these interfaces we already gross and overly hacky for integrated, I'd prefer not to drag them across into discrete land

Re: [Intel-gfx] [RFC 33/60] drm/i915/lmem: support pwrite

2020-07-12 Thread Dave Airlie
On Fri, 10 Jul 2020 at 22:00, Matthew Auld wrote: > > We need to add support for pwrite'ing an LMEM object. why? DG1 is a discrete GPU, these interfaces we already gross and overly hacky for integrated, I'd prefer not to drag them across into discrete land. same goes for pread. You have no lega

[Intel-gfx] [RFC 33/60] drm/i915/lmem: support pwrite

2020-07-10 Thread Matthew Auld
We need to add support for pwrite'ing an LMEM object. Signed-off-by: Matthew Auld Signed-off-by: Steve Hampson Cc: Joonas Lahtinen Cc: Abdiel Janulgue --- drivers/gpu/drm/i915/gem/i915_gem_lmem.c | 86 1 file changed, 86 insertions(+) diff --git a/drivers/gpu/drm/i91