[PATCH 17/25] drm: rip out drm_core_has_MTRR checks

Andy Lutomirski luto at amacapital.net
Fri Aug 9 11:12:41 PDT 2013


On Thu, Aug 8, 2013 at 6:41 AM, Daniel Vetter <daniel.vetter at ffwll.ch> wrote:
> The new arch_phys_wc_add/del functions do the right thing both with
> and without MTRR support in the kernel. So we can drop these
> additional checks.

If any of the new arch_phys_wc_add calls are reachable and if the
driver calls arch_phys_wc_add itself, then the lack of refcounting on
non-PAT systems may cause a problem.  (I don't understand the drm
stuff well enough to know whether that can actually happen.)

--Andy


More information about the dri-devel mailing list