[Intel-gfx] [PATCH 2/3] drm/i915: Attach a fb to the load-detect pipe

2011-04-21 Thread Chris Wilson
We need to ensure that we feed valid memory into the display plane attached to the pipe when switching the pipe on. Otherwise, the display engine may read through an invalid PTE and so throw an PGTBL_ER exception. As we need to perform load detection before even the first object is allocated for t

Re: [Intel-gfx] [PATCH 2/3] drm/i915: Attach a fb to the load-detect pipe

2011-04-20 Thread Chris Wilson
On Tue, 19 Apr 2011 14:26:04 -0700, Keith Packard wrote: > On Tue, 19 Apr 2011 21:32:02 +0100, Chris Wilson > wrote: > > > We need to ensure that we feed valid memory into the display plane > > attached to the pipe when switching the pipe on. Otherwise, the display > > engine may read through a

Re: [Intel-gfx] [PATCH 2/3] drm/i915: Attach a fb to the load-detect pipe

2011-04-19 Thread Keith Packard
On Tue, 19 Apr 2011 21:32:02 +0100, Chris Wilson wrote: > We need to ensure that we feed valid memory into the display plane > attached to the pipe when switching the pipe on. Otherwise, the display > engine may read through an invalid PTE and so throw an PGTBL_ER > exception. This seems to rew

[Intel-gfx] [PATCH 2/3] drm/i915: Attach a fb to the load-detect pipe

2011-04-19 Thread Chris Wilson
We need to ensure that we feed valid memory into the display plane attached to the pipe when switching the pipe on. Otherwise, the display engine may read through an invalid PTE and so throw an PGTBL_ER exception. For bonus amusement value, we perform the first load detect before even establishing