Lines Matching refs:RADEON_SURF_MODE_2D
179 if (surf->nsamples == 1 && surflevel->mode == RADEON_SURF_MODE_2D && in surf_minify()
390 surf->level[i].mode = RADEON_SURF_MODE_2D; in r6_surface_init_2d()
413 surf->flags |= RADEON_SURF_SET(RADEON_SURF_MODE_2D, MODE); in r6_surface_init()
423 case RADEON_SURF_MODE_2D: in r6_surface_init()
465 case RADEON_SURF_MODE_2D: in r6_surface_init()
588 if (surf->nsamples == 1 && surflevel->mode == RADEON_SURF_MODE_2D && in eg_surf_minify()
691 level[i].mode = RADEON_SURF_MODE_2D; in eg_surface_init_2d()
733 if (mode == RADEON_SURF_MODE_2D) { in eg_surface_sanity()
842 surf->flags |= RADEON_SURF_SET(RADEON_SURF_MODE_2D, MODE); in eg_surface_init()
852 case RADEON_SURF_MODE_2D: in eg_surface_init()
881 case RADEON_SURF_MODE_2D: in eg_surface_init()
937 if (mode != RADEON_SURF_MODE_2D) { in eg_surface_best()
1314 if (surf->nsamples > 1 && mode != RADEON_SURF_MODE_2D) { in si_surface_sanity()
1328 case RADEON_SURF_MODE_2D: in si_surface_sanity()
1495 if (surf->nsamples == 1 && surflevel->mode == RADEON_SURF_MODE_2D && in si_surf_minify_2d()
1661 level[i].mode = RADEON_SURF_MODE_2D; in si_surface_init_2d()
1734 surf->flags |= RADEON_SURF_SET(RADEON_SURF_MODE_2D, MODE); in si_surface_init()
1744 case RADEON_SURF_MODE_2D: in si_surface_init()
1773 case RADEON_SURF_MODE_2D: in si_surface_init()
2142 if (surf->nsamples > 1 && mode != RADEON_SURF_MODE_2D) { in cik_surface_sanity()
2156 case RADEON_SURF_MODE_2D: { in cik_surface_sanity()
2263 level[i].mode = RADEON_SURF_MODE_2D; in cik_surface_init_2d()
2338 surf->flags |= RADEON_SURF_SET(RADEON_SURF_MODE_2D, MODE); in cik_surface_init()
2348 case RADEON_SURF_MODE_2D: in cik_surface_init()
2377 case RADEON_SURF_MODE_2D: in cik_surface_init()