From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from duke.felloff.net ([216.126.196.34]) by ur; Wed Jul 27 16:02:05 EDT 2016 Message-ID: <111110aa0be0a0bc5956df58d9ec2912@felloff.net> Date: Wed, 27 Jul 2016 22:01:58 +0200 From: cinap_lenrek@felloff.net To: 9front@9front.org Subject: Re: [9front] core-i5(TypeSNB) and vesa mode In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: SQL polling template proxy-based property controller + /* from here K.Okamoto */ + if (igfx->type == TypeSNB){ + for(i=0;i<10;i++){ /* ensure Receive IIR, K.Okamoto */ + if(rr(igfx, 0x44008) & 1<<8) + break; + } + p->fdi->rxctl.v &= ~(3<<8); /* link train pattern 1 enable */ + p->fdi->rxctl.v |= (1<<8); /* link train pattern 2 enable */ + p->fdi->rxctl.v |= 1<<31; /* enable FDI pll */ + loadreg(igfx, p->fdi->rxctl); + p->fdi->txctl.v &= ~(3<<8); /* link train pattern 1 enable */ + p->fdi->txctl.v |= (1<<8); /* link train pattern 2 enable */ + p->fdi->txctl.v |= 1<<31; /* enable FDI pll */ + loadreg(igfx, p->fdi->txctl); + for(i=0;i<10;i++){ + if(rr(igfx, 0x44008) & 1<<9) /* ensure Receive IIR, K.Okamoto */ + break; + } + /* to here K.Okamoto */ + } you do this before the normal link training... the only difference is that you use taining pattern 01 and witout auto train enable. given that we do normal link training afterwards, i wonder if this code is needed. i'll check what the manual says on this... -- cinap