diff options
author | Chaitanya Kumar Borah <chaitanya.kumar.borah@intel.com> | 2025-07-30 11:25:22 +0530 |
---|---|---|
committer | Suraj Kandpal <suraj.kandpal@intel.com> | 2025-08-19 12:02:38 +0530 |
commit | 2e9da93d604ef66b2ed6c5df7b7bfda3a187e71c (patch) | |
tree | 2221612a3e544ee43c9d77d4c9d1ef3666b6de4b /drivers/gpu/drm/i915/display/intel_display_reset.c | |
parent | 63e0b17ae79a4365e874d7e2ff3816db2e6d55b5 (diff) |
drm/i915/dp: Refactor intel_dp_in_hdr_mode() for broader reuse
The intel_dp_in_hdr_mode() helper was previously defined in
intel_dp_aux_backlight.c but is generally useful beyond that
context. Move the function to intel_dp.c and declare it in
intel_dp.h to make it accessible to other DP-related code
paths that need to check HDR metadata state.
This is a pure refactor with no functional change and
prepares for a follow-up patch that uses this helper.
Signed-off-by: Chaitanya Kumar Borah <chaitanya.kumar.borah@intel.com>
Reviewed-by: Uma Shankar <uma.shankar@intel.com>
Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com>
Link: https://lore.kernel.org/r/20250730055523.2214966-2-chaitanya.kumar.borah@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_display_reset.c')
0 files changed, 0 insertions, 0 deletions