From patchwork Thu Jun 20 10:55:23 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: BALATON Zoltan X-Patchwork-Id: 1119398 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=eik.bme.hu Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 45V0Vm2YXfz9s4Y for ; Thu, 20 Jun 2019 21:50:08 +1000 (AEST) Received: from localhost ([::1]:46538 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hdvZu-0008MJ-DB for incoming@patchwork.ozlabs.org; Thu, 20 Jun 2019 07:50:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55149) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hdvYa-000846-Kb for qemu-devel@nongnu.org; Thu, 20 Jun 2019 07:48:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hdvT4-00009z-Dg for qemu-devel@nongnu.org; Thu, 20 Jun 2019 07:43:03 -0400 Received: from zero.eik.bme.hu ([2001:738:2001:2001::2001]:12599) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hduqT-0008OG-Lf for qemu-devel@nongnu.org; Thu, 20 Jun 2019 07:03:09 -0400 Received: from zero.eik.bme.hu (blah.eik.bme.hu [152.66.115.182]) by localhost (Postfix) with SMTP id 760017462E0; Thu, 20 Jun 2019 13:02:49 +0200 (CEST) Received: by zero.eik.bme.hu (Postfix, from userid 432) id 569D37456B8; Thu, 20 Jun 2019 13:02:49 +0200 (CEST) Message-Id: From: BALATON Zoltan Date: Thu, 20 Jun 2019 12:55:23 +0200 Date: Thu, 20 Jun 2019 12:55:23 +0200 MIME-Version: 1.0 To: qemu-devel@nongnu.org X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2001:738:2001:2001::2001 Subject: [Qemu-devel] [PATCH v5 0/2] ati-vga: Implement DDC and EDID info from monitor X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Corey Minyard , Gerd Hoffmann Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" Version 5 Works with ATI MacOS NDRV, MorphOS and Linux radeonfb so hopefully this is good enough for now (each of these access DDC bits slightly differently). Version 4 try to fix an ASan warning about leaking bitbang_i2c. Version 3 keeps bitbang_i2c.h and moves it to include/hw/i2c/ otherwise same as version 2. BALATON Zoltan (2): i2c: Move bitbang_i2c.h to include/hw/i2c/ ati-vga: Implement DDC and EDID info from monitor hw/display/Kconfig | 2 ++ hw/display/ati.c | 60 ++++++++++++++++++++++++++++++++++-- hw/display/ati_int.h | 5 +++ hw/display/ati_regs.h | 2 ++ hw/i2c/bitbang_i2c.c | 2 +- hw/i2c/ppc4xx_i2c.c | 1 - hw/i2c/versatile_i2c.c | 2 +- {hw => include/hw}/i2c/bitbang_i2c.h | 2 ++ include/hw/i2c/i2c.h | 2 -- include/hw/i2c/ppc4xx_i2c.h | 2 +- 10 files changed, 72 insertions(+), 8 deletions(-) rename {hw => include/hw}/i2c/bitbang_i2c.h (80%)