drm/vc4: crtc: Move assigned_channel to a variable
authorMaxime Ripard <maxime@cerno.tech>
Fri, 17 Feb 2023 12:39:13 +0000 (13:39 +0100)
committerDom Cobley <popcornmix@gmail.com>
Mon, 19 Feb 2024 11:34:54 +0000 (11:34 +0000)
commit58905a9f2c85c7c6d4b0002828a2d855d5c64eba
treecdb640b8bcfeaacc79f8f2901187c884b07a5cf1
parent15ae806efa53be8a6efa994e58b17741509f290c
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 <maxime@cerno.tech>
drivers/gpu/drm/vc4/vc4_crtc.c