another interesting lock recursion!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



So with runtime pm on nouveau, if the card gets powered down, and then
you access a connector via sysfs,

drm_sysfs.c:status_show locks the connector and calls into the driver,
the driver then does a runtime_get_sync, which causes resume to happen
which causes modesetting to reset the mode, which tries to take all
the locks, and it all deadlocks in a pile,

Ideas to fix this, move the runtime_get_sync into the drm_sysfs code,
or allow the drivers to provide their own status show functions,
moving the runtime get into the sysfs code probably involves having
conditionals for device that support runtime PM at all, otherwise who
knows what might happen,

Dave.
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux