]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
drm/i915/dg1: Add fake PCH
authorLucas De Marchi <lucas.demarchi@intel.com>
Mon, 13 Jul 2020 18:23:21 +0000 (11:23 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Tue, 14 Jul 2020 09:47:21 +0000 (02:47 -0700)
commit51e3a64fafd534dfe1da1c53dc6917a51f0ba75c
tree74c9777b0667cc27a22b7c15563aeb47bc10de53
parentf619e51672e867f86433b63c896b30b39a4ca8a0
drm/i915/dg1: Add fake PCH

DG1 has the south engine display on the same PCI device. Ideally we
could use HAS_PCH_SPLIT(), but that macro is misused all across the
code base to rather signify a range of gens. So add a fake one for DG1
to be used where needed.

Cc: Aditya Swarup <aditya.swarup@intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Anusha Srivatsa <anusha.srivatsa@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200713182321.12390-6-lucas.demarchi@intel.com
drivers/gpu/drm/i915/intel_pch.c
drivers/gpu/drm/i915/intel_pch.h