NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-amd64/54808: Visual artifacts in Firefox after bus_space changes



The following reply was made to PR port-amd64/54808; it has been noted by GNATS.

From: coypu%sdf.org@localhost
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: port-amd64/54808: Visual artifacts in Firefox after bus_space
 changes
Date: Sun, 29 Dec 2019 19:04:21 +0000

 I see some cases where the cache behaviour of memory for NetBSD differs
 from the upstream, linux ones. I wonder if it can help to make them
 match.
 
 sys/external/bsd/drm2/dist/drm/i915/intel_opregion.c
 
 
 #ifdef __NetBSD__ ... write-combining
 	err = -bus_space_map(opregion->bst, asls, OPREGION_SIZE,
 		    BUS_SPACE_MAP_LINEAR|BUS_SPACE_MAP_PREFETCHABLE, &opregion->bsh);
 
 #else
 	base = memremap(asls, OPREGION_SIZE, MEMREMAP_WB);
 #endif
 
 jared states an equivalent to MEMREMAP_WB is BUS_SPACE_MAP_CACHEABLE.
 


Home | Main Index | Thread Index | Old Index