Skip to content

Commit a2fb4d4

Browse files
mripardpopcornmix
authored andcommitted
drm/vc4: hdmi: Rename drm_encoder pointer in mode_valid
The mode_valid hook on the encoder uses a pointer to a drm_encoder called crtc, which is pretty confusing. Let's rename it to encoder to make it clear what it is. Signed-off-by: Maxime Ripard <maxime@cerno.tech>
1 parent 731fc9e commit a2fb4d4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/gpu/drm/vc4/vc4_hdmi.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@ static void vc4_hdmi_encoder_enable(struct drm_encoder *encoder)
556556
}
557557

558558
static enum drm_mode_status
559-
vc4_hdmi_encoder_mode_valid(struct drm_encoder *crtc,
559+
vc4_hdmi_encoder_mode_valid(struct drm_encoder *encoder,
560560
const struct drm_display_mode *mode)
561561
{
562562
/* HSM clock must be 108% of the pixel clock. Additionally,

0 commit comments

Comments
 (0)