All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/9] Adding support for mks-stats and some cleanups/fixes
@ 2021-06-09 17:22 Zack Rusin
  2021-06-09 17:22 ` [PATCH 1/9] drm/vmwgfx: Simplify devcaps code Zack Rusin
                   ` (8 more replies)
  0 siblings, 9 replies; 13+ messages in thread
From: Zack Rusin @ 2021-06-09 17:22 UTC (permalink / raw)
  To: dri-devel

Our GL driver added support for mks-stats (a count/time based profiling
that can combine guest/host stats into a singular profile) a while
back but it was only used on windows. This set adds support for
mks-stats to the kernel driver. The stats are reported in the host
side logs. With time we'll be expanding the list of kernel side stats,
currently only execbuf is being measured. The GL driver already
has all the relevant entrypoints measured.

There's also a bunch of cleanups and fixes.

Martin Krastev (2):
  drm/vmwgfx: Introduce VMware mks-guest-stats
  drm/vmwgfx: Refactor vmw_mksstat_remove_ioctl to expect pgid match
    with vmw_mksstat_add_ioctl to authorise removal.

Zack Rusin (7):
  drm/vmwgfx: Simplify devcaps code
  drm/vmwgfx: Fix subresource updates with new contexts
  drm/vmwgfx: Fix some static checker warnings
  drm/vmwgfx: remove code that was using physical page addresses
  drm/vmwgfx: inline access to the pages from the piter
  drm/vmwgfx: Remove vmw_chipset
  drm/vmwgfx: Fix implicit declaration error

 drivers/gpu/drm/vmwgfx/Kconfig                |   7 +
 drivers/gpu/drm/vmwgfx/Makefile               |   2 +-
 .../drm/vmwgfx/device_include/svga_types.h    |  92 ++-
 .../vmwgfx/device_include/vm_basic_types.h    |  22 -
 drivers/gpu/drm/vmwgfx/ttm_memory.c           |   2 +
 drivers/gpu/drm/vmwgfx/vmwgfx_binding.c       |  20 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_cmd.c           |   6 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c        |   2 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf_res.c    |   4 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_devcaps.c       | 142 +++++
 drivers/gpu/drm/vmwgfx/vmwgfx_devcaps.h       |  50 ++
 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c           |  58 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h           |  38 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c       |  15 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c         | 109 +---
 drivers/gpu/drm/vmwgfx/vmwgfx_mksstat.h       | 144 +++++
 drivers/gpu/drm/vmwgfx/vmwgfx_mob.c           |   4 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c           | 579 +++++++++++++++++-
 drivers/gpu/drm/vmwgfx/vmwgfx_resource.c      |   8 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_so.c            |   3 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c       |   5 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c    |  35 --
 drivers/gpu/drm/vmwgfx/vmwgfx_validation.c    |   4 +-
 include/uapi/drm/vmwgfx_drm.h                 |  41 ++
 24 files changed, 1175 insertions(+), 217 deletions(-)
 delete mode 100644 drivers/gpu/drm/vmwgfx/device_include/vm_basic_types.h
 create mode 100644 drivers/gpu/drm/vmwgfx/vmwgfx_devcaps.c
 create mode 100644 drivers/gpu/drm/vmwgfx/vmwgfx_devcaps.h
 create mode 100644 drivers/gpu/drm/vmwgfx/vmwgfx_mksstat.h

-- 
2.30.2


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2021-06-10 17:00 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-09 17:22 [PATCH 0/9] Adding support for mks-stats and some cleanups/fixes Zack Rusin
2021-06-09 17:22 ` [PATCH 1/9] drm/vmwgfx: Simplify devcaps code Zack Rusin
2021-06-09 17:23 ` [PATCH 2/9] drm/vmwgfx: Introduce VMware mks-guest-stats Zack Rusin
2021-06-09 17:23 ` [PATCH 3/9] drm/vmwgfx: Fix subresource updates with new contexts Zack Rusin
2021-06-10  6:49   ` Thomas Hellström (Intel)
2021-06-10 16:59     ` Zack Rusin
2021-06-09 17:23 ` [PATCH 4/9] drm/vmwgfx: Fix some static checker warnings Zack Rusin
2021-06-09 17:23 ` [PATCH 5/9] drm/vmwgfx: remove code that was using physical page addresses Zack Rusin
2021-06-09 17:23 ` [PATCH 6/9] drm/vmwgfx: inline access to the pages from the piter Zack Rusin
2021-06-09 17:23 ` [PATCH 7/9] drm/vmwgfx: Refactor vmw_mksstat_remove_ioctl to expect pgid match with vmw_mksstat_add_ioctl to authorise removal Zack Rusin
2021-06-09 17:23 ` [PATCH 8/9] drm/vmwgfx: Remove vmw_chipset Zack Rusin
2021-06-09 17:23 ` [PATCH 9/9] drm/vmwgfx: Fix implicit declaration error Zack Rusin
2021-06-09 17:24   ` Christian König

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.