diff options
| author | Mikita Lipski <[email protected]> | 2018-07-26 20:27:48 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2018-08-27 16:09:57 +0000 |
| commit | 1b369d3c0d9364df702fc9e50dd9f471b640ddff (patch) | |
| tree | e8710c1ea664c8157dd46228eab68f5d0dcd6b48 /drivers/gpu/drm/amd/amdgpu/amdgpu_encoders.c | |
| parent | drm/amdgpu: move gem definitions into amdgpu_gem header (diff) | |
| download | kernel-1b369d3c0d9364df702fc9e50dd9f471b640ddff.tar.gz kernel-1b369d3c0d9364df702fc9e50dd9f471b640ddff.zip | |
drm/amd/display: pass the right num of modes added
[why]
In case if edid is null or corrupted we need to manually add
a single failsafe mode (640x480). If zero modes returned
DRM adds a different failsafe mode that is not accepted by
DP 1.2 compliance test
[how]
Return the number of modes manually added
Signed-off-by: Mikita Lipski <[email protected]>
Reviewed-by: Sun peng Li <[email protected]>
Acked-by: Bhawanpreet Lakha <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_encoders.c')
0 files changed, 0 insertions, 0 deletions
