You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
ARM: pxa/raumfeld: enable PXA3XX_GCU driver
Signed-off-by: Daniel Mack <daniel@caiaq.de> Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
This commit is contained in:
@@ -588,6 +588,9 @@ static struct pxafb_mach_info raumfeld_sharp_lcd_info = {
|
|||||||
.num_modes = 1,
|
.num_modes = 1,
|
||||||
.video_mem_size = 0x400000,
|
.video_mem_size = 0x400000,
|
||||||
.lcd_conn = LCD_COLOR_TFT_16BPP | LCD_PCLK_EDGE_FALL,
|
.lcd_conn = LCD_COLOR_TFT_16BPP | LCD_PCLK_EDGE_FALL,
|
||||||
|
#ifdef CONFIG_PXA3XX_GCU
|
||||||
|
.acceleration_enabled = 1,
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
static void __init raumfeld_lcd_init(void)
|
static void __init raumfeld_lcd_init(void)
|
||||||
@@ -616,6 +619,8 @@ static void __init raumfeld_lcd_init(void)
|
|||||||
pr_warning("Unable to request GPIO_DISPLAY_ENABLE\n");
|
pr_warning("Unable to request GPIO_DISPLAY_ENABLE\n");
|
||||||
else
|
else
|
||||||
gpio_direction_output(GPIO_DISPLAY_ENABLE, 1);
|
gpio_direction_output(GPIO_DISPLAY_ENABLE, 1);
|
||||||
|
|
||||||
|
platform_device_register(&pxa3xx_device_gcu);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user