This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/DRA746: Display goes in blank state or power saving mode

Part Number: DRA746

Tool/software: Linux

Dear Team,

We use custom h/w and software based on DRA746 and SDK 3.02.00.03. I find display goes to blank state after approximately 9 to 10 minutes. I have captured the drm and dss log for this when this happens. See below log.

Is there anyway to avoid this? This doesn't happen when there is continuous update on display via some application.

dmesg -c
[  602.096969] [drm:drm_atomic_state_init] Allocated atomic state ef0b6c00
[  602.096981] [drm:drm_property_reference_blob] ee674600: blob ID: 42 (1)
[  602.096987] [drm:drm_atomic_get_crtc_state] Added [CRTC:34] ee6b5400 state to ef0b6c00
[  602.096993] [drm:drm_atomic_check_only] checking ef0b6c00
[  602.097001] [drm:drm_atomic_helper_check_modeset] [CRTC:34] active changed
[  602.097006] [drm:drm_atomic_helper_check_modeset] [CRTC:34] needs all connectors, enable: y, active: n
[  602.097012] [drm:drm_atomic_add_affected_connectors] Adding all current connectors for [CRTC:34] to ef0b6c00
[  602.097019] [drm:drm_atomic_get_connector_state] Added [CONNECTOR:32] ef3b17c0 state to ef0b6c00
[  602.097028] [drm:drm_framebuffer_reference] ef16f900: FB ID: 41 (3)
[  602.097034] [drm:drm_atomic_get_plane_state] Added [PLANE:33] ec753f00 state to ef0b6c00
[  602.097040] [drm:drm_atomic_connectors_for_crtc] State ef0b6c00 has 1 connectors for [CRTC:34]
[  602.097048] [drm:drm_atomic_commit] commiting ef0b6c00
[  602.097059] DISPC: dispc_runtime_get
[  602.097066] [drm:disable_outputs] disabling [ENCODER:31:TMDS-31]
[  602.097075] DISPC: dispc_runtime_get
[  602.097083] [drm:omap_irq_update] irqmask=00525640
[  602.097088] DISPC: dispc_runtime_put
[  602.099720] DISPC: dispc_runtime_get
[  602.099727] [drm:omap_irq_update] irqmask=00125640
[  602.099732] DISPC: dispc_runtime_put
[  602.099748] DSS: dss_runtime_put
[  602.099759] DISPC: dispc_runtime_put
[  602.099765] [drm:disable_outputs] disabling [CRTC:34]
[  602.099770] [drm:omap_crtc_disable] lcd2
[  602.099777] [drm:drm_vblank_off] crtc 0, vblank enabled 0, inmodeset 0
[  602.099786] [drm:drm_update_vblank_count] updating vblank count on crtc 0: current=1, diff=0, hw=0 hw_last=0
[  602.099796] [drm:drm_calc_timestamping_constants] crtc 34: hwmode: htotal 992, vtotal 500, vdisplay 480
[  602.099803] [drm:drm_calc_timestamping_constants] crtc 34: clock 33300 kHz framedur 14894894 linedur 29789
[  602.099810] [drm:omap_plane_atomic_update] gfx, crtc=eebd0c00 fb=ef16f900
[  602.099817] [drm:omap_plane_atomic_update] 800x480 -> 800x480 (1024)
[  602.099823] [drm:omap_plane_atomic_update] 0,0 0x7fe20000 0x00000000
[  602.099837] DISPC: dispc_ovl_setup 0, pa 0x7fe20000, pa_uv 0x00000000, sw 1024, 0,0, 800x480 -> 800x480, cmode 80, rot 0, mir 0, chan 2 repl 1
[  602.099849] DISPC: calc_rot(0): scrw 1024, 800x480
[  602.099856] DISPC: offset0 0, offset1 0, row_inc 897, pix_inc 1
[  602.099863] DISPC: 0,0 800x480 -> 800x480
[  602.099871] DISPC: dispc_enable_plane 0, 1
[  602.099881] DISPC: dispc_runtime_put
[  602.099890] DISPC: dispc_save_context
[  602.099966] DISPC: context saved
[  602.099998] [drm:drm_atomic_state_default_clear] Clearing atomic state ef0b6c00
[  602.100006] [drm:drm_property_unreference_blob] ee674600: blob ID: 42 (2)
[  602.100012] [drm:drm_framebuffer_unreference] ef16f900: FB ID: 41 (4)
[  602.100018] [drm:drm_atomic_state_free] Freeing atomic state ef0b6c00
[  602.100151] DSS: dss_save_context
[  602.100161] DSS: context saved

Regards,

Vikash