[Intel-gfx] [PATCH 02/15] drm/i915: Clean up transcoder_to_stream_enc_status()

Luca Coelho luca at coelho.fi
Mon Sep 26 10:34:52 UTC 2022


On Mon, 2022-09-12 at 14:18 +0300, Ville Syrjala wrote:
> From: Ville Syrjälä <ville.syrjala at linux.intel.com>
> 
> Drop the pointless middle man variable and just return the
> correct thing directly.  And while at it change the return
> type to u32 since this is a register value we're returning.
> 
> Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
> ---

Same thing here.

Reviewed-by: Luca Coelho <luciano.coelho at intel.com>

--
Cheers,
Luca.


More information about the Intel-gfx mailing list