| 8d7d0fd7 | 26-Mar-2026 |
Wenjing Liu <wenjing.liu@amd.com> |
drm/amd/display: add pstate schedule admissibility flags and frame-time utility
[Why] Core needs to track pstate schedule admissibility for different global change scenarios (fclk, temp read, PPT) a
drm/amd/display: add pstate schedule admissibility flags and frame-time utility
[Why] Core needs to track pstate schedule admissibility for different global change scenarios (fclk, temp read, PPT) and requires a reusable way to compute per-stream frame time from timing parameters.
[How] Extend dml2_core_internal_mode_support_info with: fclk_pstate_schedule_admissible temp_read_pstate_schedule_admissible ppt_pstate_schedule_admissible Add dummy_double_array[3][DML2_MAX_PLANES] to dml2_core_calcs_mode_support_locals. Introduce dml2_core_utils_get_frame_time_us() in dml2_core_utils.c and export it in dml2_core_utils.h to compute frame time in microseconds from stream timing (vline time * (vactive + vblank)).
Reviewed-by: Dillon Varone <dillon.varone@amd.com> Signed-off-by: Wenjing Liu <wenjing.liu@amd.com> Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com> Tested-by: Dan Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
show more ...
|
| dd2308c1 | 26-Mar-2026 |
Wenjing Liu <wenjing.liu@amd.com> |
drm/amd/display: add const qualifiers to watermark params struct
[why] There are few non const input pointer fields. Setting them to const to prevent future modification of read-only data.
Reviewed
drm/amd/display: add const qualifiers to watermark params struct
[why] There are few non const input pointer fields. Setting them to const to prevent future modification of read-only data.
Reviewed-by: Dillon Varone <dillon.varone@amd.com> Signed-off-by: Wenjing Liu <wenjing.liu@amd.com> Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com> Tested-by: Dan Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
show more ...
|
| 2b104fc3 | 26-Mar-2026 |
Wenjing Liu <wenjing.liu@amd.com> |
drm/amd/display: fix math_mod() using arg1 instead of arg2
[Why] math_mod() multiplied by arg1 instead of arg2, returning a wrong result for any non-trivial modulo operation.
[How] Replace arg1 wit
drm/amd/display: fix math_mod() using arg1 instead of arg2
[Why] math_mod() multiplied by arg1 instead of arg2, returning a wrong result for any non-trivial modulo operation.
[How] Replace arg1 with arg2 in the subtraction term to correctly implement fmod(arg1, arg2).
Cc: Mario Limonciello <mario.limonciello@amd.com> Cc: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org Reviewed-by: Dillon Varone <dillon.varone@amd.com> Signed-off-by: Wenjing Liu <wenjing.liu@amd.com> Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com> Tested-by: Dan Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
show more ...
|
| 0bb8605a | 26-Mar-2026 |
Zheng, Austin <Austin.Zheng@amd.com> |
drm/amd/display: Remove Duplicate Prefetch Parameter
[Why/How] UrgLatency value is passed in twice to the prefetch calculations. Once through the UrgentLatency term and once through the Turg term. O
drm/amd/display: Remove Duplicate Prefetch Parameter
[Why/How] UrgLatency value is passed in twice to the prefetch calculations. Once through the UrgentLatency term and once through the Turg term. Only Turg is used in the prefetch calculation so remove the unused UrgentLatency parameter
Reviewed-by: Dillon Varone <dillon.varone@amd.com> Signed-off-by: Zheng, Austin <Austin.Zheng@amd.com> Signed-off-by: Roman Li <roman.li@amd.com> Tested-by: Dan Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
show more ...
|
| beb8e35e | 03-Mar-2026 |
Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> |
drm/amd/display: Plumb MRQ programming out of DML for dml2_1
[Why] If the MRQ is present then these fields are also required to be plumbed out to the requestor for programming.
[How] Pipe the field
drm/amd/display: Plumb MRQ programming out of DML for dml2_1
[Why] If the MRQ is present then these fields are also required to be plumbed out to the requestor for programming.
[How] Pipe the fields out through rq_dlg_get_rq_reg.
The implementation follows the previous generation in dml2_0 for DCN35 but adjusted for the new helpers and coding style of dml2_1.
Reviewed-by: Dillon Varone <dillon.varone@amd.com> Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> Signed-off-by: Chuanyu Tseng <chuanyu.tseng@amd.com> Tested-by: Dan Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
show more ...
|
| db2373ad | 04-Nov-2025 |
Austin Zheng <Austin.Zheng@amd.com> |
drm/amd/display: Fix presentation of Z8 efficiency
[Why/How] Should differentiate when vblank is or isn't included
Reviewed-by: Dillon Varone <dillon.varone@amd.com> Signed-off-by: Austin Zheng <Au
drm/amd/display: Fix presentation of Z8 efficiency
[Why/How] Should differentiate when vblank is or isn't included
Reviewed-by: Dillon Varone <dillon.varone@amd.com> Signed-off-by: Austin Zheng <Austin.Zheng@amd.com> Signed-off-by: Chenyu Chen <chen-yu.chen@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
show more ...
|
| e44ee152 | 24-Sep-2025 |
Austin Zheng <Austin.Zheng@amd.com> |
drm/amd/display: Update P-state naming for clarity.
[Why & How] P-state can refer to different things like UCLK P-state, PPT, or temp read Update naming for clarity
Reviewed-by: Dillon Varone <dill
drm/amd/display: Update P-state naming for clarity.
[Why & How] P-state can refer to different things like UCLK P-state, PPT, or temp read Update naming for clarity
Reviewed-by: Dillon Varone <dillon.varone@amd.com> Signed-off-by: Austin Zheng <Austin.Zheng@amd.com> Signed-off-by: Ray Wu <ray.wu@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
show more ...
|