Re: [Intel-gfx] [PATCH 2/2] drm/i915/dmc: Add intel_dmc_has_payload() helper

2021-05-20 Thread Lucas De Marchi
On Thu, May 20, 2021 at 11:36:08AM -0700, Anusha Srivatsa wrote: We check for dmc_payload being there at various points in the driver. Replace it with the helper. v2: rebased. Cc: Lucas De Marchi Signed-off-by: Anusha Srivatsa --- .../drm/i915/display/intel_display_debugfs.c | 4 ++-- .../dr

[Intel-gfx] [PATCH 2/2] drm/i915/dmc: Add intel_dmc_has_payload() helper

2021-05-20 Thread Anusha Srivatsa
We check for dmc_payload being there at various points in the driver. Replace it with the helper. v2: rebased. Cc: Lucas De Marchi Signed-off-by: Anusha Srivatsa --- .../drm/i915/display/intel_display_debugfs.c | 4 ++-- .../drm/i915/display/intel_display_power.c| 16 +++--- driv