Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/etnaviv/
H A Detnaviv_dump.c123 unsigned int n_obj, n_bomap_pages; in etnaviv_core_dump() local
139 n_bomap_pages = 0; in etnaviv_core_dump()
148 n_bomap_pages += obj->base.size >> PAGE_SHIFT; in etnaviv_core_dump()
153 if (n_bomap_pages) { in etnaviv_core_dump()
154 file_size += n_bomap_pages * sizeof(__le64); in etnaviv_core_dump()
191 if (n_bomap_pages) { in etnaviv_core_dump()
193 memset(bomap, 0, sizeof(*bomap) * n_bomap_pages); in etnaviv_core_dump()
195 bomap + n_bomap_pages); in etnaviv_core_dump()
/openbmc/linux/drivers/gpu/drm/panfrost/
H A 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()