Skip to content

Commit

Permalink
video: Preserve EN_OUT bit before updating Conexant encoder registers
Browse files Browse the repository at this point in the history
The following line may cause the Xbox to enter overheat mode when in a 480p
mode. Updating the Conexant encoder registers will eventually disable the
EN_OUT bit anyway, so just enable it after update.
  • Loading branch information
haxar committed Jan 11, 2021
1 parent 8ffa001 commit b5e315e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/video/BootVgaInitialization.c
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,6 @@ void BootVgaInitializationKernelNG(CURRENT_VIDEO_MODE_DETAILS * pvmode) {

switch (video_encoder) {
case ENCODER_CONEXANT:
I2CWriteBytetoRegister(0x45,0xc4, 0x00); // EN_OUT = 1
// Conexant init (starts at register 0x2e)
regs = newmode.encoder_regs;
for(i=0x2e,n1=0;i<0x100;i+=2,n1++) {
Expand Down

0 comments on commit b5e315e

Please sign in to comment.