OSDN Git Service

drm/i915: Fix some minor issues with atomic cdclk.
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Tue, 16 Feb 2016 09:25:11 +0000 (10:25 +0100)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Tue, 16 Feb 2016 10:25:09 +0000 (11:25 +0100)
commite8788cbc32dd90a12c3b1264efb9b36ad953953c
treefde8c1402eadfdd7cda747e63d05b97fda466671
parente2c8b8701e2d0cb5b89fa3b5c8acae9dc4f76259
drm/i915: Fix some minor issues with atomic cdclk.

The check for active_crtcs == 0 was performed by the callers, when changing
the patches I forgot to remove those hunks.

This resulted in skylake scalers still not having the correct cdclk to
calculate scaling when all crtc's were dpms off.

Fixes: 1a617b77658e ("drm/i915: Keep track of the cdclk as if all crtc's were active.")
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1455614711-9045-1-git-send-email-maarten.lankhorst@linux.intel.com
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
drivers/gpu/drm/i915/intel_display.c