]> Git Repo - linux.git/commit
drm/i915/icl: Fix DDI/TC port clk_off bits
authorMahesh Kumar <[email protected]>
Tue, 16 Oct 2018 02:37:52 +0000 (19:37 -0700)
committerJoonas Lahtinen <[email protected]>
Thu, 18 Oct 2018 07:26:25 +0000 (10:26 +0300)
commit83db37385306072eca403ed80c0a8cf7b0d39e05
treeab2e937cfbf3c7901ea6a12d76a20bc2cbff1ad6
parenta9b84b4492774668237b19aa65536e934df51567
drm/i915/icl: Fix DDI/TC port clk_off bits

DDI/TC clock-off bits are not equally distanced. TC1-3 bits are
from offset 12 & TC4 is at offset 21.
Create a function to choose correct clk-off bit.

v2: Add fixes tag (Lucas)

Fixes: c27e917e2bda ("drm/i915/icl: add basic support for the ICL clocks")
Signed-off-by: Mahesh Kumar <[email protected]>
Signed-off-by: Vandita Kulkarni <[email protected]>
Reviewed-by: Lucas De Marchi <[email protected]>
Signed-off-by: Rodrigo Vivi <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
(cherry picked from commit bb1c7edc6d4d5cc6917814d858d47b22d2e93cde)
Signed-off-by: Joonas Lahtinen <[email protected]>
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_ddi.c
This page took 0.043719 seconds and 4 git commands to generate.