]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm/v3d: Don't try to set OVRTMUOUT on V3D 4.x.
authorEric Anholt <eric@anholt.net>
Wed, 20 Feb 2019 23:36:57 +0000 (15:36 -0800)
committerEric Anholt <eric@anholt.net>
Fri, 8 Mar 2019 16:59:25 +0000 (08:59 -0800)
commita7dde1b7a5c9adf13d422240d02b812952660a35
tree1d56ce05f44c2bb767f9a8126506a549aef9cfa8
parentd26f9c7f888d362f3ecd3ef029456b64b30a9164
drm/v3d: Don't try to set OVRTMUOUT on V3D 4.x.

The old field is gone and the register now has a different field,
QRMAXCNT for how many TMU requests get serviced before thread switch.
We were accidentally reducing it from its default of 0x3 (4 requests)
to 0x0 (1).

v2: Skip setting the reg at all on 4.x, instead of trying to update
    only the old field.

Signed-off-by: Eric Anholt <eric@anholt.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20190220233658.986-2-eric@anholt.net
Reviewed-by: Dave Emett <david.emett@broadcom.com>
drivers/gpu/drm/v3d/v3d_gem.c
drivers/gpu/drm/v3d/v3d_regs.h