mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-08 17:10:11 +01:00
r600g: enable streamout only on 2.14 or latter kernel
The kernel streamout support was supposed to get into 3.3 along the tiling change and thus use the same kernel version bump of 2.13 to report userspace that streamout register were supported. This is not what happen. So as streamout kernel support did not bump the kernel driver version, rely on kernel 2.14 version bump to know if streamout is enabled or not. Which means you need at least 3.4 kernel. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
This commit is contained in:
parent
881bb4ac72
commit
1ffac44e83
1 changed files with 1 additions and 1 deletions
|
|
@ -902,7 +902,7 @@ struct pipe_screen *r600_screen_create(struct radeon_winsys *ws)
|
|||
switch (rscreen->chip_class) {
|
||||
case R600:
|
||||
case EVERGREEN:
|
||||
rscreen->has_streamout = rscreen->info.drm_minor >= 13;
|
||||
rscreen->has_streamout = rscreen->info.drm_minor >= 14;
|
||||
break;
|
||||
case R700:
|
||||
rscreen->has_streamout = rscreen->info.drm_minor >= 17;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue