drm/i915/pmdemand: make struct intel_pmdemand_state opaque
authorJani Nikula <jani.nikula@intel.com>
Tue, 31 Dec 2024 16:27:38 +0000 (18:27 +0200)
committerJani Nikula <jani.nikula@intel.com>
Tue, 7 Jan 2025 17:31:39 +0000 (19:31 +0200)
commit0a08320bfa385ec73e92a37e96e090ecc9a5027f
tree290386ec1926a7bf92fd3e457a662e0c97c35fff
parenteb18e25b60f7f7f51a63cd99a177a924ba1f4fba
drm/i915/pmdemand: make struct intel_pmdemand_state opaque

Only intel_pmdemand.c should look inside the struct
intel_pmdemand_state. Indeed, this is already the case. Finish the job
and make struct intel_pmdemand_state opaque, preventing any direct pokes
at the guts of it in the future.

Cc: Gustavo Sousa <gustavo.sousa@intel.com>
Reviewed-by: Gustavo Sousa <gustavo.sousa@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/bc5f418785ecd51454761e9a55f21340470a92e3.1735662324.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_pmdemand.c
drivers/gpu/drm/i915/display/intel_pmdemand.h