[PATCH 0/2] CDCLK modeset function changes
Anusha Srivatsa
anusha.srivatsa at intel.com
Fri Sep 2 22:34:08 UTC 2022
Prep patch to figure out the best way in which cdclk_state
can be accessed in bxt_set_cdclk(). After multiple attempts, CI fails
when trying to access intel_atomic_state or new_cdclk_state using the
helper intel_get_new_cdclk(). This is needed so that the desired cdclk
configuration(which is the new struct steps added in patch 1)
that consists of:
- action: squash, crawl or modeset
- cdclk: desired frequency change
can be determined during atomic check phase and in bxt_set_cdclk() driver
simply checks for the populated steps struct to determine what needs
to be done.
Anusha Srivatsa (2):
drm/i195/display: add cdclk action struct to cdclk_state
drm/display/i915: Pass cdclk_state as parameter to platform_set_cdclk
from modeset functions
drivers/gpu/drm/i915/display/intel_cdclk.c | 40 +++++++++++++++-------
drivers/gpu/drm/i915/display/intel_cdclk.h | 15 ++++++++
2 files changed, 43 insertions(+), 12 deletions(-)
--
2.25.1
More information about the Intel-gfx-trybot
mailing list