We check for dmc_payload being there at various points in the driver.
Replace it with the helper.
v2: rebased.
v3: Move intel_dmc to intel_dmc.h in another patch (Lucas)
v4: Remove headers not needed from intel_dmc.h
Cc: Lucas De Marchi
Signed-off-by: Anusha Srivatsa
Reviewed-by: Lucas De March
> -Original Message-
> From: Srivatsa, Anusha
> Sent: Friday, May 21, 2021 12:28 PM
> To: 'Jani Nikula' ; intel-
> g...@lists.freedesktop.org
> Cc: De Marchi, Lucas
> Subject: RE: [Intel-gfx] [PATCH 2/3] drm/i915/dmc: Add
> intel_dmc_has_payload()
> -Original Message-
> From: Jani Nikula
> Sent: Friday, May 21, 2021 3:04 AM
> To: Srivatsa, Anusha ; intel-
> g...@lists.freedesktop.org
> Cc: De Marchi, Lucas
> Subject: Re: [Intel-gfx] [PATCH 2/3] drm/i915/dmc: Add
> intel_dmc_has_payload() helper
>
&g
On Thu, 20 May 2021, Anusha Srivatsa wrote:
> We check for dmc_payload being there at various points in the driver.
> Replace it with the helper.
Seems like a good idea. Some comments inline.
BR,
Jani.
>
> v2: rebased.
> v3: Move intel_dmc to intel_dmc.h in another patch (Lucas)
>
> Cc: Lucas D
We check for dmc_payload being there at various points in the driver.
Replace it with the helper.
v2: rebased.
v3: Move intel_dmc to intel_dmc.h in another patch (Lucas)
Cc: Lucas De Marchi
Signed-off-by: Anusha Srivatsa
Reviewed-by: Lucas De Marchi
---
.../gpu/drm/i915/display/intel_display_