Commit 9aa5975
committed
drm/i915/wm: Modify latency programmed into PKG_C_LATENCY
Increase the latency programmed into PKG_C_LATENCY latency to be
a multiple of line time which is written into WM_LINETIME.
--v2
-Fix commit subject line [Sai Teja]
-Use individual DISPLAY_VER checks instead of range [Sai Teja]
-Initialize max_linetime [Sai Teja]
--v3
-take into account the scenario when adjusted_latency is 0 [Vinod]
--v4
-rename adjusted_latency to latency [Mitul]
-fix the condition in which dpkgc is disabled [Vinod]
--v5
-Add check to see if max_linetime is 0 [Vinod]
--v6
-Avoid nested if statements [Mitul]
WA: 22020299601
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-5-suraj.kandpal@intel.com1 parent 555a09d commit 9aa5975
1 file changed
Lines changed: 14 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2861 | 2861 | | |
2862 | 2862 | | |
2863 | 2863 | | |
2864 | | - | |
| 2864 | + | |
| 2865 | + | |
2865 | 2866 | | |
2866 | 2867 | | |
2867 | 2868 | | |
| |||
2875 | 2876 | | |
2876 | 2877 | | |
2877 | 2878 | | |
| 2879 | + | |
| 2880 | + | |
2878 | 2881 | | |
2879 | 2882 | | |
2880 | 2883 | | |
2881 | | - | |
2882 | | - | |
2883 | | - | |
| 2884 | + | |
| 2885 | + | |
| 2886 | + | |
| 2887 | + | |
| 2888 | + | |
| 2889 | + | |
| 2890 | + | |
| 2891 | + | |
| 2892 | + | |
2884 | 2893 | | |
2885 | 2894 | | |
2886 | 2895 | | |
2887 | 2896 | | |
2888 | 2897 | | |
2889 | | - | |
| 2898 | + | |
2890 | 2899 | | |
2891 | 2900 | | |
2892 | 2901 | | |
| |||
0 commit comments