aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorPaul Cercueil <paul@crapouillou.net>2022-07-08 21:54:06 +0100
committerPaul Cercueil <paul@crapouillou.net>2022-07-09 16:52:14 +0100
commit006f3b2f324cb2277bdcb89693296d9647ece251 (patch)
tree1260ba61c57ce96063ead894897c02da5829ba64 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentdrm/ingenic: Don't request full modeset if property is not modified (diff)
downloadlinux-006f3b2f324cb2277bdcb89693296d9647ece251.tar.gz
linux-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 <paul@crapouillou.net> Acked-by: Sam Ravnborg <sam@ravnborg.org> Link: https://patchwork.freedesktop.org/patch/msgid/20220708205406.96473-7-paul@crapouillou.net
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
2008-07-24update test case to protect am --skip behaviourOlivier Marin1-0/+2 2008-07-24Teach fsck and prune about the new location of temporary objectsBrandon Casey2-17/+28 2008-07-23Make non-static functions, that may be static, staticStephan Beyer4-4/+4 2008-07-23ignore non-existent refs in dwim_log()Junio C Hamano1-1/+1 2008-07-23git-completion.bash: provide completion for 'show-branch'Thomas Rast1-1/+17 2008-07-23bash completion: Add long options for 'git rm'Lee Marlow1-0/+15 2008-07-23svnimport: newer libsvn wants us to ask for the root with "", not "/"P. Christeas1-1/+1 2008-07-23Documentation/git-filter-branch: teach "rm" instead of "update-index --remove"Petr Baudis1-1/+1 2008-07-23git daemon: avoid waking up too oftenJohannes Schindelin1-14/+11 2008-07-23builtin-commit: Two trivial style-cleanupsJohannes Schindelin1-4/+3 2008-07-23Documentation: clarify diff --ccJunio C Hamano2-8/+8 2008-07-23am --abort: Add to bash-completion and mention in git-rerere documentationStephan Beyer2-2/+2 2008-07-23git-filter-branch.sh: Allow running in bare repositoriesPetr Baudis2-14/+26 2008-07-23builtin-branch.c: optimize --merged and --no-mergedJunio C Hamano1-21/+38 2008-07-23builtin-branch.c: remove unused code in append_ref() callback functionJunio C Hamano1-7/+3 2008-07-23stash save: fix parameter handlingJunio C Hamano1-2/+2 2008-07-23git-am: Add colon before the subject that is printed out as being appliedStephan Beyer2-2/+2 2008-07-23git-checkout: fix command line parsing.Pierre Habouzit1-1/+2 2008-07-23rebase -i: When an 'edit' stops, mention the commitJohannes Sixt1-1/+1 2008-07-23sort_in_topological_order(): avoid setting a commit flagJohannes Schindelin3-10/+8