[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240124050205.3646390-1-lucas.demarchi@intel.com>
Date: Tue, 23 Jan 2024 21:02:02 -0800
From: Lucas De Marchi <lucas.demarchi@...el.com>
To: Yury Norov <yury.norov@...il.com>
Cc: linux-kernel@...r.kernel.org,
dri-devel@...ts.freedesktop.org,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
Jani Nikula <jani.nikula@...ux.intel.com>,
intel-xe@...ts.freedesktop.org,
intel-gfx@...ts.freedesktop.org,
Lucas De Marchi <lucas.demarchi@...el.com>
Subject: [PATCH 0/3] Fixed-type GENMASK/BIT
Move the implementation of REG_GENMASK/REG_BIT to a more appropriate
place to be shared by i915, xe and possibly other parts of the kernel.
For now this re-defines the old macros. In future we may start using the
new macros directly, but that's a more intrusive search-and-replace.
Yury, I added a little bit more information to the commit message in
patch 1. First 2 patches may go through your tree. For the last one we
may have potential conflicts, so I'm not sure. +Jani from i915 side to
chime in.
v1: https://lore.kernel.org/intel-xe/20230509051403.2748545-1-lucas.demarchi@intel.com/
Lucas De Marchi (2):
bits: Introduce fixed-type BIT
drm/i915: Convert REG_GENMASK* to fixed-width GENMASK_*
Yury Norov (1):
bits: introduce fixed-type genmasks
drivers/gpu/drm/i915/i915_reg_defs.h | 108 +++------------------------
include/linux/bitops.h | 1 -
include/linux/bits.h | 33 +++++---
3 files changed, 33 insertions(+), 109 deletions(-)
--
2.43.0
Powered by blists - more mailing lists