]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/i915: Add ICL PG3 PW ID for EHL
authorAnshuman Gupta <anshuman.gupta@intel.com>
Fri, 17 Apr 2020 17:28:35 +0000 (22:58 +0530)
committerChris Wilson <chris@chris-wilson.co.uk>
Sat, 18 Apr 2020 06:44:56 +0000 (07:44 +0100)
Gen11 onwards PG3 contains functions for pipe B,
external displays, and VGA. Add missing ICL_DISP_PW_3
for ehl_power_wells.

Cc: Animesh Manna <animesh.manna@intel.com>
Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/1737
Signed-off-by: Anshuman Gupta <anshuman.gupta@intel.com>
Acked-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20200417172835.15461-1-anshuman.gupta@intel.com
drivers/gpu/drm/i915/display/intel_display_power.c

index f72b8ed095caf639b74621a5286d92b282fea185..fa46ea6c6e0175ee7e81812f1d4e44b68fcac8f7 100644 (file)
@@ -3902,7 +3902,7 @@ static const struct i915_power_well_desc ehl_power_wells[] = {
                .name = "power well 3",
                .domains = ICL_PW_3_POWER_DOMAINS,
                .ops = &hsw_power_well_ops,
-               .id = DISP_PW_ID_NONE,
+               .id = ICL_DISP_PW_3,
                {
                        .hsw.regs = &hsw_power_well_regs,
                        .hsw.idx = ICL_PW_CTL_IDX_PW_3,