]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/i915: Move compute part of __intel_set_mode() to separate function
authorAnder Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Tue, 21 Apr 2015 14:13:06 +0000 (17:13 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 8 May 2015 11:04:02 +0000 (13:04 +0200)
commit054518ddff87565022bf1eb1578fcb00e42cc847
treead6c34caa4c0531195a03bf64cd07b49f0913eba
parente13be6651743b6cebdd29d4049dcd52b3ece4274
drm/i915: Move compute part of __intel_set_mode() to separate function

The first function calls done in that function can still cause changes
to the atomic state and may fail. This should eventually be part of our
atomic check function, while the rest of the code in __intel_set_mode()
is the commit hook. So this makes the legacy mode set more atomic-y.

Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c