intel_extreme: build fix, remove unused variables.
This commit is contained in:
parent
af8d74ae10
commit
980a393047
@ -147,7 +147,6 @@ intel_interrupt_handler(void* data)
|
|||||||
{
|
{
|
||||||
intel_info &info = *(intel_info*)data;
|
intel_info &info = *(intel_info*)data;
|
||||||
uint32 reg = find_reg(info, INTEL_INTERRUPT_IDENTITY);
|
uint32 reg = find_reg(info, INTEL_INTERRUPT_IDENTITY);
|
||||||
bool hasPCH = (info.pch_info != INTEL_PCH_NONE);
|
|
||||||
uint32 identity;
|
uint32 identity;
|
||||||
|
|
||||||
identity = read32(info, reg);
|
identity = read32(info, reg);
|
||||||
@ -251,8 +250,6 @@ init_interrupt_handler(intel_info &info)
|
|||||||
write32(info, INTEL_DISPLAY_B_PIPE_STATUS,
|
write32(info, INTEL_DISPLAY_B_PIPE_STATUS,
|
||||||
DISPLAY_PIPE_VBLANK_STATUS | DISPLAY_PIPE_VBLANK_ENABLED);
|
DISPLAY_PIPE_VBLANK_STATUS | DISPLAY_PIPE_VBLANK_ENABLED);
|
||||||
|
|
||||||
bool hasPCH = (info.pch_info != INTEL_PCH_NONE);
|
|
||||||
|
|
||||||
uint32 enable = intel_get_interrupt_mask(info,
|
uint32 enable = intel_get_interrupt_mask(info,
|
||||||
INTEL_PIPE_A | INTEL_PIPE_B, true);
|
INTEL_PIPE_A | INTEL_PIPE_B, true);
|
||||||
|
|
||||||
@ -550,8 +547,6 @@ intel_extreme_uninit(intel_info &info)
|
|||||||
CALLED();
|
CALLED();
|
||||||
|
|
||||||
if (!info.fake_interrupts && info.shared_info->vblank_sem > 0) {
|
if (!info.fake_interrupts && info.shared_info->vblank_sem > 0) {
|
||||||
bool hasPCH = (info.pch_info != INTEL_PCH_NONE);
|
|
||||||
|
|
||||||
// disable interrupt generation
|
// disable interrupt generation
|
||||||
write32(info, find_reg(info, INTEL_INTERRUPT_ENABLED), 0);
|
write32(info, find_reg(info, INTEL_INTERRUPT_ENABLED), 0);
|
||||||
write32(info, find_reg(info, INTEL_INTERRUPT_MASK), ~0);
|
write32(info, find_reg(info, INTEL_INTERRUPT_MASK), ~0);
|
||||||
|
Loading…
Reference in New Issue
Block a user