[Freedreno] [PATCH igt v2 1/3] drmtest: Add DRIVER_MSM support
Petri Latvala
petri.latvala at intel.com
Fri Aug 27 06:56:32 UTC 2021
On Wed, Aug 25, 2021 at 04:31:37PM -0700, Rob Clark wrote:
> From: Rob Clark <robdclark at chromium.org>
>
> Signed-off-by: Rob Clark <robdclark at chromium.org>
Reviewed-by: Petri Latvala <petri.latvala at intel.com>
> ---
> lib/drmtest.c | 3 +++
> lib/drmtest.h | 1 +
> 2 files changed, 4 insertions(+)
>
> diff --git a/lib/drmtest.c b/lib/drmtest.c
> index e1f9b115..29cb3f4c 100644
> --- a/lib/drmtest.c
> +++ b/lib/drmtest.c
> @@ -179,6 +179,7 @@ static const struct module {
> } modules[] = {
> { DRIVER_AMDGPU, "amdgpu" },
> { DRIVER_INTEL, "i915", modprobe_i915 },
> + { DRIVER_MSM, "msm" },
> { DRIVER_PANFROST, "panfrost" },
> { DRIVER_V3D, "v3d" },
> { DRIVER_VC4, "vc4" },
> @@ -539,6 +540,8 @@ static const char *chipset_to_str(int chipset)
> return "amdgpu";
> case DRIVER_PANFROST:
> return "panfrost";
> + case DRIVER_MSM:
> + return "msm";
> case DRIVER_ANY:
> return "any";
> default:
> diff --git a/lib/drmtest.h b/lib/drmtest.h
> index 7d17a0f9..a6eb60c3 100644
> --- a/lib/drmtest.h
> +++ b/lib/drmtest.h
> @@ -50,6 +50,7 @@
> #define DRIVER_AMDGPU (1 << 3)
> #define DRIVER_V3D (1 << 4)
> #define DRIVER_PANFROST (1 << 5)
> +#define DRIVER_MSM (1 << 6)
>
> /*
> * Exclude DRVER_VGEM from DRIVER_ANY since if you run on a system
> --
> 2.31.1
>
More information about the Freedreno
mailing list