]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/i915: Convert MBUS_ABOX_CTL() to _PICK_EVEN_2RANGES()
authorLucas De Marchi <lucas.demarchi@intel.com>
Fri, 20 Jan 2023 19:34:56 +0000 (11:34 -0800)
committerLucas De Marchi <lucas.demarchi@intel.com>
Fri, 27 Jan 2023 16:53:00 +0000 (08:53 -0800)
commit0d6e08c72474043d7e686c32f25b735bfcdc9daa
treec1a9acc91e0385c5205998dd352de94567c45955
parentc886118bd8f574a635dda176b2460c03c28b1177
drm/i915: Convert MBUS_ABOX_CTL() to _PICK_EVEN_2RANGES()

MBUS_ABOX_CTL() can use _PICK_EVEN_2RANGES instead of _PICK, which
reduces the size and is safer.

Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Anusha Srivatsa <anusha.srivatsa@intel.com>
Acked-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230120193457.3295977-8-lucas.demarchi@intel.com
drivers/gpu/drm/i915/i915_reg.h