aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRamalingam C <[email protected]>2015-03-23 23:12:02 +0530
committerDaniel Vetter <[email protected]>2015-03-24 10:27:03 +0100
commitc2d885c6c90b0ada58355ee3f53c7581d2904603 (patch)
treef1cad9e6c888b9431271ddd97e6df230fb5c20c6
parent096fad9ebfadb4922332f98895ea948e8d7fe6a7 (diff)
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 <[email protected]> Reviewed-by: Sivakumar Thulasimani <[email protected]> Signed-off-by: Daniel Vetter <[email protected]>
-rw-r--r--drivers/gpu/drm/i915/intel_dp.c2
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;