Re: [PATCH v2 1/2] drm/msm/gen_header: allow skipping the validation
From: Doug Anderson
Date: Wed May 08 2024 - 18:41:35 EST
Hi,
On Fri, May 3, 2024 at 11:15 AM Dmitry Baryshkov
<dmitry.baryshkov@xxxxxxxxxx> wrote:
>
> @@ -941,6 +948,7 @@ def main():
> parser = argparse.ArgumentParser()
> parser.add_argument('--rnn', type=str, required=True)
> parser.add_argument('--xml', type=str, required=True)
> + parser.add_argument('--validate', action=argparse.BooleanOptionalAction)
FWIW, the above (argparse.BooleanOptionalAction) appears to be a
python 3.9 thing. My own build environment happens to have python3
default to python 3.8 and thus I get a build error related to this. I
have no idea what the kernel usually assumes for a baseline, but
others might get build errors too. I don't even see python listed in:
https://docs.kernel.org/process/changes.html
..in any case, if it's easy to change this to not require python3.9
that would at least help for my build environment. :-P
-Doug