From patchwork Fri Oct 12 02:06:00 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Clark X-Patchwork-Id: 1584951 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by patchwork2.kernel.org (Postfix) with ESMTP id 7F55EDFABE for ; Fri, 12 Oct 2012 02:12:25 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 768A4A0C3E for ; Thu, 11 Oct 2012 19:12:25 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-oa0-f49.google.com (mail-oa0-f49.google.com [209.85.219.49]) by gabe.freedesktop.org (Postfix) with ESMTP id 522BD9E826 for ; Thu, 11 Oct 2012 19:06:22 -0700 (PDT) Received: by mail-oa0-f49.google.com with SMTP id l10so2550127oag.36 for ; Thu, 11 Oct 2012 19:06:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references; bh=qKBYBYti5xekUNAdBd38p0hwIQgcCr0ytsNkZgn3Mos=; b=Z1FUhKMGjPjQENqrQItJIZ8YCRi9imHoYhSjcyI3/4LdCFlaKUYHWYT9ONIYe9edto 82ySIIExfhxikhsh541oI3YhWIjM9X/qd8npb5t2Wx5tQQoiv/KX4I0xRNWZpb5QCZ5D ycdyG3v98Jp4Los8vvy0GCbeW8Ipx0k2N43nL/XZd+U3URnOq+sfh4llOAs+A/oJJZcD M4Xc6zbkygAfMBbXD5BYMxGG2+DnGT8/A1jIMrYL4xzxXTmYxy3RP5mGPAgbOg6r9bGJ /hGJ/51vi6DJId0ZUT7GImv75KC2H84CrOYvJtb/FeLTGx2jxhVQG3/pXVt22gySGsOS +uyw== Received: by 10.60.1.40 with SMTP id 8mr381769oej.55.1350007582784; Thu, 11 Oct 2012 19:06:22 -0700 (PDT) Received: from localhost (ppp-70-129-143-201.dsl.rcsntx.swbell.net. [70.129.143.201]) by mx.google.com with ESMTPS id 3sm4388741oee.13.2012.10.11.19.06.21 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 11 Oct 2012 19:06:22 -0700 (PDT) From: Rob Clark To: dri-devel@lists.freedesktop.org Subject: [PATCH 7/9] drm/vmwgfx: drm_connector_property -> drm_object_property Date: Thu, 11 Oct 2012 21:06:00 -0500 Message-Id: <1350007562-22323-8-git-send-email-rob.clark@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1350007562-22323-1-git-send-email-rob.clark@linaro.org> References: <1350007562-22323-1-git-send-email-rob.clark@linaro.org> Cc: patches@linaro.org, daniel.vetter@ffwll.ch, laurent.pinchart@ideasonboard.com, alexander.deucher@amd.com, Rob Clark , alan@linux.intel.com, bskeggs@redhat.com X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org Errors-To: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org From: Rob Clark Signed-off-by: Rob Clark --- drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c | 2 +- drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c b/drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c index 070fb23..79f7e8e 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c @@ -373,7 +373,7 @@ static int vmw_ldu_init(struct vmw_private *dev_priv, unsigned unit) drm_mode_crtc_set_gamma_size(crtc, 256); - drm_connector_attach_property(connector, + drm_object_attach_property(&connector->base, dev->mode_config.dirty_info_property, 1); diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c b/drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c index 6deaf2f..25d602f 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c @@ -468,7 +468,7 @@ static int vmw_sou_init(struct vmw_private *dev_priv, unsigned unit) drm_mode_crtc_set_gamma_size(crtc, 256); - drm_connector_attach_property(connector, + drm_object_attach_property(&connector->base, dev->mode_config.dirty_info_property, 1);