aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorPaul Cercueil <[email protected]>2022-07-08 20:54:06 +0000
committerPaul Cercueil <[email protected]>2022-07-09 15:52:14 +0000
commit006f3b2f324cb2277bdcb89693296d9647ece251 (patch)
tree1260ba61c57ce96063ead894897c02da5829ba64 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentdrm/ingenic: Don't request full modeset if property is not modified (diff)
downloadkernel-006f3b2f324cb2277bdcb89693296d9647ece251.tar.gz
kernel-006f3b2f324cb2277bdcb89693296d9647ece251.zip
drm/ingenic: Use the new PM macros
- Use DEFINE_SIMPLE_DEV_PM_OPS() instead of the SIMPLE_DEV_PM_OPS() macro. This makes it possible to remove the __maybe_unused flags on the callback functions. - Since we only have callbacks for suspend/resume, we can conditionally compile the dev_pm_ops structure for when CONFIG_PM_SLEEP is enabled; so use the pm_sleep_ptr() macro instead of pm_ptr(). Signed-off-by: Paul Cercueil <[email protected]> Acked-by: Sam Ravnborg <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions