Commit 8f15005
committed
drm/msm/dpu: move scaling limitations out of the hw_catalog
Max upscale / downscale factors are constant between platforms. In
preparation to adding support for virtual planes and allocating SSPP
blocks on demand move max scaling factors out of the HW catalog and
handle them in the dpu_plane directly. If any of the scaling blocks gets
different limitations, this will have to be handled separately, after
the plane refactoring.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Patchwork: https://patchwork.freedesktop.org/patch/621481/
Link: https://lore.kernel.org/r/20241025-dpu-virtual-wide-v6-4-0310fd519765@linaro.org1 parent b96ca23 commit 8f15005
3 files changed
Lines changed: 13 additions & 23 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | 150 | | |
155 | 151 | | |
156 | 152 | | |
| |||
308 | 304 | | |
309 | 305 | | |
310 | 306 | | |
311 | | - | |
312 | | - | |
313 | 307 | | |
314 | 308 | | |
315 | 309 | | |
| |||
322 | 316 | | |
323 | 317 | | |
324 | 318 | | |
325 | | - | |
326 | | - | |
327 | 319 | | |
328 | 320 | | |
329 | 321 | | |
| |||
336 | 328 | | |
337 | 329 | | |
338 | 330 | | |
339 | | - | |
340 | | - | |
341 | 331 | | |
342 | 332 | | |
343 | 333 | | |
344 | 334 | | |
345 | 335 | | |
346 | 336 | | |
347 | 337 | | |
348 | | - | |
349 | | - | |
350 | 338 | | |
351 | 339 | | |
352 | 340 | | |
| |||
359 | 347 | | |
360 | 348 | | |
361 | 349 | | |
362 | | - | |
363 | | - | |
364 | 350 | | |
365 | 351 | | |
366 | 352 | | |
| |||
369 | 355 | | |
370 | 356 | | |
371 | 357 | | |
372 | | - | |
373 | | - | |
374 | 358 | | |
375 | 359 | | |
376 | 360 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
364 | 364 | | |
365 | 365 | | |
366 | 366 | | |
367 | | - | |
368 | | - | |
369 | 367 | | |
370 | 368 | | |
371 | 369 | | |
| |||
375 | 373 | | |
376 | 374 | | |
377 | 375 | | |
378 | | - | |
379 | | - | |
380 | 376 | | |
381 | 377 | | |
382 | 378 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
777 | 777 | | |
778 | 778 | | |
779 | 779 | | |
| 780 | + | |
| 781 | + | |
| 782 | + | |
780 | 783 | | |
781 | 784 | | |
782 | 785 | | |
783 | 786 | | |
784 | 787 | | |
785 | | - | |
| 788 | + | |
786 | 789 | | |
787 | 790 | | |
788 | 791 | | |
| |||
813 | 816 | | |
814 | 817 | | |
815 | 818 | | |
816 | | - | |
| 819 | + | |
| 820 | + | |
| 821 | + | |
| 822 | + | |
| 823 | + | |
| 824 | + | |
| 825 | + | |
| 826 | + | |
817 | 827 | | |
818 | 828 | | |
819 | | - | |
| 829 | + | |
820 | 830 | | |
821 | 831 | | |
822 | 832 | | |
| |||
0 commit comments