Home
last modified time | relevance | path

Searched refs:n_bomap_pages (Results 1 – 2 of 2) sorted by relevance

/drivers/gpu/drm/etnaviv/
Detnaviv_dump.c118 unsigned int n_obj, n_bomap_pages; in etnaviv_core_dump() local
134 n_bomap_pages = 0; in etnaviv_core_dump()
143 n_bomap_pages += obj->base.size >> PAGE_SHIFT; in etnaviv_core_dump()
148 if (n_bomap_pages) { in etnaviv_core_dump()
149 file_size += n_bomap_pages * sizeof(__le64); in etnaviv_core_dump()
186 if (n_bomap_pages) { in etnaviv_core_dump()
188 memset(bomap, 0, sizeof(*bomap) * n_bomap_pages); in etnaviv_core_dump()
190 bomap + n_bomap_pages); in etnaviv_core_dump()
/drivers/gpu/drm/panfrost/
Dpanfrost_dump.c108 unsigned int n_obj, n_bomap_pages; in panfrost_core_dump() local
125 n_bomap_pages = 0; in panfrost_core_dump()
142 n_bomap_pages += dbo->size >> PAGE_SHIFT; in panfrost_core_dump()
147 if (n_bomap_pages) { in panfrost_core_dump()
148 file_size += n_bomap_pages * sizeof(*bomap); in panfrost_core_dump()
191 memset(bomap, 0, sizeof(*bomap) * n_bomap_pages); in panfrost_core_dump()
193 bomap + n_bomap_pages); in panfrost_core_dump()