diff options
author | Gustavo Sousa <gustavo.sousa@intel.com> | 2025-02-27 18:09:13 -0300 |
---|---|---|
committer | Gustavo Sousa <gustavo.sousa@intel.com> | 2025-02-28 13:30:57 -0300 |
commit | 5c91b5ad7155ee6e22930f7cbcb8e47dadbe13e7 (patch) | |
tree | 9bc11c26ae084029674f001922e238d7e83db007 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 322ec93e9081d717fbc02c14fe80f754709e8b9c (diff) |
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 <jani.nikula@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250227-improve-type-safey-power-domain-macros-v3-2-b6eaa00f9c33@intel.com
Signed-off-by: Gustavo Sousa <gustavo.sousa@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions