mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-24 11:20:12 +01:00
Change error message to debug message when client dies while holding the
lock. Should prevent bug reports about this, but you never know...
This commit is contained in:
parent
07f761bfae
commit
8c511c60ec
2 changed files with 2 additions and 2 deletions
|
|
@ -637,7 +637,7 @@ int DRM(release)( struct inode *inode, struct file *filp )
|
|||
if ( dev->lock.hw_lock &&
|
||||
_DRM_LOCK_IS_HELD(dev->lock.hw_lock->lock) &&
|
||||
dev->lock.pid == current->pid ) {
|
||||
DRM_ERROR( "Process %d dead, freeing lock for context %d\n",
|
||||
DRM_DEBUG( "Process %d dead, freeing lock for context %d\n",
|
||||
current->pid,
|
||||
_DRM_LOCKING_CONTEXT(dev->lock.hw_lock->lock) );
|
||||
#if __HAVE_RELEASE
|
||||
|
|
|
|||
|
|
@ -637,7 +637,7 @@ int DRM(release)( struct inode *inode, struct file *filp )
|
|||
if ( dev->lock.hw_lock &&
|
||||
_DRM_LOCK_IS_HELD(dev->lock.hw_lock->lock) &&
|
||||
dev->lock.pid == current->pid ) {
|
||||
DRM_ERROR( "Process %d dead, freeing lock for context %d\n",
|
||||
DRM_DEBUG( "Process %d dead, freeing lock for context %d\n",
|
||||
current->pid,
|
||||
_DRM_LOCKING_CONTEXT(dev->lock.hw_lock->lock) );
|
||||
#if __HAVE_RELEASE
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue