Message ID | 1496841865-2349-5-git-send-email-thellstrom@vmware.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <dri-devel-bounces@lists.freedesktop.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id B611E60350 for <patchwork-dri-devel@patchwork.kernel.org>; Wed, 7 Jun 2017 13:39:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A9B1326E75 for <patchwork-dri-devel@patchwork.kernel.org>; Wed, 7 Jun 2017 13:39:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9E62A2841C; Wed, 7 Jun 2017 13:39:10 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 2066226E75 for <patchwork-dri-devel@patchwork.kernel.org>; Wed, 7 Jun 2017 13:39:09 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 079636E243; Wed, 7 Jun 2017 13:39:08 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-by2nam01on0042.outbound.protection.outlook.com [104.47.34.42]) by gabe.freedesktop.org (Postfix) with ESMTPS id ACCAF6E243 for <dri-devel@lists.freedesktop.org>; Wed, 7 Jun 2017 13:39:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=onevmw.onmicrosoft.com; s=selector1-vmware-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=yYsKbDqAvLVcaXupf3II3inMIxX9n+uozYcyq82vM2g=; b=Qcdru0xsOluMuUaT8uamD3/4E0d5UX/lSyGzzeSUvCOYIHit6bRE7M0seyttnxAe8Us4ZfP+VZrN32gIoUDOksw3oXDP1TW8+9joJpyYAWt4Zozbd83lCS16MqXd/QJI0EwqV3gkSiituDt6Qz+Z7Ke/REJTCxMUiI7heB7GgEo= Authentication-Results: lists.freedesktop.org; dkim=none (message not signed) header.d=none; lists.freedesktop.org; dmarc=none action=none header.from=vmware.com; Received: from ubuntu.localdomain (155.4.205.56) by BLUPR05MB753.namprd05.prod.outlook.com (10.141.208.140) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1157.3; Wed, 7 Jun 2017 13:25:00 +0000 From: Thomas Hellstrom <thellstrom@vmware.com> To: dri-devel@lists.freedesktop.org Subject: [PATCH -fixes 5/9] drm/vmwgfx: Make sure to update STDU when FB is updated Date: Wed, 7 Jun 2017 15:24:21 +0200 Message-Id: <1496841865-2349-5-git-send-email-thellstrom@vmware.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1496841865-2349-1-git-send-email-thellstrom@vmware.com> References: <1496841865-2349-1-git-send-email-thellstrom@vmware.com> MIME-Version: 1.0 X-Originating-IP: [155.4.205.56] X-ClientProxiedBy: BN6PR16CA0019.namprd16.prod.outlook.com (10.172.212.157) To BLUPR05MB753.namprd05.prod.outlook.com (10.141.208.140) X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BLUPR05MB753: X-MS-Office365-Filtering-Correlation-Id: 812efb82-48a4-423e-adc1-08d4ada89976 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131423075)(201703031133081); SRVR:BLUPR05MB753; X-Microsoft-Exchange-Diagnostics: 1; BLUPR05MB753; 3:86PW6lIrYDD6rAnF+0c9P7kallm7kVrYTDTsoYyUVf3dLiRWtwZzyhVl3k0CnLNolhiTPZ/0YxY7eCZNZgIM0bj9E1IdEf9bM1A8nqWgdA3dT3a497EOdf/H2CmBwwagIxSs/Tf3qtL0t2DXrr5cvT/F2Wf76aEPuwJFsRuyerxKSKwbqhB/+5a03KLK6JnNvclCL7Y577Xjbi3BSjrBL5uTnZrTKvc/vyexYVQ7xo9lgcZ7PUbq602c4aKIsEnJk1gJ9w4ozWdkX7ipbCN8RuLLQUJ4RoHXVWiW/pRsBgnljjhDbFiKvIMz2mRVkNkOeIk09rSqNy6ks7o55Ou3lA==; 25:MGk7VF2xdwh2kZVlUjZIyJDSRVyecEPDuSRJvL5rlNgQfJT3+wwfxnTCmyVNH6d5fxdgphKUTiBsw6QA1x87uP4gywzLoQMWCuPUaCywSFkAvGtdWq5FZcGWk36xzk6qCNhXhLtWN+6IvOSyb30Fp2Rc4XZOGPVJNxvHHsJdmQ405/yOXKaKjN044CEczCKLTaj1BGbO29sdCexI6bPn4Qj7KI5F/6zA9MhjLR4AbETHFZUJTGMyeY3OmVTeApB/FZDkH0c9Ghn8mhdUzjWG0Lek4jN36iGRahAITvzQJVHmDYXUC2YrFooeAZM/9yzARL7a5g1zoNpXcPWODVG8RO512+RYSZ2INOhJkeUA4YoC4ejU13NXwudwCB9wdRVviH4pm3ymfu20RK5g5fK/hHExjY8XYhakNBISjdtDjzV4dzq0disLz0wZPzksQeWoSLafD9U3AVrO0PlZsecl6IKou+ofDkdx0V1OFmMYfuU= X-Microsoft-Exchange-Diagnostics: 1; BLUPR05MB753; 31:J1HuOJ8bKpiJfovqNijGq1fGIqFbk/0qInE9EeFlpkn9FVnNXXFKWkeJtQfNAczKML7TvriWfCQvlPq6UwoYSxgENo15AeHFyglx0aPeaL7DNBOi6U/XKnn2+xt42GkRYWhDIGZypkO4Ydq4RF9CUAgUEJT6nGmNgrwZkNGfbB5safDfuU+7IRamanDrCGag4LgWQitxa9zh4M7e9pp8zm1IbqVCkXLgHFWOPM30hRg=; 20:3Tts4NJ2s4zQr4LdGfkML+cktg9iFXiqIuOCSSdMqMDUKEQfTv/YprkQsuyIjuBc5jCZgzPezdu/XpWdhbmlVF0GbqcnAR7yq4XooY1z6K/Tt4iZoTdPO6UZhFLlMOm8pcqeQlaIjjktAQsqc/ExcDBFMglnIsvA5H9s2BpUinnnZHi52sbro1puOKGFSDzCe4MVjWD2+uH8zYvV8rZW9y4xpBPRSLnyQTZSzzv/bNKE+OPw4E5hm8jRhbPAkeX+vm/e/XC1ohDcRqkcqCg1PPY2FgyW9Fk0Xhhlw0ZPF5JoWodh6cO7D8ebDDkbTe9giRYN0Y2MjnXjF6+giQFE0w9vpa/r9d6E3V1Y5DLrx1uTvb5VaUdEQ3TR8v4pgimPyvRP25ejOcIzDhn9ITUxHmEwFZTVc308UEUgnc9j9rsPb0QCoC3t80VC0UUzHwgRXJ44B8qoxcnygaPCzrII4EwRW1tdG7rLKjzIbpy7a8I4p9n0Epp9xG97sIhOppbG X-Microsoft-Antispam-PRVS: <BLUPR05MB753140D9B7BB3DE488122B3A1C80@BLUPR05MB753.namprd05.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(61668805478150); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(5005006)(8121501046)(3002001)(100000703101)(100105400095)(10201501046)(93006095)(93001095)(6041248)(20161123558100)(20161123562025)(20161123564025)(20161123555025)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BLUPR05MB753; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BLUPR05MB753; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR05MB753; 4:EY02NCgEPjoUlvtzKapuaVCChMJzhEHYsGivWxlgR3y?= =?us-ascii?Q?fruBW2rgT6TsT+36V+vkU7CP4OM8js+d3crRQRZqZ/udeYCA45lJrEWggrUc?= =?us-ascii?Q?RLgaFuqTr2kDecMHIc3Dk9oiF5j0x/00ft1w1JmkwhlErrF7zwf8QEHJcBvo?= =?us-ascii?Q?mmFpPcvY5xWoLwH1vpXBImCSTOA6rYIMdQkj/xWzRebqX4U/9v4r9QGTBH+r?= =?us-ascii?Q?1EgJEApXi/XqzhXRi8b99v0JWfDGZOc0FJECYzrHsIxiB/WJ02tlvvUMpKLi?= =?us-ascii?Q?qLDrS8sJO2E7nNasVMrX/nUWUNr6tazOyKqZSoymOKWInev2yruY8P+Su3Sz?= =?us-ascii?Q?rrvpSMbMKpHurjPcScMg1/Lx2OXGwQKw74ANBlbGTyo+cDeJ8abQnlttNFJc?= =?us-ascii?Q?oXRRP6X9Xmc1LBvEaVBLWWiPcTcwGY5lun21+b+V5xbYKeMSgtTe2OhAl2Ek?= =?us-ascii?Q?R+UPHleSxc/7c2Ej7sDUEN9/pVrQYz3yYE2imZDXgCUrID9qYlCY6+3KqIqA?= =?us-ascii?Q?NPxcx6vbEVbAS+teymZ3bhccFyI72Xo72Ug0GBkFLlNoZj9HIMd9+9M21VAZ?= =?us-ascii?Q?kOroAHJM4t7OPO/MnmFIQISOB9F+uVbvxfMJrDJ4j1m/XIuy7XEIlcKuaGEE?= =?us-ascii?Q?3B201DlqXFbteVgV2F/pPXxW1RKH3GmYcE5xySHy5ljFGevAtlIJj7NKTtQp?= =?us-ascii?Q?CNrwPhamXIwL6AiCEVJ4wRb0P22ofqK5gyqdDmne6CPAGW++bsr6aAjGbzse?= =?us-ascii?Q?Gxg+sKhO22v867ItgTe+BBTQNEe12HnD2wq5ZocApUWskiAUZQGtYUISjhh1?= =?us-ascii?Q?FS0fhFLLcmSkA0nU1+WqQs+GRAqN7wlvceQa3yQd8rVi7bX2ToSB+1/kvhNV?= =?us-ascii?Q?RLJZsprKArbI4YkGNq3XLkwSy1N3yB89UaCk75uvpZRckmn8bKrSgXwnhw/x?= =?us-ascii?Q?ezeiegD8Th7yJ4I0KdcpRygQBiORFpMzvqpfzi6AIGjIlgqzzXwp7YPTQeKO?= =?us-ascii?Q?UBvysoPiPmSvqUx+MSaAz1t9UZrzWsC8lO3M+3oymk5XGnqeNB2IpObJSzmT?= =?us-ascii?Q?BsEZy9uiOY/kcEqBGwJ1/H7aMqaLo9InaxreUqoFZd/+T0zwYc1uQIpsfq/W?= =?us-ascii?Q?siURLWR1Y3UcwVXZVAcYuNPTvbXvvEa+JErXF5Mue9HPxUdKCizhSCB7Us3a?= =?us-ascii?Q?zQSULVnF7fXI=3D?= X-Forefront-PRVS: 03319F6FEF X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39410400002)(39400400002)(39450400003)(39850400002)(76176999)(38730400002)(107886003)(110136004)(2906002)(305945005)(47776003)(86362001)(66066001)(5660300001)(3846002)(6666003)(50986999)(5003940100001)(81166006)(6916009)(6116002)(478600001)(7736002)(2950100002)(50226002)(6506006)(2361001)(33646002)(6486002)(6512007)(25786009)(42186005)(189998001)(2351001)(4326008)(50466002)(48376002)(15650500001)(53936002)(36756003); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR05MB753; H:ubuntu.localdomain; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR05MB753; 23:ss2ziBFP3YHdRa3V9H0M/g5Mhm54RRp75So3Jzhd+A?= =?us-ascii?Q?D+RSs7vPjZtWJ91VFkr0BDHfAceEEN3nT262I6Xe93w2smLH6vdmIkZ0k70B?= =?us-ascii?Q?ca6rad+TnAVyUxRocSj624PbRkYrJegW16fZ9/TSisXjVGW1Rgzhi6TcO3mn?= =?us-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g9Vm5dn6iRPNE9jNYfx8126EXKRPmlZFMN9W91zwZY+qTWCEvBxfZYzs0olRsLAMsIkIrLgtsY9hooawQC3TCb8s71u+ZQja8vqTMV5bWHbz69FAvlHU5ddyxHWIOxTEkhw; 24:uAFh3Bgrweefj9GxmaHIAuAAGbJBMz3Kd92cmFByiEpbNNF+EvoNk9SvucadpWPQKP/5WiE4JWcHWAjra+NXP5VFe+szkQ6lM3SV4s8cWAk= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BLUPR05MB753; 7:E8tbxogjdu0Ux+L6cOp5E8DIPtp0B/1/YY9R0DfQ5bNhfNaQhSjN5AVpppwNJD1xo0lDDkjFbGtpveYcLl4FOg0nifEVZVsgqTWl/6g+8L+SjdEfwEN8HeRQXdzl4vYmAC8l77R3PvkKMmAOT7h2zzFTlvR+2Myv8S/OREuKR8DqWKQfOxtiHmDwfFU+p61AL4vAvwMAo75eUzJpYwhEpzXCrtVL2NgSxCVAEroYxtqiji38DGiQaGPEz40Dh6IEHAzBuUdHS22JkTLW0mjOdLInS9VtrLawjkRh6iAfbszFWOZhVNhuXxpezzKVslL2FCnSPJU1WGh3UZNflTceGw==; 20:4Dbux66p23eWzY52tPTKZtG67nhgxtmYMh8ub3STiuJXmjV+BDKvnHa0u+Z/+uhnSEsV0zbN7UN5hSzIKBYvDKSuku+s4ytpLv04cDSOZ3UedXr7HrJuuvRVjERs+XZy2xDYfpr0Wigkog0A4XaKXEanp7JvU6BvAeYd0bNS0i4= X-OriginatorOrg: vmware.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Jun 2017 13:25:00.2197 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR05MB753 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development <dri-devel.lists.freedesktop.org> List-Unsubscribe: <https://lists.freedesktop.org/mailman/options/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=unsubscribe> List-Archive: <https://lists.freedesktop.org/archives/dri-devel> List-Post: <mailto:dri-devel@lists.freedesktop.org> List-Help: <mailto:dri-devel-request@lists.freedesktop.org?subject=help> List-Subscribe: <https://lists.freedesktop.org/mailman/listinfo/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" <dri-devel-bounces@lists.freedesktop.org> X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c b/drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c index bad31bd..60ace30 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c @@ -1355,6 +1355,11 @@ vmw_stdu_primary_plane_atomic_update(struct drm_plane *plane, DRM_ERROR("Failed to bind surface to STDU.\n"); else crtc->primary->fb = plane->state->fb; + + ret = vmw_stdu_update_st(dev_priv, stdu); + + if (ret) + DRM_ERROR("Failed to update STDU.\n"); }