drm/v3d: Add support for V3D v4.2.
authorEric Anholt <eric@anholt.net>
Fri, 5 Oct 2018 00:22:43 +0000 (17:22 -0700)
committerpopcornmix <popcornmix@gmail.com>
Thu, 13 Jun 2019 10:51:55 +0000 (11:51 +0100)
commita319dc7a8eea4e53cde4f2e8feb85e574aeaf0de
tree73e81ad88c75b725d3832903e0378ca5c805433a
parent5135ce6a4eb3c13c91ce537143696bf732ca94c8
drm/v3d: Add support for V3D v4.2.

No compatible string for it yet, just the version-dependent changes.
They've now tied the hub and the core interrupt lines into a single
interrupt line coming out of the block.  It also turns out I made a
mistake in modeling the V3D v3.3 and v4.1 bridge as a part of V3D
itself -- the bridge is going away in favor of an external reset
controller in a larger HW module.

v2: Use consistent checks for whether we're on 4.2, and fix a leak in
    an error path.
v3: Use more general means of determining if the current 4.2 changes
    are in place, as apparently other platforms may switch back (noted
    by Dave).  Update the binding doc.

Signed-off-by: Eric Anholt <eric@anholt.net>
Documentation/devicetree/bindings/gpu/brcm,bcm-v3d.txt
drivers/gpu/drm/v3d/v3d_drv.c
drivers/gpu/drm/v3d/v3d_drv.h
drivers/gpu/drm/v3d/v3d_gem.c
drivers/gpu/drm/v3d/v3d_irq.c