Re: [Intel-gfx] [PATCH 6/6] drm/i915/display: Simplify GLK display version tests

2021-03-22 Thread Ville Syrjälä
On Fri, Mar 19, 2021 at 09:42:45PM -0700, Matt Roper wrote: > diff --git a/drivers/gpu/drm/i915/display/intel_cdclk.c > b/drivers/gpu/drm/i915/display/intel_cdclk.c > index 4be848d0d156..eb1121e05c0d 100644 > --- a/drivers/gpu/drm/i915/display/intel_cdclk.c > +++ b/drivers/gpu/drm/i915/display/int

[Intel-gfx] [PATCH 6/6] drm/i915/display: Simplify GLK display version tests

2021-03-19 Thread Matt Roper
GLK has always been a bit of a special case since it reports INTEL_GEN() as 9, but has version 10 display IP. Now we can properly represent the display version as 10 and simplify the display generation tests throughout the display code. Aside from manually adding the version to the glk_info struc