]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Allocate a crtc_state also when the crtc is being disabled
authorAnder Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Fri, 20 Mar 2015 14:18:04 +0000 (16:18 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 26 Mar 2015 15:18:20 +0000 (16:18 +0100)
commit1cf86b13df7facfc8042795b57b62e96cedcea9d
tree0885e030ef8a2035d1d6b998282073022870b8b2
parent7cb3aca76c2fc86e241b80b505cfcd283705985b
drm/i915: Allocate a crtc_state also when the crtc is being disabled

For consistency, allocate a new crtc_state for a crtc that is being
disabled. Previously only the enabled value of the current state would
change.

v2: Rebase on v5 of previous patch. (Ander)

Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
[danvet: Resolve rebase conflict.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c