gpu: drm: use power efficient workingqueues
Change-Id: Id6fe0d3ebf7eabb423f2ec64d79075c0e3ba9e14 Signed-off-by: Samuel Pascua <sgpascua@ngcp.ph> Signed-off-by: Samuel Pascua <pascua.samuel.14@gmail.com>
This commit is contained in:
parent
630769e32b
commit
2406291b8b
1 changed files with 5 additions and 3 deletions
|
@ -273,7 +273,8 @@ void drm_kms_helper_poll_enable(struct drm_device *dev)
|
|||
}
|
||||
|
||||
if (poll)
|
||||
schedule_delayed_work(&dev->mode_config.output_poll_work, delay);
|
||||
queue_delayed_work(system_power_efficient_wq,
|
||||
&dev->mode_config.output_poll_work, delay);
|
||||
}
|
||||
EXPORT_SYMBOL(drm_kms_helper_poll_enable);
|
||||
|
||||
|
@ -488,7 +489,7 @@ retry:
|
|||
*/
|
||||
dev->mode_config.delayed_event = true;
|
||||
if (dev->mode_config.poll_enabled)
|
||||
mod_delayed_work(system_wq,
|
||||
queue_delayed_work(system_wq,
|
||||
&dev->mode_config.output_poll_work,
|
||||
0);
|
||||
}
|
||||
|
@ -708,7 +709,8 @@ out:
|
|||
drm_kms_helper_hotplug_event(dev);
|
||||
|
||||
if (repoll)
|
||||
schedule_delayed_work(delayed_work, DRM_OUTPUT_POLL_PERIOD);
|
||||
queue_delayed_work(system_power_efficient_wq,
|
||||
delayed_work, DRM_OUTPUT_POLL_PERIOD);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue