]> Git Repo - linux.git/blobdiff - drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
drm/nouveau/kms: Don't change EDID when it hasn't actually changed
[linux.git] / drivers / gpu / drm / amd / amdgpu / amdgpu_gem.c
index b2dc320e7305c9946d463ab7d13a49986fcc7709..6b1eb9d045ae6ce72f07d1b6a4d7ea16e8008f72 100644 (file)
@@ -930,7 +930,8 @@ static const struct drm_info_list amdgpu_debugfs_gem_list[] = {
 int amdgpu_debugfs_gem_init(struct amdgpu_device *adev)
 {
 #if defined(CONFIG_DEBUG_FS)
-       return amdgpu_debugfs_add_files(adev, amdgpu_debugfs_gem_list, 1);
+       return amdgpu_debugfs_add_files(adev, amdgpu_debugfs_gem_list,
+                                       ARRAY_SIZE(amdgpu_debugfs_gem_list));
 #endif
        return 0;
 }
This page took 0.032506 seconds and 4 git commands to generate.