[Intel-gfx] [RFCv2 08/14] drm/i915: Support per-PPGTT address space mode

Tian, Kevin kevin.tian at intel.com
Wed Feb 24 08:47:09 UTC 2016


> From: Wang, Zhi A
> Sent: Thursday, February 18, 2016 7:42 PM
> -static int gen8_ppgtt_init(struct i915_hw_ppgtt *ppgtt)
> +static int gen8_ppgtt_init(struct i915_hw_ppgtt *ppgtt, int address_space_mode)

address_space_mode -> address_bits?

>  {
>  	int ret;
> 
> @@ -1518,7 +1524,7 @@ static int gen8_ppgtt_init(struct i915_hw_ppgtt *ppgtt)
>  	ppgtt->base.bind_vma = ppgtt_bind_vma;
>  	ppgtt->debug_dump = gen8_dump_ppgtt;
> 
> -	if (USES_FULL_48BIT_PPGTT(ppgtt->base.dev)) {
> +	if (address_space_mode == 48) {

IS_48BIT_PPGTT

Thanks
Kevin


More information about the Intel-gfx mailing list