[Intel-gfx] [PATCH 1/6] drm/i915: export the stolen region as a resource
Ingo Molnar
mingo at kernel.org
Thu Nov 23 06:17:46 UTC 2017
* 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>
Thanks,
Ingo
More information about the Intel-gfx
mailing list