mbox series

[v2,0/4] Fix memory limits for STDU

Message ID 20240406091119.26567-1-ian.forbes@broadcom.com (mailing list archive)
Headers show
Series Fix memory limits for STDU | expand

Message

Ian Forbes April 6, 2024, 9:11 a.m. UTC
v2:
 - Fix bug when not using 3D
 - Remove STDU code from generic code path
 - Always use KiB when logging kibibytes

Ian Forbes (4):
  drm/vmwgfx: Filter modes which exceed graphics memory
  drm/vmwgfx: 3D disabled should not effect STDU memory limits
  drm/vmwgfx: Remove STDU logic from generic mode_valid function
  drm/vmwgfx: Standardize use of kibibytes when logging

 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c           | 19 ++++-------
 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h           |  3 --
 drivers/gpu/drm/vmwgfx/vmwgfx_gmrid_manager.c |  4 +--
 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c           | 26 ++++++---------
 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c          | 32 ++++++++++++++++++-
 5 files changed, 48 insertions(+), 36 deletions(-)