mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-28 15:20:41 +00:00
drm/i915/adl_p: Pipe B DMC Support
ADLP requires us to load both Pipe A and Pipe B. Plug Pipe B loading support. Cc: Lucas De Marchi <lucas.demarchi@intel.com> Signed-off-by: Anusha Srivatsa <anusha.srivatsa@intel.com> Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20210621191415.29823-4-anusha.srivatsa@intel.com
This commit is contained in:
parent
3d5928a168
commit
2ef140bd23
2 changed files with 3 additions and 0 deletions
|
@ -546,6 +546,8 @@ static int i915_dmc_info(struct seq_file *m, void *unused)
|
||||||
seq_printf(m, "path: %s\n", dmc->fw_path);
|
seq_printf(m, "path: %s\n", dmc->fw_path);
|
||||||
seq_printf(m, "Pipe A fw support: %s\n", yesno(INTEL_GEN(dev_priv) >= 12));
|
seq_printf(m, "Pipe A fw support: %s\n", yesno(INTEL_GEN(dev_priv) >= 12));
|
||||||
seq_printf(m, "Pipe A fw loaded: %s\n", yesno(dmc->dmc_info[DMC_FW_PIPEA].payload));
|
seq_printf(m, "Pipe A fw loaded: %s\n", yesno(dmc->dmc_info[DMC_FW_PIPEA].payload));
|
||||||
|
seq_printf(m, "Pipe B fw support: %s\n", yesno(IS_ALDERLAKE_P(dev_priv)));
|
||||||
|
seq_printf(m, "Pipe B fw loaded: %s\n", yesno(dmc->dmc_info[DMC_FW_PIPEB].payload));
|
||||||
|
|
||||||
if (!intel_dmc_has_payload(dev_priv))
|
if (!intel_dmc_has_payload(dev_priv))
|
||||||
goto out;
|
goto out;
|
||||||
|
|
|
@ -19,6 +19,7 @@ struct drm_i915_private;
|
||||||
enum {
|
enum {
|
||||||
DMC_FW_MAIN = 0,
|
DMC_FW_MAIN = 0,
|
||||||
DMC_FW_PIPEA,
|
DMC_FW_PIPEA,
|
||||||
|
DMC_FW_PIPEB,
|
||||||
DMC_FW_MAX
|
DMC_FW_MAX
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue