]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: remove unnecessary check for crtc->primary->fb
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Wed, 4 Nov 2015 19:10:47 +0000 (17:10 -0200)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Tue, 10 Nov 2015 09:58:49 +0000 (10:58 +0100)
commitdfdd9d923943adf58fabaae1b864f4b0c1bf32ed
tree7c34dabb614f06561853ef1ca6fdc004d05658ba
parent9f6c75119c7d55ed99eb91d8d210ab9fea8a9c70
drm/i915: remove unnecessary check for crtc->primary->fb

We already check if the CRTC is visible, and it shouldn't be possible
to have a visible CRTC without an FB.

This was noticed by both Chris and Ville on different ocasions.

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1446664257-32012-4-git-send-email-paulo.r.zanoni@intel.com
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
drivers/gpu/drm/i915/intel_fbc.c