]> git.baikalelectronics.ru Git - kernel.git/commit
gpu: host1x: Deduplicate hardware headers
authorMikko Perttunen <mperttunen@nvidia.com>
Mon, 27 Jun 2022 14:19:59 +0000 (17:19 +0300)
committerThierry Reding <treding@nvidia.com>
Fri, 8 Jul 2022 14:27:52 +0000 (16:27 +0200)
commit65295a1db672b423ae93fbe0b2b33c1f023a2573
tree946e70b49cb499b156b40175b6c056f523c2d931
parent7eece1fb0cdeb0bc5862186110ee0d571e00e3ad
gpu: host1x: Deduplicate hardware headers

Host1x class information and opcodes are unchanged or backwards
compatible across SoCs so let's not duplicate them for each one
but have them in a shared header file.

At the same time, add opcode functions for acquire/release_mlock.

Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/host1x/hw/host1x01_hardware.h
drivers/gpu/host1x/hw/host1x02_hardware.h
drivers/gpu/host1x/hw/host1x04_hardware.h
drivers/gpu/host1x/hw/host1x05_hardware.h
drivers/gpu/host1x/hw/host1x06_hardware.h
drivers/gpu/host1x/hw/host1x07_hardware.h
drivers/gpu/host1x/hw/opcodes.h [new file with mode: 0644]