From: Daniel Vetter Date: Sun, 22 Feb 2015 11:24:20 +0000 (+0100) Subject: drm/atomic-helpers: make mode_set hooks optional X-Git-Tag: omap-for-v4.2/o2_dc~72^2~39^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c982bd90f58681d00363538167477e60e2c8f731;p=pandora-kernel.git drm/atomic-helpers: make mode_set hooks optional With runtime PM the hw might still be off while doing the ->mode_set callbacks - runtime PM get/put should only happen in the enable/disable hooks to properly support DPMS. Which essentially makes these callbacks useless for drivers support runtime PM, so make them optional. Again motivated by discussions with Laurent. Cc: Laurent Pinchart Acked-by: Laurent Pinchart Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed