Rev 1179 | Rev 1221 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1179 | Rev 1182 | ||
---|---|---|---|
Line 476... | Line 476... | ||
476 | uint32_t fb_format, fb_pitch_pixels, tiling_flags; |
476 | uint32_t fb_format, fb_pitch_pixels, tiling_flags; |
Line 477... | Line 477... | ||
477 | 477 | ||
478 | if (!crtc->fb) |
478 | if (!crtc->fb) |
Line 479... | Line -... | ||
479 | return -EINVAL; |
- | |
480 | - | ||
481 | dbgprintf("x = %d y = %d width = %d height = %d\n", |
- | |
482 | x, y, crtc->fb->width, crtc->fb->height); |
- | |
483 | dbgprintf("hdisplay = %d\n", crtc->mode.hdisplay); |
479 | return -EINVAL; |
Line 484... | Line 480... | ||
484 | 480 | ||
485 | radeon_fb = to_radeon_framebuffer(crtc->fb); |
481 | radeon_fb = to_radeon_framebuffer(crtc->fb); |
Line 491... | Line 487... | ||
491 | // return -EINVAL; |
487 | // return -EINVAL; |
492 | // } |
488 | // } |
Line 493... | Line 489... | ||
493 | 489 | ||
Line 494... | Line -... | ||
494 | fb_location = 0; //rdev->mc.vram_location; |
- | |
495 | - | ||
Line 496... | Line 490... | ||
496 | dbgprintf("fb_location %x\n", fb_location); |
490 | fb_location = 0; //rdev->mc.vram_location; |
497 | dbgprintf("bpp %d\n", crtc->fb->bits_per_pixel); |
491 | |
498 | 492 | ||
499 | switch (crtc->fb->bits_per_pixel) { |
493 | switch (crtc->fb->bits_per_pixel) { |