summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2022-03-02 13:01:23 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2022-03-02 13:01:23 +0000
commita600d7b40de611e800fb0752421017b2ed7e6cc5 (patch)
tree7fe7c96198b558e2879e202cffc04ec13fc5767e
parente0d1788949618b6cf6ef64b42175e0ef14766bfb (diff)
drm/i915: Widen the QGV point mask
From Ville Syrjala 7782e3c4e5390d217604a73a095db14d48c8b714 in linux 5.15.y/5.15.26 3f33364836aacc28cd430d22cf22379e3b5ecd77 in mainline linux
-rw-r--r--sys/dev/pci/drm/i915/display/intel_bw.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/pci/drm/i915/display/intel_bw.h b/sys/dev/pci/drm/i915/display/intel_bw.h
index 46c6eecbd91..0ceaed1c965 100644
--- a/sys/dev/pci/drm/i915/display/intel_bw.h
+++ b/sys/dev/pci/drm/i915/display/intel_bw.h
@@ -30,19 +30,19 @@ struct intel_bw_state {
*/
u8 pipe_sagv_reject;
+ /* bitmask of active pipes */
+ u8 active_pipes;
+
/*
* Current QGV points mask, which restricts
* some particular SAGV states, not to confuse
* with pipe_sagv_mask.
*/
- u8 qgv_points_mask;
+ u16 qgv_points_mask;
unsigned int data_rate[I915_MAX_PIPES];
u8 num_active_planes[I915_MAX_PIPES];
- /* bitmask of active pipes */
- u8 active_pipes;
-
int min_cdclk;
};