From: "Thomas Hellström" <thomas.hellstrom@linux.intel.com>
To: intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org
Cc: "Thomas Hellström" <thomas.hellstrom@linux.intel.com>,
matthew.auld@intel.com
Subject: [Intel-gfx] [PATCH v3 0/3] vm- and vma cleanups
Date: Fri, 4 Mar 2022 09:26:38 +0100 [thread overview]
Message-ID: <20220304082641.308069-1-thomas.hellstrom@linux.intel.com> (raw)
The first patch of the series addresses a vm open count bug by
removing the vm open count.
The second patch removes the vma refcount that is no longer needed;
the vma is kept a live by taking the vm refcount and object lock.
Finally the last patch removes some unnecessary code. There should be
no functional changes.
v3:
- Documentation fixes
- Added R-Bs
Thomas Hellström (3):
drm/i915: Remove the vm open count
drm/i915: Remove the vma refcount
drm/i915/gem: Remove some unnecessary code
drivers/gpu/drm/i915/display/intel_dpt.c | 2 +-
drivers/gpu/drm/i915/gem/i915_gem_context.c | 29 ++-----
.../gpu/drm/i915/gem/i915_gem_execbuffer.c | 6 ++
.../gpu/drm/i915/gem/selftests/mock_context.c | 5 +-
drivers/gpu/drm/i915/gt/gen6_ppgtt.c | 2 +-
drivers/gpu/drm/i915/gt/intel_ggtt.c | 30 +++----
drivers/gpu/drm/i915/gt/intel_gtt.c | 54 ++++++++----
drivers/gpu/drm/i915/gt/intel_gtt.h | 56 ++++--------
drivers/gpu/drm/i915/gt/selftest_execlists.c | 86 +++++++++----------
drivers/gpu/drm/i915/i915_gem.c | 55 ++++++------
drivers/gpu/drm/i915/i915_vma.c | 80 ++++++++++-------
drivers/gpu/drm/i915/i915_vma.h | 14 ---
drivers/gpu/drm/i915/i915_vma_resource.c | 2 +-
drivers/gpu/drm/i915/i915_vma_resource.h | 6 ++
drivers/gpu/drm/i915/i915_vma_types.h | 8 +-
drivers/gpu/drm/i915/selftests/i915_gem_gtt.c | 4 +-
16 files changed, 222 insertions(+), 217 deletions(-)
--
2.34.1
next reply other threads:[~2022-03-04 8:27 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-04 8:26 Thomas Hellström [this message]
2022-03-04 8:26 ` [Intel-gfx] [PATCH v3 1/3] drm/i915: Remove the vm open count Thomas Hellström
2022-03-04 8:26 ` [Intel-gfx] [PATCH v3 2/3] drm/i915: Remove the vma refcount Thomas Hellström
2022-03-04 8:26 ` [Intel-gfx] [PATCH v3 3/3] drm/i915/gem: Remove some unnecessary code Thomas Hellström
2022-03-04 8:44 ` [Intel-gfx] ✗ Fi.CI.SPARSE: warning for vm- and vma cleanups (rev2) Patchwork
2022-03-04 9:07 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2022-03-04 20:00 ` [Intel-gfx] ✓ Fi.CI.IGT: " 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=20220304082641.308069-1-thomas.hellstrom@linux.intel.com \
--to=thomas.hellstrom@linux.intel.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=intel-gfx@lists.freedesktop.org \
--cc=matthew.auld@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