* B_MOVE_DISPLAY and B_SET_INDEXED_COLORS should now work for the digital
output as well. * Obviously got the register for INTEL_DISPLAY_B_DIGITAL_PORT wrong - it's not 0x61000 but 0x61140, maybe that can explain the fun we had at BeGeistert :) * Renamed the analog display registers to better fit the digital ones, ie. replaced DISPLAY with DISPLAY_A - although this might be not really correct as it seems that the pipes can be selected arbitrarily. * Minor cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17566 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -211,7 +211,7 @@ intel_interrupt_handler(void *data)
|
||||
handled = release_vblank_sem(info);
|
||||
|
||||
// make sure we'll get another one of those
|
||||
write32(info.registers + INTEL_DISPLAY_PIPE_STATUS, DISPLAY_PIPE_VBLANK_STATUS);
|
||||
write32(info.registers + INTEL_DISPLAY_A_PIPE_STATUS, DISPLAY_PIPE_VBLANK_STATUS);
|
||||
}
|
||||
|
||||
// setting the bit clears it!
|
||||
@@ -253,7 +253,7 @@ init_interrupt_handler(intel_info &info)
|
||||
read16(info.registers + INTEL_INTERRUPT_ENABLED) | INTERRUPT_VBLANK);
|
||||
write16(info.registers + INTEL_INTERRUPT_MASK, ~INTERRUPT_VBLANK);
|
||||
|
||||
write32(info.registers + INTEL_DISPLAY_PIPE_STATUS,
|
||||
write32(info.registers + INTEL_DISPLAY_A_PIPE_STATUS,
|
||||
DISPLAY_PIPE_VBLANK_STATUS);
|
||||
write16(info.registers + INTEL_INTERRUPT_IDENTITY, ~0);
|
||||
}
|
||||
@@ -397,7 +397,7 @@ intel_extreme_init(intel_info &info)
|
||||
info.shared_info->pll_info.reference_frequency = 48000; // 48 kHz
|
||||
info.shared_info->pll_info.min_frequency = 25000; // 25 MHz (not tested)
|
||||
info.shared_info->pll_info.max_frequency = 350000; // 350 MHz RAM DAC speed
|
||||
info.shared_info->pll_info.divisor_register = INTEL_DISPLAY_PLL_DIVISOR_0;
|
||||
info.shared_info->pll_info.divisor_register = INTEL_DISPLAY_A_PLL_DIVISOR_0;
|
||||
|
||||
info.shared_info->device_type = info.device_type;
|
||||
#ifdef __HAIKU__
|
||||
|
||||
Reference in New Issue
Block a user