lkml.org 
[lkml]   [2014]   [Oct]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH RFC 0/4] drm/core: restore suspend/resume calbacks in KMS drm drivers
Date
The main intent of this patchset is to allow use of suspend/resume drm driver
callbacks in KMS drivers, as these callbacks seems to me the best place
to implement suspend/resume functionality in drm driver.
Implementing this functionality in master component driver PM ops is problematic
as those callbacks can be called asynchronously regardless of state/existence of
drm device, thus it would require additional synchronization mechanism.

Callbacks re-enabling requires small changes in i915 and exynos driver.
The patchset contains also fix of exynos resume callback.

Regards
Andrzej


Andrzej Hajda (4):
drm/i915: set PM callbacks only if modeset is turned off
drm/core: re-enable suspend/resume callbacks for KMS drivers
drm/exynos: remove master component PM callbacks
drm/exynos: correct connector->dpms field before resuming

drivers/gpu/drm/drm_sysfs.c | 2 --
drivers/gpu/drm/exynos/exynos_drm_drv.c | 37 ++++++---------------------------
drivers/gpu/drm/i915/i915_drv.c | 6 ++----
3 files changed, 8 insertions(+), 37 deletions(-)

--
1.9.1



\
 
 \ /
  Last update: 2014-10-03 11:01    [W:0.654 / U:0.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site