[Intel-xe] [04/21] drm/xe/oa: Module init/exit and probe/remove
Dixit, Ashutosh
ashutosh.dixit at intel.com
Fri Oct 27 20:28:00 UTC 2023
On Fri, 20 Oct 2023 00:08:18 -0700, Lionel Landwerlin wrote:
>
> > +static void xe_oa_init_supported_formats(struct xe_oa *oa)
> > +{
> > + switch (oa->xe->info.platform) {
> > + case XE_ALDERLAKE_S:
> > + case XE_ALDERLAKE_P:
>
> case XE_ALDERLAKE_N:
>
> case XE_DG1:
>
> case XE_TIGERLAKE:
>
> case XE_ROCKETLAKE:
>
> Those are essentially the same from the OA register/format point of view.
OK, will add them. Thx.
>
> > + oa_format_add(oa, XE_OA_FORMAT_A12);
> > + oa_format_add(oa, XE_OA_FORMAT_A12_B8_C8);
> > + oa_format_add(oa, XE_OA_FORMAT_A32u40_A4u32_B8_C8);
> > + oa_format_add(oa, XE_OA_FORMAT_C4_B8);
> > + break;
> > +
> > + case XE_DG2:
> > + oa_format_add(oa, XE_OAR_FORMAT_A32u40_A4u32_B8_C8);
> > + oa_format_add(oa, XE_OA_FORMAT_A24u40_A14u32_B8_C8);
> > + break;
> > +
> > + case XE_METEORLAKE:
> > + oa_format_add(oa, XE_OAR_FORMAT_A32u40_A4u32_B8_C8);
> > + oa_format_add(oa, XE_OA_FORMAT_A24u40_A14u32_B8_C8);
> > + oa_format_add(oa, XE_OAM_FORMAT_MPEC8u64_B8_C8);
> > + oa_format_add(oa, XE_OAM_FORMAT_MPEC8u32_B8_C8);
> > + break;
> > +
> > + default:
> > + drm_err(&oa->xe->drm, "Unknown platform\n");
> > + }
> > +}
More information about the Intel-xe
mailing list