Quoting Matthew Auld (2017-11-22 21:19:18)
> Signed-off-by: Matthew Auld <[email protected]>
> Cc: Joonas Lahtinen <[email protected]>
> Cc: Chris Wilson <[email protected]>
> Cc: Paulo Zanoni <[email protected]>
> ---
> @@ -6464,9 +6463,8 @@ static bool bxt_check_bios_rc6_setup(struct 
> drm_i915_private *dev_priv)
>          * for this check.
>          */
>         rc6_ctx_base = I915_READ(RC6_CTX_BASE) & RC6_CTX_BASE_MASK;
> -       if (!((rc6_ctx_base >= ggtt->stolen_reserved_base) &&
> -             (rc6_ctx_base + PAGE_SIZE <= ggtt->stolen_reserved_base +
> -                                       ggtt->stolen_reserved_size))) {
> +       if (!((rc6_ctx_base >= dev_priv->dsm_reserved.start) &&
> +             (rc6_ctx_base + PAGE_SIZE <= dev_priv->dsm_reserved.end + 1))) {

s/<= end + 1/< end/
-Chris
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to