diff options
| author | Lyude Paul <[email protected]> | 2021-05-14 14:14:55 -0400 |
|---|---|---|
| committer | Lyude Paul <[email protected]> | 2021-06-09 13:35:18 -0400 |
| commit | 4154fa0e2688118ba3dbc67aa834435463f9ea68 (patch) | |
| tree | da2cdc0dc190a3f689e3b37e999c8f8d5f0b1895 /tools/perf/scripts/python | |
| parent | 241a9e233e7cf1001d09426c9fc520768f8961bf (diff) | |
drm/i915/dpcd_bl: Remove redundant AUX backlight frequency calculations
Noticed this while moving all of the VESA backlight code in i915 over to
DRM helpers: it would appear that we calculate the frequency value we want
to write to DP_EDP_BACKLIGHT_FREQ_SET twice even though this value never
actually changes during runtime. So, let's simplify things by just caching
this value in intel_panel.backlight, and re-writing it as-needed.
Changes since v1:
* Wrap panel->backlight.edp.vesa.pwm_freq_pre_divider in
DP_EDP_BACKLIGHT_FREQ_AUX_SET_CAP check - Jani
Signed-off-by: Lyude Paul <[email protected]>
Cc: Jani Nikula <[email protected]>
Cc: Dave Airlie <[email protected]>
Cc: [email protected]
Reviewed-by: Jani Nikula <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions