diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2022-01-27 14:02:19 +0200 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2022-01-28 08:47:51 +0200 |
commit | c65b3affc6737c99c09925b910c7471d3db26b54 (patch) | |
tree | 6004b778686325a275a95a0fe69bfb56dd0d0acf /lib/string_helpers.c | |
parent | d29c9930279df7c10348772f812154d3c41562f5 (diff) |
drm/i915: Clean up M/N register defines
Use REG_GENMASK() & co. for the M/N register values. There are
also a lot of weird unused defines (eg. *_OFFSET) we can just
throw out.
Also let's mask out the unused bits during readout for good
measure. Previously we only masked out the TU_SIZE from one
of the registers, which was a bit too inconsistent for my
taste.
v2: Mention the readout masking in the commit msg (Jani)
Deal wth gvt
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220127120219.20143-1-ville.syrjala@linux.intel.com
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions