commit | 3e438b42a5fbf19e44c6c3e0481ed4b5672d8f42 | [log] [tgz] |
---|---|---|
author | Tomer Tayar <ttayar@habana.ai> | Sun Nov 22 11:02:50 2020 +0200 |
committer | Oded Gabbay <ogabbay@kernel.org> | Mon Nov 30 10:47:38 2020 +0200 |
tree | d77f36932e447397b8369da3bc9c871f202f315f | |
parent | 3b82c34f0662cc311a81b4b0e94b982db3d24a7c [diff] |
habanalabs: Add mask for CS type bits in CS flags hl_cs_sanity_checks() extracts the CS type bits of the CS flags, by masking out the non-type bits. To save the need for updating the function whenever new bits for non-type flags are added, add an explicit mask for the CS type bits. Signed-off-by: Tomer Tayar <ttayar@habana.ai> Reviewed-by: Oded Gabbay <ogabbay@kernel.org> Signed-off-by: Oded Gabbay <ogabbay@kernel.org>