[Intel-gfx] [PATCH 4/8] drm/i915: Move opregion definitions to dedicated intel_opregion.h

Chris Wilson chris at chris-wilson.co.uk
Wed Dec 20 19:00:34 UTC 2017


Quoting Michal Wajdeczko (2017-12-20 18:36:06)
> We already have dedicated file for opregion related code, dedicated
> header will make our life easier.
> 
> Signed-off-by: Michal Wajdeczko <michal.wajdeczko at intel.com>
> Cc: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Rodrigo Vivi <rodrigo.vivi at intel.com>
> Cc: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
> Cc: Ville Syrjälä <ville.syrjala at linux.intel.com>
> ---
>  drivers/gpu/drm/i915/i915_drv.h       | 57 +-------------------
>  drivers/gpu/drm/i915/intel_opregion.c |  2 +
>  drivers/gpu/drm/i915/intel_opregion.h | 99 +++++++++++++++++++++++++++++++++++
>  3 files changed, 102 insertions(+), 56 deletions(-)
>  create mode 100644 drivers/gpu/drm/i915/intel_opregion.h
> 
> diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
> index e8ea21c..9f8a2b7 100644
> --- a/drivers/gpu/drm/i915/i915_drv.h
> +++ b/drivers/gpu/drm/i915/i915_drv.h
> @@ -57,6 +57,7 @@
>  #include "i915_utils.h"
>  #include "i915_types.h"
>  
> +#include "intel_opregion.h"
>  #include "intel_uncore.h"
>  #include "intel_bios.h"
>  #include "intel_dpll_mgr.h"

Preferably alphabetical.
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris


More information about the Intel-gfx mailing list