drm/i915: Introduce has_iboost()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 1 Oct 2021 13:00:58 +0000 (16:00 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 4 Oct 2021 09:42:30 +0000 (12:42 +0300)
commitf820693bc2381d73d2769d8b7cc16210f21244a8
tree35821c50c193865a4a8f2219f04ab61e9b79ac6c
parentf6e3be98654ed1895b105ed0ddf67665ed83dda4
drm/i915: Introduce has_iboost()

Suck the "do we have iboost?" platform checks into a small helper.

Cc: Imre Deak <imre.deak@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211001130107.1746-2-ville.syrjala@linux.intel.com
Reviewed-by: Imre Deak <imre.deak@intel.com>
drivers/gpu/drm/i915/display/intel_ddi.c