diff options
author | xinhui pan <xinhui.pan@amd.com> | 2019-03-11 19:34:23 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-03-19 15:36:52 -0500 |
commit | 163def43e9a10ff834859e3b0bf04bcc71b90888 (patch) | |
tree | d5b7527528fbd0b510a2de5daafbb91fdc77774e /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
parent | b076296b0fb39f142bdc183d4bab91e7204c53bb (diff) | |
download | linux-163def43e9a10ff834859e3b0bf04bcc71b90888.tar.bz2 |
drm/amdgpu: Fix lockdep warning more gracely
lockdep need a static key.
Previously we set ignore bit to avoid the warning.
Now call sysfs_attr_init to initialize the static key.
Signed-off-by: xinhui pan <xinhui.pan@amd.com>
Reviewed-and-Tested-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions