Skip to content

Commit c4066d8

Browse files
Rodrigo Siqueiraalexdeucher
authored andcommitted
drm/amd/display: Add prefix for plane functions
This commit adds the amdgpu_dm_plane_ prefix for all functions in the amdgpu_dm_plane.c. This change enables an easy way to filter code paths via ftrace. Reviewed-by: Aurabindo Pillai <aurabindo.pillai@amd.com> Acked-by: Roman Li <roman.li@amd.com> Signed-off-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent 6ce4f9e commit c4066d8

3 files changed

Lines changed: 275 additions & 271 deletions

File tree

drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9880,7 +9880,7 @@ static int dm_update_plane_state(struct dc *dc,
98809880

98819881
/* Block top most plane from being a video plane */
98829882
if (plane->type == DRM_PLANE_TYPE_OVERLAY) {
9883-
if (is_video_format(new_plane_state->fb->format->format) && *is_top_most_overlay)
9883+
if (amdgpu_dm_plane_is_video_format(new_plane_state->fb->format->format) && *is_top_most_overlay)
98849884
return -EINVAL;
98859885

98869886
*is_top_most_overlay = false;

0 commit comments

Comments
 (0)