Re: [Intel-gfx] [PATCH v2 2/5] drm/i915/display/dg2: Sanitize CD clock

2021-11-23 Thread Lisovskiy, Stanislav
On Fri, Nov 19, 2021 at 03:13:45PM +0200, Mika Kahola wrote: > In case of CD clock squashing the divider is always 1. We don't > need to calculate the divider in use so let's skip that for DG2. > > v2: Drop unnecessary local variable (Ville) > v3: Avoid if-else structure (Ville) > [v4: vsyrjala:

[Intel-gfx] [PATCH v2 2/5] drm/i915/display/dg2: Sanitize CD clock

2021-11-19 Thread Mika Kahola
In case of CD clock squashing the divider is always 1. We don't need to calculate the divider in use so let's skip that for DG2. v2: Drop unnecessary local variable (Ville) v3: Avoid if-else structure (Ville) [v4: vsyrjala: Fix cd2x divider calculation (Uma), Introduce