drm/etnaviv: add hardware database
authorLucas Stach <l.stach@pengutronix.de>
Mon, 22 Jan 2018 14:57:59 +0000 (15:57 +0100)
committerLucas Stach <l.stach@pengutronix.de>
Fri, 9 Mar 2018 11:22:37 +0000 (12:22 +0100)
commit681c19c8bf34df58e6705ba4c1a1676474ef7799
treeab2a9d3066a4bfd63dcd2bca57f5d160bd090e83
parent0538aaf927b205662a3f3d641ecbc8b0f3236e2a
drm/etnaviv: add hardware database

New versions of the Vivante kernel driver don't trust the hardware feature
bits anymore, but use an internal hardware database. This also includes
more feature fields than are available in hardware.

As we can't trust the hardware feature bits to be correct anymore, we need
to replicate the HWDB in etanviv. For now only the GC7000L as found on
the i.MX8M is supported.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
drivers/gpu/drm/etnaviv/Makefile
drivers/gpu/drm/etnaviv/etnaviv_gpu.c
drivers/gpu/drm/etnaviv/etnaviv_gpu.h
drivers/gpu/drm/etnaviv/etnaviv_hwdb.c [new file with mode: 0644]