Files
android_kernel_xiaomi_sm8450/drivers/gpu/drm/amd/amdgpu
Nicolai Hähnle 36ea83d151 drm/amd/amdgpu: lock reservation object while creating shadow bo
ttm_bo_init checks that the reservation object is locked. This is
the caller's responsibility when resv != NULL. Otherwise, the inline
reservation object of the newly allocated buffer is used and must
explicitly be locked.

Uninterruptible w/w locks without an acquire context are always
successful.

v2: use ww_mutex_lock

Signed-off-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net> (v1)
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2017-01-27 11:13:28 -05:00
..
2015-06-03 21:03:15 -04:00
2016-12-15 14:55:33 +02:00
2015-06-03 21:03:15 -04:00
2017-01-27 11:13:27 -05:00
2015-06-03 21:03:15 -04:00
2017-01-27 11:13:14 -05:00
2015-06-03 21:03:17 -04:00
2016-10-25 14:38:08 -04:00
2016-12-25 17:21:22 +01:00
2016-10-04 11:15:59 -04:00
2015-06-03 21:03:17 -04:00
2015-06-03 21:03:17 -04:00
2016-08-31 15:21:09 -04:00
2016-08-31 15:21:09 -04:00
2017-01-27 11:13:25 -05:00