From: Kevin Brace <kevinbrace@xxxxxxxxxxxxxxxxxxxx> Matching the type parameter of drm_universal_plane_init(). Signed-off-by: Kevin Brace <kevinbrace@xxxxxxxxxxxxxxxxxxxx> --- 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 _______________________________________________ amd-gfx mailing list amd-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/amd-gfx