dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/11 v2] Miscellaneous stability patches
@ 2015-06-03 11:09 Frediano Ziglio
  2015-06-03 11:09 ` [PATCH 01/11] drm/qxl: Do not cause spice-server to clean our objects Frediano Ziglio
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: Frediano Ziglio @ 2015-06-03 11:09 UTC (permalink / raw)
  To: fziglio, spice-devel, airlied, dri-devel, airlied; +Cc: linux-kernel

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(-)

-- 
2.1.0

_______________________________________________
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/spice-devel

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2015-06-03 11:09 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-03 11:09 [PATCH 00/11 v2] Miscellaneous stability patches Frediano Ziglio
2015-06-03 11:09 ` [PATCH 01/11] drm/qxl: Do not cause spice-server to clean our objects Frediano Ziglio
2015-06-03 11:09 ` [PATCH 02/11] drm/qxl: Do not leak memory if qxl_release_list_add fails Frediano Ziglio
2015-06-03 11:09 ` [PATCH 03/11] drm/qxl: Fix print statement not using uninitialized variable Frediano Ziglio
2015-06-03 11:09 ` [PATCH 04/11] drm/qxl: Avoid double free on error Frediano Ziglio
2015-06-03 11:09 ` [PATCH 05/11] drm/qxl: Handle all errors in qxl_surface_evict Frediano Ziglio
2015-06-03 11:09 ` [PATCH 06/11] drm/qxl: Fix return for qxl_release_alloc Frediano Ziglio
2015-06-03 11:09 ` [PATCH 07/11] drm/qxl: Handle correctly failures in qxl_alloc_relase_reserved Frediano Ziglio
2015-06-03 11:09 ` [PATCH 08/11] drm/qxl: Remove format string errors Frediano Ziglio
2015-06-03 11:09 ` [PATCH 09/11] drm/qxl: Move main reference counter to GEM object instead of TTM ones Frediano Ziglio
2015-06-03 11:09 ` [PATCH 10/11] drm/qxl: Simplify cleaning qxl processing command Frediano Ziglio
2015-06-03 11:09 ` [PATCH 11/11] drm/qxl: Propagate correctly errors from qxlhw_handle_to_bo Frediano Ziglio

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox