Commit 05569b5
committed
drm/i915/display: Simplify intel_joiner_num_pipes and its usage
jira NONE_AUTOMATION
Rebuild_History Non-Buildable kernel-5.14.0-570.18.1.el9_6
commit-author Ankit Nautiyal <ankit.k.nautiyal@intel.com>
commit eb920fb
Currently intel_joiner_num_pipes is used to get num of pipes wrt num of
pipes joined. Simplify this by returning 1 when no joiner is used and
update the checks for no joiner case.
v2: Rename the function to intel_crtc_num_joined_pipes and use helper
intel_crtc_joined_pipe_mask. (Ville)
Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240916102836.2149012-2-ankit.k.nautiyal@intel.com
(cherry picked from commit eb920fb)
Signed-off-by: Jonathan Maple <jmaple@ciq.com>1 parent f99b03e commit 05569b5
1 file changed
+9
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
277 | 277 | | |
278 | 278 | | |
279 | 279 | | |
280 | | - | |
| 280 | + | |
281 | 281 | | |
282 | | - | |
| 282 | + | |
283 | 283 | | |
284 | 284 | | |
285 | 285 | | |
| |||
2343 | 2343 | | |
2344 | 2344 | | |
2345 | 2345 | | |
2346 | | - | |
| 2346 | + | |
2347 | 2347 | | |
2348 | | - | |
| 2348 | + | |
2349 | 2349 | | |
2350 | 2350 | | |
2351 | 2351 | | |
| |||
2407 | 2407 | | |
2408 | 2408 | | |
2409 | 2409 | | |
2410 | | - | |
| 2410 | + | |
2411 | 2411 | | |
2412 | 2412 | | |
2413 | 2413 | | |
| |||
2427 | 2427 | | |
2428 | 2428 | | |
2429 | 2429 | | |
2430 | | - | |
| 2430 | + | |
2431 | 2431 | | |
2432 | 2432 | | |
2433 | | - | |
| 2433 | + | |
2434 | 2434 | | |
2435 | 2435 | | |
2436 | 2436 | | |
| |||
2887 | 2887 | | |
2888 | 2888 | | |
2889 | 2889 | | |
2890 | | - | |
| 2890 | + | |
2891 | 2891 | | |
2892 | 2892 | | |
2893 | 2893 | | |
2894 | | - | |
| 2894 | + | |
2895 | 2895 | | |
2896 | 2896 | | |
2897 | 2897 | | |
| |||
0 commit comments