display: add drm_atomic_state to debug-build bugreport
AVC Error Log Justification: [ 157.933663] type=1400 audit(1738255720.900:459): avc: denied { read } for comm="dump_pixel_disp" name="state" dev="debugfs" ino=105961 scontext=u:r:dump_pixel_display:s0 tcontext=u:object_r:debugfs:s0 tclass=file permissive=0 Bug: 393355365 Test: `adb bugreport`, check for "DRM State" entry Flag: EXEMPT bugfix Change-Id: Ibbf3fe022863644ecc137ab28d3a2409e701e104 Signed-off-by: Taylor Nelms <tknelms@google.com>
This commit is contained in:
parent
5262751145
commit
7cbab2dea5
2 changed files with 2 additions and 0 deletions
|
@ -19,6 +19,7 @@
|
|||
int main() {
|
||||
setbuf(stdout, NULL);
|
||||
dumpFileContent("CRTC-0 status", "/sys/kernel/debug/dri/0/crtc-0/status");
|
||||
dumpFileContent("DRM State", "/sys/kernel/debug/dri/0/state");
|
||||
runCommand("libdisplaycolor", "/vendor/bin/dumpsys displaycolor -v");
|
||||
|
||||
dumpFileContent("Primary panel name", "/sys/class/drm/card0/device/primary-panel/panel_name");
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
|
||||
genfscon debugfs /dri/0/crtc- u:object_r:vendor_dri_debugfs:s0
|
||||
genfscon debugfs /dri/0/state u:object_r:vendor_dri_debugfs:s0
|
||||
genfscon sysfs /module/drm/parameters/debug u:object_r:sysfs_display:s0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue