]> git.ipfire.org Git - people/ms/linux.git/commit
drm/i915: Add pci ids and uapi for DG1
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Thu, 12 Aug 2021 12:44:52 +0000 (14:44 +0200)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Fri, 13 Aug 2021 07:46:58 +0000 (09:46 +0200)
commitd5ef86b38e4c2a65d5c1d64d8d0f3fcf58aa0884
treea5d73b4e32e09ebd9ba2ded028f0283f5eb64b17
parentad482232e3cc6d65eaeb19ce2412887458b19559
drm/i915: Add pci ids and uapi for DG1

DG1 has support for local memory, which requires the usage of the
lmem placement extension for creating bo's, and memregion queries
to obtain the size. Because of this, those parts of the uapi are
no longer guarded behind FAKE_LMEM.

According to the pull request referenced below, mesa should be mostly
ready for DG1. VK_EXT_memory_budget is not hooked up yet, but we
should definitely just enable the uapi parts by default.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
References: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11584
Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Jason Ekstrand <jason@jlekstrand.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20210812124452.622233-2-maarten.lankhorst@linux.intel.com
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Acked-by: Jason Ekstrand <jason@jlekstrand.net>
drivers/gpu/drm/i915/gem/i915_gem_create.c
drivers/gpu/drm/i915/i915_pci.c
drivers/gpu/drm/i915/i915_query.c