1
mirror of https://github.com/mpv-player/mpv synced 2024-12-24 07:33:46 +01:00

using MTRR

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4483 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
nick 2002-02-02 18:28:55 +00:00
parent f363f965be
commit 98f66c1fe2

View File

@ -1246,7 +1246,7 @@ card_found:
int vixInit(void)
{
unsigned int card_option = 0;
int err;
printf("[mga] init\n");
mga_vid_in_use = 0;
@ -1341,7 +1341,8 @@ int vixInit(void)
printf("[mga] MMIO at %p, IRQ: %d, framebuffer: %p\n",
mga_mmio_base, mga_irq, mga_mem_base);
err = mtrr_set_type(pci_info.base0,mga_ram_size*1024*1024,MTRR_TYPE_WRCOMB);
if(!err) printf("[mga] Set write-combining type of video memory\n");
#ifdef MGA_ALLOW_IRQ
if (mga_irq != -1)
{