drm/i915/hdcp: use DISPLAY_VER instead of GRAPHICS_VER

Display code should not care about graphics version. While at it,
abstract the version check to a separate macro.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240104174350.823605-3-jani.nikula@intel.com
This commit is contained in:
Jani Nikula 2024-01-04 19:43:48 +02:00
commit fbfb125c84