]> www.infradead.org Git - users/dwmw2/linux.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)
commit3000c4ac02584e877926f598aff501c36202750c
tree946e70b49cb499b156b40175b6c056f523c2d931
parentbf0297ac77f3c3187a79a612082ce7ddb64c1e4b
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]