Re: [PATCH 4/7] drm/i915/icl: Enable media sampler powergate

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Quoting Mika Kuoppala (2019-04-09 17:13:07)
> Enable media sampler powergate as recommended.
> 
> Signed-off-by: Mika Kuoppala <mika.kuoppala@xxxxxxxxxxxxxxx>
> ---
>  drivers/gpu/drm/i915/i915_reg.h | 5 +++--
>  drivers/gpu/drm/i915/intel_pm.c | 4 +++-
>  2 files changed, 6 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h
> index 9c206e803ab3..20f5850c52f8 100644
> --- a/drivers/gpu/drm/i915/i915_reg.h
> +++ b/drivers/gpu/drm/i915/i915_reg.h
> @@ -8687,8 +8687,9 @@ enum {
>  #define GEN9_MEDIA_PG_IDLE_HYSTERESIS          _MMIO(0xA0C4)
>  #define GEN9_RENDER_PG_IDLE_HYSTERESIS         _MMIO(0xA0C8)
>  #define GEN9_PG_ENABLE                         _MMIO(0xA210)
> -#define GEN9_RENDER_PG_ENABLE                  (1 << 0)
> -#define GEN9_MEDIA_PG_ENABLE                   (1 << 1)
> +#define GEN9_RENDER_PG_ENABLE                  BIT(0)
> +#define GEN9_MEDIA_PG_ENABLE                   BIT(1)
> +#define GEN11_MEDIA_SAMPLER_PG_ENABLE          BIT(2)

REG_BIT(foo)
-Chris
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux