diff options
author | 2015-03-23 23:12:02 +0530 | |
---|---|---|
committer | 2015-03-24 10:27:03 +0100 | |
commit | c2d885c6c90b0ada58355ee3f53c7581d2904603 (patch) | |
tree | f1cad9e6c888b9431271ddd97e6df230fb5c20c6 | |
parent | drm/i915: move clearing of RPS interrupt bits from disable to reset time (diff) | |
download | wireguard-linux-c2d885c6c90b0ada58355ee3f53c7581d2904603.tar.xz wireguard-linux-c2d885c6c90b0ada58355ee3f53c7581d2904603.zip |
drm/i915: Removing the drrs capability enum initialization
As part of allocation of the drm_i915_private variable, drrs capability
enum is initialized to DRRS_NOT_SUPPORTED. Hence need not initialize at
each connector init.
Moreover initializing this enum at connector init will reset
the successful DRRS initialization of previous connector, as we have
the DRRS support for only one panel at a time.
Signed-off-by: Ramalingam C <ramalingam.c@intel.com>
Reviewed-by: Sivakumar Thulasimani <sivakumar.thulasimani@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
-rw-r--r-- | drivers/gpu/drm/i915/intel_dp.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c index 637dd5376c82..0b26df9c78cb 100644 --- a/drivers/gpu/drm/i915/intel_dp.c +++ b/drivers/gpu/drm/i915/intel_dp.c @@ -5337,8 +5337,6 @@ static bool intel_edp_init_connector(struct intel_dp *intel_dp, struct edid *edid; enum pipe pipe = INVALID_PIPE; - dev_priv->drrs.type = DRRS_NOT_SUPPORTED; - if (!is_edp(intel_dp)) return true; |