OSDN Git Service

drm/i915: Update the DSI disable path to support dual link panel disabling
authorGaurav K Singh <gaurav.k.singh@intel.com>
Fri, 5 Dec 2014 08:52:44 +0000 (14:22 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 5 Dec 2014 14:31:32 +0000 (15:31 +0100)
commit384f02a2c4551fc785477d1808a59d717fd70420
treef1815f6535459d612ba6ebd6041370924e68c806
parentaa102d286a022fb0f42238c62c2b05cdac12109d
drm/i915: Update the DSI disable path to support dual link panel disabling

We need to program both port registers during dual link disable path.

v2: Address review comments by Jani
    - Used a for loop instead of do-while loop.

v3: Used for_each_dsi_port macro instead of for loop

v4: Added comments for the usage of AFE latchout bit

Signed-off-by: Gaurav K Singh <gaurav.k.singh@intel.com>
Signed-off-by: Shobhit Kumar <shobhit.kumar@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_dsi.c