drm/i915: calculate primary visibility changes instead of calling from set_config
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Mon, 1 Jun 2015 10:49:56 +0000 (12:49 +0200)
committerJani Nikula <jani.nikula@intel.com>
Fri, 12 Jun 2015 10:19:32 +0000 (13:19 +0300)
commitfb9d6cf8c29bfcb0b3c602f7ded87f128d730382
treee0b6277c8d7acefa24eb48702d993f04c55ed51b
parent8a8f7f44a1b704c482f77a0d31cbcdf1af062263
drm/i915: calculate primary visibility changes instead of calling from set_config

This should be much cleaner, with the same effects.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/intel_display.c