aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_atomic.c
diff options
context:
space:
mode:
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>2015-11-24 11:29:02 +0100
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>2015-12-22 13:42:27 +0100
commitbf8a0af0cc9f9de9e54aefd1afd8c23b91809e41 (patch)
tree65de7d28ccda798647bfafc6701f933be89f0afd /drivers/gpu/drm/i915/intel_atomic.c
parentdd97950a4cb7218fac38570e2e12c57a2cfd8312 (diff)
downloadkernel_replicant_linux-bf8a0af0cc9f9de9e54aefd1afd8c23b91809e41.tar.gz
kernel_replicant_linux-bf8a0af0cc9f9de9e54aefd1afd8c23b91809e41.tar.bz2
kernel_replicant_linux-bf8a0af0cc9f9de9e54aefd1afd8c23b91809e41.zip
drm/i915/skl: Do not allow scaling when crtc is disabled.
This fixes a warning when the crtc is turned off. In that case fb will be NULL, and crtc_clock will be 0. Because the crtc is no longer active this is not a bug, and shouldn't trigger the WARN_ON. Also remove handling a null crtc_state, with all transitional helpers gone this can no longer happen. Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/1448360945-5723-2-git-send-email-maarten.lankhorst@linux.intel.com Reviewed-by: Mika Kahola <mika.kahola@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_atomic.c')
0 files changed, 0 insertions, 0 deletions