]> 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)
commit3bf485084cf25ee3a9fbdd3437842f54f8dabd7f
tree946e70b49cb499b156b40175b6c056f523c2d931
parent3d5aadc606b1cb458500863e9c97e1359c504c0d
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]