Skip to content

Commit e126ff0

Browse files
anholtpopcornmix
authored andcommitted
drm/v3d: Hook up the runtime PM ops.
In translating the runtime PM code from vc4, I missed the ".pm" assignment to actually connect them up. Fixes missing MMU setup if runtime PM resets V3D. Signed-off-by: Eric Anholt <eric@anholt.net> (cherry picked from commit ca197699af29baa8236c74c53d4904ca8957ee06)
1 parent cbf3841 commit e126ff0

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎drivers/gpu/drm/v3d/v3d_drv.c‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ static int v3d_runtime_resume(struct device *dev)
7070
}
7171
#endif
7272

73-
static const struct dev_pm_ops v3d_v3d_pm_ops = {
73+
static const struct dev_pm_ops v3d_pm_ops = {
7474
SET_RUNTIME_PM_OPS(v3d_runtime_suspend, v3d_runtime_resume, NULL)
7575
};
7676

@@ -356,6 +356,7 @@ static struct platform_driver v3d_platform_driver = {
356356
.driver = {
357357
.name = "v3d",
358358
.of_match_table = v3d_of_match,
359+
.pm = &v3d_pm_ops,
359360
},
360361
};
361362

0 commit comments

Comments
 (0)