diff options
author | Hsiao Chien Sung <shawn.sung@mediatek.com> | 2024-06-20 00:38:50 +0800 |
---|---|---|
committer | Chun-Kuang Hu <chunkuang.hu@kernel.org> | 2024-06-20 13:57:36 +0000 |
commit | a4c9410b31cac463599898edb5111ca9bc0810bd (patch) | |
tree | 16f8dafc075db34c5887197e59876cd3e8c3230d /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | 9f428b95ac89ca0b1e0f280f7d25a583ffbb98ae (diff) | |
download | linux-a4c9410b31cac463599898edb5111ca9bc0810bd.tar.gz linux-a4c9410b31cac463599898edb5111ca9bc0810bd.tar.bz2 linux-a4c9410b31cac463599898edb5111ca9bc0810bd.zip |
drm/mediatek: Set DRM mode configs accordingly
Set DRM mode configs limitation according to the hardware capabilities
and pass the IGT checks as below:
- The test "graphics.IgtKms.kms_plane" requires a frame buffer with
width of 4512 pixels (> 4096).
- The test "graphics.IgtKms.kms_cursor_crc" checks if the cursor size is
defined, and run the test with cursor size from 1x1 to 512x512.
Please notice that the test conditions may change as IGT is updated.
Reviewed-by: CK Hu <ck.hu@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Fixes: 119f5173628a ("drm/mediatek: Add DRM Driver for Mediatek SoC MT8173.")
Signed-off-by: Hsiao Chien Sung <shawn.sung@mediatek.com>
Link: https://patchwork.kernel.org/project/dri-devel/patch/20240620-igt-v3-10-a9d62d2e2c7e@mediatek.com/
Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions