summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_dp.c
diff options
context:
space:
mode:
authorRamalingam C <ramalingam.c@intel.com>2015-03-23 23:12:02 +0530
committerDaniel Vetter <daniel.vetter@ffwll.ch>2015-03-24 10:27:03 +0100
commitc2d885c6c90b0ada58355ee3f53c7581d2904603 (patch)
treef1cad9e6c888b9431271ddd97e6df230fb5c20c6 /drivers/gpu/drm/i915/intel_dp.c
parent096fad9ebfadb4922332f98895ea948e8d7fe6a7 (diff)
downloadop-kernel-dev-c2d885c6c90b0ada58355ee3f53c7581d2904603.zip
op-kernel-dev-c2d885c6c90b0ada58355ee3f53c7581d2904603.tar.gz
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>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_dp.c')
-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 637dd53..0b26df9 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;
OpenPOWER on IntegriCloud