Merge "disp: msm: sde: add sde data to va minidumps"

This commit is contained in:
qctecmdr
2021-08-15 18:31:12 -07:00
committed by Gerrit - the friendly Code Review server
12 changed files with 203 additions and 0 deletions

View File

@@ -4852,3 +4852,14 @@ clean_plane:
exit:
return ERR_PTR(ret);
}
void sde_plane_add_data_to_minidump_va(struct drm_plane *plane)
{
struct sde_plane *sde_plane;
struct sde_plane_state *pstate;
sde_plane = to_sde_plane(plane);
pstate = to_sde_plane_state(plane->state);
sde_mini_dump_add_va_region("sde_plane", sizeof(*sde_plane), sde_plane);
sde_mini_dump_add_va_region("plane_state", sizeof(*pstate), pstate);
}