Commit 375c740
drm/i915/dp: Fail state computation for invalid DSC source input BPP values
[ Upstream commit 3384654 ]
There is no reason to accept an invalid minimum/maximum DSC source input
BPP value (i.e a minimum DSC input BPP value above the maximum pipe BPP
or a maximum DSC input BPP value below the minimum pipe BPP value), fail
the state computation in these cases.
Reviewed-by: Vinod Govindapillai <vinod.govindapillai@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Link: https://patch.msgid.link/20251215192357.172201-17-imre.deak@intel.com
Stable-dep-of: fe26ae6 ("drm/i915/dp: Fix pipe BPP clamping due to HDR")
Signed-off-by: Sasha Levin <sashal@kernel.org>1 parent 8f5ea84 commit 375c740
1 file changed
+21
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2605 | 2605 | | |
2606 | 2606 | | |
2607 | 2607 | | |
2608 | | - | |
2609 | | - | |
| 2608 | + | |
| 2609 | + | |
2610 | 2610 | | |
2611 | 2611 | | |
2612 | | - | |
| 2612 | + | |
| 2613 | + | |
2613 | 2614 | | |
2614 | 2615 | | |
2615 | 2616 | | |
2616 | | - | |
2617 | | - | |
| 2617 | + | |
| 2618 | + | |
| 2619 | + | |
| 2620 | + | |
| 2621 | + | |
| 2622 | + | |
| 2623 | + | |
| 2624 | + | |
| 2625 | + | |
| 2626 | + | |
| 2627 | + | |
| 2628 | + | |
| 2629 | + | |
| 2630 | + | |
| 2631 | + | |
2618 | 2632 | | |
2619 | 2633 | | |
2620 | 2634 | | |
| |||
2654 | 2668 | | |
2655 | 2669 | | |
2656 | 2670 | | |
2657 | | - | |
2658 | | - | |
| 2671 | + | |
| 2672 | + | |
2659 | 2673 | | |
2660 | 2674 | | |
2661 | 2675 | | |
| |||
0 commit comments