summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorGustavo Sousa <gustavo.sousa@intel.com>2026-04-29 17:26:56 +0300
committerGustavo Sousa <gustavo.sousa@intel.com>2026-05-19 21:15:26 +0300
commitbd3d6a0b6e7859b90d9741aba08b87a49a531bd1 (patch)
tree11d72bbfe08d4b6f2508c96392f53afe50bd661e /include/linux
parent4b478c8bad54d38aecf7bc0ccfb30d4ae2cd33e3 (diff)
downloadlinux-bd3d6a0b6e7859b90d9741aba08b87a49a531bd1.tar.xz
drm/i915/dmc_wl: Remove macro HAS_DMC_WAKELOCK()
The macro HAS_DMC_WAKELOCK() is currently only used inside intel_dmc_wl.c and doesn't need to be exposed to the rest of the driver. Furthermore, there is a distinction between the display IP having support for the feature and the driver actually using it, so using HAS_DMC_WAKELOCK() outside of intel_dmc_wl.c would potentially be wrong anyway. Let's drop that macro. If other part of the driver needs to check if the driver is using the DMC wakelock feature, we would need actually to expose the function __intel_dmc_wl_supported(). Since HAS_DMC_WAKELOCK() was kind of self-documenting in the sense that it tells us what display IPs have support for the feature and we are now dropping it, let's also take this opportunity to add a documentation note on the subject. Reviewed-by: Daniel Charles <daniel.charles@intel.com> Link: https://patch.msgid.link/20260429-drop-has_dmc_wakelock-v1-1-62cb6fab1da0@intel.com Signed-off-by: Gustavo Sousa <gustavo.sousa@intel.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions