]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/fbc: Reuse the same struct for the cache and params
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 24 Nov 2021 11:36:38 +0000 (13:36 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 3 Dec 2021 10:50:05 +0000 (12:50 +0200)
commitd5c488e9892eec7876fe2cbe832ac729652a80c1
tree875e84683af37266641639ce6cd84039589d2e59
parent591656b11eaffa4c688b3a5169675885dc901aa2
drm/i915/fbc: Reuse the same struct for the cache and params

The FBC state cache and params are now nearly identical. Just
use the same structure for both.

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