]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/tgl: update ddi/tc clock_off bits
authorMahesh Kumar <mahesh1.kumar@intel.com>
Sat, 13 Jul 2019 01:09:21 +0000 (18:09 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Fri, 26 Jul 2019 22:02:17 +0000 (15:02 -0700)
commit24bdc941b167d1cf602f3f2d24d887998bc659e6
treee6dbf6eec4c3173d3024ddc5b893e0a6ea6961d2
parentf1e612e082c2e2cc65be87db1a542364cee5729f
drm/i915/tgl: update ddi/tc clock_off bits

In GEN 12 PORT_C DDI clk_off bit is not equally distanced to A/B,
it's at offset 24. Similarly TC port (5/6) clk off bits are at
offset 22/23. Extend the macros to cover the additional ports.

Cc: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Mahesh Kumar <mahesh1.kumar@intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Anusha Srivatsa <anusha.srivatsa@intel.com>
Reviewed-by: Matt Atwood <matthew.s.atwood@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190713010940.17711-4-lucas.demarchi@intel.com
drivers/gpu/drm/i915/i915_reg.h