]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/fbc: Eliminate possible_framebuffer_bits
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 15 Mar 2022 13:59:55 +0000 (15:59 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 13 Apr 2022 14:14:52 +0000 (17:14 +0300)
commita6988a5fa4adbcf6c847846452919b54c2959fe6
tree7bdfe00454a394cc4ca2ddeaa529a61ccca08a2c
parent739399b951539338e08ffe4e0a3110363a0031bc
drm/i915/fbc: Eliminate possible_framebuffer_bits

Not sure what the point of this fbc->possible_frontbuffer_bits is.
And especially don't see why it's returning all the bits when
fbc is not even enabled. So let's just get rid of this and only
say we are interested in the plane's frontbuffer bits when fbc
is actually enabled.

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