drm/i915: Introduce HAS_SAGV()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 31 Jan 2023 00:21:25 +0000 (02:21 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 1 Feb 2023 20:06:07 +0000 (22:06 +0200)
commit43e6fad17a182de1825277d986a1e4309111e5b7
tree75ab3da536171f354275cd797ec8f5b3fd14b4e4
parentc580c2d27ac8754cc6f01da1d715b7272f5f9cbb
drm/i915: Introduce HAS_SAGV()

Introuce a HAS_SAGV() macro to answer the question whether
the platform in general supports SAGV. intel_has_sagv() will
keep on giving us the more specific answer whether the current
device supports SAGV or not.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230131002127.29305-2-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/skl_watermark.c
drivers/gpu/drm/i915/i915_drv.h