Re: [Intel-gfx] [PATCH v2] drm/i915: Try to guess PCH type even without ISA bridge

2020-12-23 Thread Zhang, Xiong Y
> +++ b/drivers/gpu/drm/i915/intel_pch.c > > @@ -184,6 +184,23 @@ intel_virt_detect_pch(const struct > drm_i915_private *dev_priv) > > return id; > > } > > > > +static void intel_detect_pch_virt(struct drm_i915_private *dev_priv) > > +{ > >

[Intel-gfx] Recall: [PATCH v2] drm/i915: Try to guess PCH type even without ISA bridge

2020-12-23 Thread Zhang, Xiong Y
Zhang, Xiong Y would like to recall the message, "[PATCH v2] drm/i915: Try to guess PCH type even without ISA bridge". ___ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Re: [Intel-gfx] [PATCH v2] drm/i915: Try to guess PCH type even without ISA bridge

2020-12-23 Thread Zhang, Xiong Y
> +++ b/drivers/gpu/drm/i915/intel_pch.c > > @@ -184,6 +184,23 @@ intel_virt_detect_pch(const struct > drm_i915_private *dev_priv) > > return id; > > } > > > > +static void intel_detect_pch_virt(struct drm_i915_private *dev_priv) > > +{ > > + uns

Re: [Intel-gfx] [PATCH v2] drm/i915: Try to guess PCH type even without ISA bridge

2020-12-23 Thread Zhang, Xiong Y
- if (drm_WARN_ON(&dev_priv->drm, > > - id && pch_type == PCH_NONE)) > > - id = 0; > > - > > - dev_priv->pch_type = pch_type; > > -

Re: [Intel-gfx] question about i915 GPU driver in VM

2019-06-02 Thread Zhang, Xiong Y
ugh even with > physical/unemulated access to the host GPU and CPU? [Zhang, Xiong Y] yes, both host and guest use the same kernel/driver. > > On a higher level, it would help if anyone had an idea from the logs below if > I'm "close" to getting this to work? Or maybe its h

Re: [Intel-gfx] [PATCH] drm/i915: Add ppgtt to GVT GEM context

2018-10-19 Thread Zhang, Xiong Y
> Quoting Zhang, Xiong Y (2018-10-19 11:11:23) > > > Quoting Zhenyu Wang (2018-10-19 04:05:20) > > > > On 2018.10.18 13:40:31 +0800, Xiong Zhang wrote: > > > > > Currently the guest couldn't boot up under GVT-g environment as > > > > > th

Re: [Intel-gfx] [PATCH] drm/i915: Add ppgtt to GVT GEM context

2018-10-19 Thread Zhang, Xiong Y
t; assume it's better to be merged by i915 directly, or do you like a gvt pull > instead? > > You only needed ctx->ppgtt being set I thought, as you previously ignored > the initial PD bits in the context image and overwrote the registers anyway. > &

Re: [Intel-gfx] [PATCH] drm/i915: Don't deballoon unused ggtt drm_mm_node in linux guest

2018-03-30 Thread Zhang, Xiong Y
> drm_mm_remove_node(). > > I'm not sure how this slipped by in previous review, but is there an > explanation why we have; > > static struct _balloon_info_ bl_info; > > ... and are not even initializing it? > > This should definitely find it's way

Re: [Intel-gfx] [PATCH] drm/i915: Don't deballoon unused ggtt drm_mm_node in linux guest

2018-03-29 Thread Zhang, Xiong Y
> Quoting Xiong Zhang (2018-03-29 11:58:41) > > Four drm_mm_node are used to reserve guest ggtt space, but some of > > them may aren't initialized and used in intel_vgt_balloon(), so these > > unused > > may be skipped and not initialised due to space constrai

Re: [Intel-gfx] [PATCH] drm/i915: Setting pch_id for HSW/BDW in virtual environment

2017-06-29 Thread Zhang, Xiong Y
s isn't true on a machine, someone used a solder iron to > > build something that Intel doesn't sell. > > Bspec says there are (at least) non-ULT/ULX Broadwells with LP PCH. We > do seem to warn about the combo in the bare metal PCH detection, so I > guess it's safe to

Re: [Intel-gfx] [PATCH] drm/i915: Setting pch_id for HSW/BDW in virtual environment

2017-06-14 Thread Zhang, Xiong Y
a few issues in the surrounding code: SPT/SPT_LP and > CNP/CNP_LP have the same problem, although we don't need to distinguish > between them atm. I think a cleaner way would be to adjust id and ext_id > in the pass-through case in intel_detect_pch() upfront and set > dev_priv-

Re: [Intel-gfx] [PATCH V6] drm/i915: Disable stolen memory when i915 runs in guest vm

2017-05-05 Thread Zhang, Xiong Y
> On ke, 2017-05-03 at 09:22 +0000, Zhang, Xiong Y wrote: > > > > > > > > > > > + David and Jon > > > > > > > > On ti, 2017-04-25 at 18:34 +0800, Xiong Zhang wrote: > > > > > > > > The blocking issue I see is tha

Re: [Intel-gfx] [PATCH V6] drm/i915: Disable stolen memory when i915 runs in guest vm

2017-05-03 Thread Zhang, Xiong Y
gt; be something wrong with them, in addition to stolen memory problems. > [Zhang, Xiong Y] I only try kernel 4.8 and 4.9 above, as the bugzilla > descripted, > guest 4.8 kernel doesn't see gpu hang in guest dmesg, 4.9 kernel has gpu hang > in guest dmesg. From this point, we could d

Re: [Intel-gfx] [PATCH V6] drm/i915: Disable stolen memory when i915 runs in guest vm

2017-04-26 Thread Zhang, Xiong Y
#x27;d assume a successful > bisect to land at the patches where we start creating kernel internal > objects from stolen memory. Otherwise we could be ignoring a bug > elsewhere. If it consistently lands on those patches, then there might > be something wrong with them, in addition to stolen me

Re: [Intel-gfx] [PATCH V5] drm/i915: Disable stolen memory when i915 runs on qemu

2017-04-13 Thread Zhang, Xiong Y
> On Thu, 13 Apr 2017 05:44:18 + > "Zhang, Xiong Y" wrote: > > > > On Wed, 12 Apr 2017 20:20:00 +0800 > > > Xiong Zhang wrote: > > > > > > > Stolen memory isn't a standard pci resource and exists in RMRR which > has > >

Re: [Intel-gfx] [PATCH V5] drm/i915: Disable stolen memory when i915 runs on qemu

2017-04-12 Thread Zhang, Xiong Y
So > > stolen memory will be disabled in this case also. > > Where does QEMU make this guarantee or any sort of guarantee wrt the > ISA bridge? Thanks, > > Alex > [Zhang, Xiong Y] In my guest environment I always see emulated devices are at head of pci device list, th

Re: [Intel-gfx] [PATCH V5] drm/i915: Disable stolen memory when i915 runs on qemu

2017-04-12 Thread Zhang, Xiong Y
> > > Signed-off-by: Xiong Zhang > > Reviewed-by: Zhenyu Wang > > Reviewed-by: Daniel Vetter > > Cc: sta...@vger.kernel.org > > The commit message still fails to address the fact that the Bugzilla > entry has a completely bogus bisect, the fact that there is a

Re: [Intel-gfx] [PATCH] drm/i915: Setting pch_id for Gen7.5+ in virtual environment

2017-03-29 Thread Zhang, Xiong Y
} else if (IS_SKYLAKE(dev_priv) || IS_KABYLAKE(dev_priv)) { > > ret = PCH_SPT; > > + if (IS_SKL_ULT(dev_priv) || IS_KBL_ULT(dev_priv)) > > + dev_priv->pch_id = INTEL_PCH_SPT_LP_DEVICE_ID_TYPE; > > + else > > + dev_

Re: [Intel-gfx] [PATCHi v2] drm/i915: Enhanced disable access to stolen memory as a guest

2017-03-27 Thread Zhang, Xiong Y
is blow up on? > -Daniel [Zhang, Xiong Y] Yes. Stolen memory is protected by RMRR on host. But Qemu couldn't support and don't have plan to support RMRR. Then EPT lack of mapping for stolen memory, guest couldn't access it. The Qemu/Vfio is designed by Redhat engineers, Redhat ha

Re: [Intel-gfx] [PATCH 4/4] ALSA: hda - Wake the codec up on pin/ELD notify events

2015-11-26 Thread Zhang, Xiong Y
e: > > > > > >> > > > > > >> > > > > > >> > > > > > >> On 2015-11-26 10:24, Takashi Iwai wrote: > > > > > >>> On Thu, 26 Nov 2015 10:16:17 +0100, > > > > > >>> Zhang, Xiong Y

Re: [Intel-gfx] [PATCH 4/4] ALSA: hda - Wake the codec up on pin/ELD notify events

2015-11-26 Thread Zhang, Xiong Y
> On Thu, 26 Nov 2015 08:57:30 +0100, > Zhang, Xiong Y wrote: > > > > > > > BTW, I have a patchset to avoid the audio h/w wakeup by a new > > > > > component ops to get ELD and connection states. It was posted to > > > > > alsa-devel s

Re: [Intel-gfx] [PATCH 4/4] ALSA: hda - Wake the codec up on pin/ELD notify events

2015-11-25 Thread Zhang, Xiong Y
patches are found in test/hdmi-jack > > > branch of my sound git tree. > > Did you try this branch (merge onto intel-test-nightly)? > [Zhang, Xiong Y] Yes, this branch could fix my issue. > > Takashi ___ Intel-gfx mailing list Intel-gf

Re: [Intel-gfx] [PATCH 4/4] ALSA: hda - Wake the codec up on pin/ELD notify events

2015-11-25 Thread Zhang, Xiong Y
> On Wed, 25 Nov 2015 11:57:13 +0100, > Zhang, Xiong Y wrote: > > > > > On Wed, 25 Nov 2015 10:56:51 +0100, > > > Zhang, Xiong Y wrote: > > > > > > > > Recently I always see the following error message during S4 or S3 resume > >

Re: [Intel-gfx] [PATCH 4/4] ALSA: hda - Wake the codec up on pin/ELD notify events

2015-11-25 Thread Zhang, Xiong Y
> On Wed, 25 Nov 2015 10:56:51 +0100, > Zhang, Xiong Y wrote: > > > > Recently I always see the following error message during S4 or S3 resume > with drm-intel-nightly. > > [ 97.778063] PM: Syncing filesystems ... done. > > [ 97.801550] Freezing user space pro

Re: [Intel-gfx] [PATCH 4/4] ALSA: hda - Wake the codec up on pin/ELD notify events

2015-11-25 Thread Zhang, Xiong Y
Recently I always see the following error message during S4 or S3 resume with drm-intel-nightly. [ 97.778063] PM: Syncing filesystems ... done. [ 97.801550] Freezing user space processes ... (elapsed 0.002 seconds) done. [ 97.804297] PM: Marking nosave pages: [mem 0x-0x0fff] [

Re: [Intel-gfx] Skylake 6700k Intel HD Graphics 530 Display Port Panic

2015-09-07 Thread Zhang, Xiong Y
I see the similar error message on one SKL machine, but DP system works well and system doesn't panic. I resolved it by one of the following three method, maybe you could try it. 1) boot with i915.disable_power_well=0 2)delete /lib/firmware/i915/skl_dmc_ver1.bin 3) apply the patch set in http://l

Re: [Intel-gfx] [PATCH 7/6] drm/i915/skl: DDI-E and DDI-A shares 4 lanes.

2015-08-26 Thread Zhang, Xiong Y
> On Wed, 2015-08-26 at 11:15 +0300, Jani Nikula wrote: > > On Thu, 13 Aug 2015, "Jindal, Sonika" > > wrote: > > > On 8/13/2015 8:57 AM, Zhang, Xiong Y wrote: > > > > > On Wed, 2015-08-12 at 02:20 +, Zhang, Xiong Y wrote: > > > >

Re: [Intel-gfx] [PATCH 2/4] drm/i915: Adding Panel Filter function for DP

2015-08-19 Thread Zhang, Xiong Y
> On Fri, Aug 14, 2015 at 07:28:44PM +0300, Ville Syrjälä wrote: > > On Fri, Aug 14, 2015 at 05:12:57AM +0000, Zhang, Xiong Y wrote: > > > > On Mon, Aug 10, 2015 at 03:26:09PM +0800, Xiong Zhang wrote: > > > > > Only internal eDP, LVDS, DVI screen could set sca

Re: [Intel-gfx] [PATCH 2/2] drm/i915/skl: Adding DDI_E power well domain

2015-08-16 Thread Zhang, Xiong Y
/drivers/gpu/drm/i915/intel_runtime_pm.c @@ -297,6 +297,7 @@ static void hsw_set_power_well(struct drm_i915_private *dev_priv, BIT(POWER_DOMAIN_PORT_DDI_C_4_LANES) | \ BIT(POWER_DOMAIN_PORT_DDI_D_2_LANES) | \ BIT(POWER_DOMAIN_PORT_DDI_D_4_LANES) | \ +

Re: [Intel-gfx] [PATCH 1/2] drm/i915: Adding break for one case

2015-08-14 Thread Zhang, Xiong Y
; > > shouldn't this belong to [5/6]? > > > > Nevermind, I see now that it got merged already. > > I dropped that patch again so that we can rectify this properly. Jani's > complaint > about the sub-par commit message still holds though, like why was this not > caught in testing? [Zhang, Xiong Y] Yes, it's better to drop it. I will explain it the commit message and resent the patch. > -Daniel ___ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Re: [Intel-gfx] [PATCH 6/6 v3] drm/i915: Enable HDMI on DDI-E

2015-08-14 Thread Zhang, Xiong Y
> On Thu, Aug 13, 2015 at 02:57:38AM +0000, Zhang, Xiong Y wrote: > > > On Wed, Aug 12, 2015 at 06:39:34PM +0800, Xiong Zhang wrote: > > > > DDI-E doesn't have the correspondent GMBUS pin. > > > > > > > > We rely on VBT to tell us which one i

Re: [Intel-gfx] [PATCH 1/4] drm/i915: Adding intel_panel_scale_none() helper function

2015-08-13 Thread Zhang, Xiong Y
the callers, then add the implementation. That way reviewers can > understand the big scope first and then dig into details. But this one here > really > is small enough to just be squashed in. > -Daniel > [Zhang, Xiong Y] Thanks for teaching m

Re: [Intel-gfx] [PATCH 2/4] drm/i915: Adding Panel Filter function for DP

2015-08-13 Thread Zhang, Xiong Y
ct drm_display_mode *fixed_mode = NULL; > > + struct drm_display_mode *scan; > > + > > + list_for_each_entry(scan, &connector->probed_modes, > > head) { > > + if (scan->type & DRM_MODE_TYPE_PREF

Re: [Intel-gfx] [PATCH 7/6] drm/i915/skl: DDI-E and DDI-A shares 4 lanes.

2015-08-12 Thread Zhang, Xiong Y
> On Wed, 2015-08-12 at 02:20 +0000, Zhang, Xiong Y wrote: > > > On Tue, 2015-08-11 at 07:05 +0000, Zhang, Xiong Y wrote: > > > > > -Original Message- > > > > > From: Vivi, Rodrigo > > > > > Sent: Saturday, August 8, 2015 8:34 AM &

Re: [Intel-gfx] [PATCH 6/6 v3] drm/i915: Enable HDMI on DDI-E

2015-08-12 Thread Zhang, Xiong Y
his patch isn't tested without hardware wchich has HDMI on DDI-E. > > > > v2: fix trailing whitespace > > v3: WARN() take place of BUG() > > I asked for MISSING_CASE, not WARN. > -Daniel [Zhang, Xiong Y] Because DDI-E on SKL doesn't have correspondent GMBUS pin,

Re: [Intel-gfx] [PATCH 4/6] drm/i915: eDP can be present on DDI-E

2015-08-12 Thread Zhang, Xiong Y
> On Tue, 2015-08-11 at 11:47 +0200, Daniel Vetter wrote: > > On Thu, Aug 06, 2015 at 03:51:39PM +0800, Xiong Zhang wrote: > > > From: Rodrigo Vivi > > > > > > On Skylake we have eDP-to-VGA using DDI-E and another aux. > > > So let's identify it properly. > > > > eDP means panel (the only differen

Re: [Intel-gfx] [PATCH 7/6] drm/i915/skl: DDI-E and DDI-A shares 4 lanes.

2015-08-11 Thread Zhang, Xiong Y
> On Tue, 2015-08-11 at 07:05 +0000, Zhang, Xiong Y wrote: > > > -Original Message- > > > From: Vivi, Rodrigo > > > Sent: Saturday, August 8, 2015 8:34 AM > > > To: intel-gfx@lists.freedesktop.org > > > Cc: Vivi, Rodrigo; Zhang, Xiong Y &g

Re: [Intel-gfx] [PATCH 4/6] drm/i915: eDP can be present on DDI-E

2015-08-11 Thread Zhang, Xiong Y
> -Original Message- > From: Daniel Vetter [mailto:daniel.vet...@ffwll.ch] On Behalf Of Daniel Vetter > Sent: Tuesday, August 11, 2015 5:47 PM > To: Zhang, Xiong Y > Cc: intel-gfx@lists.freedesktop.org; Vivi, Rodrigo > Subject: Re: [Intel-gfx] [PATCH 4/6] drm/i915: eDP

Re: [Intel-gfx] [PATCH 8/6] drm/i915/skl: Enable DDI-E

2015-08-11 Thread Zhang, Xiong Y
Reviewed-by: Xiong Zhang thanks > -Original Message- > From: Vivi, Rodrigo > Sent: Saturday, August 8, 2015 8:35 AM > To: intel-gfx@lists.freedesktop.org > Cc: Vivi, Rodrigo; Zhang, Xiong Y > Subject: [PATCH 8/6] drm/i915/skl: Enable DDI-E > > There are OEMs usi

Re: [Intel-gfx] [PATCH 7/6] drm/i915/skl: DDI-E and DDI-A shares 4 lanes.

2015-08-11 Thread Zhang, Xiong Y
> -Original Message- > From: Vivi, Rodrigo > Sent: Saturday, August 8, 2015 8:34 AM > To: intel-gfx@lists.freedesktop.org > Cc: Vivi, Rodrigo; Zhang, Xiong Y > Subject: [PATCH 7/6] drm/i915/skl: DDI-E and DDI-A shares 4 lanes. > > DDI-A and DDI-E shares the 4

Re: [Intel-gfx] [PATCH 4/6] drm/i915: eDP can be present on DDI-E

2015-08-10 Thread Zhang, Xiong Y
Reviewed-by: Xiong Zhang thanks From: Intel-gfx [intel-gfx-boun...@lists.freedesktop.org] on behalf of Xiong Zhang [xiong.y.zh...@intel.com] Sent: Thursday, August 06, 2015 3:51 PM To: intel-gfx@lists.freedesktop.org Cc: Vivi, Rodrigo Subject: [Intel-gfx]

Re: [Intel-gfx] [PATCH] drm/i915: Set alternate aux for DDI-E

2015-08-10 Thread Zhang, Xiong Y
Reviewed-by: Xiong Zhang thanks From: Intel-gfx [intel-gfx-boun...@lists.freedesktop.org] on behalf of Rodrigo Vivi [rodrigo.v...@intel.com] Sent: Saturday, August 08, 2015 8:01 AM To: intel-gfx@lists.freedesktop.org Cc: Vivi, Rodrigo Subject: [Intel-gfx]

Re: [Intel-gfx] [PATCH 2/6] drm/i915: Set power domain for DDI-E

2015-08-10 Thread Zhang, Xiong Y
DDI-4 should be DDI-A in commit message. Reviewed-by: Xiong Zhang thanks From: Intel-gfx [intel-gfx-boun...@lists.freedesktop.org] on behalf of Xiong Zhang [xiong.y.zh...@intel.com] Sent: Thursday, August 06, 2015 3:51 PM To: intel-gfx@lists.freedesktop.

Re: [Intel-gfx] [PATCH] drm/i915/skl: Update DDI buffer translation programming.

2015-08-05 Thread Zhang, Xiong Y
Hi, Vivi: Do you think this patch could resolve the following two issues ? https://bugs.freedesktop.org/show_bug.cgi?id=91050 https://bugs.freedesktop.org/show_bug.cgi?id=91269 thanks > -Original Message- > From: Intel-gfx [mailto:intel-gfx-boun...@lists.freedesktop.org] On Behalf Of > Rod

[Intel-gfx] eDP is black after screen rotate in kernel 3.19

2015-04-14 Thread Zhang, Xiong Y
On one Broadwell machine with Ubuntu 15.04, eDP is black after running "xrandr -output eDP1 -rotate inverted". Only 3.19 kernel has such issue, 4.0 kernel doesn't have such issue. When this issue happens, I see the following call trace in dmesg: [ 108.777612] [drm:drm_mode_setcrtc] [CRTC:9] [ 1

Re: [Intel-gfx] [Contact] Graphics Driver for Broadwell-H CPU

2015-04-13 Thread Zhang, Xiong Y
I don’t know the status of Fedora. You could compile upstream 3.19.3 / 4.0 kernel and xf86-video-intel – 2.99.917 in Fedora. thanks From: Heah, Jim Poh Sent: Tuesday, April 14, 2015 12:38 PM To: Zhang, Xiong Y; intel-gfx@lists.freedesktop.org Subject: RE: [Contact] Graphics Driver for Broadwell

Re: [Intel-gfx] [Contact] Graphics Driver for Broadwell-H CPU

2015-04-13 Thread Zhang, Xiong Y
Ubuntu 15.04 which will be released at the end of this month should support Broadwell-H. Ubuntu 15.04 beta still couldn’t support Broadwell-H. Several days ago, I run Kernel 3.19.3 and xf86-video-intel – 2.99.917 on BDW-H. thanks From: Intel-gfx [mailto:intel-gfx-boun...@lists.freedesktop.org] O

Re: [Intel-gfx] [PATCH] igt: Correct the return value for drm short_buffer read

2014-12-25 Thread Zhang, Xiong Y
> -Original Message- > From: Chris Wilson [mailto:ch...@chris-wilson.co.uk] > Sent: Tuesday, December 23, 2014 7:31 PM > To: Zhang, Xiong Y > Cc: intel-gfx@lists.freedesktop.org > Subject: Re: [Intel-gfx] [PATCH] igt: Correct the return value for drm > short_buffer rea

Re: [Intel-gfx] [PATCH] igt: Correct the return value for drm short_buffer read

2014-12-23 Thread Zhang, Xiong Y
> -Original Message- > From: Chris Wilson [mailto:ch...@chris-wilson.co.uk] > Sent: Tuesday, December 23, 2014 5:53 PM > To: Zhang, Xiong Y > Cc: intel-gfx@lists.freedesktop.org > Subject: Re: [Intel-gfx] [PATCH] igt: Correct the return value for drm > short_buffer rea

Re: [Intel-gfx] [PATCH 1/2] lib/drmtest: add drmtest_disable/enable_prefault() function

2013-07-21 Thread Zhang, Xiong Y
Yes, I have tested it before I sent out the patch. It hit all the slow paths. Thanks. -Original Message- From: Daniel Vetter [mailto:daniel.vet...@ffwll.ch] On Behalf Of Daniel Vetter Sent: Saturday, July 20, 2013 12:14 AM To: Zhang, Xiong Y Cc: intel-gfx@lists.freedesktop.org Subject

Re: [Intel-gfx] [PATCH 3/3] drm/i915: run shmem_pread_fast() after page fault

2013-07-19 Thread Zhang, Xiong Y
cost of fault_in_multipages_writeable() lager than fault_in_multipages_readable() ? See the attachment. thanks -Original Message- From: Daniel Vetter [mailto:daniel.vet...@ffwll.ch] On Behalf Of Daniel Vetter Sent: Friday, July 19, 2013 3:29 PM To: Zhang, Xiong Y Cc: inte

Re: [Intel-gfx] [PATCH] drm/i915: Decrease pll->refcount when freeze gpu

2013-07-12 Thread Zhang, Xiong Y
Thanks -Original Message- From: daniel.vet...@ffwll.ch [mailto:daniel.vet...@ffwll.ch] On Behalf Of Daniel Vetter Sent: Friday, July 12, 2013 1:32 AM To: Jesse Barnes Cc: Zhang, Xiong Y; intel-gfx Subject: Re: [Intel-gfx] [PATCH] drm/i915: Decrease pll->refcount when freeze gpu On Th

Re: [Intel-gfx] [PATCH 2/2] drm/i915: Correct obj->mm_list link to dev_priv->dev_priv->mm.inactive_list

2013-07-05 Thread Zhang, Xiong Y
I found this issue when I read code. I don't have testcase. thanks -Original Message- From: Daniel Vetter [mailto:daniel.vet...@ffwll.ch] On Behalf Of Daniel Vetter Sent: Friday, July 05, 2013 9:41 PM To: Zhang, Xiong Y Cc: intel-gfx@lists.freedesktop.org Subject: Re: [Intel-gfx] [PA

[Intel-gfx] [PATCH] drm/i915: correct the calculation of first_pd_entry_in_global_pt

2013-04-27 Thread Zhang, Xiong Y
When ppgtt is enabled, dev_priv->gtt.total has excluded the gtt space occupied by ppgtt table in i915_gem_init_global_gtt() function. So the calculation of first_pd_entry_in_global_pt doesn't need to subtract I915_PPGTT_PD_ENTRIES again. Or else PPGTT directory table will be destroyed by global

[Intel-gfx] [PATCH] drm/i915: ignore hotplug event across suspend

2013-03-10 Thread Zhang, Xiong Y
when system enter suspend, hibernate and poweroff state, it will disable modeset firstly, then disable irq, but some system generate hotplug event between disable modeset and disable irq, this will result in S3, S4 failure. So this hotplug event should be ignored. Bugzilla: https://bugs.freedeskto

Re: [Intel-gfx] Fw: Very low performance when streaming textures

2013-01-22 Thread Zhang, Xiong Y
Using the latest mesa master tree, I test it on my Core i7-2600 : 1) In default configuration, the monitor's refresh rate is 60FPS, so the test result is 59.3 FPS 2) export vblank_mode = 0, then the test result is 170 FPS. I don't see the big difference between using direct transfer or using P

[Intel-gfx] gfx context switch

2012-12-12 Thread Zhang, Xiong Y
Hi, all: When gfx executes batch buffer in render ring buffer, it will do context switch . Since only when the previous batch buffer has finished, the next batch buffer can start. the batch buffer is executed in order. So I think there is no need to do context switch. Why i915 driver introduc

Re: [Intel-gfx] [PATCH 4/4] drm/i915: l3 parity sysfs interface

2012-07-26 Thread Zhang, Xiong Y
Who will monitor this sysfs interface, 2D driver or 3D driver or other application ? Now, I don't find any user of this sysfs interface in 2D driver or 3D driver. thanks -Original Message- From: intel-gfx-bounces+xiong.y.zhang=intel@lists.freedesktop.org [mailto:intel-gfx-