drm/xe: Use global macros to set PM functions
authorFrancois Dugast <francois.dugast@intel.com>
Mon, 23 Jan 2023 17:17:56 +0000 (18:17 +0100)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Tue, 19 Dec 2023 23:27:43 +0000 (18:27 -0500)
commit8375e58c3ac96a43603530a6f02fc81a455982e7
tree2392738151e90b7f84b453e3b961d2de3c062f07
parenta93bcc3acf1fdf55b1906e37744ebab9be884a5d
drm/xe: Use global macros to set PM functions

This aligns with other drivers and fixes build failure when
CONFIG_PM_SLEEPĀ is not set, such as on RISC-V.

Signed-off-by: Francois Dugast <francois.dugast@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_pci.c