[PATCH 2/2] DRI2: Add error message when working around driver bug

Ville Syrjälä ville.syrjala at nokia.com
Thu Oct 28 09:06:13 PDT 2010


On Thu, Oct 28, 2010 at 05:47:09PM +0200, ext Pauli Nieminen wrote:
> One option would be adding crct id parameter to calls.
> 
> glXGetMscBaseRateOML would return rate, base msc and pipe id where this msc
> value is valid. Now all MSC calls would take the returned pipe id as
> parameter. If pipe id doesn't match current crtc any more then call would
> fail.
> 
> This would allow complex applications to pass same pipe id to different
> context.
> 
> Negative side is that API would have to be changed to include extra
> parameter.

And what about cases involving multiple CRTCs? Would the user just
choose one? And what about the other CRTCs then, could some suffer from
tearing or should more buffers be added to the mix to allow the CRTCs
to scan out of different buffers and flip at their own rate?

-- 
Ville Syrjälä


More information about the xorg-devel mailing list