Revert "Chameleon: Filter 4k resolution on Stoney gpu family"
get_gpu_family() should WAI on all boards first.
This reverts commit c49b91662662e5559aba59774052884c0151a4bd.
Reason for revert: <INSERT REASONING HERE>
Original change's description:
> Chameleon: Filter 4k resolution on Stoney gpu family
>
> AMD's stoney gpu family do not support 4k resolution,
> hence disable executing the same.
>
> BUG=b:69528863
> TEST=None
>
> Change-Id: I1411afce113734a5e1e1f2290ab9c22e0497047f
> Signed-off-by: Shirish S <shirish.s@amd.com>
> Reviewed-on: https://chromium-review.googlesource.com/1002432
> Reviewed-by: Daniel Kurtz <djkurtz@chromium.org>
> Reviewed-by: Ilja H. Friedel <ihf@chromium.org>
Bug: b:69528863
Change-Id: I38ace63a58756dbe1aed5002bfeb7f1ec4235547
Reviewed-on: https://chromium-review.googlesource.com/1011829
Tested-by: Kalin Stoyanov <kalin@chromium.org>
Trybot-Ready: Kalin Stoyanov <kalin@chromium.org>
Reviewed-by: Kalin Stoyanov <kalin@chromium.org>
diff --git a/client/cros/chameleon/edid.py b/client/cros/chameleon/edid.py
index c691c03..4260766 100644
--- a/client/cros/chameleon/edid.py
+++ b/client/cros/chameleon/edid.py
@@ -6,7 +6,6 @@
import operator
import os
-from autotest_lib.client.bin import utils
# TODO: This is a quick workaround; some of our arm devices so far only
# support the HDMI EDIDs and the DP one at 1680x1050. A more proper
@@ -23,12 +22,11 @@
"""
# TODO: Support client test that the host is not a CrosHost.
platform = host.get_platform()
- gpu_family = utils.get_gpu_family()
if platform in ('snow', 'spring', 'skate', 'pi', 'jerry'):
if (width, height) in [(1280, 800), (1440, 900), (1600, 900),
(3840, 2160)]:
return False
- if gpu_family == 'stoney':
+ if platform in ('kahlee',):
if (width, height) in [(3840, 2160)]:
return False
return True