summaryrefslogtreecommitdiff
path: root/src/soc/intel/icelake/graphics.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/icelake/graphics.c')
-rw-r--r--src/soc/intel/icelake/graphics.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/soc/intel/icelake/graphics.c b/src/soc/intel/icelake/graphics.c
index 0fbddf06e9..07090331cb 100644
--- a/src/soc/intel/icelake/graphics.c
+++ b/src/soc/intel/icelake/graphics.c
@@ -34,6 +34,10 @@ void graphics_soc_init(struct device *dev)
{
uint32_t ddi_buf_ctl;
+ /* Skip IGD GT programming */
+ if (CONFIG(SKIP_GRAPHICS_ENABLING))
+ return;
+
/*
* Enable DDI-A (eDP) 4-lane operation if the link is not up yet.
* This will allow the kernel to use 4-lane eDP links properly