[igt-dev] [PATCH i-g-t 1/2] lib/igt_psr: added enum for PR mode

Hogander, Jouni jouni.hogander at intel.com
Mon Oct 9 09:32:15 UTC 2023


On Tue, 2023-10-03 at 10:49 +0530, Kunal Joshi wrote:
> Added enum PR_MODE_1 and PR_MODE_1_SEL_FETCH,
> PR_MODE_1 is expected to behave like PSR and 
> PR_MODE_1_SEL_FETCH like PSR2 with selective fetch
> 
> Cc: Jouni Högander <jouni.hogander at intel.com>
> Cc: Animesh Manna <animesh.manna at intel.com>
> Signed-off-by: Kunal Joshi <kunal1.joshi at intel.com>
> ---
>  lib/igt_psr.h | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/lib/igt_psr.h b/lib/igt_psr.h
> index 12ffc9d6c..fff673f6b 100644
> --- a/lib/igt_psr.h
> +++ b/lib/igt_psr.h
> @@ -34,6 +34,8 @@ enum psr_mode {
>         PSR_MODE_1,
>         PSR_MODE_2,
>         PSR_MODE_2_SEL_FETCH,
> +       PR_MODE_1,
> +       PR_MODE_1_SEL_FETCH,

I think you can drop "1_".

>         PSR_DISABLED,
>  };
>  



More information about the igt-dev mailing list