]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: switch TGL and ADL to the new stepping scheme
authorJani Nikula <jani.nikula@intel.com>
Fri, 26 Mar 2021 13:21:35 +0000 (15:21 +0200)
committerJani Nikula <jani.nikula@intel.com>
Mon, 29 Mar 2021 11:56:13 +0000 (14:56 +0300)
commit8604db62ca772828ef4f288517aeeba0dff409e8
treeee1733a14701bc23854b2bf21c3e75c53ff3833e
parent7123f43e3256cc0ddccde0c6d497e374a1d4f85f
drm/i915: switch TGL and ADL to the new stepping scheme

This changes the way revids not present in the array are handled:

- For gaps in the array, the next present revid is used.

- For revids beyond the array, the new STEP_FUTURE is used instead of
  the last revid in the array.

In both cases, we'll get debug logging of what's going on.

v2: Rename stepping->step

Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/756fe3d75b1e91ef812fc1fd3f70337e9c571d91.1616764798.git.jani.nikula@intel.com
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_step.c
drivers/gpu/drm/i915/intel_step.h