drm/i915/icl: Enable DDI Buffer
authorMadhav Chauhan <madhav.chauhan@intel.com>
Sun, 16 Sep 2018 10:53:26 +0000 (16:23 +0530)
committerJani Nikula <jani.nikula@intel.com>
Mon, 24 Sep 2018 14:19:47 +0000 (17:19 +0300)
commitba3df888be909a8850e695a3d9631cfb49afede2
treebfac3b78cda83a713203d7bf8e7ecbd8a9d8dbf3
parent3f4b9d9d02c6239f5d0eae6f59af5252ef8beefd
drm/i915/icl: Enable DDI Buffer

This patch enables DDI buffer by writing to DDI_BUF_CTL
register and wait for DDI status to be *not idle* for a
port.

v2: Rebase
v3: Remove step hard coding comments (Jani N)

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/1537095223-5184-4-git-send-email-madhav.chauhan@intel.com
drivers/gpu/drm/i915/icl_dsi.c