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:
@@ -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};
|
||||
|
Reference in New Issue
Block a user