modesetting: Set ppix->fb_id to 0 after removing the fb
This ensures the fb gets re-added when a shared pixmap is re-used for a second drmmode_set_scanout_pixmap_cpu call. Note currently the xserver never re-uses a shared pixmap in this way, so this is mostly a sanity fix. Signed-off-by:Hans de Goede <hdegoede@redhat.com> Reviewed-by:
Dave Airlie <airlied@redhat.com>
Showing
Please register or sign in to comment