diff options
author | Francisco Jerez <[email protected]> | 2016-09-07 17:00:07 -0700 |
---|---|---|
committer | Francisco Jerez <[email protected]> | 2016-09-14 14:50:53 -0700 |
commit | e1a918ba7be6b21303caa2d81671f2d3f17dd692 (patch) | |
tree | 19e1a7927355fb25ca96ce7adec637a767ce8c9d /src/SConscript | |
parent | 27cb6b081eaffcf786686136f7961c4d78cc5586 (diff) |
i965/fs: Replace fs_inst::regs_read with ::size_read using byte units.
The previous regs_read value can be recovered by rewriting each
reference of regs_read() like 'x = i.regs_read(j)' to 'x =
DIV_ROUND_UP(i.size_read(j), reg_unit)'.
For the same reason as in the previous patches, this doesn't attempt
to be particularly clever about simplifying the result in the interest
of keeping the rather lengthy patch as obvious as possible. I'll come
back later to clean up any ugliness introduced here.
Reviewed-by: Iago Toral Quiroga <[email protected]>
Diffstat (limited to 'src/SConscript')
0 files changed, 0 insertions, 0 deletions