drm/i915: Initialize DRRS delayed work
authorVandana Kannan <vandana.kannan@intel.com>
Thu, 22 Jan 2015 09:44:45 +0000 (15:14 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 27 Jan 2015 08:51:14 +0000 (09:51 +0100)
commit4e9ac947c7d0333afb1473856f2abfe4c8c2ef13
treeb0ee9c7f47512751b70328ccc5b6fea81894c911
parentb2c5c181ed18490648a02f8c7d562a3b9e8b96de
drm/i915: Initialize DRRS delayed work

Add DRRS work function to trigger a switch to low refresh rate,
when no activity is detected on screen till 1 sec duration.

v2: [By Ram]: drrs.dp also protected with drrs.mutex and worker function
is renamed to intel_edp_drrs_downclock_work [Chris]

Signed-off-by: Vandana Kannan <vandana.kannan@intel.com>
Signed-off-by: Ramalingam C <ramalingam.c@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_dp.c