[PATCH 1/4] drm: Add an interface to reset the device

2011-01-25 Thread Chris Wilson
On Mon, 24 Jan 2011 12:08:29 -0500, Alex Deucher wrote: > On Mon, Jan 24, 2011 at 10:55 AM, Chris Wilson > wrote: > > Iterate over the attached CRTCs, encoders and connectors and call the > > supplied reset vfunc in order to reset any cached state back to unknown. > > Useful after an invalidati

Re: [PATCH 1/4] drm: Add an interface to reset the device

2011-01-25 Thread Chris Wilson
On Mon, 24 Jan 2011 12:08:29 -0500, Alex Deucher wrote: > On Mon, Jan 24, 2011 at 10:55 AM, Chris Wilson > wrote: > > Iterate over the attached CRTCs, encoders and connectors and call the > > supplied reset vfunc in order to reset any cached state back to unknown. > > Useful after an invalidatio

[PATCH 1/4] drm: Add an interface to reset the device

2011-01-24 Thread Takashi Iwai
At Mon, 24 Jan 2011 15:55:28 +, Chris Wilson wrote: > > Iterate over the attached CRTCs, encoders and connectors and call the > supplied reset vfunc in order to reset any cached state back to unknown. > Useful after an invalidation event such as a GPU reset or resuming. > > Signed-off-by: Chr

[PATCH 1/4] drm: Add an interface to reset the device

2011-01-24 Thread Chris Wilson
On Mon, 24 Jan 2011 17:18:06 +0100, Takashi Iwai wrote: > Missing EXPORT_SYMBOL()? Thanks. Modules are for the weak ;-) -Chris -- Chris Wilson, Intel Open Source Technology Centre

[PATCH 1/4] drm: Add an interface to reset the device

2011-01-24 Thread Chris Wilson
Iterate over the attached CRTCs, encoders and connectors and call the supplied reset vfunc in order to reset any cached state back to unknown. Useful after an invalidation event such as a GPU reset or resuming. Signed-off-by: Chris Wilson --- drivers/gpu/drm/drm_crtc.c | 19 +++

[PATCH 1/4] drm: Add an interface to reset the device

2011-01-24 Thread Alex Deucher
On Mon, Jan 24, 2011 at 10:55 AM, Chris Wilson wrote: > Iterate over the attached CRTCs, encoders and connectors and call the > supplied reset vfunc in order to reset any cached state back to unknown. > Useful after an invalidation event such as a GPU reset or resuming. > Can't you just reprogra

Re: [PATCH 1/4] drm: Add an interface to reset the device

2011-01-24 Thread Alex Deucher
On Mon, Jan 24, 2011 at 10:55 AM, Chris Wilson wrote: > Iterate over the attached CRTCs, encoders and connectors and call the > supplied reset vfunc in order to reset any cached state back to unknown. > Useful after an invalidation event such as a GPU reset or resuming. > Can't you just reprogram

Re: [PATCH 1/4] drm: Add an interface to reset the device

2011-01-24 Thread Chris Wilson
On Mon, 24 Jan 2011 17:18:06 +0100, Takashi Iwai wrote: > Missing EXPORT_SYMBOL()? Thanks. Modules are for the weak ;-) -Chris -- Chris Wilson, Intel Open Source Technology Centre ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists

Re: [PATCH 1/4] drm: Add an interface to reset the device

2011-01-24 Thread Takashi Iwai
At Mon, 24 Jan 2011 15:55:28 +, Chris Wilson wrote: > > Iterate over the attached CRTCs, encoders and connectors and call the > supplied reset vfunc in order to reset any cached state back to unknown. > Useful after an invalidation event such as a GPU reset or resuming. > > Signed-off-by: Chr

[PATCH 1/4] drm: Add an interface to reset the device

2011-01-24 Thread Chris Wilson
Iterate over the attached CRTCs, encoders and connectors and call the supplied reset vfunc in order to reset any cached state back to unknown. Useful after an invalidation event such as a GPU reset or resuming. Signed-off-by: Chris Wilson --- drivers/gpu/drm/drm_crtc.c | 19 +++