Home
last modified time | relevance | path

Searched refs:hiprilvl (Results 1 – 1 of 1) sorted by relevance

/haiku/src/add-ons/accelerants/matrox/engine/
H A Dmga_crtc.c416 uint8 mp, vc, hiprilvl, maxhipri, prioctl; in gx00_crtc_mem_priority() local
484 hiprilvl = 7 - ((uint8) temp); in gx00_crtc_mem_priority()
486 if (hiprilvl > 4) hiprilvl = 4; in gx00_crtc_mem_priority()
487 if ((si->dm.timing.v_display > 768) && (hiprilvl > 3)) hiprilvl = 3; in gx00_crtc_mem_priority()
488 if ((si->dm.timing.v_display > 864) && (hiprilvl > 2) && (refresh >= 76.0)) hiprilvl = 2; in gx00_crtc_mem_priority()
489 if ((si->dm.timing.v_display > 1024) && (hiprilvl > 2)) hiprilvl = 2; in gx00_crtc_mem_priority()
493 if (temp > (float)hiprilvl) temp = (float)hiprilvl; in gx00_crtc_mem_priority()
498 prioctl = ((hiprilvl & 0x07) | ((maxhipri & 0x07) << 4)); in gx00_crtc_mem_priority()