* [git pull] vmwgfx-next
@ 2020-01-16 9:29 Thomas Hellström (VMware)
2020-01-20 21:09 ` Dave Airlie
0 siblings, 1 reply; 21+ messages in thread
From: Thomas Hellström (VMware) @ 2020-01-16 9:29 UTC (permalink / raw)
To: airlied, airlied, daniel
Cc: pv-drivers, Thomas Hellström, linux-graphics-maintainer, dri-devel
Dave, Daniel
The main 5.6 -next pull from vmwgfx. Minor things here and there, as well
as an added ioctl for host messaging and a corresponding api version bump.
Thanks,
Thomas
The following changes since commit 71e7274066c646bb3d9da39d2f4db0a6404c0a2d:
Merge tag 'drm-intel-next-2020-01-14' of git://anongit.freedesktop.org/drm/drm-intel into drm-next (2020-01-15 16:57:54 +1000)
are available in the Git repository at:
git://people.freedesktop.org/~thomash/linux vmwgfx-next
for you to fetch changes up to b20414252068263c736d008e536658f9ce13d74a:
drm/vmwgfx: Use VM_PFNMAP instead of VM_MIXEDMAP when possible (2020-01-15 14:34:49 +0100)
----------------------------------------------------------------
Emil Velikov (3):
drm/vmwgfx: move the require_exist handling together
drm/vmwgfx: check master authentication in surface_ref ioctls
drm/vmwgfx: drop DRM_AUTH for render ioctls
Lukas Bulwahn (1):
drm/vmwgfx: Replace deprecated PTR_RET
Navid Emamdoost (1):
drm/vmwgfx: prevent memory leak in vmw_cmdbuf_res_add
Roland Scheidegger (1):
drm/vmwgfx: add ioctl for messaging from/to guest userspace to/from host
Thomas Hellstrom (3):
drm/vmwgfx: Don't use the HB port if memory encryption is active
drm/vmwgfx: Bump driver minor version
drm/vmwgfx: Use VM_PFNMAP instead of VM_MIXEDMAP when possible
Thomas Zimmermann (1):
drm/vmwgfx: Call vmw_driver_{load,unload}() before registering device
drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf_res.c | 4 +-
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c | 76 ++++++++++++++++++-------
drivers/gpu/drm/vmwgfx/vmwgfx_drv.h | 6 +-
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c | 21 +++++--
drivers/gpu/drm/vmwgfx/vmwgfx_msg.c | 90 +++++++++++++++++++++++++++++-
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c | 16 ++++--
drivers/gpu/drm/vmwgfx/vmwgfx_ttm_glue.c | 4 ++
include/uapi/drm/vmwgfx_drm.h | 17 ++++++
8 files changed, 200 insertions(+), 34 deletions(-)
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [git pull] vmwgfx-next
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)
0 siblings, 2 replies; 21+ messages in thread
From: Dave Airlie @ 2020-01-20 21:09 UTC (permalink / raw)
To: Thomas Hellström (VMware)
Cc: pv-drivers, Dave Airlie, Linux-graphics-maintainer, dri-devel
On Thu, 16 Jan 2020 at 19:30, Thomas Hellström (VMware)
<thomas_os@shipmail.org> wrote:
>
> Dave, Daniel
>
> The main 5.6 -next pull from vmwgfx. Minor things here and there, as well
> as an added ioctl for host messaging and a corresponding api version bump.
Is there userspace for this ioctl somewhere? I need a pointer to some
reviewed userspace MR for Mesa or other thing to add new uAPI to
drivers.
Dave.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [git pull] vmwgfx-next
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)
1 sibling, 0 replies; 21+ messages in thread
From: Thomas Hellström (VMware) @ 2020-01-20 21:42 UTC (permalink / raw)
To: Dave Airlie; +Cc: pv-drivers, Dave Airlie, Linux-graphics-maintainer, dri-devel
On 1/20/20 10:09 PM, Dave Airlie wrote:
> On Thu, 16 Jan 2020 at 19:30, Thomas Hellström (VMware)
> <thomas_os@shipmail.org> wrote:
>> Dave, Daniel
>>
>> The main 5.6 -next pull from vmwgfx. Minor things here and there, as well
>> as an added ioctl for host messaging and a corresponding api version bump.
> Is there userspace for this ioctl somewhere? I need a pointer to some
> reviewed userspace MR for Mesa or other thing to add new uAPI to
> drivers.
>
> Dave.
It's still in our internal repo. I'll post a mesa patch tomorrow and
send you a pointer.
Thanks,
Thomas
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [git pull] vmwgfx-next
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)
1 sibling, 0 replies; 21+ messages in thread
From: Thomas Hellström (VMware) @ 2020-01-21 9:49 UTC (permalink / raw)
To: Dave Airlie; +Cc: pv-drivers, Dave Airlie, Linux-graphics-maintainer, dri-devel
On 1/20/20 10:09 PM, Dave Airlie wrote:
> On Thu, 16 Jan 2020 at 19:30, Thomas Hellström (VMware)
> <thomas_os@shipmail.org> wrote:
>> Dave, Daniel
>>
>> The main 5.6 -next pull from vmwgfx. Minor things here and there, as well
>> as an added ioctl for host messaging and a corresponding api version bump.
> Is there userspace for this ioctl somewhere? I need a pointer to some
> reviewed userspace MR for Mesa or other thing to add new uAPI to
> drivers.
>
> Dave.
Hi, Dave,
Mesa patch posted:
https://lists.freedesktop.org/archives/mesa-dev/2020-January/224018.html
Thanks,
Thomas
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 21+ messages in thread
* [git pull] vmwgfx-next
@ 2019-11-14 13:17 Thomas Hellström (VMware)
0 siblings, 0 replies; 21+ messages in thread
From: Thomas Hellström (VMware) @ 2019-11-14 13:17 UTC (permalink / raw)
To: airlied, airlied, daniel
Cc: Thomas Hellström, linux-graphics-maintainer, dri-devel
Dave, Daniel
Two minor cleanups / fixes for -next.
The following changes since commit 3ca3a9eab7085b3c938b5d088c3020269cfecdc8:
Merge tag 'drm-misc-next-fixes-2019-11-06' of git://anongit.freedesktop.org/drm/drm-misc into drm-next (2019-11-08 16:48:22 +1000)
are available in the Git repository at:
git://people.freedesktop.org/~thomash/linux vmwgfx-next
for you to fetch changes up to b4011644b03c04b1a42068313c5b894da41d0698:
drm/vmwgfx: remove set but not used variable 'srf' (2019-11-14 08:41:36 +0100)
----------------------------------------------------------------
Thomas Hellstrom (1):
drm/ttm, drm/vmwgfx: Use a configuration option for the TTM dma page pool
YueHaibing (1):
drm/vmwgfx: remove set but not used variable 'srf'
drivers/gpu/drm/Kconfig | 7 +++++++
drivers/gpu/drm/ttm/Makefile | 4 ++--
drivers/gpu/drm/ttm/ttm_page_alloc_dma.c | 3 ---
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c | 3 +--
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c | 2 --
include/drm/ttm/ttm_page_alloc.h | 2 +-
6 files changed, 11 insertions(+), 10 deletions(-)
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 21+ messages in thread
* [git pull] vmwgfx-next
@ 2019-08-15 7:15 Thomas Hellström (VMware)
0 siblings, 0 replies; 21+ messages in thread
From: Thomas Hellström (VMware) @ 2019-08-15 7:15 UTC (permalink / raw)
To: airlied, daniel, dri-devel
Cc: pv-drivers, Thomas Hellstrom, linux-graphics-maintainer
From: Thomas Hellstrom (VMware) <thomas@shipmail.org>
Dave, Daniel
A couple of independent patches extracted from the 5.3 pull request, fixed for
merge conflicts and a single unused variable warning.
And the drmP.h removal from Sam.
/Thomas
The following changes since commit e7f7287bf5f746d29f3607178851246a005dd398:
Merge tag 'drm-next-5.4-2019-08-09' of git://people.freedesktop.org/~agd5f/linux into drm-next (2019-08-12 14:20:21 +1000)
are available in the Git repository at:
git://people.freedesktop.org/~thomash/linux/ vmwgfx-next
for you to fetch changes up to a0a63940b0c9ebc6d3156bbfe0c2cf7560b580cd:
drm/vmwgfx: Assign eviction priorities to resources (2019-08-15 08:40:05 +0200)
----------------------------------------------------------------
Deepak Rawat (2):
drm/vmwgfx: Add debug message for layout change ioctl
drm/vmwgfx: Use VMW_DEBUG_KMS for vmwgfx mode-setting user errors
Sam Ravnborg (2):
drm/vmwgfx: drop use of drmP.h in header files
drm/vmwgfx: drop reminaing users of drmP.h
Thomas Hellstrom (2):
drm/vmwgfx: Kill unneeded legacy security features
drm/vmwgfx: Assign eviction priorities to resources
drivers/gpu/drm/vmwgfx/ttm_lock.c | 100 --------------
drivers/gpu/drm/vmwgfx/ttm_lock.h | 32 +----
drivers/gpu/drm/vmwgfx/ttm_object.h | 7 +-
drivers/gpu/drm/vmwgfx/vmwgfx_binding.h | 3 +-
drivers/gpu/drm/vmwgfx/vmwgfx_bo.c | 3 +-
drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c | 3 +
drivers/gpu/drm/vmwgfx/vmwgfx_context.c | 4 +
drivers/gpu/drm/vmwgfx/vmwgfx_cotable.c | 13 +-
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c | 180 ++------------------------
drivers/gpu/drm/vmwgfx/vmwgfx_drv.h | 126 ++++++++++++++----
drivers/gpu/drm/vmwgfx/vmwgfx_fb.c | 8 +-
drivers/gpu/drm/vmwgfx/vmwgfx_fence.c | 3 +-
drivers/gpu/drm/vmwgfx/vmwgfx_fence.h | 5 +-
drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c | 6 +-
drivers/gpu/drm/vmwgfx/vmwgfx_gmr.c | 4 +-
drivers/gpu/drm/vmwgfx/vmwgfx_irq.c | 3 +-
drivers/gpu/drm/vmwgfx/vmwgfx_kms.c | 33 +++--
drivers/gpu/drm/vmwgfx/vmwgfx_kms.h | 2 +-
drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c | 6 +-
drivers/gpu/drm/vmwgfx/vmwgfx_mob.c | 2 +
drivers/gpu/drm/vmwgfx/vmwgfx_msg.c | 11 +-
drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c | 6 +-
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c | 60 ++++++---
drivers/gpu/drm/vmwgfx/vmwgfx_resource_priv.h | 2 +
drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c | 6 +-
drivers/gpu/drm/vmwgfx/vmwgfx_shader.c | 8 +-
drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c | 9 +-
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c | 10 +-
drivers/gpu/drm/vmwgfx/vmwgfx_ttm_glue.c | 1 -
drivers/gpu/drm/vmwgfx/vmwgfx_validation.h | 3 +-
30 files changed, 264 insertions(+), 395 deletions(-)
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [git pull] vmwgfx-next
[not found] <20190814073152.3120-1-thomas@shipmail.org>
@ 2019-08-14 17:35 ` Thomas Hellström (VMware)
0 siblings, 0 replies; 21+ messages in thread
From: Thomas Hellström (VMware) @ 2019-08-14 17:35 UTC (permalink / raw)
To: airlied, daniel, dri-devel; +Cc: pv-drivers, linux-graphics-maintainer
On 8/14/19 9:31 AM, Thomas Hellström (VMware) wrote:
> From: Thomas Hellstrom (VMware) <thomas@shipmail.org>
>
> Dave, Daniel
>
> A couple of independent patches extracted from the 5.3 pull request, fixed for
> merge conflicts.
>
Hmm. Just noted an unused variable resulting from one of the commits.
Please ignore this for now, and I'll do a quick respin.
/Thomas
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 21+ messages in thread
* [git pull] vmwgfx-next
@ 2019-06-19 7:25 Thomas Hellström (VMware)
0 siblings, 0 replies; 21+ messages in thread
From: Thomas Hellström (VMware) @ 2019-06-19 7:25 UTC (permalink / raw)
To: airlied, daniel, dri-devel
Cc: pv-drivers, Thomas Hellström, linux-graphics-maintainer
Dave, Daniel
- The coherent memory changes including mm changes.
- Some vmwgfx debug fixes.
- Removal of vmwgfx legacy security checks.
The following changes since commit 561564bea3248293398dc32ec36da40fb71faed0:
Merge tag 'omapdrm-5.3' of git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux into drm-next (2019-06-11 13:29:33 +0200)
are available in the Git repository at:
git://people.freedesktop.org/~thomash/linux/ vmwgfx-next
for you to fetch changes up to 9bbfda544ed79e8e9abde27bfe2c85428d582e7b:
drm/vmwgfx: Kill unneeded legacy security features (2019-06-18 15:22:48 +0200)
----------------------------------------------------------------
Deepak Rawat (2):
drm/vmwgfx: Add debug message for layout change ioctl
drm/vmwgfx: Use VMW_DEBUG_KMS for vmwgfx mode-setting user errors
Thomas Hellstrom (11):
drm/vmwgfx: Assign eviction priorities to resources
mm: Allow the [page|pfn]_mkwrite callbacks to drop the mmap_sem
mm: Add an apply_to_pfn_range interface
mm: Add write-protect and clean utilities for address space ranges
drm/ttm: Allow the driver to provide the ttm struct vm_operations_struct
drm/ttm: TTM fault handler helpers
drm/vmwgfx: Implement an infrastructure for write-coherent resources
drm/vmwgfx: Use an RBtree instead of linked list for MOB resources
drm/vmwgfx: Implement an infrastructure for read-coherent resources
drm/vmwgfx: Add surface dirty-tracking callbacks
drm/vmwgfx: Kill unneeded legacy security features
MAINTAINERS | 1 +
drivers/gpu/drm/ttm/ttm_bo.c | 1 +
drivers/gpu/drm/ttm/ttm_bo_vm.c | 169 +++++---
drivers/gpu/drm/vmwgfx/Kconfig | 1 +
drivers/gpu/drm/vmwgfx/Makefile | 2 +-
.../drm/vmwgfx/device_include/svga3d_surfacedefs.h | 233 +++++++++-
drivers/gpu/drm/vmwgfx/ttm_lock.c | 100 -----
drivers/gpu/drm/vmwgfx/ttm_lock.h | 30 --
drivers/gpu/drm/vmwgfx/vmwgfx_bo.c | 12 +-
drivers/gpu/drm/vmwgfx/vmwgfx_context.c | 4 +
drivers/gpu/drm/vmwgfx/vmwgfx_cotable.c | 13 +-
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c | 167 +-------
drivers/gpu/drm/vmwgfx/vmwgfx_drv.h | 139 ++++--
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c | 1 -
drivers/gpu/drm/vmwgfx/vmwgfx_kms.c | 23 +-
drivers/gpu/drm/vmwgfx/vmwgfx_page_dirty.c | 472 +++++++++++++++++++++
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c | 245 +++++++++--
drivers/gpu/drm/vmwgfx/vmwgfx_resource_priv.h | 15 +
drivers/gpu/drm/vmwgfx/vmwgfx_shader.c | 8 +-
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c | 405 +++++++++++++++++-
drivers/gpu/drm/vmwgfx/vmwgfx_validation.c | 74 +++-
drivers/gpu/drm/vmwgfx/vmwgfx_validation.h | 16 +-
include/drm/ttm/ttm_bo_api.h | 10 +
include/drm/ttm/ttm_bo_driver.h | 6 +
include/linux/mm.h | 19 +-
include/uapi/drm/vmwgfx_drm.h | 4 +-
mm/Kconfig | 3 +
mm/Makefile | 1 +
mm/as_dirty_helpers.c | 300 +++++++++++++
mm/memory.c | 145 +++++--
30 files changed, 2136 insertions(+), 483 deletions(-)
create mode 100644 drivers/gpu/drm/vmwgfx/vmwgfx_page_dirty.c
create mode 100644 mm/as_dirty_helpers.c
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 21+ messages in thread
* [git pull] vmwgfx-next
@ 2018-12-05 10:35 Thomas Hellstrom
0 siblings, 0 replies; 21+ messages in thread
From: Thomas Hellstrom @ 2018-12-05 10:35 UTC (permalink / raw)
To: airlied, airlied
Cc: pv-drivers, Thomas Hellstrom, linux-graphics-maintainer, dri-devel
Hi Dave,
The vmwgfx -next changes for 4.21:
Page flip with damage by Deepak and others,
Various vmwgfx minor fixes anc cleanups.
The following changes since commit 818182dd1097fdc492aaef9b08755ea13274352d:
Merge tag 'imx-drm-next-2018-12-03' of git://git.pengutronix.de/git/pza/linux into drm-next (2018-12-05 15:00:14 +1000)
are available in the Git repository at:
git://people.freedesktop.org/~thomash/linux tags/vmwgfx-next-2018-12-05
for you to fetch changes up to 9a01135b98b9d5a7033c544245da7aad0d886758:
drm/vmwgfx: Use the standard atomic helpers for page-flip (2018-12-05 10:09:55 +0100)
----------------------------------------------------------------
Pull request of 2018-12-05
----------------------------------------------------------------
Colin Ian King (1):
drm/vmwgfx: remove redundant return ret statement
Deepak Rawat (16):
drm: Add a new helper to validate damage during atomic_check
drm: Add helper iterator functions for plane fb_damage_clips blob
drm/selftest: Add drm damage helper selftest
drm/vmwgfx: Add a new interface for plane update on a display unit
drm/vmwgfx: Implement STDU plane update for surface backed fb
drm/vmwgfx: Implement STDU plane update for BO backed fb
drm/vmwgfx: Use the new interface for STDU plane update
drm/vmwgfx: Update comments for stdu plane update
drm/vmwgfx: Enable FB_DAMAGE_CLIPS property for STDU primary plane
drm/vmwgfx: Implement SOU plane update for surface backed fb
drm/vmwgfx: Implement SOU plane update for BO backed fb
drm/vmwgfx: Use the new interface for SOU plane update
drm/vmwgfx: Update comments for sou plane update function
drm/vmwgfx: Enable FB_DAMAGE_CLIPS property for SOU primary plane
drm/vmwgfx: Use atomic helper function for dirty fb IOCTL
drm/vmwgfx: Don't clear mode::type anymore
Lukasz Spintzyk (1):
drm: Add a new plane property to send damage during plane update
Rob Clark (1):
drm: Add helper to implement legacy dirtyfb
Sinclair Yeh (1):
MAINTAINERS: Update vmwgfx maintainers
Thomas Hellstrom (3):
drm/vmwgfx: Fix up the implicit display unit handling
drm/vmwgfx: Fix a layout race condition
drm/vmwgfx: Use the standard atomic helpers for page-flip
YueHaibing (1):
drm/vmwgfx: Remove set but not used variable 'file_priv'
Documentation/gpu/drm-kms.rst | 12 +
MAINTAINERS | 2 -
drivers/gpu/drm/Makefile | 2 +-
drivers/gpu/drm/drm_atomic.c | 22 +
drivers/gpu/drm/drm_atomic_helper.c | 3 +
drivers/gpu/drm/drm_atomic_uapi.c | 13 +
drivers/gpu/drm/drm_damage_helper.c | 334 +++++++++
drivers/gpu/drm/drm_mode_config.c | 6 +
drivers/gpu/drm/selftests/Makefile | 3 +-
drivers/gpu/drm/selftests/drm_modeset_selftests.h | 21 +
drivers/gpu/drm/selftests/test-drm_damage_helper.c | 811 +++++++++++++++++++++
.../gpu/drm/selftests/test-drm_modeset_common.h | 21 +
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c | 1 -
drivers/gpu/drm/vmwgfx/vmwgfx_drv.h | 11 -
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c | 2 -
drivers/gpu/drm/vmwgfx/vmwgfx_fence.c | 3 -
drivers/gpu/drm/vmwgfx/vmwgfx_kms.c | 569 +++++++--------
drivers/gpu/drm/vmwgfx/vmwgfx_kms.h | 150 +++-
drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c | 11 +-
drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c | 359 +++++++--
drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c | 561 ++++++++++----
include/drm/drm_damage_helper.h | 99 +++
include/drm/drm_mode_config.h | 9 +
include/drm/drm_plane.h | 42 ++
include/uapi/drm/drm_mode.h | 19 +
25 files changed, 2521 insertions(+), 565 deletions(-)
create mode 100644 drivers/gpu/drm/drm_damage_helper.c
create mode 100644 drivers/gpu/drm/selftests/test-drm_damage_helper.c
create mode 100644 include/drm/drm_damage_helper.h
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 21+ messages in thread
* [git pull] vmwgfx-next
@ 2018-09-28 13:11 Thomas Hellstrom
0 siblings, 0 replies; 21+ messages in thread
From: Thomas Hellstrom @ 2018-09-28 13:11 UTC (permalink / raw)
To: airlied, airlied
Cc: pv-drivers, Thomas Hellstrom, linux-graphics-maintainer, dri-devel
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
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [Git PULL] vmwgfx-next
2017-08-28 20:35 ` Dave Airlie
@ 2017-08-28 20:39 ` Sinclair Yeh
0 siblings, 0 replies; 21+ messages in thread
From: Sinclair Yeh @ 2017-08-28 20:39 UTC (permalink / raw)
To: Dave Airlie; +Cc: Dave Airlie, linux-graphics-maintainer, dri-devel
On Tue, Aug 29, 2017 at 06:35:38AM +1000, Dave Airlie wrote:
> On 29 August 2017 at 06:22, Sinclair Yeh <syeh@vmware.com> wrote:
> > Hi Dave,
> >
> > The following changes since commit 7c0059dd832cc686bf0febefdcf8295cdd93007f:
>
> Just a reminder, -next branches need to be sent before rc6 if you want
> them in the next kernel.
Sorry about this. We were finalizing a few patches.
>
> I'll take a look at this branch later since it's pretty late in the
> day, but I'm merging some other stuff that was stuck so I'll see if
> this has much impact.
Ok, if it doesn't work, then we'll just get onto the next train.
thanks,
Sinclair
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [Git PULL] vmwgfx-next
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
0 siblings, 1 reply; 21+ messages in thread
From: Dave Airlie @ 2017-08-28 20:35 UTC (permalink / raw)
To: Sinclair Yeh; +Cc: Dave Airlie, linux-graphics-maintainer, dri-devel
On 29 August 2017 at 06:22, Sinclair Yeh <syeh@vmware.com> wrote:
> Hi Dave,
>
> The following changes since commit 7c0059dd832cc686bf0febefdcf8295cdd93007f:
Just a reminder, -next branches need to be sent before rc6 if you want
them in the next kernel.
I'll take a look at this branch later since it's pretty late in the
day, but I'm merging some other stuff that was stuck so I'll see if
this has much impact.
Dave.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 21+ messages in thread
* [Git PULL] vmwgfx-next
@ 2017-08-28 20:22 Sinclair Yeh
2017-08-28 20:35 ` Dave Airlie
0 siblings, 1 reply; 21+ messages in thread
From: Sinclair Yeh @ 2017-08-28 20:22 UTC (permalink / raw)
To: airlied, airlied; +Cc: linux-graphics-maintainer, dri-devel
Hi Dave,
The following changes since commit 7c0059dd832cc686bf0febefdcf8295cdd93007f:
Merge branch 'linux-4.14' of git://github.com/skeggsb/linux into drm-next (2017-08-23 05:32:26 +1000)
are available in the git repository at:
git://people.freedesktop.org/~syeh/repos_linux drm-vmwgfx-next
for you to fetch changes up to d78acfe934e3b9f533f72ee3dde0982935fc2b32:
drm/vmwgfx: Bump the version for fence FD support (2017-08-28 17:53:32 +0200)
----------------------------------------------------------------
Sinclair Yeh (4):
drm/vmwgfx: Prepare to support fence fd
drm/vmwgfx: Add support for imported Fence File Descriptor
drm/vmwgfx: Add export fence to file descriptor support
drm/vmwgfx: Bump the version for fence FD support
Thomas Hellstrom (5):
drm/vmwgfx: Don't use drm_irq_[un]install
drm/vmwgfx: Move irq bottom half processing to threads
drm/vmwgfx: Restart command buffers after errors
drm/vmwgfx: Support the NOP_ERROR command
drm/vmwgfx: Fix incorrect command header offset at restart
drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c | 242 ++++++++++++++++++++++++++++++++++++++++++++----------------
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c | 11 +--
drivers/gpu/drm/vmwgfx/vmwgfx_drv.h | 39 ++++++----
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c | 148 +++++++++++++++++++++++++++++++++----
drivers/gpu/drm/vmwgfx/vmwgfx_fence.c | 104 +++++++++++++++++---------
drivers/gpu/drm/vmwgfx/vmwgfx_fence.h | 4 +
drivers/gpu/drm/vmwgfx/vmwgfx_irq.c | 111 +++++++++++++++++++++++-----
drivers/gpu/drm/vmwgfx/vmwgfx_kms.c | 2 +-
include/uapi/drm/vmwgfx_drm.h | 11 ++-
9 files changed, 511 insertions(+), 161 deletions(-)
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 21+ messages in thread
* [git pull] vmwgfx-next
@ 2017-04-21 17:18 Sinclair Yeh
0 siblings, 0 replies; 21+ messages in thread
From: Sinclair Yeh @ 2017-04-21 17:18 UTC (permalink / raw)
To: airlied; +Cc: sunny, dri-devel
Hi Dave,
The following changes since commit 6b1462700b4a6a1244c018cdd2fa97ded43090a0:
Merge tag 'drm-misc-next-fixes-2017-04-20' of git://anongit.freedesktop.org/git/drm-misc into drm-next (2017-04-21 13:51:59 +1000)
are available in the git repository at:
git://people.freedesktop.org/~syeh/repos_linux drm-vmwgfx-next
for you to fetch changes up to 7a9d2001a16f11d30a1e128a067cf1aef2a99a70:
drm/vmwgfx: Convert macro to octal representation (2017-04-21 09:25:47 -0700)
----------------------------------------------------------------
Øyvind A. Holm (1):
drm/vmwgfx: Convert macro to octal representation
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [git pull] vmwgfx-next
2017-04-02 18:11 ` Daniel Vetter
@ 2017-04-03 19:00 ` Sinclair Yeh
0 siblings, 0 replies; 21+ messages in thread
From: Sinclair Yeh @ 2017-04-03 19:00 UTC (permalink / raw)
To: Daniel Vetter; +Cc: airlied, linux-graphics-maintainer, dri-devel
On Sun, Apr 02, 2017 at 08:11:12PM +0200, Daniel Vetter wrote:
> On Fri, Mar 31, 2017 at 04:32:55PM -0700, Sinclair Yeh wrote:
> > Hi Dave,
> >
> > This series enables atomic mode set for vmwgfx. A number of features and
> > larger fixes are also included.
> >
> > The following changes since commit 8cd3ac52963f2e99f4c21d1c9ce89531ce66c2d6:
> >
> > Merge branch 'drm-next-4.12' of git://people.freedesktop.org/~agd5f/linux into drm-next (2017-03-31 11:47:18 +1000)
> >
> > are available in the git repository at:
> >
> > git://people.freedesktop.org/~syeh/repos_linux drm-vmwgfx-next
> >
> > for you to fetch changes up to 28c954299cd2b5cb5411816c9eeaf3f51ed4638e:
> >
> > drm/vmwgfx: Properly check display/scanout surface size (2017-03-31 15:21:20 -0700)
> >
> > ----------------------------------------------------------------
> > Sinclair Yeh (18):
> > drm/vmwgfx: Removed unused snooper.crtc field
> > drm/vmwgfx: Add universal plane support
> > drm/vmwgfx: CRTC atomic state
> > drm/vmwgfx: Plane atomic state
> > drm/vmwgfx: Connector atomic state
> > drm/vmwgfx: Add and connect CRTC helper functions
> > drm/vmwgfx: Add and connect plane helper functions
> > drm/vmwgfx: Add and connect connector helper function
> > drm/vmwgfx: Add and connect atomic state object check/commit
> > drm/vmwgfx: Fixes to vmwgfx_fb
> > drm/vmwgfx: Switch over to internal atomic API for STDU
> > drm/vmwgfx: Switch over to internal atomic API for SOU and LDU
> > drm/vmwgfx: Turn on DRIVER_ATOMIC flag
> > drm/vmwgfx: Explicityly track screen target width and height
> > drm/vmwgfx: Skipping fbdev fb pinning for ldu
> > drm/vmwgfx: Fix LDU X blank screen until mode change issue
> > drm/vmwgfx: Support topology greater than texture size
> > drm/vmwgfx: Properly check display/scanout surface size
> >
> > Thomas Hellstrom (3):
> > drm/vmwgfx: Introduce a simple resource type
> > drm/vmwgfx: Re-implement the stream resource as a simple resource.
> > drm/vmwgfx: Define an overlaid handle_close ioctl.
> >
> > Øyvind A. Holm (1):
> > drm/vmwgfx: Revert "drm/vmwgfx: Replace numeric parameter like 0444 with macro"
>
> Quite a pile of conflicts of this against the drm-misc-next pull. Nothing
> too hairy, but just more reasons to remove all the vmwgfx special cases
> again :-)
> Also noticed that you've forgotten to garabge collect the legacy cursor
> functions. Probably a good reason for having vfunc implementations in the
> same file as the vtable so that they can all be static and the compiler
> will tell you when you forget to remove stuff. vmwgfx and radeon/amdgpu
> are anti-pattern drivers in this regard imo. On top it's annoying when you
> always have to change a prototype in 2 places when doing a subsystem-wide
> change :-)
Thanks, I'll clean this up.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [git pull] vmwgfx-next
2017-03-31 23:32 Sinclair Yeh
@ 2017-04-02 18:11 ` Daniel Vetter
2017-04-03 19:00 ` Sinclair Yeh
0 siblings, 1 reply; 21+ messages in thread
From: Daniel Vetter @ 2017-04-02 18:11 UTC (permalink / raw)
To: Sinclair Yeh; +Cc: airlied, linux-graphics-maintainer, dri-devel
On Fri, Mar 31, 2017 at 04:32:55PM -0700, Sinclair Yeh wrote:
> Hi Dave,
>
> This series enables atomic mode set for vmwgfx. A number of features and
> larger fixes are also included.
>
> The following changes since commit 8cd3ac52963f2e99f4c21d1c9ce89531ce66c2d6:
>
> Merge branch 'drm-next-4.12' of git://people.freedesktop.org/~agd5f/linux into drm-next (2017-03-31 11:47:18 +1000)
>
> are available in the git repository at:
>
> git://people.freedesktop.org/~syeh/repos_linux drm-vmwgfx-next
>
> for you to fetch changes up to 28c954299cd2b5cb5411816c9eeaf3f51ed4638e:
>
> drm/vmwgfx: Properly check display/scanout surface size (2017-03-31 15:21:20 -0700)
>
> ----------------------------------------------------------------
> Sinclair Yeh (18):
> drm/vmwgfx: Removed unused snooper.crtc field
> drm/vmwgfx: Add universal plane support
> drm/vmwgfx: CRTC atomic state
> drm/vmwgfx: Plane atomic state
> drm/vmwgfx: Connector atomic state
> drm/vmwgfx: Add and connect CRTC helper functions
> drm/vmwgfx: Add and connect plane helper functions
> drm/vmwgfx: Add and connect connector helper function
> drm/vmwgfx: Add and connect atomic state object check/commit
> drm/vmwgfx: Fixes to vmwgfx_fb
> drm/vmwgfx: Switch over to internal atomic API for STDU
> drm/vmwgfx: Switch over to internal atomic API for SOU and LDU
> drm/vmwgfx: Turn on DRIVER_ATOMIC flag
> drm/vmwgfx: Explicityly track screen target width and height
> drm/vmwgfx: Skipping fbdev fb pinning for ldu
> drm/vmwgfx: Fix LDU X blank screen until mode change issue
> drm/vmwgfx: Support topology greater than texture size
> drm/vmwgfx: Properly check display/scanout surface size
>
> Thomas Hellstrom (3):
> drm/vmwgfx: Introduce a simple resource type
> drm/vmwgfx: Re-implement the stream resource as a simple resource.
> drm/vmwgfx: Define an overlaid handle_close ioctl.
>
> Øyvind A. Holm (1):
> drm/vmwgfx: Revert "drm/vmwgfx: Replace numeric parameter like 0444 with macro"
Quite a pile of conflicts of this against the drm-misc-next pull. Nothing
too hairy, but just more reasons to remove all the vmwgfx special cases
again :-)
Also noticed that you've forgotten to garabge collect the legacy cursor
functions. Probably a good reason for having vfunc implementations in the
same file as the vtable so that they can all be static and the compiler
will tell you when you forget to remove stuff. vmwgfx and radeon/amdgpu
are anti-pattern drivers in this regard imo. On top it's annoying when you
always have to change a prototype in 2 places when doing a subsystem-wide
change :-)
Cheers, Daniel
> drivers/gpu/drm/vmwgfx/Makefile | 3 +-
> drivers/gpu/drm/vmwgfx/vmwgfx_drv.c | 13 +-
> drivers/gpu/drm/vmwgfx/vmwgfx_drv.h | 2 +-
> drivers/gpu/drm/vmwgfx/vmwgfx_fb.c | 27 ++-
> drivers/gpu/drm/vmwgfx/vmwgfx_kms.c | 1111 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------
> drivers/gpu/drm/vmwgfx/vmwgfx_kms.h | 143 ++++++++++++--
> drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c | 373 ++++++++++++++++++++++++-----------
> drivers/gpu/drm/vmwgfx/vmwgfx_resource.c | 254 ------------------------
> drivers/gpu/drm/vmwgfx/vmwgfx_resource_priv.h | 40 ++++
> drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c | 510 +++++++++++++++++++++++++++++++-----------------
> drivers/gpu/drm/vmwgfx/vmwgfx_simple_resource.c | 256 ++++++++++++++++++++++++
> drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c | 937 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------
> drivers/gpu/drm/vmwgfx/vmwgfx_surface.c | 15 +-
> drivers/gpu/drm/vmwgfx/vmwgfx_va.c | 168 ++++++++++++++++
> include/uapi/drm/vmwgfx_drm.h | 24 +++
> 15 files changed, 2856 insertions(+), 1020 deletions(-)
> create mode 100644 drivers/gpu/drm/vmwgfx/vmwgfx_simple_resource.c
> create mode 100644 drivers/gpu/drm/vmwgfx/vmwgfx_va.c
>
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel
--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 21+ messages in thread
* [git pull] vmwgfx-next
@ 2017-03-31 23:32 Sinclair Yeh
2017-04-02 18:11 ` Daniel Vetter
0 siblings, 1 reply; 21+ messages in thread
From: Sinclair Yeh @ 2017-03-31 23:32 UTC (permalink / raw)
To: airlied, airlied; +Cc: linux-graphics-maintainer, dri-devel
Hi Dave,
This series enables atomic mode set for vmwgfx. A number of features and
larger fixes are also included.
The following changes since commit 8cd3ac52963f2e99f4c21d1c9ce89531ce66c2d6:
Merge branch 'drm-next-4.12' of git://people.freedesktop.org/~agd5f/linux into drm-next (2017-03-31 11:47:18 +1000)
are available in the git repository at:
git://people.freedesktop.org/~syeh/repos_linux drm-vmwgfx-next
for you to fetch changes up to 28c954299cd2b5cb5411816c9eeaf3f51ed4638e:
drm/vmwgfx: Properly check display/scanout surface size (2017-03-31 15:21:20 -0700)
----------------------------------------------------------------
Sinclair Yeh (18):
drm/vmwgfx: Removed unused snooper.crtc field
drm/vmwgfx: Add universal plane support
drm/vmwgfx: CRTC atomic state
drm/vmwgfx: Plane atomic state
drm/vmwgfx: Connector atomic state
drm/vmwgfx: Add and connect CRTC helper functions
drm/vmwgfx: Add and connect plane helper functions
drm/vmwgfx: Add and connect connector helper function
drm/vmwgfx: Add and connect atomic state object check/commit
drm/vmwgfx: Fixes to vmwgfx_fb
drm/vmwgfx: Switch over to internal atomic API for STDU
drm/vmwgfx: Switch over to internal atomic API for SOU and LDU
drm/vmwgfx: Turn on DRIVER_ATOMIC flag
drm/vmwgfx: Explicityly track screen target width and height
drm/vmwgfx: Skipping fbdev fb pinning for ldu
drm/vmwgfx: Fix LDU X blank screen until mode change issue
drm/vmwgfx: Support topology greater than texture size
drm/vmwgfx: Properly check display/scanout surface size
Thomas Hellstrom (3):
drm/vmwgfx: Introduce a simple resource type
drm/vmwgfx: Re-implement the stream resource as a simple resource.
drm/vmwgfx: Define an overlaid handle_close ioctl.
Øyvind A. Holm (1):
drm/vmwgfx: Revert "drm/vmwgfx: Replace numeric parameter like 0444 with macro"
drivers/gpu/drm/vmwgfx/Makefile | 3 +-
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c | 13 +-
drivers/gpu/drm/vmwgfx/vmwgfx_drv.h | 2 +-
drivers/gpu/drm/vmwgfx/vmwgfx_fb.c | 27 ++-
drivers/gpu/drm/vmwgfx/vmwgfx_kms.c | 1111 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------
drivers/gpu/drm/vmwgfx/vmwgfx_kms.h | 143 ++++++++++++--
drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c | 373 ++++++++++++++++++++++++-----------
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c | 254 ------------------------
drivers/gpu/drm/vmwgfx/vmwgfx_resource_priv.h | 40 ++++
drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c | 510 +++++++++++++++++++++++++++++++-----------------
drivers/gpu/drm/vmwgfx/vmwgfx_simple_resource.c | 256 ++++++++++++++++++++++++
drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c | 937 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c | 15 +-
drivers/gpu/drm/vmwgfx/vmwgfx_va.c | 168 ++++++++++++++++
include/uapi/drm/vmwgfx_drm.h | 24 +++
15 files changed, 2856 insertions(+), 1020 deletions(-)
create mode 100644 drivers/gpu/drm/vmwgfx/vmwgfx_simple_resource.c
create mode 100644 drivers/gpu/drm/vmwgfx/vmwgfx_va.c
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 21+ messages in thread
* [git pull] vmwgfx-next
@ 2017-01-30 19:46 Sinclair Yeh
0 siblings, 0 replies; 21+ messages in thread
From: Sinclair Yeh @ 2017-01-30 19:46 UTC (permalink / raw)
To: airlied; +Cc: thellstrom, dri-devel
Hi Dave,
This is to address what we've discussed, moving some of the minor changes
into a drm-next request.
-----
The following changes since commit f0493e653f9679114d1dfd54ab88b54ce95576e1:
drm/mgag200: Added support for the new device G200eH3 (2017-01-23 11:57:08 +1000)
are available in the git repository at:
git://people.freedesktop.org/~syeh/repos_linux drm-vmwgfx-next
for you to fetch changes up to 5d25fde23b3176c7f94d2a992cb9762707d7c2a0:
drm/vmwgfx: Use kmemdup instead of kmalloc and memcpy (2017-01-26 21:26:17 -0800)
----------------------------------------------------------------
Shyam Saini (1):
drm/vmwgfx: Use kmemdup instead of kmalloc and memcpy
Sinclair Yeh (1):
drm/vmwgfx: Fix depth input into drm_mode_legacy_fb_format
Thomas Hellstrom (4):
drm/vmwgfx: Clear uninitialized fields of a parameter
drm/vmwgfx: Annotate ignored return values
drm/vmwgfx: Clear an uninitialized struct member
drm/vmwgfx: Fix a potential integer overflow
drivers/gpu/drm/vmwgfx/device_include/svga3d_surfacedefs.h | 2 ++
drivers/gpu/drm/vmwgfx/vmwgfx_buffer.c | 2 +-
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c | 2 +-
drivers/gpu/drm/vmwgfx/vmwgfx_fb.c | 3 +--
drivers/gpu/drm/vmwgfx/vmwgfx_kms.c | 4 ++--
drivers/gpu/drm/vmwgfx/vmwgfx_mob.c | 7 +++----
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c | 4 ++--
7 files changed, 12 insertions(+), 12 deletions(-)
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 21+ messages in thread
* [git pull] vmwgfx-next
@ 2015-11-06 15:29 Thomas Hellstrom
0 siblings, 0 replies; 21+ messages in thread
From: Thomas Hellstrom @ 2015-11-06 15:29 UTC (permalink / raw)
To: airlied, airlied
Cc: pv-drivers, Thomas Hellstrom, linux-graphics-maintainer, dri-devel
Dave,
One is fix for a regression in 4.3, One irq locking rework.
The following changes since commit b76ff5ea1cf6fe648e7ce2b84e636f8a95849a0b:
drm/vmwgfx: Replace iowrite/ioread with volatile memory accesses (2015-11-02 00:16:05 -0800)
are available in the git repository at:
git://people.freedesktop.org/~thomash/linux vmwgfx-next
for you to fetch changes up to d2e8851a909c76c6f0b34553f2c9993808bc1d58:
drm/vmwgfx: Relax irq locking somewhat (2015-11-06 16:15:40 +0100)
----------------------------------------------------------------
Thomas Hellstrom (2):
drm/vmwgfx: Properly flush cursor updates and page-flips
drm/vmwgfx: Relax irq locking somewhat
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c | 2 +-
drivers/gpu/drm/vmwgfx/vmwgfx_drv.h | 9 ++-
drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c | 23 ++------
drivers/gpu/drm/vmwgfx/vmwgfx_irq.c | 104 ++++++++++-------------------------
drivers/gpu/drm/vmwgfx/vmwgfx_kms.c | 2 +-
drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c | 2 +
6 files changed, 42 insertions(+), 100 deletions(-)
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 21+ messages in thread
* [git pull] vmwgfx-next
@ 2015-11-02 8:23 Thomas Hellstrom
0 siblings, 0 replies; 21+ messages in thread
From: Thomas Hellstrom @ 2015-11-02 8:23 UTC (permalink / raw)
To: airlied, airlied
Cc: pv-drivers, Thomas Hellstrom, linux-graphics-maintainer, dri-devel
Dave,
Changes for vmwgfx for 4.4. If there is time, I'll follow up with a series
to move to threaded irqs.
The following changes since commit a76edb8cec0cc864c8b72fa7e84a72336e033e23:
Merge tag 'topic/drm-misc-2015-10-22' of git://anongit.freedesktop.org/drm-intel into drm-next (2015-10-30 09:49:06 +1000)
are available in the git repository at:
git://people.freedesktop.org/git/~thomash/linux vmwgfx-next
for you to fetch changes up to b76ff5ea1cf6fe648e7ce2b84e636f8a95849a0b:
drm/vmwgfx: Replace iowrite/ioread with volatile memory accesses (2015-11-02 00:16:05 -0800)
----------------------------------------------------------------
Dan Williams (1):
drm/vmwgfx: switch from ioremap_cache to memremap
Thomas Hellstrom (2):
drm/vmwgfx: Turn off support for multisample count != 0 v2
drm/vmwgfx: Replace iowrite/ioread with volatile memory accesses
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c | 8 +--
drivers/gpu/drm/vmwgfx/vmwgfx_drv.h | 28 +++++++-
drivers/gpu/drm/vmwgfx/vmwgfx_fence.c | 24 +++----
drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c | 109 +++++++++++++++-----------------
drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c | 38 ++++++++---
drivers/gpu/drm/vmwgfx/vmwgfx_irq.c | 9 +--
drivers/gpu/drm/vmwgfx/vmwgfx_kms.c | 23 +++----
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c | 2 +
8 files changed, 140 insertions(+), 101 deletions(-)
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 21+ messages in thread
* [git pull] vmwgfx-next
@ 2015-08-06 12:54 Thomas Hellstrom
0 siblings, 0 replies; 21+ messages in thread
From: Thomas Hellstrom @ 2015-08-06 12:54 UTC (permalink / raw)
To: dri-devel, airlied, airlied
Cc: pv-drivers, Thomas Hellstrom, linux-graphics-maintainer
Dave,
Take 2 implementing screen targets, this time with the fbdev code adjusted
accordingly.
Also there is an implementation of register-driven command buffers, that
overrides the FIFO ring for command processing. It's needed for our upcoming
hardware revision.
The following changes since commit dcd14dd957f02ef679c61325a2221a0574bdcab3:
Merge tag 'topic/connector-locking-2015-07-23' of git://anongit.freedesktop.org/drm-intel into drm-next (2015-07-24 14:30:29 +1000)
are available in the git repository at:
git://people.freedesktop.org/~thomash/linux vmwgfx-next
for you to fetch changes up to 6a5278ee34e7fd4b051fd107a94a099778458d8c:
drm/vmwgfx: Fix an uninitialized value (2015-08-05 14:01:12 +0200)
----------------------------------------------------------------
Sinclair Yeh (5):
drm/vmwgfx: SVGA device definition update
drm/vmwgfx: Refactor vmw_gb_surface_define_ioctl()
vmwgfx: Major KMS refactoring / cleanup in preparation of screen targets
drm/vmwgfx: Implement screen targets
drm/vmwgfx: Replace SurfaceDMA usage with SurfaceCopy in 2D VMs
Thomas Hellstrom (20):
drm/vmwgfx: Fix an fb unlocking bug
vmwgfx: Rework device initialization
drm/vmwgfx: Fix OTABLE takedown
vmwgfx: Update device headers for command buffers.
drm/vmwgfx: Add command buffer support v3
drm/vmwgfx: Fix an overlay lockdep error
drm/vmwgfx: Add an interface to pin a resource v3
drm/vmwgfx: Add "quirk" to handling command verification exceptions
drm/vmwgfx: Introduce a pin count to allow for recursive pinning v2
drm/vmwgfx: Add kms helpers for dirty- and readback functions
drm/vmwgfx: Convert screen objects to the new helpers
drm/vmwgfx: Convert screen targets to new helpers v3
drm/vmwgfx: Avoid cmdbuf alloc sleeping if !TASK_RUNNING
drm/vmwgfx: Add a kernel interface to create a framebuffer v2
drm/vmwgfx: Implement fbdev on kms v2
drm/vmwgfx: Reinstate the legacy display system dirty callback
drm/vmwgfx: Fix kms preferred mode sorting
drm/vmwgfx: Kill a bunch of sparse warnings
drm/vmwgfx: Fix compiler warning with 32-bit dma_addr_t
drm/vmwgfx: Fix an uninitialized value
drivers/gpu/drm/vmwgfx/Makefile | 2 +-
drivers/gpu/drm/vmwgfx/svga3d_reg.h | 60 +-
drivers/gpu/drm/vmwgfx/svga3d_surfacedefs.h | 67 +-
drivers/gpu/drm/vmwgfx/svga_reg.h | 187 ++++
drivers/gpu/drm/vmwgfx/svga_types.h | 3 +
drivers/gpu/drm/vmwgfx/vmwgfx_buffer.c | 13 +
drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c | 1304 ++++++++++++++++++++++
drivers/gpu/drm/vmwgfx/vmwgfx_context.c | 20 +-
drivers/gpu/drm/vmwgfx/vmwgfx_dmabuf.c | 182 ++-
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c | 440 ++++----
drivers/gpu/drm/vmwgfx/vmwgfx_drv.h | 162 ++-
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c | 292 +++--
drivers/gpu/drm/vmwgfx/vmwgfx_fb.c | 558 ++++++----
drivers/gpu/drm/vmwgfx/vmwgfx_fence.c | 8 +-
drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c | 122 +-
drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c | 12 +-
drivers/gpu/drm/vmwgfx/vmwgfx_irq.c | 45 +-
drivers/gpu/drm/vmwgfx/vmwgfx_kms.c | 1593 +++++++++++++--------------
drivers/gpu/drm/vmwgfx/vmwgfx_kms.h | 192 +++-
drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c | 47 +-
drivers/gpu/drm/vmwgfx/vmwgfx_mob.c | 43 +-
drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c | 10 +-
drivers/gpu/drm/vmwgfx/vmwgfx_reg.h | 6 +-
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c | 130 ++-
drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c | 556 +++++++++-
drivers/gpu/drm/vmwgfx/vmwgfx_shader.c | 14 +-
drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c | 1265 +++++++++++++++++++++
drivers/gpu/drm/vmwgfx/vmwgfx_surface.c | 215 ++--
include/uapi/drm/vmwgfx_drm.h | 1 +
29 files changed, 5892 insertions(+), 1657 deletions(-)
create mode 100644 drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c
create mode 100644 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 21+ messages in thread
end of thread, other threads:[~2020-01-21 9:49 UTC | newest]
Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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)
-- strict thread matches above, loose matches on Subject: below --
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
2018-09-28 13:11 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
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.