OSDN Git Service

drm/i915: don't deactivate FBC at skylake_disable_primary_plane
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Fri, 29 Jan 2016 20:57:38 +0000 (18:57 -0200)
committerPaulo Zanoni <paulo.r.zanoni@intel.com>
Thu, 4 Feb 2016 16:17:09 +0000 (14:17 -0200)
commit3eb7c38bfed5dc6ea0e24c8bc2fd249760bdde8c
tree1f279115e0200da07c0377e14b8d951e683a11e2
parentd5165ebd527c54bbe3761fd5810dede32b5246a3
drm/i915: don't deactivate FBC at skylake_disable_primary_plane

FBC is already deactivated at this point.

Besides, nothing should be calling these lower-level function
pointers. A few months ago, the only caller of
dev_priv->fbc.deactivate was intel_pipe_set_base_atomic(), which was
the kgdboc function. But the following commit added it to the SKL
function:

    commit a8d201af68506b375b701d0d8dbe8487034256f2
    Author: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
    Date:   Thu Jan 7 11:54:11 2016 +0100
        drm/i915: Use plane state for primary plane updates.

Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1454101060-23198-1-git-send-email-paulo.r.zanoni@intel.com
drivers/gpu/drm/i915/intel_display.c