diff options
| author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2025-10-14 22:18:01 +0300 |
|---|---|---|
| committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2025-10-16 18:19:41 +0300 |
| commit | 5021ccb44dc6a22a3508316442d1304371ca55db (patch) | |
| tree | 10c499505d99bdf84518b8e59c0b50bb368100d1 /rust/zerocopy-derive/git@git.tavy.me:linux.git | |
| parent | 755e430b1eed8234d22c7aa6c277f2bef7202aa9 (diff) | |
drm/i915: Reject modes with linetime > 64 usec
Reject modes whose linetime exceeds 64 usec.
First reason being that WM_LINETIME is limited to (nearly) 64 usec.
Additionally knowing the linetime is bounded will help with
determining whether overflows may be a concern during various
calculations.
I decided to round up, and accept the linetime==64 case. We use
various rounding directions for this in other parts of the code,
so I feel this provides the most consistent result all around.
Reviewed-by: Uma Shankar <uma.shankar@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20251014191808.12326-3-ville.syrjala@linux.intel.com
Diffstat (limited to 'rust/zerocopy-derive/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
