Added registers void Gen11::hwInitializeCState() { FunctionCast(hwInitializeCState, callback->ohwInitializeCState)( ); //some adlp addresses NBlue::callback->writeReg32(0x8f074,0x86fc0); NBlue::callback->writeReg32(0x8f034,0xc003b400); NBlue::callback->writeReg32(0x8f004,0x1240108); NBlue::callback->writeReg32(0x8f008,0x512050d4); NBlue::callback->writeReg32(0x8f03c,0xc003b300); NBlue::callback->writeReg32(0x8f00c,0x584c57fc); NBlue::callback->writeReg32(0x5f074,0x96fc0); NBlue::callback->writeReg32(0x5f034,0xc003df00); NBlue::callback->writeReg32(0x5f004,0x214c2114); NBlue::callback->writeReg32(0x5f038,0xc003e000); NBlue::callback->writeReg32(0x5f008,0x22402208); NBlue::callback->writeReg32(0x5f03c,0xc0032c00); NBlue::callback->writeReg32(0x5f00c,0x241422fc); NBlue::callback->writeReg32(0x5f040,0xc0033100); NBlue::callback->writeReg32(0x5f010,0x26f826cc); NBlue::callback->writeReg32(0x5f474,0x9efc0); NBlue::callback->writeReg32(0x5f434,0xc003df00); NBlue::callback->writeReg32(0x5f404,0xa968a930); NBlue::callback->writeReg32(0x5f438,0xc003e000); NBlue::callback->writeReg32(0x5f408,0xaa5caa24); NBlue::callback->writeReg32(0x5f43c,0xc0032c00); NBlue::callback->writeReg32(0x5f40c,0xac30ab18); NBlue::callback->writeReg32(0x5f440,0xc0033100); NBlue::callback->writeReg32(0x5f410,0xaf14aee8); NBlue::callback->writeReg32(0x5f874,0x53fc0); NBlue::callback->writeReg32(0x5f83c,0xc0032c00); NBlue::callback->writeReg32(0x5f80c,0x25202408); NBlue::callback->writeReg32(0x5f840,0xc0033100); NBlue::callback->writeReg32(0x5f810,0x280427d8); NBlue::callback->writeReg32(0x5fc3c,0xc0032c00); NBlue::callback->writeReg32(0x5fc0c,0x95209408); NBlue::callback->writeReg32(0x5fc40,0xc0033100); NBlue::callback->writeReg32(0x5fc10,0x980497d8); NBlue::callback->writeReg32(0x60400,0x8a000006); NBlue::callback->writeReg32(0x60000,0x0a9f09ff); NBlue::callback->writeReg32(0x60004,0x0a9f09ff); NBlue::callback->writeReg32(0x60008,0x0a4f0a2f); NBlue::callback->writeReg32(0x6000c,0x06d5063f); NBlue::callback->writeReg32(0x60010,0x06d50000); NBlue::callback->writeReg32(0x60014,0x06480642); NBlue::callback->writeReg32(0x60028,0x00000000); NBlue::callback->writeReg32(0x60030,0x7e5d159e); NBlue::callback->writeReg32(0x60034,0x00800000); NBlue::callback->writeReg32(0x60040,0x0007c1cd); NBlue::callback->writeReg32(0x60044,0x00080000); NBlue::callback->writeReg32(0xc7204,0x00000067); NBlue::callback->writeReg32(0xc7208,0x07d00001); NBlue::callback->writeReg32(0x46140,0x10000000); NBlue::callback->writeReg32(0x45400,0x00000401); NBlue::callback->writeReg32(0x45404,0x00000c03); NBlue::callback->writeReg32(0x45408,0x40000000); NBlue::callback->writeReg32(0x4540c,0x00000401); //common NBlue::callback->writeReg32(0x45520,2); hwConfigureCustomAUX(ccont,true); } Got finally (AppleIntelTGLGraphicsFramebuffer) [IGFB][DEBUG][DISPLAY ][AppleIntelFB.cpp : 4579 ][setGammaTable ] (channelCount=3, dataCount=1024, dataWidth=10, data=0xffffff99d1044800) fCRTCIndex=0 syncToVBL=1 (AppleIntelTGLGraphicsFramebuffer) [IGFB][DEBUG][DISPLAY ][AppleIntelFB.cpp : 4579 ][setGammaTable ] (channelCount=3, dataCount=1024, dataWidth=10, data=0xffffff99d1044800) fCRTCIndex=0 syncToVBL=0 Log starts at 11:04:35.394634+0100, log on black screen with square mouse x.log kern_gen11.cpp
Author:
[source]
Post a Comment