diff options
author | Boris Brezillon <[email protected]> | 2016-04-15 18:23:33 +0200 |
---|---|---|
committer | Thierry Reding <[email protected]> | 2016-05-12 11:32:14 +0200 |
commit | cda553725c92b9f908f6f69e9bc05de81384d817 (patch) | |
tree | a35ed614be92e6b02d51d97bbb4bbc29374ab44a /tools/perf/util/trace-event-scripting.c | |
parent | cf5c9e6dc70d9d8af00ea45b4ebd67e1fc35764e (diff) |
drm/panel: simple: Set appropriate mode type
All modes exposed by simple panels should be tagged as driver defined
modes. Moreover, if a panel supports only one mode, this mode is
obviously the preferred one.
Doing this also fix a problem occurring when a 'video=' parameter is
passed on the kernel command line. In some cases the user provided mode
will be preferred over the simple panel ones, which might result in
unpredictable behavior.
Signed-off-by: Boris Brezillon <[email protected]>
Reviewed-by: Nicolas Ferre <[email protected]>
Tested-by: Nicolas Ferre <[email protected]>
[[email protected]: reshuffle some code for consistency]
Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions