summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/etnaviv/etnaviv_screen.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/etnaviv/etnaviv_screen.c')
-rw-r--r--src/gallium/drivers/etnaviv/etnaviv_screen.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/gallium/drivers/etnaviv/etnaviv_screen.c b/src/gallium/drivers/etnaviv/etnaviv_screen.c
index c277f64ce98..ccfa0d8556b 100644
--- a/src/gallium/drivers/etnaviv/etnaviv_screen.c
+++ b/src/gallium/drivers/etnaviv/etnaviv_screen.c
@@ -580,16 +580,6 @@ etna_get_specs(struct etna_screen *screen)
DBG("could not get ETNA_GPU_PIXEL_PIPES");
goto fail;
}
- if (val < 1 && val > ETNA_MAX_PIXELPIPES) {
- if (val == 0) {
- fprintf(stderr, "Warning: zero pixel pipes (update kernel?)\n");
- val = 1;
- } else {
- fprintf(stderr, "Error: bad pixel pipes value %u\n",
- (unsigned int)val);
- goto fail;
- }
- }
screen->specs.pixel_pipes = val;
if (etna_gpu_get_param(screen->gpu, ETNA_GPU_NUM_CONSTANTS, &val)) {