diff options
author | 2019-03-11 19:34:23 +0800 | |
---|---|---|
committer | 2019-03-19 15:36:52 -0500 | |
commit | 163def43e9a10ff834859e3b0bf04bcc71b90888 (patch) | |
tree | d5b7527528fbd0b510a2de5daafbb91fdc77774e /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
parent | drm/amdgpu: Fix ras debugfs data parse (diff) | |
download | linux-dev-163def43e9a10ff834859e3b0bf04bcc71b90888.tar.xz linux-dev-163def43e9a10ff834859e3b0bf04bcc71b90888.zip |
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