drm/i915/pm_demand: introduce HAS_PMDEMAND macro

PM demand feature introduces a new way to set bw, power and
performance requirements to pcode from display version 14 onwards.
Use an identifiable name as a macro to distinguish the pm demand
specific changes in the code.

Signed-off-by: Vinod Govindapillai <vinod.govindapillai@intel.com>
Reviewed-by: Mika Kahola <mika.kahola@intel.com>
Reviewed-by: Suraj Kandpal <suraj.kandpal@intel.com>
Link: https://patch.msgid.link/20260615203355.218578-3-vinod.govindapillai@intel.com
This commit is contained in:
Vinod Govindapillai 2026-06-15 23:33:50 +03:00
commit fb8a24c079
5 changed files with 12 additions and 11 deletions