]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/tegra: firewall: Check for is_addr_reg existence in IMM check
authorMikko Perttunen <mperttunen@nvidia.com>
Thu, 19 Jan 2023 13:39:01 +0000 (15:39 +0200)
committerThierry Reding <treding@nvidia.com>
Thu, 26 Jan 2023 14:55:38 +0000 (15:55 +0100)
commit1b5c09de25e8c08655c270a70e5e74e93b6bad1f
tree0984ea2d3ea04d534ae932143f7427b3cf529abe
parenteb258cc1fd458e584082be987dbc6ec42668c05e
drm/tegra: firewall: Check for is_addr_reg existence in IMM check

In the IMM opcode check, don't call is_addr_reg if it's not set.

Fixes: 8cc95f3fd35e ("drm/tegra: Add job firewall")
Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/firewall.c