]> git.baikalelectronics.ru Git - kernel.git/commit
drm/komeda: Add komeda_crtc_mode_valid/fixup
authorjames qian wang (Arm Technology China) <james.qian.wang@arm.com>
Tue, 22 Jan 2019 11:10:57 +0000 (11:10 +0000)
committerLiviu Dudau <Liviu.Dudau@arm.com>
Mon, 29 Apr 2019 11:35:57 +0000 (12:35 +0100)
commita1e7ac450776a20b28341529b6692e760bf9341d
tree8a5360473bcfa883853ed48c9e15c2d3cad8a8e1
parent34f75d048f4a736a8fdd30f801c78d3643df79ee
drm/komeda: Add komeda_crtc_mode_valid/fixup

komeda_crtc_mode_valid compares the input mode->clk with main engine clk
and AXI clk, and reject the mode if the required pixel clk can not be
satisfied by main engine clk and AXI-clk.

Signed-off-by: James Qian Wang (Arm Technology China) <james.qian.wang@arm.com>
Signed-off-by: Liviu Dudau <liviu.dudau@arm.com>
drivers/gpu/drm/arm/display/komeda/komeda_crtc.c