Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 344889 | Differences between
and this patch

Collapse All | Expand All

(-)xserver-xorg-video-psb-0.31.0/src/psb_crtc.c.randr (-2 / +6 lines)
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
		}

Return to bug 344889