We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9509359 commit fa5186bCopy full SHA for fa5186b
drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c
@@ -774,8 +774,10 @@ static void _dpu_kms_hw_destroy(struct dpu_kms *dpu_kms)
774
for (i = 0; i < dpu_kms->catalog->vbif_count; i++) {
775
u32 vbif_idx = dpu_kms->catalog->vbif[i].id;
776
777
- if ((vbif_idx < VBIF_MAX) && dpu_kms->hw_vbif[vbif_idx])
+ if ((vbif_idx < VBIF_MAX) && dpu_kms->hw_vbif[vbif_idx]) {
778
dpu_hw_vbif_destroy(dpu_kms->hw_vbif[vbif_idx]);
779
+ dpu_kms->hw_vbif[vbif_idx] = NULL;
780
+ }
781
}
782
783
0 commit comments