[PATCH] drm/i915/gvt: add pcode read/write emulation of BDW

Zhenyu Wang zhenyuw at linux.intel.com
Fri Feb 24 06:33:53 UTC 2017


On 2017.02.24 06:26:27 +0000, Li, Weinan Z wrote:
> > @@ -2544,7 +2548,6 @@ static int init_skl_mmio_info(struct intel_gvt *gvt)
> >  	MMIO_D(HSW_PWR_WELL_BIOS, D_SKL);
> >  	MMIO_DH(HSW_PWR_WELL_DRIVER, D_SKL, NULL,
> > skl_power_well_ctl_write);
> > 
> > -	MMIO_DH(GEN6_PCODE_MAILBOX, D_SKL, NULL, mailbox_write);
> It will call init_generic_mmio_info-> init_broadwell_mmio_info-> init_skl_mmio_info if it's skylake,
> that's why there is dup definition before, we also define it in init_broadwell_mmio_info

yeah, sure, we need one handler to cover different hw.

-- 
Open Source Technology Center, Intel ltd.

$gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 163 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gvt-dev/attachments/20170224/b163ca49/attachment.sig>


More information about the intel-gvt-dev mailing list