]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915/display: Check whether platform supports joiner
authorAnkit Nautiyal <ankit.k.nautiyal@intel.com>
Thu, 12 Sep 2024 13:29:31 +0000 (18:59 +0530)
committerAnkit Nautiyal <ankit.k.nautiyal@intel.com>
Mon, 16 Sep 2024 05:51:25 +0000 (11:21 +0530)
commit26fee9e09be346e93a2fc4126cac244de498ec5a
treee5c1b0bdf071a5c55fc45e4384f3934e7404b69c
parentf7c2ed9d4ce80a2570c492825de239dc8b500f2e
drm/i915/display: Check whether platform supports joiner

Add macros to check if platform supports bigjoiner/uncompressed joiner.
Replace the existing DISPLAY_VER checks with these.
Additionally use it before readout for joiner stuff, where its missing.

Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240912132931.1320686-1-ankit.k.nautiyal@intel.com
drivers/gpu/drm/i915/display/intel_display.c
drivers/gpu/drm/i915/display/intel_display_debugfs.c
drivers/gpu/drm/i915/display/intel_display_device.h
drivers/gpu/drm/i915/display/intel_dp.c