Commit 555a09d
committed
drm/i915/display: Refactor DPKGC code to call it from atomic_commit_tail
Refactor the code to check the fixed refresh rate condition in the dpkgc
function itself and call it from intel_atomic_commit_tail so that we
have all the required values specially linetime which is computed after
intel_wm_compute, this will also help implement some WA's which requires
linetime. This also avoid writing into any of the registers while we are
in compute_config phase.
Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com>
Reviewed-by: Mitul Golani <mitulkumar.ajitkumar.golani@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241203084706.2126189-4-suraj.kandpal@intel.com1 parent 11c7392 commit 555a09d
3 files changed
Lines changed: 19 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7831 | 7831 | | |
7832 | 7832 | | |
7833 | 7833 | | |
| 7834 | + | |
| 7835 | + | |
7834 | 7836 | | |
7835 | 7837 | | |
7836 | 7838 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2854 | 2854 | | |
2855 | 2855 | | |
2856 | 2856 | | |
2857 | | - | |
2858 | | - | |
| 2857 | + | |
| 2858 | + | |
2859 | 2859 | | |
2860 | | - | |
| 2860 | + | |
| 2861 | + | |
| 2862 | + | |
| 2863 | + | |
2861 | 2864 | | |
2862 | 2865 | | |
2863 | 2866 | | |
| 2867 | + | |
| 2868 | + | |
2864 | 2869 | | |
2865 | 2870 | | |
2866 | 2871 | | |
2867 | 2872 | | |
2868 | | - | |
| 2873 | + | |
| 2874 | + | |
| 2875 | + | |
| 2876 | + | |
| 2877 | + | |
| 2878 | + | |
| 2879 | + | |
| 2880 | + | |
2869 | 2881 | | |
2870 | 2882 | | |
2871 | 2883 | | |
| |||
2886 | 2898 | | |
2887 | 2899 | | |
2888 | 2900 | | |
2889 | | - | |
2890 | 2901 | | |
2891 | 2902 | | |
2892 | 2903 | | |
| |||
2911 | 2922 | | |
2912 | 2923 | | |
2913 | 2924 | | |
2914 | | - | |
2915 | | - | |
2916 | | - | |
2917 | | - | |
2918 | | - | |
2919 | 2925 | | |
2920 | 2926 | | |
2921 | | - | |
2922 | | - | |
2923 | 2927 | | |
2924 | 2928 | | |
2925 | 2929 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| 90 | + | |
90 | 91 | | |
91 | 92 | | |
92 | 93 | | |
0 commit comments