From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2607:f8b0:400e:c01::22c; helo=mail-pl0-x22c.google.com; envelope-from=heyi.guo@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-pl0-x22c.google.com (mail-pl0-x22c.google.com [IPv6:2607:f8b0:400e:c01::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id DAE822214673B for ; Mon, 26 Mar 2018 01:19:36 -0700 (PDT) Received: by mail-pl0-x22c.google.com with SMTP id w12-v6so11510265plp.4 for ; Mon, 26 Mar 2018 01:26:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=17KRWnW6e4pYlTjeb69DvH2Z37A+iUIdq9UdmLdpLIY=; b=J55rMgYLrG0wvd1dqTAgtbaP4cOpT05DbME/cM9sa4t+RzYfMhe3WMlPze1SF36eHp F1H8WVijq2TpHHtr3pWDRs27lQa5aSoOTx60t7xmtGcHN8gBokx7bxPppLI89mkDt9uK rFYAjy6AA+7Wh9kaN7Z/MNcfgPsetthNkqLrg= 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; bh=17KRWnW6e4pYlTjeb69DvH2Z37A+iUIdq9UdmLdpLIY=; b=pwSG5ZCRBWd9weyy+jODPBm5Wy5rGIsEZmCKb6lGalRaqjZal+dqcE9gBUw22ErMYN xoShMAeyPi2IITM+1iFP/mMA+3OaV47GUuKfixf/foYmoqy/A54cFH3Q/uauCL8FYKfz zqH8GscL6YMiH6LemUHD6J79PvnBjT09JyJgPMC9IJ80YYpA0EsMU/1bI7qiUXYjY3CG f9zFUaDjJEpv6Rr96RicdemkUC132DindkJoxr5ky5aIY9mntIFKKa6kk2HD7NBhMuXB nTUHem/xuRSxgIyL7AffNBFtpGxstYc242YsQkV/lmPwV6bpkGBzp6cnoLJ0nGsa+Ena uo0w== X-Gm-Message-State: AElRT7Hc+WSGzupA2pcAA8+0qMFPFGbLM//YWk2R3lfnFgYLKNb4EdPO Xl14vuKRKZ+ylgl3oWg14wHYIeHlStE= X-Google-Smtp-Source: AIpwx4+F4jcCSGaLNQoJEDCjVg0RYr+Lup8FLpp5fFhEkw9NBl15itTN5s5/Rk8P5jGS8S0BN2TWWw== X-Received: by 2002:a17:902:b08f:: with SMTP id p15-v6mr532325plr.117.1522052772096; Mon, 26 Mar 2018 01:26:12 -0700 (PDT) Received: from localhost.localdomain ([104.237.91.79]) by smtp.gmail.com with ESMTPSA id q87sm32735249pfa.29.2018.03.26.01.26.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 26 Mar 2018 01:26:11 -0700 (PDT) From: Heyi Guo To: edk2-devel@lists.01.org Cc: Heyi Guo , Ard Biesheuvel , Leif Lindholm , Michael D Kinney Date: Mon, 26 Mar 2018 16:25:34 +0800 Message-Id: <1522052735-68033-1-git-send-email-heyi.guo@linaro.org> X-Mailer: git-send-email 2.7.4 Subject: [PATCH edk2-non-osi v2 0/1] Hisilicon/D0x/Sm750: Fix GOP framebuffer X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Mar 2018 08:19:37 -0000 The code in SM750 driver treated the address returned from PciIo->GetBarAttributes() as device address; this should be fixed after edk2 commit dc080d3 since GetBarAttributes() returns host address from then on. Binaries for D03 and D05 are also be unified after using null DebugLib. Binary files can be fetched from: https://github.com/iwishguo/edk2-non-osi/tree/patch-sm750-fix-v2 v2: - Unify binary files for D03 and D05 [Ard] Cc: Ard Biesheuvel Cc: Leif Lindholm Cc: Michael D Kinney Heyi Guo (1): Hisilicon/Sm750Dxe: Unify binary and fix GOP frame buffer base Platform/Hisilicon/D03/Drivers/Sm750Dxe/UefiSmi.inf | 32 -------------------- Platform/Hisilicon/{D05 => }/Drivers/Sm750Dxe/UefiSmi.inf | 0 Platform/Hisilicon/D03/Drivers/Sm750Dxe/SmiGraphicsOutput.efi | Bin 17728 -> 0 bytes Platform/Hisilicon/D05/Drivers/Sm750Dxe/SmiGraphicsOutput.efi | Bin 18592 -> 0 bytes Platform/Hisilicon/Drivers/Sm750Dxe/SmiGraphicsOutput.efi | Bin 0 -> 17760 bytes 5 files changed, 32 deletions(-) delete mode 100644 Platform/Hisilicon/D03/Drivers/Sm750Dxe/UefiSmi.inf rename Platform/Hisilicon/{D05 => }/Drivers/Sm750Dxe/UefiSmi.inf (100%) delete mode 100644 Platform/Hisilicon/D03/Drivers/Sm750Dxe/SmiGraphicsOutput.efi delete mode 100644 Platform/Hisilicon/D05/Drivers/Sm750Dxe/SmiGraphicsOutput.efi create mode 100644 Platform/Hisilicon/Drivers/Sm750Dxe/SmiGraphicsOutput.efi -- 2.7.4