[RFC PATCH 10/18] drm/i915: Initializing DRRS for all connectors

Ramalingam C
2015-06-26T14:00:18Z

For all the connectors drrs init is invoked. drrs_init will
initialize the drrs for those connectors that support DRRS.

Signed-off-by: Ramalingam C <ramalingam.c@intel.com>
---
drivers/gpu/drm/i915/intel_display.c | 5 +++++
1 file changed, 5 insertions(+)

diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
index 3f48917..0e8467c 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -15021,6 +15021,7 @@ void intel_modeset_init(struct drm_device *dev)
int sprite, ret;
enum pipe pipe;
struct intel_crtc *crtc;
+ struct intel_connector *connector;

drm_mode_config_init(dev);

@@ -15090,6 +15091,10 @@ void intel_modeset_init(struct drm_device *dev)
i915_disable_vga(dev);
intel_setup_outputs(dev);

+ list_for_each_entry(connector, &dev->mode_config.connector_list,
+ base.head)
+ intel_drrs_init(dev, connector, connector->panel.fixed_mode);
+
/* Just in case the BIOS is doing something questionable. */
intel_fbc_disable(dev);