Hi > There are other gpu/drm drivers where drm_dev_unref is used. > Do we need to replace drm_dev_unref with drm_dev_put in > other places as well ? Yes. This is some overall clean-up work that I do as a side project. I already have patches for all drivers, but I found that sending them one-by-one gives a much better chance of getting them applied. Best regards Thomas -- Thomas Zimmermann Graphics Driver Developer SUSE Linux GmbH, Maxfeldstr. 5, D-90409 Nürnberg Tel: +49-911-74053-0; Fax: +49-911-7417755; https://www.suse.com/ SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)