commit | ac330d4130cb005c75972da2a701b674413456ba | [log] [tgz] |
---|---|---|
author | Marek Olšák <marek.olsak@amd.com> | Wed Apr 09 00:26:32 2014 +0200 |
committer | Marek Olšák <marek.olsak@amd.com> | Thu Apr 10 20:50:17 2014 +0200 |
tree | f917b9391e52cdd292221a35f83f7605ea3dd9f2 | |
parent | 7c57b01564b987259ec3ce8ed24266290fa60e75 [diff] |
winsys/radeon: fix a race condition between winsys_create and winsys_destroy This also hides the reference count from drivers. v2: update the reference count while the mutex is locked in winsys_create Reviewed-by: Michel Dänzer <michel.daenzer@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com>