]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/vc4: crtc: Move assigned_channel to a variable
authorMaxime Ripard <mripard@kernel.org>
Fri, 21 Jun 2024 15:20:37 +0000 (16:20 +0100)
committerDave Stevenson <dave.stevenson@raspberrypi.com>
Mon, 9 Sep 2024 12:02:53 +0000 (13:02 +0100)
commitdbe101b10641e458e37e714f9f1fc50413463c10
treeb9023a07ebf853ff6b697afef541b0d3fcf1687f
parent5171d86a62658dbcb9876fae87e1132320e9a83a
drm/vc4: crtc: Move assigned_channel to a variable

We access multiple times the vc4_crtc_state->assigned_channel variable
in the vc4_crtc_get_scanout_position() function, so let's store it in a
local variable.

Signed-off-by: Maxime Ripard <mripard@kernel.org>
Reviewed-by: Maxime Ripard <mripard@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240621152055.4180873-14-dave.stevenson@raspberrypi.com
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
drivers/gpu/drm/vc4/vc4_crtc.c