]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
drm/i915: Update crtc state active flag based on DPMS
authorAnder Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Tue, 21 Apr 2015 14:13:17 +0000 (17:13 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 8 May 2015 11:04:07 +0000 (13:04 +0200)
commit0f63cca2afdc38877e86acfa9821020f6e2213fd
treeab66bdc7d5c28b108d055b99cc48f65cfa960faa
parent7cbf41d6105fe55074c03582831da72923d0874b
drm/i915: Update crtc state active flag based on DPMS

In a follow up patch the function that computes mode changes will be
replaced with the one from the atomic helpers. To preserve the behavior
of legacy modeset forcing DPMS on, that function will need to detect a
change in the active state of the crtc, so that has to be kept up to
date.

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