[PATCH 3/3] drm/i915/display: keep forward declarations together
Luca Coelho
luca at coelho.fi
Wed Aug 6 08:27:42 UTC 2025
On Thu, 2025-07-31 at 12:19 +0300, Jani Nikula wrote:
> Adhere to prevalent style.
>
> Signed-off-by: Jani Nikula <jani.nikula at intel.com>
> ---
> drivers/gpu/drm/i915/display/intel_global_state.h | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/i915/display/intel_global_state.h b/drivers/gpu/drm/i915/display/intel_global_state.h
> index 4f304e2c47e0..e1efa530cc86 100644
> --- a/drivers/gpu/drm/i915/display/intel_global_state.h
> +++ b/drivers/gpu/drm/i915/display/intel_global_state.h
> @@ -11,6 +11,7 @@
>
> struct intel_atomic_state;
> struct intel_display;
> +struct intel_global_commit;
> struct intel_global_obj;
> struct intel_global_state;
>
> @@ -26,8 +27,6 @@ struct intel_global_obj {
> const struct intel_global_state_funcs *funcs;
> };
>
> -struct intel_global_commit;
> -
> struct intel_global_state {
> struct intel_global_obj *obj;
> struct intel_atomic_state *state;
Reviewed-by: Luca Coelho <luciano.coelho at intel.com>
--
Cheers,
Luca.
More information about the Intel-xe
mailing list