linux_dsm_epyc7002/drivers/gpu/drm/amd
Muhammad Falak R Wani 84fae133f0 drm/amdgpu: Replace rcu_assign_pointer() with RCU_INIT_POINTER()
The rcu_assign_pointer() ensures that the initialization of a structure
is carried out before storing a pointer to that structre. It is always
safe to use RCU_INIT_POINTER() to NULL a pointer, instead of
rcu_assign_pointer().
This results in slightly smaller/faster code.

The following semantic patch was used:
<smpl>

@@
@@

- rcu_assign_pointer
+ RCU_INIT_POINTER
  (..., NULL)

</smpl>

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2016-05-04 20:31:06 -04:00
..
acp drm/amd: make a type-safe cgs_device struct. (v2) 2016-05-04 20:20:28 -04:00
amdgpu drm/amdgpu: Replace rcu_assign_pointer() with RCU_INIT_POINTER() 2016-05-04 20:31:06 -04:00
amdkfd drivers/gpu/drm/amd/amdkfd: use in_compat_syscall to check open() caller type 2016-03-22 15:36:02 -07:00
include drm/amd/amdgpu: Drop print_status callbacks. 2016-05-04 20:30:06 -04:00
powerplay drm/amdgpu/fiji: set UVD CG state when enabling UVD DPM (v2) 2016-05-04 20:30:44 -04:00
scheduler drm/amd/scheduler: Mark amdgpu_sched_ops const 2016-05-04 20:20:05 -04:00