[PATCH] drm/amdgpu: adjust variable and function name references

Julia Lawall posted 1 patch 1 month, 1 week ago
drivers/gpu/drm/amd/amdgpu/amdgpu_display.c |    3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
[PATCH] drm/amdgpu: adjust variable and function name references
Posted by Julia Lawall 1 month, 1 week ago
None of panic_bo, amdgpu_dm_plane_get_scanout_buffer, and
amdgpu_dm_set_pixel exist.  Update them to the name of the
variable and the two functions defined just below that do
fit the description in the comment.

Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>

---
 drivers/gpu/drm/amd/amdgpu/amdgpu_display.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c
index b5d34797d606..2d3a2ca846c5 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c
@@ -1847,7 +1847,8 @@ int amdgpu_display_resume_helper(struct amdgpu_device *adev)
 	return 0;
 }
 
-/* panic_bo is set in amdgpu_dm_plane_get_scanout_buffer() and only used in amdgpu_dm_set_pixel()
+/* panic_abo is set in amdgpu_display_get_scanout_buffer() and only
+ * used in amdgpu_display_set_pixel()
  * they are called from the panic handler, and protected by the drm_panic spinlock.
  */
 static struct amdgpu_bo *panic_abo;