From: jsg Date: Wed, 2 Mar 2022 13:01:22 +0000 (+0000) Subject: drm/i915: Widen the QGV point mask X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=d20e660eed71f00ebadc90666d34b4abb2e874df;p=openbsd drm/i915: Widen the QGV point mask From Ville Syrjala 7782e3c4e5390d217604a73a095db14d48c8b714 in linux 5.15.y/5.15.26 3f33364836aacc28cd430d22cf22379e3b5ecd77 in mainline linux --- 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; };