]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vc4: kms: Store channel in local variable
authorMaxime Ripard <maxime@cerno.tech>
Mon, 28 Mar 2022 15:36:57 +0000 (17:36 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Fri, 8 Apr 2022 11:38:06 +0000 (13:38 +0200)
commita71a7ebfeea80b6512ab3c820e798e96b6e65baa
tree8c4d0c4a03095e172f8bf29bf178c5af5c4a08b7
parent84657b3deb2e05b025afe2fe6ef4cf8fd6e2c2f3
drm/vc4: kms: Store channel in local variable

We use the channel from our vc4_crtc_state structure in multiple places,
let's store it in a local variable to make it cleaner.

Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://lore.kernel.org/r/20220328153659.2382206-5-maxime@cerno.tech
drivers/gpu/drm/vc4/vc4_kms.c