]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
drm/arm: malidp: Use crtc->mode_valid() callback
authorJose Abreu <Jose.Abreu@synopsys.com>
Fri, 19 May 2017 00:52:17 +0000 (01:52 +0100)
committerLiviu Dudau <Liviu.Dudau@arm.com>
Fri, 16 Jun 2017 10:56:46 +0000 (11:56 +0100)
commite2113c036775408348cf1bd60a5659648220973f
tree78efaf422c433df53334ee32633291a74cc4158c
parent925344ccc91d7a7fd84cab2dece1c34bbd86fd8c
drm/arm: malidp: Use crtc->mode_valid() callback

Now that we have a callback to check if crtc supports a given mode
we can use it in malidp so that we restrict the number of probbed
modes to the ones we can actually display.

Also, remove the mode_fixup() callback as this is no longer needed
because mode_valid() will be called before.

Signed-off-by: Jose Abreu <joabreu@synopsys.com>
Cc: Carlos Palminha <palminha@synopsys.com>
Cc: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Dave Airlie <airlied@linux.ie>
Cc: Andrzej Hajda <a.hajda@samsung.com>
Cc: Archit Taneja <architt@codeaurora.org>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Liviu Dudau <liviu@dudau.co.uk>
drivers/gpu/drm/arm/malidp_crtc.c