Subversion Repositories Kolibri OS

Rev

Rev 3746 | Rev 4104 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3746 Rev 3764
Line 659... Line 659...
659
		/* PPGTT pdes are stolen from global gtt ptes, so shrink the
659
		/* PPGTT pdes are stolen from global gtt ptes, so shrink the
660
		 * aperture accordingly when using aliasing ppgtt. */
660
		 * aperture accordingly when using aliasing ppgtt. */
661
        gtt_size -= I915_PPGTT_PD_ENTRIES*PAGE_SIZE;
661
        gtt_size -= I915_PPGTT_PD_ENTRIES*PAGE_SIZE;
662
		}
662
		}
Line 663... Line -...
663
 
-
 
664
//        gtt_size -= LFB_SIZE;
-
 
665
 
663
 
Line 666... Line 664...
666
        i915_gem_setup_global_gtt(dev, LFB_SIZE, mappable_size, gtt_size);
664
        i915_gem_setup_global_gtt(dev, LFB_SIZE, mappable_size, gtt_size);
667
 
665
 
668
		ret = i915_gem_init_aliasing_ppgtt(dev);
666
		ret = i915_gem_init_aliasing_ppgtt(dev);