Skip to content

Miscellaneous stability patches

Frediano Ziglio dri-devel lkml 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest11 patches 0 repliesNew
  2. v111 patches 18 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11drm/qxl: Do not cause spice-server to clean our objectsdrivers/gpu/drm/qxl/qxl_cmd.c+1 -00 replies
2/11drm/qxl: Do not leak memory if qxl_release_list_add failsdrivers/gpu/drm/qxl/qxl_ioctl.c+3 -10 replies
3/11drm/qxl: Fix print statement not using uninitialized variabledrivers/gpu/drm/qxl/qxl_ioctl.c+1 -10 replies
4/11drm/qxl: Avoid double free on errordrivers/gpu/drm/qxl/qxl_ioctl.c+0 -20 replies
5/11drm/qxl: Handle all errors in qxl_surface_evictdrivers/gpu/drm/qxl/qxl_cmd.c+4 -40 replies
6/11drm/qxl: Fix return for qxl_release_allocdrivers/gpu/drm/qxl/qxl_release.c+1 -10 replies
7/11drm/qxl: Handle correctly failures in qxl_alloc_relase_reserveddrivers/gpu/drm/qxl/qxl_release.c+7 -20 replies
8/11drm/qxl: Remove format string errorsdrivers/gpu/drm/qxl/qxl_cmd.c drivers/gpu/drm/qxl/qxl_display.c drivers/gpu/drm/qxl/qxl_drv.h +1 more+4 -40 replies
9/11drm/qxl: Move main reference counter to GEM object instead of TTM onesdrivers/gpu/drm/qxl/qxl_gem.c drivers/gpu/drm/qxl/qxl_object.c+12 -90 replies
10/11drm/qxl: Simplify cleaning qxl processing commanddrivers/gpu/drm/qxl/qxl_ioctl.c+3 -100 replies
11/11drm/qxl: Propagate correctly errors from qxlhw_handle_to_bodrivers/gpu/drm/qxl/qxl_ioctl.c+14 -190 replies

Reviews trailers per patch

All 11 patches have a Reviewed-by or Acked-by.

PatchDave Airlie
1/11R-b
2/11R-b
3/11R-b
4/11R-b
5/11R-b
6/11R-b
7/11R-b
8/11R-b
9/11R-b
10/11R-b
11/11R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH 00/11 v2] Miscellaneous stability patches

This set of patches mainly contains fix for some memory issues using quite aggressively surfaces and other minor problems like images going black after a while.

There are no code change from v1, changes:
- fix path prefix
- rebased on drm-next branch;
- add "drm/qxl" prefix on subject;
- add reviewed by.

About which patches should be applied surely (attempting to put a priority)
- "Move main reference counter to GEM object instead of TTM ones" this can causes memory corruption even not wanting to;
- "Avoid double free on error" this can be cause leaks in kernel if user space wants, mitigated by the fact that usually DRM inodes are owned by root;
- "Handle all errors in qxl_surface_evict" could cause corruption too, not really probable but taking into account that Xorg implementation use a lot signals is not so impossible;
- "Handle correctly failures in qxl_alloc_relase_reserved", "Do not leak memory if qxl_release_list_add fails" just cause leaks on situation where memory is already REALLY low, can be omitted;
- "Fix print statement not using uninitialized variable", "Remove format string errors" should just print garbage and debugging is disabled by default, not necessary.

Frediano Ziglio (11):
drm/qxl: Do not cause spice-server to clean our objects drm/qxl: Do not leak memory if qxl_release_list_add fails drm/qxl: Fix print statement not using uninitialized variable drm/qxl: Avoid double free on error
drm/qxl: Handle all errors in qxl_surface_evict
drm/qxl: Fix return for qxl_release_alloc
drm/qxl: Handle correctly failures in qxl_alloc_relase_reserved drm/qxl: Remove format string errors
drm/qxl: Move main reference counter to GEM object instead of TTM ones drm/qxl: Simplify cleaning qxl processing command
drm/qxl: Propagate correctly errors from qxlhw_handle_to_bo

 drivers/gpu/drm/qxl/qxl_cmd.c     | 11 +++++-----
 drivers/gpu/drm/qxl/qxl_display.c |  2 +-
 drivers/gpu/drm/qxl/qxl_drv.h     |  2 +-
 drivers/gpu/drm/qxl/qxl_gem.c     | 10 +++++++--
 drivers/gpu/drm/qxl/qxl_ioctl.c   | 46 +++++++++++++++------------------------
 drivers/gpu/drm/qxl/qxl_object.c  | 11 ++++------
 drivers/gpu/drm/qxl/qxl_release.c | 13 +++++++----
 7 files changed, 46 insertions(+), 49 deletions(-)
Signature · 6 lines
2.1.0

_______________________________________________
Spice-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/spice-devel