v3d: Eliminate the TLB and TLBU files.

We can just use the magic register file like we do for other magic waddrs.
This commit is contained in:
Eric Anholt
2019-02-26 21:34:22 -08:00
parent 110f14d4b4
commit e8ee1f8eaf
4 changed files with 20 additions and 41 deletions

View File

@@ -69,8 +69,6 @@ enum qfile {
* or physical registers later.
*/
QFILE_TEMP,
QFILE_TLB,
QFILE_TLBU,
/**
* VPM reads use this with an index value to say what part of the VPM
@@ -104,6 +102,11 @@ static inline struct qreg vir_reg(enum qfile file, uint32_t index)
return (struct qreg){file, index};
}
static inline struct qreg vir_magic_reg(uint32_t index)
{
return (struct qreg){QFILE_MAGIC, index};
}
static inline struct qreg vir_nop_reg(void)
{
return (struct qreg){QFILE_NULL, 0};