Received: by 10.192.165.148 with SMTP id m20csp581496imm; Wed, 25 Apr 2018 04:38:40 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+gJruwFQLIE8If0FqvH5m52Q3euOURH4bcYl+BfdjeohpksDR0zpb4gudtVAVDGKn5MuZQ X-Received: by 2002:a17:902:e8:: with SMTP id a95-v6mr28783631pla.274.1524656320647; Wed, 25 Apr 2018 04:38:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524656320; cv=none; d=google.com; s=arc-20160816; b=hiDRaMKmcK+NVCeYrnXG6E77gs4aCViJ5LzdEcZ0yyUGVEv6u6xpqLVcWMgPK+JeDD /5imGPFdmLgo3fDuac3VigaPAU42fbiiwhww0u6uCKo1TyR3bnn+4h5DJrWixSDBQrTe oX604cFF1EpLCmTvnzKw5ax2i73LG5osPwQhh2d9dsBgzCI0L+IFvLn0SaEep1nQ71A9 yTH7tW6fQT7/KWBDDY/TKFVIEOvpTxPJwEDVHUkw5Ld+h/zj9JXhcwqfHXOyVB6aBqPf AjzTpYCYl2fNKdzIDk44uOmK303zqBPFmro1XkOdJERDYyz/5b3ONPK+7n8yeEk/5D+o gMiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=rdw3p/017rlzCcGRFDGPKWviFQNzHVWF2/+RA/U0PzE=; b=KgiKPfvB/9/a1xN4vKXtY0O7zWys0NMhvA4YtPlWU2/41v5WoKtTPAs599mA3E08od J7EeyCqqowVGAX/w2RMGVqHekJAXrXu0L9JoEedCJHQhwgDPgfGUJmCtSTOrSy8FSa70 0V3bAIgrHDgap02cw5YGqgL19+MyuPvEIAaIGTIB+rYwqyosav4NCUDrhechc/gXluL8 k8lsay41Kg8wwYUW7ugX3BCRaj2wyb4THjPkakGxyzWyDvhB6H/bhCmObC4VDOtG1O/e mCIsjbCQPl45KiicUAuZKmYaJuzqWrfly2Erx0LZ539MbN5GCcAAonHJYSHxT4a69fXy WnSQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n28si4712282pfh.210.2018.04.25.04.38.26; Wed, 25 Apr 2018 04:38:40 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752831AbeDYLgj (ORCPT + 99 others); Wed, 25 Apr 2018 07:36:39 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:50740 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751264AbeDYKd5 (ORCPT ); Wed, 25 Apr 2018 06:33:57 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 80C0F480; Wed, 25 Apr 2018 10:33:56 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Tina Zhang , Zhenyu Wang Subject: [PATCH 4.16 11/26] drm/i915/gvt: Add drm_format_mod update Date: Wed, 25 Apr 2018 12:33:20 +0200 Message-Id: <20180425103315.298043392@linuxfoundation.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180425103314.842517924@linuxfoundation.org> References: <20180425103314.842517924@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.16-stable review patch. If anyone has any objections, please let me know. ------------------ From: Tina Zhang commit 10996f802109c83421ca30556cfe36ffc3bebae3 upstream. Add drm_format_mod update, which is omitted. Fixes: e546e281("drm/i915/gvt: Dmabuf support for GVT-g") Cc: stable@vger.kernel.org Signed-off-by: Tina Zhang Signed-off-by: Zhenyu Wang Signed-off-by: Greg Kroah-Hartman --- drivers/gpu/drm/i915/gvt/dmabuf.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/gpu/drm/i915/gvt/dmabuf.c +++ b/drivers/gpu/drm/i915/gvt/dmabuf.c @@ -323,6 +323,7 @@ static void update_fb_info(struct vfio_d struct intel_vgpu_fb_info *fb_info) { gvt_dmabuf->drm_format = fb_info->drm_format; + gvt_dmabuf->drm_format_mod = fb_info->drm_format_mod; gvt_dmabuf->width = fb_info->width; gvt_dmabuf->height = fb_info->height; gvt_dmabuf->stride = fb_info->stride;