diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2022-05-03 21:22:22 +0300 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2022-05-31 21:04:46 +0300 |
commit | 3951270abfd229e3e17c991942cd111b66454f97 (patch) | |
tree | 640f7733f8c547da76b9f39e354f1f155f46d601 /drivers/mux | |
parent | 0e5397d8c9fe2a2e4fcc8d98cba4a12511a03267 (diff) |
drm/i915: Extract PIPE_CONF_CHECK_RECT()
Deduplicate the drm_rect comparisons.
We also drop the redundant pch_pfit.enabled check since the
pch_pfit.dst rectanble will be zeroed anyway when the pfit
is not enabled.
v2: Document why we drop the enabled check (Jani)
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220503182242.18797-7-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'drivers/mux')
0 files changed, 0 insertions, 0 deletions