aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c
diff options
context:
space:
mode:
authorLaurent Pinchart <[email protected]>2018-11-06 15:13:44 +0000
committerLaurent Pinchart <[email protected]>2018-11-23 11:51:23 +0000
commit63a298f22a6183b5b7536a203596c6570dfcfe8e (patch)
treef1c2ad4bacdf50382834331da4a1e3e65a5dcc4f /drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c
parentdrm: rcar-du: Enable alpha property on primary planes (diff)
downloadkernel-63a298f22a6183b5b7536a203596c6570dfcfe8e.tar.gz
kernel-63a298f22a6183b5b7536a203596c6570dfcfe8e.zip
drm: rcar-du: Fix external clock error checks
The rcar-du driver supports probe deferral for external clocks, but implements it badly by checking the wrong pointer due to a bad copy and paste. Fix it. While at it, reject invalid clocks outright for DU channels that have a display PLL, as the external clock is mandatory in that case. This avoids a WARN_ON() at runtime. Fixes: 1b30dbde8596 ("drm: rcar-du: Add support for external pixel clock") Reported-by: Kuninori Morimoto <[email protected]> Signed-off-by: Laurent Pinchart <[email protected]> Reviewed-by: Kieran Bingham <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c')
0 files changed, 0 insertions, 0 deletions