drm/i915/display: force qgv check after the hw state readout
authorVinod Govindapillai <vinod.govindapillai@intel.com>
Fri, 5 Apr 2024 11:35:33 +0000 (14:35 +0300)
committerVinod Govindapillai <vinod.govindapillai@intel.com>
Fri, 19 Apr 2024 13:11:42 +0000 (16:11 +0300)
commitaaba7a95ddffbf609261a8ba6c5d344b7cc6dca9
tree92f065810e88e6b34de165dad4fde83caa0f7c2a
parent1e9e4be8d683e192aa1f524c5cc554e9e50d1262
drm/i915/display: force qgv check after the hw state readout

The current intel_bw_atomic_check do not check the possbility
of a sagv configuration change after the hw state readout.
Hence cannot update the sagv configuration until some other
relevant changes like data rates, number of planes etc. happen.
Introduce a flag to force qgv check in such cases.

Reviewed-by: Jouni Högander <jouni.hogander@intel.com>
Signed-off-by: Vinod Govindapillai <vinod.govindapillai@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240405113533.338553-7-vinod.govindapillai@intel.com
drivers/gpu/drm/i915/display/intel_bw.c
drivers/gpu/drm/i915/display/intel_bw.h