]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/fbc: Pass whole plane state to intel_fbc_min_limit()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 24 Nov 2021 11:36:34 +0000 (13:36 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 3 Dec 2021 10:49:23 +0000 (12:49 +0200)
commit3b0bc3c5fdc3ae62a1b47d41f69a3dd957a143b4
tree04cad5437e5fc70f64ae944ca5bc6286b3e2fd6d
parent349d2f36215fc0b38ce465733c09b9ba73c8c0b3
drm/i915/fbc: Pass whole plane state to intel_fbc_min_limit()

No reason to burden the caller with the details on how the minimum
compression limit is calculated, so just pass in the whole plane
state instead of just the cpp value.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211124113652.22090-3-ville.syrjala@linux.intel.com
Reviewed-by: Mika Kahola <mika.kahola@intel.com>
drivers/gpu/drm/i915/display/intel_fbc.c