drm/i915: Use REG_BIT() & co. for universal plane bits
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 1 Dec 2021 15:25:44 +0000 (17:25 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 18 Jan 2022 01:46:59 +0000 (03:46 +0200)
commit12d7d858e63d0769a91aab218828e0526c0ab49d
tree7005c848cd0efe865b710331f8693ab8c553ea13
parent71b59439aa03e8de022c31ccbf9aa9bea4578971
drm/i915: Use REG_BIT() & co. for universal plane bits

Polish the skl+ universal plane register defines by
using REG_BIT() & co.

The defines are also currently spread around in some
semi-random fashion. Collect them up into one place.

v2: deal with gvt

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211201152552.7821-7-ville.syrjala@linux.intel.com
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
drivers/gpu/drm/i915/display/skl_universal_plane.c
drivers/gpu/drm/i915/gvt/fb_decoder.c
drivers/gpu/drm/i915/gvt/reg.h
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_pm.c