aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c
diff options
context:
space:
mode:
authorJose Abreu <[email protected]>2017-05-25 14:19:17 +0000
committerDaniel Vetter <[email protected]>2017-06-22 08:45:10 +0000
commit2b3d860efa3461af109469e6de2eea48f6ef5cdd (patch)
tree2147a48fc5c511538ac81a90e550829ac12cc642 /drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c
parentdrm/zte: Drop drm_vblank_cleanup (diff)
downloadkernel-2b3d860efa3461af109469e6de2eea48f6ef5cdd.tar.gz
kernel-2b3d860efa3461af109469e6de2eea48f6ef5cdd.zip
drm: arcpgu: Use crtc->mode_valid() callback
Now that we have a callback to check if crtc supports a given mode we can use it in arcpgu so that we restrict the number of probbed modes to the ones we can actually display. This is specially useful because arcpgu crtc is responsible to set a clock value in the commit() stage but unfortunatelly this clock does not support all the needed ranges. Also, remove the atomic_check() callback as mode_valid() callback will be called before. Signed-off-by: Jose Abreu <[email protected]> Reviewed-by: Alexey Brodkin <[email protected]> Cc: Carlos Palminha <[email protected]> Cc: Alexey Brodkin <[email protected]> Cc: Daniel Vetter <[email protected]> Cc: Dave Airlie <[email protected]> Cc: Laurent Pinchart <[email protected]> Changes v4->v5: - Change commit message to "arcpgu" (Alexey) Changes v3->v4: - Do not use aux function (Laurent) Reviewed-by: Neil Armstrong <[email protected]> Acked-by: Dave Airlie <[email protected]> Signed-off-by: Daniel Vetter <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/c3bcd69016c77f68a03ff3cb6b22ca6f90e930b0.1495720737.git.joabreu@synopsys.com
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c')
0 files changed, 0 insertions, 0 deletions