Lines 431-437
Link Here
|
431 |
if (bPlaneBEnabled) |
431 |
if (bPlaneBEnabled) |
432 |
{ |
432 |
{ |
433 |
//current mode dot clock, HZ |
433 |
//current mode dot clock, HZ |
434 |
DotClockB = output->crtc->mode.Clock * 1000 / WM_DOTCLOCK_DIVISOR; |
434 |
if( output->crtc ){ |
|
|
435 |
DotClockB = output->crtc->mode.Clock * 1000 / WM_DOTCLOCK_DIVISOR; |
436 |
} |
435 |
BPPB = output->scrn->bitsPerPixel; |
437 |
BPPB = output->scrn->bitsPerPixel; |
436 |
} |
438 |
} |
437 |
} |
439 |
} |
Lines 440-446
Link Here
|
440 |
{ |
442 |
{ |
441 |
if (bPlaneAEnabled) |
443 |
if (bPlaneAEnabled) |
442 |
{ |
444 |
{ |
443 |
DotClockA = output->crtc->mode.Clock * 1000 / WM_DOTCLOCK_DIVISOR; |
445 |
if( output->crtc ) { |
|
|
446 |
DotClockA = output->crtc->mode.Clock * 1000 / WM_DOTCLOCK_DIVISOR; |
447 |
} |
444 |
BPPA = output->scrn->bitsPerPixel; |
448 |
BPPA = output->scrn->bitsPerPixel; |
445 |
} |
449 |
} |
446 |
} |
450 |
} |