drm/qxl: recreate the primary surface when the bo is not primary
authorFabiano FidĂȘncio <fidencio@redhat.com>
Thu, 24 Sep 2015 13:18:34 +0000 (15:18 +0200)
committerDave Airlie <airlied@redhat.com>
Thu, 1 Oct 2015 03:57:21 +0000 (13:57 +1000)
commit8d0d94015e96b8853c4f7f06eac3f269e1b3d866
tree90ef9121a318ccbe5cad390d665d2ad114dccbe2
parent9ffecb10283508260936b96022d4ee43a7798b4c
drm/qxl: recreate the primary surface when the bo is not primary

When disabling/enabling a crtc the primary area must be updated
independently of which crtc has been disabled/enabled.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1264735

Signed-off-by: Fabiano FidĂȘncio <fidencio@redhat.com>
Cc: stable@vger.kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/qxl/qxl_display.c