drm/i915/icl: Power down unused DSI lanes
authorMadhav Chauhan <madhav.chauhan@intel.com>
Thu, 5 Jul 2018 13:49:37 +0000 (19:19 +0530)
committerJani Nikula <jani.nikula@intel.com>
Fri, 6 Jul 2018 09:14:16 +0000 (12:14 +0300)
commit45f09f7adc8a10138b158c5805a4d3b20aac611a
tree5e1271bd2952a9b13c811f2a4271de5861e1b9d4
parent166869b390b6fe763544fe4ae1e01acd28db331a
drm/i915/icl: Power down unused DSI lanes

To save power, unused lanes should be powered
down using the bitfield of PORT_CL_DW10.

v2: Review comments from Jani N
    - Put default label next to case 4
    - Include the shifts in the macros

Signed-off-by: Madhav Chauhan <madhav.chauhan@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1530798591-2077-7-git-send-email-madhav.chauhan@intel.com
drivers/gpu/drm/i915/icl_dsi.c