]> git.baikalelectronics.ru Git - kernel.git/commit
drm/qxl: change the way slot is detected
authorFrediano Ziglio <fziglio@redhat.com>
Fri, 18 Jan 2019 12:20:01 +0000 (13:20 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 28 Jan 2019 13:24:52 +0000 (14:24 +0100)
commit3d5855e402596ebce739ba4aa8a8003bff68d079
tree50dceb13e58b97fb87e72623f3d188065e4f2249
parentea514dfd50aa0c69bc1eedd418e07d3a579b7359
drm/qxl: change the way slot is detected

Instead of relaying on surface type use the actual placement.
This allow to have different placement for a single type of
surface.

Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
Acked-by: Noralf Trønnes <noralf@tronnes.org>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20190118122020.27596-5-kraxel@redhat.com
[ kraxel: rebased, adapted to upstream changes ]

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
drivers/gpu/drm/qxl/qxl_drv.h