Adding support for mks-stats and some cleanups/fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest9 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | drm/vmwgfx: Simplify devcaps codedrivers/ drivers/ drivers/ +4 more | +221 | 0 replies | |
| 2/9 | drm/vmwgfx: Introduce VMware mks-guest-statsdrivers/ drivers/ drivers/ +6 more | +919 | 0 replies | |
| 3/9 | drm/vmwgfx: Fix subresource updates with new contextsdrivers/ | +2 | 2 replies | |
| 4/9 | drm/vmwgfx: Fix some static checker warningsdrivers/ drivers/ drivers/ +7 more | +33 | 0 replies | |
| 5/9 | drm/vmwgfx: remove code that was using physical page addressesdrivers/ drivers/ drivers/ | +1 | 0 replies | |
| 6/9 | drm/vmwgfx: inline access to the pages from the piterdrivers/ drivers/ | +1 | 0 replies | |
| 7/9 | drm/vmwgfx: Refactor vmw_mksstat_remove_ioctl to expect pgid match with vmw_mksstat_add_ioctl to authorise removal.drivers/ | +13 | 0 replies | |
| 8/9 | drm/vmwgfx: Remove vmw_chipsetdrivers/ drivers/ | +3 | 0 replies | |
| 9/9 | drm/vmwgfx: Fix implicit declaration errordrivers/ | +1 | 1 reply |
Reviews trailers per patch
All 9 patches have a Reviewed-by or Acked-by.
| Patch | Roland Scheidegger | Martin Krastev | Zack Rusin | Christian König |
|---|---|---|---|---|
| 1/9 | R-b | R-b | ||
| 2/9 | R-b | |||
| 3/9 | R-b | R-b | ||
| 4/9 | R-b | R-b | ||
| 5/9 | R-b | |||
| 6/9 | R-b | |||
| 7/9 | R-b | |||
| 8/9 | R-b | R-b | ||
| 9/9 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.
Cover letter [PATCH 0/9] Adding support for mks-stats and some cleanups/fixes
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
Signature · 1 line
2.30.2