diff options
author | Robin Murphy <robin.murphy@arm.com> | 2019-05-17 17:37:21 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-06-25 11:36:52 +0800 |
commit | 301f9d04c5909193b564718f7330ffae50b27eef (patch) | |
tree | c798496f163e93d8d89d450c1b249aba42f64d06 /scripts | |
parent | cd8020337b26f2bcb8b753ee2fa61e0624872638 (diff) |
drm/arm/hdlcd: Actually validate CRTC modes
[ Upstream commit b96151edced4edb6a18aa89a5fa02c7066efff45 ]
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 <robin.murphy@arm.com>
Signed-off-by: Liviu Dudau <liviu.dudau@arm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions