History

drm/amd/display: Add pixel_clock to amd_pp_display_configuration

This commit adds the pixel_clock field to the display config struct so that power management (DPM) can use it. We currently don't have a proper bandwidth calculation on old GPUs with DCE 6-10 because dce_calcs only supports DCE 11+. So the power management (DPM) on these GPUs may need to make ad-hoc decisions for display based on the pixel clock. Also rename sym_clock to pixel_clock in dm_pp_single_disp_config to avoid confusion with other code where the sym_clock refers to the DisplayPort symbol clock.

Timur Kristóf committed 1 year ago

Commit b515dcb1 parent 92d62954 files · +4 −2Browse files

Showing the changes to drivers/gpu/drm/amd/include/dm_pp_interface.h (1 of 4 files). Show all

Unified · Split

drivers/gpu/drm/amd/include/dm_pp_interface.h+1−0
@@ -65,6 +65,7 @@ struct single_display_configuration { · 64 unmodified lines
6565 uint32_t view_resolution_cy;
6666 enum amd_pp_display_config_type displayconfigtype;
6767 uint32_t vertical_refresh; /* for active display */
68+ uint32_t pixel_clock; /* Pixel clock in KHz (for HDMI only: normalized) */
6869 };
6970
7071 #define MAX_NUM_DISPLAY 32

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t