Commit b34884b
soc: mediatek: Cleanup ifdefs for IS_REACHABLE(CONFIG_MTK_CMDQ)
Now that the mtk-cmdq.h header contains inline functions for cases
in which the driver is not enabled (either module or built-in), we
can safely go on with cleaning up ifdefs for CMDQ handling.
This also shows in a clearer manner that writing through CMDQ HW is
optional and used only for performance purposes when/where wanted,
needed and/or required.
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Chen-Yu Tsai <wenst@chromium.org>
Link: https://lore.kernel.org/r/20230222094253.23678-10-angelogioacchino.delregno@collabora.com
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>1 parent eb0d862 commit b34884b
2 files changed
Lines changed: 12 additions & 25 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
| 134 | + | |
134 | 135 | | |
135 | 136 | | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
140 | 144 | | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | 145 | | |
147 | | - | |
148 | | - | |
149 | 146 | | |
150 | 147 | | |
151 | 148 | | |
| |||
376 | 373 | | |
377 | 374 | | |
378 | 375 | | |
379 | | - | |
| 376 | + | |
380 | 377 | | |
381 | 378 | | |
382 | 379 | | |
383 | | - | |
384 | 380 | | |
385 | 381 | | |
386 | 382 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
871 | 871 | | |
872 | 872 | | |
873 | 873 | | |
874 | | - | |
875 | 874 | | |
876 | 875 | | |
877 | 876 | | |
878 | 877 | | |
879 | 878 | | |
880 | 879 | | |
881 | | - | |
| 880 | + | |
882 | 881 | | |
883 | 882 | | |
884 | 883 | | |
885 | 884 | | |
886 | 885 | | |
887 | | - | |
888 | | - | |
889 | | - | |
890 | | - | |
891 | 886 | | |
892 | 887 | | |
893 | 888 | | |
| |||
1000 | 995 | | |
1001 | 996 | | |
1002 | 997 | | |
1003 | | - | |
1004 | | - | |
1005 | | - | |
1006 | | - | |
| 998 | + | |
1007 | 999 | | |
1008 | 1000 | | |
1009 | 1001 | | |
| |||
1030 | 1022 | | |
1031 | 1023 | | |
1032 | 1024 | | |
1033 | | - | |
| 1025 | + | |
1034 | 1026 | | |
1035 | 1027 | | |
1036 | 1028 | | |
1037 | | - | |
1038 | 1029 | | |
1039 | 1030 | | |
1040 | 1031 | | |
| |||
0 commit comments