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: 12177 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id BE28023E57 for ; Fri, 12 Oct 2012 02:06:23 +0000 (UTC) Received: from mail-ie0-f180.google.com (mail-ie0-f180.google.com [209.85.223.180]) by fiordland.canonical.com (Postfix) with ESMTP id 7212AA1937E for ; Fri, 12 Oct 2012 02:06:23 +0000 (UTC) Received: by mail-ie0-f180.google.com with SMTP id e10so4021144iej.11 for ; Thu, 11 Oct 2012 19:06:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf :dkim-signature:sender:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:x-gm-message-state; bh=qKBYBYti5xekUNAdBd38p0hwIQgcCr0ytsNkZgn3Mos=; b=MKQNMRIbnkAygks7sdmMje239L3m30YITcKo0yCZzrunCoo4cLTg6YHmDJMTR/oHRr XP390N+O7Exl4Tetf64nv6gTsYVc0az1RSu6s0mxF55m2mHGw1N2+NW9VC4qBVH0j8g0 arnLtI6DOn5aQlc+bCp87j0zwCntUyG+zgs8/KgmpUu83AxUofhttuBY9+u7HHZaXGEG hndku87QWpRGe570neP4sz5vxFsZZAiXrbNjEbB7UwR1WMglSg2+3JRe7bVkHfZ46aCX d5Fu/IlWsdiLxP4hRbB5yib+37utbwZhM9LVOQUUBVzwB41rkbh0FWFcusk+HkBhCH6G xzOA== Received: by 10.42.145.66 with SMTP id e2mr2354505icv.18.1350007583264; Thu, 11 Oct 2012 19:06:23 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.50.67.148 with SMTP id n20csp132374igt; Thu, 11 Oct 2012 19:06:23 -0700 (PDT) Received: by 10.60.170.43 with SMTP id aj11mr2392814oec.71.1350007582896; Thu, 11 Oct 2012 19:06:22 -0700 (PDT) Received: from mail-ob0-f178.google.com (mail-ob0-f178.google.com [209.85.214.178]) by mx.google.com with ESMTPS id ym2si6674359obb.105.2012.10.11.19.06.22 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 11 Oct 2012 19:06:22 -0700 (PDT) Received-SPF: pass (google.com: domain of robdclark@gmail.com designates 209.85.214.178 as permitted sender) client-ip=209.85.214.178; Authentication-Results: mx.google.com; spf=pass (google.com: domain of robdclark@gmail.com designates 209.85.214.178 as permitted sender) smtp.mail=robdclark@gmail.com; dkim=pass header.i=@gmail.com Received: by mail-ob0-f178.google.com with SMTP id tb18so2949241obb.37 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) Sender: Rob Clark From: Rob Clark To: dri-devel@lists.freedesktop.org Cc: patches@linaro.org, airlied@linux.ie, daniel.vetter@ffwll.ch, bskeggs@redhat.com, laurent.pinchart@ideasonboard.com, alexander.deucher@amd.com, alan@linux.intel.com, jakob@vmware.com, Rob Clark 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> X-Gm-Message-State: ALoCoQkKjpBYyzlPg90JyPjJ2sX/JSEPhLCu6DY5Wu8YydfazpaRmYmJjMlXxI2qgDHQcYLomjGH 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);