Commit ac8aabe
committed
drm/msm/mdp5: use drmm-managed allocation for mdp5_plane
Change struct mdp5_plane allocation to use drmm_plane_alloc(). This
removes the need to perform any actions on plane destruction.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Patchwork: https://patchwork.freedesktop.org/patch/546167/
Link: https://lore.kernel.org/r/20230708010407.3871346-11-dmitry.baryshkov@linaro.org1 parent 530f272 commit ac8aabe
1 file changed
Lines changed: 6 additions & 28 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | 38 | | |
48 | 39 | | |
49 | 40 | | |
| |||
135 | 126 | | |
136 | 127 | | |
137 | 128 | | |
138 | | - | |
139 | 129 | | |
140 | 130 | | |
141 | 131 | | |
| |||
1037 | 1027 | | |
1038 | 1028 | | |
1039 | 1029 | | |
1040 | | - | |
1041 | 1030 | | |
1042 | | - | |
1043 | | - | |
1044 | | - | |
1045 | | - | |
1046 | | - | |
| 1031 | + | |
| 1032 | + | |
| 1033 | + | |
| 1034 | + | |
| 1035 | + | |
| 1036 | + | |
1047 | 1037 | | |
1048 | 1038 | | |
1049 | 1039 | | |
1050 | | - | |
1051 | | - | |
1052 | | - | |
1053 | | - | |
1054 | | - | |
1055 | | - | |
1056 | 1040 | | |
1057 | 1041 | | |
1058 | 1042 | | |
1059 | 1043 | | |
1060 | 1044 | | |
1061 | 1045 | | |
1062 | 1046 | | |
1063 | | - | |
1064 | | - | |
1065 | | - | |
1066 | | - | |
1067 | | - | |
1068 | | - | |
1069 | 1047 | | |
0 commit comments