diff options
author | Daniele Ceraolo Spurio <[email protected]> | 2019-08-20 11:22:01 +0100 |
---|---|---|
committer | Chris Wilson <[email protected]> | 2019-08-20 15:23:24 +0100 |
commit | f4785682c9af3ba27d3ebdb8332946962ee0c74e (patch) | |
tree | 83d62608ce2cee85a925b2836b025aebb8097bbb /net/switchdev/switchdev.c | |
parent | 6d26d9bbf59a01ac99488252356348ae066a2c38 (diff) |
drm/i915/tgl: Gen12 csb support
The CSB format has been reworked for Gen12 to include information on
both the context we're switching away from and the context we're
switching to. After the change, some of the events don't have their
own bit anymore and need to be inferred from other values in the csb.
One of the context IDs (0x7FF) has also been reserved to indicate
the invalid ctx, i.e. engine idle.
Note that the full context ID includes the SW counter as well, but since
we currently only care if the context is valid or not we can ignore that
part.
v2: fix mask size, fix and expand comments (Tvrtko),
use if-ladder (Chris)
Bspec: 45555, 46144
Signed-off-by: Daniele Ceraolo Spurio <[email protected]>
Cc: Chris Wilson <[email protected]>
Cc: Tvrtko Ursulin <[email protected]>
Cc: Mika Kuoppala <[email protected]>
Reviewed-by: Mika Kuoppala <[email protected]>
Acked-by: Chris Wilson <[email protected]>
Signed-off-by: Chris Wilson <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions