diff options
| author | Imre Deak <[email protected]> | 2023-05-10 13:31:20 +0300 |
|---|---|---|
| committer | Imre Deak <[email protected]> | 2023-05-16 16:53:45 +0300 |
| commit | 7ff9a17e372e5152a77ec657949a3c9250720fa4 (patch) | |
| tree | d0a8d762e99043603f1ca49be50a49a2f3e23c01 /tools/testing/selftests/bpf/progs/test_prog_array_init.c | |
| parent | 0694cab1d5a425139d9cda08332f59fb79248ff3 (diff) | |
drm/i915: Make the CRTC state consistent during sanitize-disabling
Make sure that the CRTC state is reset correctly, as expected after
disabling the CRTC.
In particular this change will:
- Zero all the CSC blob pointers after intel_crtc_free_hw_state()
has freed them.
- Zero the shared DPLL and port PLL pointers and clear the
corresponding CRTC reference flag in the PLL state.
- Reset all the transcoder and pipe fields.
v2:
- Reset fully the CRTC state. (Ville)
- Clear pipe active flags in the DPLL state.
v3:
- Clear only the CRTC reference flag and add a helper for this.
(Ville)
v4:
- Rebased on previous patch, adding
intel_unreference_shared_dpll_crtc() separately. (Ville)
Cc: Ville Syrjälä <[email protected]>
Reviewed-by: Ville Syrjälä <[email protected]>
Signed-off-by: Imre Deak <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_prog_array_init.c')
0 files changed, 0 insertions, 0 deletions