MTL_P: The display is flashing with QHD+ panel
The display is flashing with QHD+ panel
Tried below branches from drm-intel(https://cgit.freedesktop.org/drm-intel), none of them work.
drm-intel-gt-next d3b0466adfd9 drm/i915/dg2: Remove Wa_15010599737
drm-intel-next 3b918f4f0c8b drm/i915/pxp: Optimize GET_PARAM:PXP_STATUS
I also tried drm-tip/drm-tip, but still no luck
f69ef04cfdd4 drm-tip: 2023y-08m-15d-22h-40m-38s UTC integration manifest
The only workaround is adding i915.enable_psr=0
i915.enable_psr2_sel_fetch=0
works partially, it only flashes in the beginning after entered desktop and then seems become stable and doesn't flash anymore.
With drm.debug=0x1e
, the flashing comes with below messages
[ 160.318876] i915 0000:00:02.0: [drm:drm_mode_addfb2 [drm]] [FB:302]
[ 160.319083] i915 0000:00:02.0: [drm:drm_atomic_state_init [drm]] Allocated atomic state 00000000a8e813a2
[ 160.319157] i915 0000:00:02.0: [drm:drm_atomic_get_plane_state [drm]] Added [PLANE:31:plane 1A] 00000000bec30835 state to 00000000a8e813a2
[ 160.319222] i915 0000:00:02.0: [drm:drm_atomic_get_crtc_state [drm]] Added [CRTC:80:pipe A] 0000000022adb950 state to 00000000a8e813a2
[ 160.319283] i915 0000:00:02.0: [drm:drm_atomic_set_fb_for_plane [drm]] Set [FB:302] for [PLANE:31:plane 1A] state 00000000bec30835
[ 160.319348] i915 0000:00:02.0: [drm:drm_atomic_check_only [drm]] checking 00000000a8e813a2
[ 160.319428] i915 0000:00:02.0: [drm:intel_plane_atomic_check_with_state [i915]] [CRTC:80:pipe A] with [PLANE:31:plane 1A] visible 1 -> 1, off 0, on 0, ms 0
[ 160.319841] i915 0000:00:02.0: [drm:intel_atomic_get_global_obj_state [i915]] Added new global object 000000009a88aebf state 00000000c9a484b9 to 00000000a8e813a2
[ 160.320140] i915 0000:00:02.0: [drm:intel_atomic_get_global_obj_state [i915]] Added new global object 00000000ff666a73 state 0000000072aceafa to 00000000a8e813a2
[ 160.320409] i915 0000:00:02.0: [drm:drm_atomic_add_affected_planes [drm]] Adding all current planes for [CRTC:80:pipe A] to 00000000a8e813a2
[ 160.320480] i915 0000:00:02.0: [drm:drm_atomic_get_plane_state [drm]] Added [PLANE:76:cursor A] 00000000924b4b2d state to 00000000a8e813a2
[ 160.320541] i915 0000:00:02.0: [drm:drm_atomic_nonblocking_commit [drm]] committing 00000000a8e813a2 nonblocking
[ 160.320816] i915 0000:00:02.0: [drm:intel_power_well_enable [i915]] enabling DC_off
[ 160.321743] i915 0000:00:02.0: [drm:gen9_set_dc_state.part.0 [i915]] Setting DC state from 02 to 00
[ 160.339568] i915 0000:00:02.0: [drm:drm_atomic_state_default_clear [drm]] Clearing atomic state 00000000a8e813a2
[ 160.339691] i915 0000:00:02.0: [drm:__drm_atomic_state_free [drm]] Freeing atomic state 00000000a8e813a2
[ 160.359917] i915 0000:00:02.0: [drm:intel_power_well_disable [i915]] disabling DC_off
[ 160.360224] i915 0000:00:02.0: [drm:skl_enable_dc6 [i915]] Enabling DC6
[ 160.360488] i915 0000:00:02.0: [drm:gen9_set_dc_state.part.0 [i915]] Setting DC state from 00 to 02```