diff options
author | Robin Murphy <[email protected]> | 2019-05-17 17:37:21 +0100 |
---|---|---|
committer | Liviu Dudau <[email protected]> | 2019-06-04 15:12:44 +0100 |
commit | b96151edced4edb6a18aa89a5fa02c7066efff45 (patch) | |
tree | 6be6878505c7fa48f980c91160df4a05fbdc46f2 /lib/mpi/mpi-cmp.c | |
parent | 6a88e0c14813d00f8520d0e16cd4136c6cf8b4d4 (diff) |
drm/arm/hdlcd: Actually validate CRTC modes
Rather than allowing any old mode through, then subsequently refusing
unmatchable clock rates in atomic_check when it's too late to back out
and pick a different mode, let's do that validation up-front where it
will cause unsupported modes to be correctly pruned in the first place.
This also eliminates an issue whereby a perceived clock rate of 0 would
cause atomic disable to fail and prevent the module from being unloaded.
Signed-off-by: Robin Murphy <[email protected]>
Signed-off-by: Liviu Dudau <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions