[PATCH 2/4] drm/amdgpu: Rename plane_type parameter of initialize_plane() to type
Kevin Brace
kevinbrace at gmx.com
Wed Jun 19 12:28:55 UTC 2019
From: Kevin Brace <kevinbrace at bracecomputerlab.com>
Matching the type parameter of drm_universal_plane_init().
Signed-off-by: Kevin Brace <kevinbrace at bracecomputerlab.com>
---
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
index 7a54a9623b8f..fbd2b34407d5 100644
--- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
+++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
@@ -1985,7 +1985,7 @@ amdgpu_dm_register_backlight_device(struct amdgpu_display_manager *dm)
static int initialize_plane(struct amdgpu_display_manager *dm,
struct amdgpu_mode_info *mode_info, int plane_id,
- enum drm_plane_type plane_type,
+ enum drm_plane_type type,
const struct dc_plane_cap *plane_cap)
{
struct drm_plane *plane;
@@ -1997,7 +1997,7 @@ static int initialize_plane(struct amdgpu_display_manager *dm,
DRM_ERROR("KMS: Failed to allocate plane\n");
return -ENOMEM;
}
- plane->type = plane_type;
+ plane->type = type;
/*
* HACK: IGT tests expect that the primary plane for a CRTC
--
2.17.1
More information about the amd-gfx
mailing list