From: Thomas Hellstrom <thellstrom@vmware.com>
To: airlied@redhat.com, airlied@gmail.com
Cc: pv-drivers@vmware.com, Thomas Hellstrom <thellstrom@vmware.com>,
linux-graphics-maintainer@vmware.com,
dri-devel@lists.freedesktop.org
Subject: [git pull] vmwgfx-next
Date: Fri, 28 Sep 2018 15:11:57 +0200 [thread overview]
Message-ID: <20180928131157.2810-1-thellstrom@vmware.com> (raw)
Hi, Dave
I realize this is probably too late for the next merge window. If that's the case, then
we can just postpone it for 4.21.
Mostly code reorganizations and optimizations for vmwgfx.
- Move TTM code that's only used by vmwgfx to vmwgfx
- Break out the vmwgfx buffer- and resource validation code to a separate source file
- Get rid of a number of atomic operations during command buffer validation.
The following changes since commit 36c9c3c91128e2b892c9be0dd9ee9bd82cbe82ad:
Merge branch 'drm-next-4.20' of git://people.freedesktop.org/~agd5f/linux into drm-next (2018-09-21 09:52:53 +1000)
are available in the Git repository at:
git://people.freedesktop.org/~thomash/linux vmwgfx-next
for you to fetch changes up to e8c66efbfe3a2e3cbc573f2474a3d51690f1b857:
drm/vmwgfx: Make user resource lookups reference-free during validation (2018-09-28 08:57:09 +0200)
----------------------------------------------------------------
Thomas Hellstrom (19):
drm/ttm, drm/vmwgfx: Move the lock- and object functionality to the vmwgfx driver
drm/vmwgfx: Add a validation module v2
drm/vmwgfx: Modify the resource validation interface
drm/vmwgfx: Adapt execbuf to the new validation api
drm/vmwgfx: Use new validation interface for the modesetting code v2
drm/vmwgfx: Use a validation context allocator for relocations and validations
drm/vmwgfx: Reduce the size of buffer object relocations
drm/vmwgfx: Replace unconditional mutex unlocked warnings with lockdep counterpart
drm/vmwgfx: Remove the resource avail field
drm/vmwgfx: Remove the user resource destructor check
drm/vmwgfx: Make the object handles idr-generated
drm/vmwgfx: Look up objects without taking a reference
drm/ttm: Export ttm_bo_get_unless_zero()
drm/vmwgfx: Adapt validation code for reference-free lookups
drm/vmwgfx: Look up user buffer objects without taking a reference
drm/vmwgfx: Make buffer object lookups reference-free during validation
drm/vmwgfx: Don't refcount command-buffer managed resource lookups during command buffer validation
drm/vmwgfx: Don't refcount cotable lookups during command buffer validation
drm/vmwgfx: Make user resource lookups reference-free during validation
drivers/gpu/drm/ttm/Makefile | 4 +-
drivers/gpu/drm/ttm/ttm_bo_vm.c | 3 +-
drivers/gpu/drm/vmwgfx/Makefile | 4 +-
drivers/gpu/drm/{ttm => vmwgfx}/ttm_lock.c | 15 +-
.../drm/ttm => drivers/gpu/drm/vmwgfx}/ttm_lock.h | 0
drivers/gpu/drm/{ttm => vmwgfx}/ttm_object.c | 97 +-
.../ttm => drivers/gpu/drm/vmwgfx}/ttm_object.h | 31 +-
drivers/gpu/drm/vmwgfx/vmwgfx_bo.c | 50 +-
drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c | 4 +-
drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf_res.c | 3 +-
drivers/gpu/drm/vmwgfx/vmwgfx_context.c | 23 +-
drivers/gpu/drm/vmwgfx/vmwgfx_cotable.c | 2 +-
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c | 4 +-
drivers/gpu/drm/vmwgfx/vmwgfx_drv.h | 147 ++-
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c | 1288 ++++++++------------
drivers/gpu/drm/vmwgfx/vmwgfx_fence.c | 7 +-
drivers/gpu/drm/vmwgfx/vmwgfx_kms.c | 199 +--
drivers/gpu/drm/vmwgfx/vmwgfx_kms.h | 24 +-
drivers/gpu/drm/vmwgfx/vmwgfx_prime.c | 2 +-
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c | 124 +-
drivers/gpu/drm/vmwgfx/vmwgfx_resource_priv.h | 7 +-
drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c | 48 +-
drivers/gpu/drm/vmwgfx/vmwgfx_shader.c | 25 +-
drivers/gpu/drm/vmwgfx/vmwgfx_simple_resource.c | 7 +-
drivers/gpu/drm/vmwgfx/vmwgfx_so.c | 11 +-
drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c | 31 +-
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c | 20 +-
drivers/gpu/drm/vmwgfx/vmwgfx_validation.c | 770 ++++++++++++
drivers/gpu/drm/vmwgfx/vmwgfx_validation.h | 227 ++++
include/drm/ttm/ttm_bo_api.h | 18 +
30 files changed, 1966 insertions(+), 1229 deletions(-)
rename drivers/gpu/drm/{ttm => vmwgfx}/ttm_lock.c (94%)
rename {include/drm/ttm => drivers/gpu/drm/vmwgfx}/ttm_lock.h (100%)
rename drivers/gpu/drm/{ttm => vmwgfx}/ttm_object.c (90%)
rename {include/drm/ttm => drivers/gpu/drm/vmwgfx}/ttm_object.h (94%)
create mode 100644 drivers/gpu/drm/vmwgfx/vmwgfx_validation.c
create mode 100644 drivers/gpu/drm/vmwgfx/vmwgfx_validation.h
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
next reply other threads:[~2018-09-28 13:12 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-28 13:11 Thomas Hellstrom [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-01-16 9:29 [git pull] vmwgfx-next Thomas Hellström (VMware)
2020-01-20 21:09 ` Dave Airlie
2020-01-20 21:42 ` Thomas Hellström (VMware)
2020-01-21 9:49 ` Thomas Hellström (VMware)
2019-11-14 13:17 Thomas Hellström (VMware)
2019-08-15 7:15 Thomas Hellström (VMware)
[not found] <20190814073152.3120-1-thomas@shipmail.org>
2019-08-14 17:35 ` Thomas Hellström (VMware)
2019-06-19 7:25 Thomas Hellström (VMware)
2018-12-05 10:35 Thomas Hellstrom
2017-08-28 20:22 [Git PULL] vmwgfx-next Sinclair Yeh
2017-08-28 20:35 ` Dave Airlie
2017-08-28 20:39 ` Sinclair Yeh
2017-04-21 17:18 [git pull] vmwgfx-next Sinclair Yeh
2017-03-31 23:32 Sinclair Yeh
2017-04-02 18:11 ` Daniel Vetter
2017-04-03 19:00 ` Sinclair Yeh
2017-01-30 19:46 Sinclair Yeh
2015-11-06 15:29 Thomas Hellstrom
2015-11-02 8:23 Thomas Hellstrom
2015-08-06 12:54 Thomas Hellstrom
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=20180928131157.2810-1-thellstrom@vmware.com \
--to=thellstrom@vmware.com \
--cc=airlied@gmail.com \
--cc=airlied@redhat.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=linux-graphics-maintainer@vmware.com \
--cc=pv-drivers@vmware.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