drm/i915/bw: extract update_sagv_status()

Extract the code to update the SAGV status based on the number of
QGV points into a separate function and use it.

v2: rebase

v3: patch description updated

Signed-off-by: Vinod Govindapillai <vinod.govindapillai@intel.com>
Reviewed-by: Suraj Kandpal <suraj.kandpal@intel.com>
Link: https://patch.msgid.link/20260615203355.218578-6-vinod.govindapillai@intel.com
This commit is contained in:
Vinod Govindapillai 2026-06-15 23:33:53 +03:00
commit f6d7d21db3