Messages in this thread | | | Date | Wed, 8 May 2024 16:32:38 -0700 | Subject | Re: [PATCH v2 1/2] drm/msm/gen_header: allow skipping the validation | From | Abhinav Kumar <> |
| |
On 5/8/2024 3:41 PM, Doug Anderson wrote: > Hi, > > On Fri, May 3, 2024 at 11:15 AM Dmitry Baryshkov > <dmitry.baryshkov@linaro.org> 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 >
Yes, I had posted this y'day as I also ran into this
https://patchwork.freedesktop.org/patch/593057/
> -Doug
| |