From patchwork Wed May 4 13:40:23 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jocelyn Falempe X-Patchwork-Id: 12837956 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 156D0C433F5 for ; Wed, 4 May 2022 13:40:55 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2CC5B10ECF4; Wed, 4 May 2022 13:40:54 +0000 (UTC) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by gabe.freedesktop.org (Postfix) with ESMTPS id 69CF310ECF4 for ; Wed, 4 May 2022 13:40:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1651671651; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=hRw10w18YqMmpXwWoMnPkU3yug5+gYkjZ9Mhtb+Hvn8=; b=UqeraU51ZfDCqoq3uniYV/kNwQF6LgI5cIttkj7oztuQA4l65Vrka8vxBCSnbzn+ogZjNp grBRMaS8lvVOq9BfrIokABWhbORoriXTazsBrKI4+yjg904kvAIcxjUdo/l7UCfUQYBwvJ rrIrGkYSD2Msv3cxExQPZg7lPXdF8+A= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-597-g6OYgXB8NXGgSnrLxRS1Yg-1; Wed, 04 May 2022 09:40:48 -0400 X-MC-Unique: g6OYgXB8NXGgSnrLxRS1Yg-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id E614A3810D26; Wed, 4 May 2022 13:40:47 +0000 (UTC) Received: from hydra.redhat.com (unknown [10.39.193.180]) by smtp.corp.redhat.com (Postfix) with ESMTP id 9FB97C28101; Wed, 4 May 2022 13:40:46 +0000 (UTC) From: Jocelyn Falempe To: dri-devel@lists.freedesktop.org, lyude@redhat.com, tzimmermann@suse.de Subject: [PATCH v2 0/3] mgag200: Improve damage handling Date: Wed, 4 May 2022 15:40:23 +0200 Message-Id: <20220504134026.283417-1-jfalempe@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.85 on 10.11.54.8 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=jfalempe@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jocelyn Falempe , michel@daenzer.net Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" mgag200: Improve damage handling This series improves the damage handling on Matrox gpu, and allows Gnome/Wayland to run much better. Also include some driver cleanup. Tested on a Dell T310 with Matrox MGA G200eW WPCM450 (rev 0a) v2: Drop remove mgag200_probe_vram() Rewrote the patch to warn if startaddr is not 0, and hw doesn't support it. (instead of removing the unused flag). Thanks, Reviewed-by: Thomas Zimemrmann