drm/i915/display/icl+: Do not program clockgating
authorJosé Roberto de Souza <jose.souza@intel.com>
Tue, 7 Jan 2020 17:09:21 +0000 (09:09 -0800)
committerJosé Roberto de Souza <jose.souza@intel.com>
Wed, 8 Jan 2020 16:32:48 +0000 (08:32 -0800)
commit10cd283da6c6cb6740e904a5cb12c70fbc47ce8b
treebcdfb1c88984786bd52ff572d704b6d3d262d94e
parent60c6a14b489baa0b591d19093ab886bec7f7fe36
drm/i915/display/icl+: Do not program clockgating

Talked with HW team and this is a left over, driver should not
program clockgating, mg or dekel firmware is reponsible for any
clockgating programing.

Also removing the register and bits definition related to clockgating.

v2:
Added WARN_ON

v3:
Only calling icl_phy_set_clock_gating() on intel_ddi_pre_enable_hdmi
for GEN11

v4:
ICL should also not program clockgating (thanks Matt for catching
this)

BSpec issue: 20885
BSpec: 49292
BSpec: 21735
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Cc: Matt Roper <matthew.d.roper@intel.com>
Cc: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200107170922.153612-1-jose.souza@intel.com
drivers/gpu/drm/i915/display/intel_ddi.c
drivers/gpu/drm/i915/i915_reg.h