drm/i915: Noop lrc_init_wa_ctx() on recent/future platforms
authorLucas De Marchi <lucas.demarchi@intel.com>
Wed, 7 Sep 2022 23:08:41 +0000 (16:08 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Thu, 22 Sep 2022 13:52:07 +0000 (06:52 -0700)
commit783f6f852cc061e59962e53aa9824aa785de0d8c
tree509ac094a46f276c64d560702ef84be3bc28bd08
parentc40bd3b14f72446115241563ee0ce7273aa04f35
drm/i915: Noop lrc_init_wa_ctx() on recent/future platforms

Except for graphics version 8 and 9, nothing is done in
lrc_init_wa_ctx(). Assume this won't be needed on future platforms as
well and remove the warning.

Note that this function is not called for anything below version 8 since
those don't use either guc or execlist, i.e. HAS_EXECLISTS() is false.

Reviewed-by: Balasubramani Vivekanandan <balasubramani.vivekanandan@intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220907230841.1703574-1-lucas.demarchi@intel.com
drivers/gpu/drm/i915/gt/intel_lrc.c