]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915/lspcon: change signature of lspcon_detect_hdr_capability()
authorJani Nikula <jani.nikula@intel.com>
Tue, 4 Feb 2025 13:58:40 +0000 (15:58 +0200)
committerJani Nikula <jani.nikula@intel.com>
Wed, 5 Feb 2025 17:32:04 +0000 (19:32 +0200)
commitab945e9a4e73e8eb3f54ea34dffd22eb70696c03
treec198a9e3930b962337c3eaf21385521d98b34c5b
parent34176697bda3066de583deb5e569e2d77d5dc7f0
drm/i915/lspcon: change signature of lspcon_detect_hdr_capability()

Switch from struct intel_lspcon to struct intel_digital_port to unify,
and return the value so the caller doesn't have to look at
lspcon->hdr_detected directly.

Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/6f249f5c537a16a6762faddffd6a95cbf61cf077.1738677489.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_dp.c
drivers/gpu/drm/i915/display/intel_lspcon.c
drivers/gpu/drm/i915/display/intel_lspcon.h