[PATCH 1/6] drm/i915: export the stolen region as a resource

Ingo Molnar mingo at kernel.org
Thu Nov 23 07:59:43 UTC 2017


* Joonas Lahtinen <joonas.lahtinen at linux.intel.com> wrote:

> + Dave as a heads-up
> 
> On Thu, 2017-11-23 at 07:17 +0100, Ingo Molnar wrote:
> > * Matthew Auld <matthew.auld at intel.com> wrote:
> > 
> > > We duplicate the stolen discovery code in early-quirks and in i915,
> > > however if we just export the region as a resource from early-quirks we
> > > can nuke the duplication.
> > > 
> > > Suggested-by: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
> > > Suggested-by: Chris Wilson <chris at chris-wilson.co.uk>
> > > Signed-off-by: Matthew Auld <matthew.auld at intel.com>
> > > Cc: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
> > > Cc: Chris Wilson <chris at chris-wilson.co.uk>
> > > Cc: Paulo Zanoni <paulo.r.zanoni at intel.com>
> > > Cc: Ingo Molnar <mingo at kernel.org>
> > > Cc: H. Peter Anvin <hpa at zytor.com>
> > > Cc: dri-devel at lists.freedesktop.org
> > > Cc: x86 at kernel.org
> > > ---
> > >  arch/x86/kernel/early-quirks.c         |   6 ++
> > >  drivers/gpu/drm/i915/i915_gem_gtt.c    |  51 +--------------
> > >  drivers/gpu/drm/i915/i915_gem_stolen.c | 109 +--------------------------------
> > >  include/drm/i915_drm.h                 |   3 +
> > >  4 files changed, 13 insertions(+), 156 deletions(-)
> > 
> > If it's truly identical:
> > 
> >   Acked-by: Ingo Molnar <mingo at kernel.org>
> 
> Are you fine with us merging this together with the rest of the series
> through the DRM tree once it's all reviewed?
> 
> That'd help not requiring so many backmerges.

Yes, sure, feel free - that's also where most of the relevant testing is done for 
the affected hardware.

Thanks,

	Ingo


More information about the dri-devel mailing list