| #
7d447370 |
| 21-May-2026 |
Gabe Teeger <gabe.teeger@amd.com> |
drm/amd/display: Handle aux_inst for connectors without DDC pin
[Why & How] Must use an alternative codepath to access AUX channel when link->no_ddc_pin is set.
Reviewed-by: Harry Wentland <harry.w
drm/amd/display: Handle aux_inst for connectors without DDC pin
[Why & How] Must use an alternative codepath to access AUX channel when link->no_ddc_pin is set.
Reviewed-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Gabe Teeger <gabe.teeger@amd.com> Signed-off-by: Matthew Stewart <Matthew.Stewart2@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 ...
|
| #
d7e41c6f |
| 28-Apr-2026 |
Lohita Mudimela <lohita.mudimela@amd.com> |
drm/amd/display: Refactor Replay functionality into dedicated power_replay module
[Why] Extract all Replay related functions from power.c and power_helpers.c into a new power_replay.c module for bet
drm/amd/display: Refactor Replay functionality into dedicated power_replay module
[Why] Extract all Replay related functions from power.c and power_helpers.c into a new power_replay.c module for better code organization and maintainability.
[How] Create new power_replay.c file containing Replay-related functions moved from power.c and power_helpers.c . Update mod_power.h with function declarations. Maintain forward declaration for type compatibility.
Reviewed-by: Robin Chen <robin.chen@amd.com> Signed-off-by: Lohita Mudimela <lohita.mudimela@amd.com> Signed-off-by: Ivan Lipski <ivan.lipski@amd.com> Tested-by: Dan Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
show more ...
|
| #
b11107cb |
| 22-Apr-2026 |
Lohita Mudimela <lohita.mudimela@amd.com> |
drm/amd/display: Refactor PSR functionality into dedicated power_psr module
[Why] Extract all PSR (Panel Self Refresh) related functions from power.c into a new power_psr.c module for better code or
drm/amd/display: Refactor PSR functionality into dedicated power_psr module
[Why] Extract all PSR (Panel Self Refresh) related functions from power.c into a new power_psr.c module for better code organization and maintainability.
[How] Create new power_psr.c file containing all PSR-related functions moved from power.c. Remove static qualifier from shared functions to enable cross-file access: - psr_context_to_mod_power_psr_context: Convert PSR context to module power PSR context - map_index_from_stream: Map stream to power entity index - delay_two_frames: Wait for two frame periods
Add function declarations to header. Maintain forward declaration of struct core_power for type compatibility.
Reviewed-by: Anthony Koo <anthony.koo@amd.com> Signed-off-by: Lohita Mudimela <lohita.mudimela@amd.com> Signed-off-by: Ivan Lipski <ivan.lipski@amd.com> Tested-by: Dan Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
show more ...
|
| #
254a47ce |
| 10-Mar-2026 |
Lohita Mudimela <lohita.mudimela@amd.com> |
drm/amd/display: Separate ABM functions into dedicated power_abm.c file
[Why] Improves code organization by separating Adaptive Backlight Modulation functionality from general power management. This
drm/amd/display: Separate ABM functions into dedicated power_abm.c file
[Why] Improves code organization by separating Adaptive Backlight Modulation functionality from general power management. This modular approach enhances maintainability and makes the codebase easier to navigate.
[How] Create new power_abm.c file containing all ABM-related functions moved from power.c. Remove static qualifier from shared functions to enable cross-file access: - initialize_backlight_caps: Initialize backlight capabilities - validate_ext_backlight_caps: Validate external backlight capabilities - backlight_millipercent_to_pwm: Convert brightness percent to PWM - backlight_millipercent_to_millinit: Convert brightness percent to nits - fill_backlight_level_params: Populate backlight level parametersAdd function declarations to mod_power.h header. Update CMakeLists.txt to include power_abm.c in build. Maintain forward declaration of struct core_power for type compatibility. Rename struct core_power field from 'public' to 'mod_public'. Move internal structures (backlight_state, backlight_properties, dmcu_varibright_cached_properties, core_power) to power_helpers.h to ensure consistent memory layouts across compilation units.
Reviewed-by: Martin Leung <martin.leung@amd.com> Signed-off-by: Lohita Mudimela <lohita.mudimela@amd.com> Signed-off-by: James Lin <pinglei.lin@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
show more ...
|