dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5 0/6] drm/qxl: fix driver shutdown issues.
@ 2021-02-03 13:16 Gerd Hoffmann
  2021-02-03 13:16 ` [PATCH v5 1/6] drm/qxl: use drmm_mode_config_init Gerd Hoffmann
                   ` (5 more replies)
  0 siblings, 6 replies; 13+ messages in thread
From: Gerd Hoffmann @ 2021-02-03 13:16 UTC (permalink / raw)
  To: dri-devel; +Cc: Gerd Hoffmann

Almost there.  Still getting this on driver unbind:

   kobject: '(null)' ((____ptrval____)): is not initialized, yet kobject_put(=
) is being called
   [ ... ]
   Call Trace:
    ttm_device_fini+0x133/0x1b0 [ttm]
    qxl_ttm_fini+0x2f/0x40 [qxl]
    qxl_device_fini+0x88/0x120 [qxl]
    drm_minor_release+0x3d/0x60

but I don't think this is the qxl driver's fault.

v5:
 - add release_event wait queue.
 - also cleanup qxl_fence_wait().

Gerd Hoffmann (6):
  drm/qxl: use drmm_mode_config_init
  drm/qxl: unpin release objects
  drm/qxl: release shadow on shutdown
  drm/qxl: handle shadow in primary destroy
  drm/qxl: properly free qxl releases
  drm/qxl: simplify qxl_fence_wait

 drivers/gpu/drm/qxl/qxl_drv.h     |  2 ++
 drivers/gpu/drm/qxl/qxl_cmd.c     |  1 +
 drivers/gpu/drm/qxl/qxl_display.c | 11 ++++++--
 drivers/gpu/drm/qxl/qxl_irq.c     |  1 +
 drivers/gpu/drm/qxl/qxl_kms.c     | 22 +++++++++++++--
 drivers/gpu/drm/qxl/qxl_release.c | 45 +++++--------------------------
 6 files changed, 40 insertions(+), 42 deletions(-)

--=20
2.29.2


_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

end of thread, other threads:[~2021-02-03 15:17 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-03 13:16 [PATCH v5 0/6] drm/qxl: fix driver shutdown issues Gerd Hoffmann
2021-02-03 13:16 ` [PATCH v5 1/6] drm/qxl: use drmm_mode_config_init Gerd Hoffmann
2021-02-03 13:16 ` [PATCH v5 2/6] drm/qxl: unpin release objects Gerd Hoffmann
2021-02-03 14:00   ` Thomas Zimmermann
2021-02-03 13:16 ` [PATCH v5 3/6] drm/qxl: release shadow on shutdown Gerd Hoffmann
2021-02-03 14:05   ` Thomas Zimmermann
2021-02-03 13:16 ` [PATCH v5 4/6] drm/qxl: handle shadow in primary destroy Gerd Hoffmann
2021-02-03 14:07   ` Thomas Zimmermann
2021-02-03 13:16 ` [PATCH v5 5/6] drm/qxl: properly free qxl releases Gerd Hoffmann
2021-02-03 14:12   ` Thomas Zimmermann
2021-02-03 13:16 ` [PATCH v5 6/6] drm/qxl: simplify qxl_fence_wait Gerd Hoffmann
2021-02-03 14:14   ` Thomas Zimmermann
2021-02-03 15:16   ` kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).