Re: [Intel-gfx] [PATCH 8/8] drm/i915/icl: Fix DDI/TC port clk_off bits

2018-10-04 Thread Lucas De Marchi
On Wed, Oct 03, 2018 at 12:52:03PM +0530, Mahesh Kumar wrote: > 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. > > Signed-off-by: Mahesh Kumar > Signed-off-by: Vandita Kulkarni > Cc: Lucas

[Intel-gfx] [PATCH 8/8] drm/i915/icl: Fix DDI/TC port clk_off bits

2018-10-03 Thread Mahesh Kumar
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. Signed-off-by: Mahesh Kumar Signed-off-by: Vandita Kulkarni Cc: Lucas De Marchi --- drivers/gpu/drm/i915/i915_reg.h | 3 +++ drivers/gpu/drm/