aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
diff options
context:
space:
mode:
authorChen-Yu Tsai <wens@csie.org>2016-10-24 21:21:15 +0800
committerThierry Reding <treding@nvidia.com>2016-12-06 16:47:07 +0100
commit230c5b44233ff0543c0b5ccf4ff9400057010fbe (patch)
tree27f1e4a58204c7a4cd0c366cd8f863f30d8758cc /drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
parent2cb35c802ad9541691b893a05cc113f15fd53617 (diff)
drm/panel: simple: Check against num_timings when setting preferred for timing
In the loop on .timings, we should check .num_timings to see if it's the only mode specified, not .num_modes, which should be used with .modes. Fixes: cda553725c92 ("drm/panel: simple: Set appropriate mode type") Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c')
0 files changed, 0 insertions, 0 deletions