提交 3a6242e3 编写于 作者: L Lucas De Marchi

drm/i915/display: remove explicit CNL handling from intel_dmc.c

Remove DMC firmware for CNL.
Signed-off-by: NLucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: NMatt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210728215946.1573015-9-lucas.demarchi@intel.com
上级 6e5b3d6b
...@@ -70,11 +70,6 @@ MODULE_FIRMWARE(TGL_DMC_PATH); ...@@ -70,11 +70,6 @@ MODULE_FIRMWARE(TGL_DMC_PATH);
#define ICL_DMC_MAX_FW_SIZE 0x6000 #define ICL_DMC_MAX_FW_SIZE 0x6000
MODULE_FIRMWARE(ICL_DMC_PATH); MODULE_FIRMWARE(ICL_DMC_PATH);
#define CNL_DMC_PATH DMC_PATH(cnl, 1, 07)
#define CNL_DMC_VERSION_REQUIRED DMC_VERSION(1, 7)
#define CNL_DMC_MAX_FW_SIZE GLK_DMC_MAX_FW_SIZE
MODULE_FIRMWARE(CNL_DMC_PATH);
#define GLK_DMC_PATH DMC_PATH(glk, 1, 04) #define GLK_DMC_PATH DMC_PATH(glk, 1, 04)
#define GLK_DMC_VERSION_REQUIRED DMC_VERSION(1, 4) #define GLK_DMC_VERSION_REQUIRED DMC_VERSION(1, 4)
#define GLK_DMC_MAX_FW_SIZE 0x4000 #define GLK_DMC_MAX_FW_SIZE 0x4000
...@@ -718,10 +713,6 @@ void intel_dmc_ucode_init(struct drm_i915_private *dev_priv) ...@@ -718,10 +713,6 @@ void intel_dmc_ucode_init(struct drm_i915_private *dev_priv)
dmc->fw_path = ICL_DMC_PATH; dmc->fw_path = ICL_DMC_PATH;
dmc->required_version = ICL_DMC_VERSION_REQUIRED; dmc->required_version = ICL_DMC_VERSION_REQUIRED;
dmc->max_fw_size = ICL_DMC_MAX_FW_SIZE; dmc->max_fw_size = ICL_DMC_MAX_FW_SIZE;
} else if (IS_CANNONLAKE(dev_priv)) {
dmc->fw_path = CNL_DMC_PATH;
dmc->required_version = CNL_DMC_VERSION_REQUIRED;
dmc->max_fw_size = CNL_DMC_MAX_FW_SIZE;
} else if (IS_GEMINILAKE(dev_priv)) { } else if (IS_GEMINILAKE(dev_priv)) {
dmc->fw_path = GLK_DMC_PATH; dmc->fw_path = GLK_DMC_PATH;
dmc->required_version = GLK_DMC_VERSION_REQUIRED; dmc->required_version = GLK_DMC_VERSION_REQUIRED;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册