]> git.baikalelectronics.ru Git - kernel.git/commit
drm/gem: replace misleading comment
authorDavid Herrmann <dh.herrmann@gmail.com>
Sun, 25 May 2014 12:34:08 +0000 (14:34 +0200)
committerDave Airlie <airlied@redhat.com>
Tue, 27 May 2014 05:50:57 +0000 (15:50 +1000)
commit704b416b7b811693990cb0196d017110b9472690
tree6c3ec1eb99982fee7f44d95654d7867db04898a3
parentf8a85d8dd8c5716306ae2868bbfbe1c5a8e950f9
drm/gem: replace misleading comment

shmem supports page-relocations during swapin since quite some time. It
was implemented in:

    commit 41fb0a6cd77c31553915795107ccf8f12b188645
    Author: Hugh Dickins <hughd@google.com>
    Date:   Tue May 29 15:06:38 2012 -0700

        shmem: replace page if mapping excludes its zone

The gem-comment about wrongly placed DMA32 pages is no longer valid.
Replace it with a proper comment but keep the BUG_ON() to verify correct
shmem behavior.

Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_gem.c