[PATCH] drm/radeon: add a way to query the number of render backends on SI and CIK

2013-12-21 Thread Marek Olšák
From: Marek Ol??k Needed by userspace for HTILE buffer size calculations. Signed-off-by: Marek Ol??k --- It returns 2 on Bonaire. I hope it's correct. drivers/gpu/drm/radeon/cik.c| 7 ++- drivers/gpu/drm/radeon/radeon_kms.c | 9 + drivers/gpu/drm/radeon/si.c | 7 +

[PATCH] drm/radeon: add a way to query the number of render backends on SI and CIK

2013-12-21 Thread Alex Deucher
On Sat, Dec 21, 2013 at 9:54 AM, Marek Ol??k wrote: > From: Marek Ol??k > > Needed by userspace for HTILE buffer size calculations. > > Signed-off-by: Marek Ol??k > --- > > It returns 2 on Bonaire. I hope it's correct. There are two RBs per SE and there are two SEs on bonaire. So I think it sh