gpu: host1x: Rewrite job opcode sequence
authorMikko Perttunen <mperttunen@nvidia.com>
Mon, 27 Jun 2022 14:20:05 +0000 (17:20 +0300)
committerThierry Reding <treding@nvidia.com>
Fri, 8 Jul 2022 14:27:53 +0000 (16:27 +0200)
commit1411796f200de86d037578752450a9853359670c
tree2285b800adeeab10d55f059173a8298d81a974f3
parent9abdd497cd0ac08ed55aea30de1e46d73eef9fc5
gpu: host1x: Rewrite job opcode sequence

For new (Tegra186+) SoCs, use a new ('full-featured') job opcode
sequence that is compatible with virtualization. In particular,
the Host1x hardware in Tegra234 is more strict regarding the sequence,
requiring ACQUIRE_MLOCK-SETCLASS-SETSTREAMID opcodes to occur in
that sequence without gaps (except for SETPAYLOAD), so let's do it
properly in one go now.

Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/host1x/hw/channel_hw.c