summaryrefslogtreecommitdiffstats
path: root/common.py
diff options
context:
space:
mode:
authorRoland Scheidegger <[email protected]>2018-01-09 02:53:28 +0100
committerRoland Scheidegger <[email protected]>2018-01-10 04:59:00 +0100
commitf0dd1b36126ceff8726797f40f56defbf5f82e2c (patch)
treea54a0b8583d8538b14c296c6ed405febe70da593 /common.py
parent7c0bc495f1e467562c4b47da1c2821fd323a45b1 (diff)
winsys/radeon: fix up default enabled_rb_mask for r600
The logic had two fatal flaws which completely killed the default value. 1) drm will overwrite the value anyway even if the chip can't be handled 2) the default value logic is relying on num_render_backends, which was filled in later. Luckily noone is relying on it, but it's a bit confusing seeing the chip clock printed out there (as hex) with R600_DEBUG=info... (Albeit radeonsi does not appear to fix up the value. If kernels which don't handle this query are still supported, radeonsi will still end up with a broken enabled_rb_mask, I have no idea of the potential results of this there.) Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'common.py')
0 files changed, 0 insertions, 0 deletions