winsys/radeon: fix the num_tile_pipes comment to silence warnings

This commit is contained in:
Marek Olšák 2016-02-10 19:41:37 +01:00
parent 111602e159
commit 796ee76e2e
1 changed files with 3 additions and 3 deletions

View File

@ -406,9 +406,9 @@ static boolean do_winsys_init(struct radeon_drm_winsys *ws)
&ws->info.num_tile_pipes);
/* "num_tiles_pipes" must be equal to the number of pipes (Px) in the
/* pipe config field of the GB_TILE_MODE array. Only one card (Tahiti)
/* reports a different value (12). Fix it by setting what's in the
/* GB_TILE_MODE array (8).
* pipe config field of the GB_TILE_MODE array. Only one card (Tahiti)
* reports a different value (12). Fix it by setting what's in the
* GB_TILE_MODE array (8).
*/
if (ws->gen == DRV_SI && ws->info.num_tile_pipes == 12)
ws->info.num_tile_pipes = 8;