All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH RFC 0/4] drm/core: restore suspend/resume calbacks in KMS drm drivers
@ 2014-10-03  8:24 ` Andrzej Hajda
  0 siblings, 0 replies; 18+ messages in thread
From: Andrzej Hajda @ 2014-10-03  8:24 UTC (permalink / raw)
  To: open list:DRM DRIVERS
  Cc: Andrzej Hajda, Marek Szyprowski, David Airlie, Inki Dae,
	Joonyoung Shim, Seung-Woo Kim, Kyungmin Park, Kukjin Kim,
	Daniel Vetter, Jani Nikula, open list:DRM DRIVERS, open list,
	moderated list:ARM/S5P EXYNOS AR...,
	open list:INTEL DRM DRIVERS...

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


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2014-10-03 15:23 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-03  8:24 [PATCH RFC 0/4] drm/core: restore suspend/resume calbacks in KMS drm drivers Andrzej Hajda
2014-10-03  8:24 ` Andrzej Hajda
2014-10-03  8:24 ` [PATCH RFC 1/4] drm/i915: set PM callbacks only if modeset is turned off Andrzej Hajda
2014-10-03  8:24   ` Andrzej Hajda
2014-10-03  8:24 ` [PATCH RFC 2/4] drm/core: re-enable suspend/resume callbacks for KMS drivers Andrzej Hajda
2014-10-03  8:24   ` Andrzej Hajda
2014-10-03  8:24 ` [PATCH RFC 3/4] drm/exynos: remove master component PM callbacks Andrzej Hajda
2014-10-03  8:24   ` Andrzej Hajda
2014-10-03  8:24 ` [PATCH RFC 4/4] drm/exynos: correct connector->dpms field before resuming Andrzej Hajda
2014-10-03  8:24   ` Andrzej Hajda
2014-10-03  8:31 ` [PATCH RFC 0/4] drm/core: restore suspend/resume calbacks in KMS drm drivers Daniel Vetter
2014-10-03  8:31   ` Daniel Vetter
2014-10-03  9:42   ` Andrzej Hajda
2014-10-03  9:42     ` Andrzej Hajda
2014-10-03 11:39     ` Daniel Vetter
2014-10-03 11:39       ` Daniel Vetter
2014-10-03 15:22       ` Russell King - ARM Linux
2014-10-03 15:22         ` Russell King - ARM Linux

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.