[Spice-devel] [PATCH qxl-win] cleanup before S3

Alon Levy alevy at redhat.com
Mon Jun 20 03:59:26 PDT 2011


Included changes:
 debug helpers to dump mspace contents (main and vram bars)
 implmenetation of SetPowerState:VideoPowerOn
  (small - just main memslot+int_mask reset)
 a lot of debug prints use pdev instead of NULL (to allow log to show
  up on the host side via QXL_IO_LOG)
 some refactoring that is used in the last patchset.
 fix of mspace debug methods that were not previously used.
 rename FreeSurface to FreeSurfaceInfo (since it frees SurfaceInfo)

Alon Levy (23):
  miniport/qxl: store vram_start on video memory map for later debug
    usage
  miniport/qxl: implement SetPowerState:VideoPowerOn
  miniport/qxl: add DebugZeroDeviceMemory and use in DBG for hibernate
    and
  miniport: pass dev as first parameter of DEBUG_PRINT instead of 0
  miniport/qxl: disable DBG zap of video ram on map
  miniport/qxl: SetVideoModeInfo: pass QXLExtension for debug prints
  miniport/qxl: raise loglevel for mode prints
  display/mspace: fix mspace_max_footprint and mspace_footprint
  display/{driver,surface}: use pdev in some DEBUG_PRINTs
  display/driver: add DebugCountAliveSurfaces
  display/*: add debug helpers DUMP_VRAM_MSPACE and DUMP_DEVRAM_MSPACE
  display/driver: DisableQXLPrimarySurface: add hide_mouse parameter
    (reused in DrvAssertModeDisable later)
  driver/res: add debugging prints of released resources types
  (mp+dd) whitespace cleanup
  display/res: fix typo in debug print
  display: add a few debug prints (level=3)
  display/*: s/FreeSurface/FreeSurfaceInfo/
  display/res: add helpers for clearing device memory
  display/res: __AllocMem: verbose debugging (log_level 12)
  display/res: add a debug print level 9
  display/surface: add QXL_SURFACE_HOOKS define
  display/surface: GetSurfaceId: return -1 if \!surf->dhsurf
  display/surface: FreeSurfaceInfo: ignore double frees

Yonit Halperin (2):
  display/res: substitute CursorCacheRemove false "break" with "return"
  display/res: make (Cursor|Palette)CacheRemove always release the
    object

 display/driver.c  |   85 ++++++++++++-----
 display/mspace.c  |    6 +-
 display/qxldd.h   |   25 +++++
 display/res.c     |  268 ++++++++++++++++++++++++++++++++++++++++++++---------
 display/res.h     |    4 +
 display/surface.c |   13 +--
 display/surface.h |   28 +++++-
 miniport/qxl.c    |  246 +++++++++++++++++++++++++++++--------------------
 8 files changed, 489 insertions(+), 186 deletions(-)

-- 
1.7.5.2



More information about the Spice-devel mailing list