diff options
author | Chris Wilson <[email protected]> | 2018-06-18 10:41:50 +0100 |
---|---|---|
committer | Chris Wilson <[email protected]> | 2018-06-18 14:43:47 +0100 |
commit | 5ee4a7a6db8eb46aafdfea1f26cbdbbb4cef76b3 (patch) | |
tree | 6b8d75fa70ecc6369e56b6455627bccc553244e1 /lib/netdev-notifier-error-inject.c | |
parent | bcc2661e3243fe75b91ec682de01e7cbedfbe7f9 (diff) |
drm/i915/execlists: Pull the w/a LRI emission into a helper
Having the w/a registers as an open-coded table leaves a trap for the
unwary; it would be easy to miss incrementing the LRI counter when
adding a new register to the list. Instead, pull the list of registers
into a table, so that we only need add new registers to that table
rather than try and remember important side-effects of earlier chunks of
GPU instructions.
Suggested-by: Joonas Lahtinen <[email protected]>
Signed-off-by: Chris Wilson <[email protected]>
Cc: Joonas Lahtinen <[email protected]>
Reviewed-by: Joonas Lahtinen <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions