Skip to content

Commit 94ee77e

Browse files
joevtdingusdev
authored andcommitted
atirage: Log clock_sel and vertical blank.
1 parent b3975cc commit 94ee77e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

devices/video/atirage.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -825,6 +825,7 @@ void ATIRage::crtc_update() {
825825
return;
826826

827827
this->draw_fb = true;
828+
LOG_F(INFO, "%s: clock_sel:%d fb_div:%02x", this->name.c_str(), clock_sel, this->plls[VCLK0_FB_DIV + clock_sel]);
828829

829830
// calculate display refresh rate
830831
this->refresh_rate = pixel_clock / this->hori_total / this->vert_total;
@@ -890,6 +891,7 @@ void ATIRage::crtc_update() {
890891
bit_set(this->regs[ATI_CRTC_GEN_CNTL], ATI_CRTC_EXT_DISP_EN) ? "extended" : "VGA");
891892
LOG_F(INFO, "Video width: %d px", this->active_width);
892893
LOG_F(INFO, "Video height: %d px", this->active_height);
894+
LOG_F(INFO, "Vertical blank: %d px", this->vert_blank);
893895
verbose_pixel_format(0);
894896
LOG_F(INFO, "VPLL frequency: %f MHz", vpll_freq * 1e-6);
895897
LOG_F(INFO, "Pixel (dot) clock: %f MHz", this->pixel_clock * 1e-6);

0 commit comments

Comments
 (0)