aboutsummaryrefslogtreecommitdiff
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2021-11-12 21:38:10 +0200
committerVille Syrjälä <ville.syrjala@linux.intel.com>2022-01-26 21:39:53 +0200
commit62236df23d018fc977d2871744440efe6a08a6cc (patch)
tree9a09dd611d712cac9c243761e751c2530206c004 /lib/string_helpers.c
parente93a590c79faa4aaa4d7eadacdef9240e1e823a1 (diff)
drm/i915: Clean up PIPESRC defines
Use REG_GENMASK() & co. when dealing with PIPESRC. Note that i9xx_get_initial_plane_config() will now use the full 16 bit mask whereas previously it used 12 bits only. But intel_get_pipe_src_size() already used the full 16 bits on all platforms anyway, so at least we're consistent now. The high bits beyond the max supported pipe source size should not be set in any case so this seems fine. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20211112193813.8224-7-ville.syrjala@linux.intel.com Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions