[PATCH 0/9] Adding support for mks-stats and some cleanups/fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux