[Intel-gfx] [PATCH 6/6] drm/i915: prefer resource_size_t for stolen sizes

Chris Wilson chris at chris-wilson.co.uk
Thu Nov 23 13:07:18 UTC 2017


Quoting Matthew Auld (2017-11-22 21:19:20)
> diff --git a/include/drm/intel-gtt.h b/include/drm/intel-gtt.h
> index e901de0b6dd8..71505a5e376d 100644
> --- a/include/drm/intel-gtt.h
> +++ b/include/drm/intel-gtt.h
> @@ -5,9 +5,9 @@
>  #define        _DRM_INTEL_GTT_H
>  
>  void intel_gtt_get(u64 *gtt_total,
> -                  u32 *stolen_size,
> +                  resource_size_t *stolen_size,
>                    phys_addr_t *mappable_base,
> -                  u64 *mappable_size);
> +                  resource_size_t *mappable_size);
>  
>  int intel_gmch_probe(struct pci_dev *bridge_pdev, struct pci_dev *gpu_pdev,
>                      struct agp_bridge_data *bridge);

Tempted to pull this into i915.ko yet?
Admit it, you know you are.
-Chris


More information about the Intel-gfx mailing list