From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jike Song Subject: Re: [RFC PATCH 3/8] drm/i915: add the vgt implementation of MMIO/GTT mediations Date: Wed, 01 Oct 2014 18:58:26 +0800 Message-ID: <542BDE52.2020107@intel.com> References: <1412071538-19059-1-git-send-email-jike.song@intel.com> <1412071538-19059-4-git-send-email-jike.song@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by gabe.freedesktop.org (Postfix) with ESMTP id 30BF66E359 for ; Wed, 1 Oct 2014 03:58:30 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: "Tian, Kevin" , "daniel.vetter@ffwll.ch" , "intel-gfx@lists.freedesktop.org" List-Id: intel-gfx@lists.freedesktop.org On 10/1/2014 12:34 AM, Tian, Kevin wrote: >> +void i915_vgt_record_priv(struct drm_i915_private *priv) >> +{ >> + dev_priv = priv; >> +} >> -- > > Suppose above can be carried in i915_start_vgt, instead of adding > a new interface? > > Thanks > Kevin Should be not? since the drm_device is not yet allocated in i915_driver_load. -- Thanks, Jike