From: Robert Beckett <bob.beckett@collabora.com>
To: Intel GFX <intel-gfx@lists.freedesktop.org>,
dri-devel@lists.freedesktop.org
Cc: Matthew Auld <matthew.auld@intel.com>, thomas.hellstrom@linux.intel.com
Subject: [Intel-gfx] [PATCH v6 0/5] discrete card 64K page support
Date: Mon, 31 Jan 2022 18:52:26 +0000 [thread overview]
Message-ID: <20220131185231.725346-1-bob.beckett@collabora.com> (raw)
This series continues support for 64K pages for discrete cards.
It supersedes the 64K patches from https://patchwork.freedesktop.org/series/95686/#rev4
Changes since that series:
- set min alignment for DG2 to 2MB in i915_address_space_init
- replace coloring with simpler 2MB VA alignment for lmem buffers
- enforce alignment to 2MB for lmem objects on DG2 in i915_vma_insert
- expand vma reservation to round up to 2MB on DG2 in i915_vma_insert
- add alignment test
v2: rebase and fix for async vma that landed
v3:
* fix uapi doc typos
* add needs_compact_pt flag patch
* cleanup vma expansion to use vm->min_alignment instead of hard coding
v4:
* fix err return in igt_ppgtt_compact test
* placate ci robot with explicit enum conversion in misaligned_pin
* remove some blank lines
v5:
* fix obj alignment requirements querying for internal buffers that
have no memory region associated. (fixes v3 bug)
v6:
* use NEEDS_COMPACT_PT inead of hard coding in misalignment test
* tiled_blits_create correctly pick largest required alignment
* minor doc formatting
Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Matthew Auld (3):
drm/i915: enforce min GTT alignment for discrete cards
drm/i915: support 64K GTT pages for discrete cards
drm/i915/uapi: document behaviour for DG2 64K support
Ramalingam C (1):
drm/i915: add needs_compact_pt flag
Robert Beckett (1):
drm/i915: add gtt misalignment test
.../gpu/drm/i915/gem/selftests/huge_pages.c | 60 +++++
.../i915/gem/selftests/i915_gem_client_blt.c | 21 +-
drivers/gpu/drm/i915/gt/gen8_ppgtt.c | 108 ++++++++-
drivers/gpu/drm/i915/gt/intel_gtt.c | 12 +
drivers/gpu/drm/i915/gt/intel_gtt.h | 21 ++
drivers/gpu/drm/i915/gt/intel_ppgtt.c | 1 +
drivers/gpu/drm/i915/i915_drv.h | 11 +-
drivers/gpu/drm/i915/i915_pci.c | 2 +
drivers/gpu/drm/i915/i915_vma.c | 9 +
drivers/gpu/drm/i915/intel_device_info.h | 1 +
drivers/gpu/drm/i915/selftests/i915_gem_gtt.c | 224 +++++++++++++++---
include/uapi/drm/i915_drm.h | 44 +++-
12 files changed, 462 insertions(+), 52 deletions(-)
--
2.25.1
next reply other threads:[~2022-01-31 18:52 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-31 18:52 Robert Beckett [this message]
2022-01-31 18:52 ` [Intel-gfx] [PATCH v6 1/5] drm/i915: add needs_compact_pt flag Robert Beckett
2022-01-31 18:52 ` [Intel-gfx] [PATCH v6 2/5] drm/i915: enforce min GTT alignment for discrete cards Robert Beckett
2022-01-31 18:52 ` [Intel-gfx] [PATCH v6 3/5] drm/i915: support 64K GTT pages " Robert Beckett
2022-01-31 18:52 ` [Intel-gfx] [PATCH v6 4/5] drm/i915: add gtt misalignment test Robert Beckett
2022-01-31 18:52 ` [Intel-gfx] [PATCH v6 5/5] drm/i915/uapi: document behaviour for DG2 64K support Robert Beckett
2022-01-31 20:44 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for discrete card 64K page support (rev4) Patchwork
2022-01-31 20:45 ` [Intel-gfx] ✗ Fi.CI.SPARSE: " Patchwork
2022-01-31 21:14 ` [Intel-gfx] ✗ Fi.CI.BAT: failure " Patchwork
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220131185231.725346-1-bob.beckett@collabora.com \
--to=bob.beckett@collabora.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=intel-gfx@lists.freedesktop.org \
--cc=matthew.auld@intel.com \
--cc=thomas.hellstrom@linux.intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).