[PATCH] drm/i915/gvt: Fix PTE write flush for taking runtime pm properly
Du, Changbin
changbin.du at intel.com
Wed Apr 12 06:25:31 UTC 2017
On Wed, Apr 12, 2017 at 02:22:35PM +0800, Zhenyu Wang wrote:
> Make sure to take runtime pm when write PTE flush which ensure to
> write to hw properly. This fixes warning during mdev/vgpu creation
> which will do ggtt reset.
>
> ------------[ cut here ]------------
> WARNING: CPU: 1 PID: 9375 at drivers/gpu/drm/i915/intel_drv.h:1748 fwtable_write32+0x1c2/0x1e0 [i915]
> RPM wakelock ref not held during HW access
> Modules linked in: binfmt_misc(E) snd_hda_codec_hdmi(E) snd_hda_codec_realtek(E) snd_hda_codec_generic(E) kvmgt(E) vfio_mdev(E) mdev(E) vfio_iommu_type1(E) vfio(E) x86_pkg_temp_thermal(E) intel_powerclamp(E) coretemp(E) i915(E) kvm_intel(E) kvm(E) irqbypass(E) crct10dif_pclmul(E) crc32_pclmul(E) iwlwifi(E) ghash_clmulni_intel(E) pcbc(E) aesni_intel(E) aes_x86_64(E) crypto_simd(E) snd_hda_intel(E) glue_helper(E) cfg80211(E) snd_hda_codec(E) cryptd(E) prime_numbers(E) snd_hwdep(E) snd_hda_core(E) intel_cstate(E) drm_kms_helper(E) snd_pcm(E) drm(E) idma64(E) snd_timer(E) virt_dma(E) snd(E) intel_uncore(E) mei_me(E) joydev(E) iTCO_wdt(E) evdev(E) intel_rapl_perf(E) pcspkr(E) soundcore(E) iTCO_vendor_support(E) shpchp(E) sg(E) i2c_algo_bit(E) mei(E) intel_lpss_pci(E) intel_pch_thermal(E) battery(E)
> video(E) intel_lpss_acpi(E) intel_lpss(E) mfd_core(E) tpm_tis(E) tpm_tis_core(E) acpi_pad(E) tpm(E) button(E) ip_tables(E) x_tables(E) autofs4(E) ext4(E) crc16(E) jbd2(E) fscrypto(E) mbcache(E) hid_generic(E) sd_mod(E) hid_logitech_hidpp(E) hid_logitech_dj(E) usbhid(E) crc32c_intel(E) sdhci_pci(E) ahci(E) libahci(E) sdhci(E) mmc_core(E) e1000e(E) ptp(E) pps_core(E) xhci_pci(E) xhci_hcd(E) libata(E) i2c_i801(E) scsi_mod(E) usbcore(E) fan(E) thermal(E) i2c_hid(E) hid(E)
Maybe above lines can be cut off, really too long for commit messages.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gvt-dev/attachments/20170412/98899c02/attachment-0001.sig>
More information about the intel-gvt-dev
mailing list