提交 cf404ce4 编写于 作者: D Damien Lespiau 提交者: Daniel Vetter

drm/i915: Spell out IS_HSW/BDW_ULT() in intel_crt_present()

The quality of being a ULT or ULX package doesn't tell anything across
generations and so a global IS_ULT() macro doesn't make much sense, esp.
as we're adding new products.

So, spell out which ULT/ULX SKUs we are talking about here, namely HSW
and BDW.
Signed-off-by: NDamien Lespiau <damien.lespiau@intel.com>
Reviewed-by: NPaulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
上级 dbf7786e
无相关合并请求
...@@ -12162,7 +12162,7 @@ static bool intel_crt_present(struct drm_device *dev) ...@@ -12162,7 +12162,7 @@ static bool intel_crt_present(struct drm_device *dev)
if (INTEL_INFO(dev)->gen >= 9) if (INTEL_INFO(dev)->gen >= 9)
return false; return false;
if (IS_ULT(dev)) if (IS_HSW_ULT(dev) || IS_BDW_ULT(dev))
return false; return false;
if (IS_CHERRYVIEW(dev)) if (IS_CHERRYVIEW(dev))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
反馈
建议
客服 返回
顶部