diff options
| author | Gustavo Sousa <[email protected]> | 2025-02-27 21:09:13 +0000 |
|---|---|---|
| committer | Gustavo Sousa <[email protected]> | 2025-02-28 16:30:57 +0000 |
| commit | 5c91b5ad7155ee6e22930f7cbcb8e47dadbe13e7 (patch) | |
| tree | 9bc11c26ae084029674f001922e238d7e83db007 /drivers/gpu/drm/i915/display/intel_dp_mst.c | |
| parent | drm/i915/display: Use explicit base values in POWER_DOMAIN_*() macros (diff) | |
| download | kernel-5c91b5ad7155ee6e22930f7cbcb8e47dadbe13e7.tar.gz kernel-5c91b5ad7155ee6e22930f7cbcb8e47dadbe13e7.zip | |
drm/i915/display: Make POWER_DOMAIN_*() always result in enum intel_display_power_domain
In the hope of contributing to type safety in our code, let's ensure
that the type returned by the POWER_DOMAIN_*() macros is always of type
enum intel_display_power_domain.
v2:
- Remove accidental +1 in definition of POWER_DOMAIN_PIPE(). (Jani)
Cc: Jani Nikula <[email protected]>
Reviewed-by: Ville Syrjälä <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/20250227-improve-type-safey-power-domain-macros-v3-2-b6eaa00f9c33@intel.com
Signed-off-by: Gustavo Sousa <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_dp_mst.c')
0 files changed, 0 insertions, 0 deletions
