[PATCH v3 0/2] Improve type-safety on POWER_DOMAIN_*() macros
Gustavo Sousa
gustavo.sousa at intel.com
Fri Feb 28 16:48:25 UTC 2025
Quoting Gustavo Sousa (2025-02-27 18:09:11-03:00)
>Fix one issue[1] reported by the kernel test robot and also take this
>opportunity to improve POWER_DOMAIN_*() macros by making them explicitly
>return the expected enum type with patch #2.
>
>I decided to send this new version with patch #3 dropped in order to get
>CI results and merge the already reviewed patches #1 and #2. Patch #3
>from the previous version is still under discussion and will probably be
>respinned as a standalone patch.
Pushed to drm-intel-next. Thank you all for the review/feedback.
--
Gustavo Sousa
>
>[1] https://lore.kernel.org/oe-kbuild-all/202502120809.XfmcqkBD-lkp@intel.com/
>
>---
>Gustavo Sousa (2):
> drm/i915/display: Use explicit base values in POWER_DOMAIN_*() macros
> drm/i915/display: Make POWER_DOMAIN_*() always result in enum intel_display_power_domain
>
> drivers/gpu/drm/i915/display/intel_display_power.h | 7 ++++---
> 1 file changed, 4 insertions(+), 3 deletions(-)
>---
>base-commit: 6badede10d92c242241bd7bf59a5488b5eba5aa7
>change-id: 20250227-improve-type-safey-power-domain-macros-8bf2a14f43f9
>
>Best regards,
>--
>Gustavo Sousa <gustavo.sousa at intel.com>
>
More information about the Intel-gfx
mailing list