]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
drm/vc4: Convert register accessors to FIELD_*
authorMaxime Ripard <maxime@cerno.tech>
Fri, 3 Jul 2020 13:57:13 +0000 (15:57 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Tue, 7 Jul 2020 07:56:31 +0000 (09:56 +0200)
commit46ee81521a3e9d4717736aef128b1e890dc24856
treee7633c9d096ca0e74d018ff3aacd9cd08efa794f
parent9ac2b63791ef63935c71e2a7f5444a1118c4d084
drm/vc4: Convert register accessors to FIELD_*

The VC4_SET_FIELD and VC4_GET_FIELD are reimplementing most of the logic
already defined in FIELD_SET and FIELD_GET. Let's convert the vc4 macros to
use the FIELD_* macros.

Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Reviewed-by: Eric Anholt <eric@anholt.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20200703135713.985810-1-maxime@cerno.tech
drivers/gpu/drm/vc4/vc4_regs.h