diff options
author | Anitha Chrisanthus <anitha.chrisanthus@intel.com> | 2021-01-09 01:34:13 +0300 |
---|---|---|
committer | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2021-10-21 12:08:08 +0300 |
commit | a79f40cccd4644c32f6d5ae1ccf091a262e1dc57 (patch) | |
tree | 109ca314824e64a0fff9c3cd061e0a00e0c9e51b /lib/memory-notifier-error-inject.c | |
parent | 3e4c31e8f70251732529a10934355084c7fab0ac (diff) | |
download | linux-a79f40cccd4644c32f6d5ae1ccf091a262e1dc57.tar.xz |
drm/kmb: Limit supported mode to 1080p
KMB only supports single resolution(1080p), this commit checks for
1920x1080x60 or 1920x1080x59 in crtc_mode_valid.
Also, modes with vfp < 4 are not supported in KMB display. This change
prunes display modes with vfp < 4.
v2: added vfp check
Fixes: 7f7b96a8a0a1 ("drm/kmb: Add support for KeemBay Display")
Co-developed-by: Edmund Dea <edmund.j.dea@intel.com>
Signed-off-by: Edmund Dea <edmund.j.dea@intel.com>
Signed-off-by: Anitha Chrisanthus <anitha.chrisanthus@intel.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Link:https://patchwork.freedesktop.org/patch/msgid/20211013233632.471892-2-anitha.chrisanthus@intel.com
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions