diff options
Diffstat (limited to 'radeon/radeon_surface.c')
-rw-r--r-- | radeon/radeon_surface.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/radeon/radeon_surface.c b/radeon/radeon_surface.c index 965be24c..3cafcfcb 100644 --- a/radeon/radeon_surface.c +++ b/radeon/radeon_surface.c | |||
@@ -26,9 +26,6 @@ | |||
26 | * Authors: | 26 | * Authors: |
27 | * Jérôme Glisse <jglisse@redhat.com> | 27 | * Jérôme Glisse <jglisse@redhat.com> |
28 | */ | 28 | */ |
29 | #ifdef HAVE_CONFIG_H | ||
30 | #include <config.h> | ||
31 | #endif | ||
32 | #include <stdbool.h> | 29 | #include <stdbool.h> |
33 | #include <assert.h> | 30 | #include <assert.h> |
34 | #include <errno.h> | 31 | #include <errno.h> |
@@ -2503,6 +2500,7 @@ static int radeon_surface_sanity(struct radeon_surface_manager *surf_man, | |||
2503 | if (surf->npix_y > 1) { | 2500 | if (surf->npix_y > 1) { |
2504 | return -EINVAL; | 2501 | return -EINVAL; |
2505 | } | 2502 | } |
2503 | /* fallthrough */ | ||
2506 | case RADEON_SURF_TYPE_2D: | 2504 | case RADEON_SURF_TYPE_2D: |
2507 | if (surf->npix_z > 1) { | 2505 | if (surf->npix_z > 1) { |
2508 | return -EINVAL; | 2506 | return -EINVAL; |