[Mesa-dev] Mesa (7.9): st/xorg: Don't try to remove invalid fbs

Thomas Hellstrom thellstrom at vmware.com
Tue Oct 12 09:25:48 PDT 2010


On 10/12/2010 03:12 PM, Jakob Bornecrantz wrote:
> On 12 okt 2010, at 15.09, Thomas Hellstrom wrote:
>    
>> Module: Mesa
>> Branch: 7.9
>> Commit: 6730630804b6948dbb42340b1de1cf9ee04bf0fd
>> URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6730630804b6948dbb42340b1de1cf9ee04bf0fd
>>
>> Author: Thomas Hellstrom<thellstrom at vmware.com>
>> Date:   Tue Oct 12 11:10:59 2010 +0200
>>
>> st/xorg: Don't try to remove invalid fbs
>>
>> Signed-off-by: Thomas Hellstrom<thellstrom at vmware.com>
>>
>> ---
>>
>> src/gallium/state_trackers/xorg/xorg_driver.c |    8 +++++---
>> 1 files changed, 5 insertions(+), 3 deletions(-)
>>
>> diff --git a/src/gallium/state_trackers/xorg/xorg_driver.c b/src/
>> gallium/state_trackers/xorg/xorg_driver.c
>> index f7b3ad3..ca74539 100644
>> --- a/src/gallium/state_trackers/xorg/xorg_driver.c
>> +++ b/src/gallium/state_trackers/xorg/xorg_driver.c
>> @@ -369,6 +369,7 @@ drv_pre_init(ScrnInfoPtr pScrn, int flags)
>>      ms = modesettingPTR(pScrn);
>>      ms->pEnt = pEnt;
>>      ms->cust = cust;
>> +    ms->fb_id = 1;
>>      
> Shouldn't this be -1?
>
> Cheers Jakob.
>    
Ugh. You're right. I wonder what happened there....

/Thomas



More information about the mesa-dev mailing list