Re: [PATCH 1/3] drm/i915: Fix __gen125_emit_bb_start() without WA

2022-09-30 Thread Matt Roper
On Thu, Sep 29, 2022 at 10:09:01PM -0700, Lucas De Marchi wrote: > ce->wa_bb_page is allocated only for graphics version 12. However > __gen125_emit_bb_start() is used for any graphics version >= 12.50. For > the currently supported platforms this is not an issue, but for future > ones there's a

[PATCH 1/3] drm/i915: Fix __gen125_emit_bb_start() without WA

2022-09-29 Thread Lucas De Marchi
ce->wa_bb_page is allocated only for graphics version 12. However __gen125_emit_bb_start() is used for any graphics version >= 12.50. For the currently supported platforms this is not an issue, but for future ones there's a mismatch causing the jump to `wa_offset + DG2_PREDICATE_RESULT_BB` to be