mirror of
https://github.com/opnsense/src.git
synced 2026-04-15 14:29:58 -04:00
Do not set FB_FLAG_MEMATTR if VM_MEMATTR_WRITE_COMBINING is not available
Pintyhat to: gonzo Spotted by: jmallett
This commit is contained in:
parent
be4b107168
commit
16bacb8a2d
1 changed files with 1 additions and 1 deletions
|
|
@ -119,8 +119,8 @@ bcm_fb_setup_fbd(struct bcmsc_softc *sc)
|
|||
sc->info.fb_stride = fb.pitch;
|
||||
sc->info.fb_width = fb.xres;
|
||||
sc->info.fb_height = fb.yres;
|
||||
sc->info.fb_flags = FB_FLAG_MEMATTR;
|
||||
#ifdef VM_MEMATTR_WRITE_COMBINING
|
||||
sc->info.fb_flags = FB_FLAG_MEMATTR;
|
||||
sc->info.fb_memattr = VM_MEMATTR_WRITE_COMBINING;
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue