From patchwork Mon Aug 27 12:37:51 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Juha-Pekka Heikkila X-Patchwork-Id: 10577053 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9DDB417DB for ; Mon, 27 Aug 2018 12:38:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8B7E62941A for ; Mon, 27 Aug 2018 12:38:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7D8152941E; Mon, 27 Aug 2018 12:38:12 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED 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 37CB72941A for ; Mon, 27 Aug 2018 12:38:12 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 70DF76E22E; Mon, 27 Aug 2018 12:38:10 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-pg1-x542.google.com (mail-pg1-x542.google.com [IPv6:2607:f8b0:4864:20::542]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9018A6E22E for ; Mon, 27 Aug 2018 12:38:09 +0000 (UTC) Received: by mail-pg1-x542.google.com with SMTP id u10-v6so5665839pgr.1 for ; Mon, 27 Aug 2018 05:38:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=PyJds8DC5f7AHEP7hnBY2LntMbHSgek2mdzVCoU3K0s=; b=PG/nk4squ35Kqt593/HpizYJJ6yLmDiAQiW0Dt+WELj3NrGyI445jT4bTQh41/hwTj O4IrQbE6ib4Tjy9hFrET6t4VSlbHqpr/a8FjfdRFIs/IIL/eSdl6LE6Mr4kwmRLhdiXx +G4K19LdqenYp+pX8TsDwe+Y2SpLaLiLOsTWxftJlltISaq5kKJ5RvCEJW9EUH6HSx2I l0/dFyJpvv5/yM+TFbpNYPXrWEaLwwZmkJGr4FzvW2y4IjXTAChtoV4JAoQ2i3pUg8z6 tPncNYbacDV+wdJ7drqw3ksxUUpzW1Qd9uxudc6OXLZ8nqjnGoSEDRcvhT6VdTbZUDGK YZ+A== X-Gm-Message-State: APzg51BftLInpAYOgh4zZYE/m0CNkjhK7wmZHdFAQFfXJuXvoGS5kZDE l3IM/3jE01Pv18HAdHjdcvtPqMSJNhs= X-Google-Smtp-Source: ANB0VdamUbku0C3/taIO4qctODYc4YHaf9J+rlNZtiyitIPRvM5VwYLoZpDbHyc9Hy8a26EDTIZduQ== X-Received: by 2002:a63:941:: with SMTP id 62-v6mr12444032pgj.132.1535373488872; Mon, 27 Aug 2018 05:38:08 -0700 (PDT) Received: from jheikkil-mobl.fi.intel.com (fmdmzpr04-ext.fm.intel.com. [192.55.54.39]) by smtp.gmail.com with ESMTPSA id j5-v6sm19262476pff.139.2018.08.27.05.38.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 27 Aug 2018 05:38:08 -0700 (PDT) From: Juha-Pekka Heikkila To: intel-gfx@lists.freedesktop.org Date: Mon, 27 Aug 2018 15:37:51 +0300 Message-Id: <1535373473-3594-1-git-send-email-juhapekka.heikkila@gmail.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Subject: [Intel-gfx] [PATCH 0/2] Enable RGB565 rotation from gen11 onwards X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Virus-Scanned: ClamAV using ClamSMTP These patches enable RGB565 format to be rotated 90 and 270 degrees on gen11 and later. Related changes to IGT here: https://patchwork.freedesktop.org/series/48756/ /Juha-Pekka Juha-Pekka Heikkila (2): drm/i915: Move 90/270 rotation validity check into its own function drm/i915: Enable RGB565 90/270 plane rotation for gen11 onwards. drivers/gpu/drm/i915/intel_atomic_plane.c | 75 ++++++++++++++++++------------- 1 file changed, 45 insertions(+), 30 deletions(-)