From patchwork Wed Mar 5 10:56:30 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: sagar.a.kamble@intel.com X-Patchwork-Id: 3772791 Return-Path: X-Original-To: patchwork-intel-gfx@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 68A59BF13A for ; Wed, 5 Mar 2014 10:56:08 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B677420222 for ; Wed, 5 Mar 2014 10:56:06 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id F1A1320211 for ; Wed, 5 Mar 2014 10:56:04 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id AC825FA361; Wed, 5 Mar 2014 02:56:03 -0800 (PST) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by gabe.freedesktop.org (Postfix) with ESMTP id 1F746FA361 for ; Wed, 5 Mar 2014 02:56:02 -0800 (PST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP; 05 Mar 2014 02:51:34 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.97,592,1389772800"; d="scan'208";a="466972956" Received: from sagar-desktop.iind.intel.com ([10.223.82.31]) by orsmga001.jf.intel.com with ESMTP; 05 Mar 2014 02:55:33 -0800 From: sagar.a.kamble@intel.com To: intel-gfx@lists.freedesktop.org Date: Wed, 5 Mar 2014 16:26:30 +0530 Message-Id: <1394016990-5218-1-git-send-email-sagar.a.kamble@intel.com> X-Mailer: git-send-email 1.8.5 MIME-Version: 1.0 Cc: Laurent Pinchart , linux-doc@vger.kernel.org, Daniel Vetter , Rob Landley , David Herrmann , Alex Deucher , Dave Airlie , Sagar Kamble Subject: [Intel-gfx] [PATCH 1/1] Documentation: drm: describing drm properties exposed by various drivers X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces@lists.freedesktop.org Errors-To: intel-gfx-bounces@lists.freedesktop.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Sagar Kamble Started documenting drm properties for drm drivers. This patch provides information about properties in drm, i915, psb and cdv/gma-500. Information about other properties can be added on top of these. Cc: Rob Landley Cc: Dave Airlie Cc: Daniel Vetter Cc: Laurent Pinchart Cc: David Herrmann Cc: Alex Deucher Cc: "Ville Syrjälä" Cc: Sagar Kamble Cc: "Purushothaman, Vijay A" Cc: linux-doc@vger.kernel.org Signed-off-by: Sagar Kamble --- Documentation/DocBook/drm.tmpl | 606 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 606 insertions(+) diff --git a/Documentation/DocBook/drm.tmpl b/Documentation/DocBook/drm.tmpl index ed1d6d2..e15ba97 100644 --- a/Documentation/DocBook/drm.tmpl +++ b/Documentation/DocBook/drm.tmpl @@ -2317,6 +2317,612 @@ void intel_crt_init(struct drm_device *dev) pointer to the target object, a pointer to the previously created property and an initial instance value. + + Following table gives description of drm properties exposed by various + modules/drivers. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Owner Module/DriversGroupProperty ObjectProperty NameTypeProperty ValuesObject attachedDescription
DRMGeneric Propertiesedid_property“EDID”DRM_MODE_PROP_BLOB | DRM_MODE_PROP_IMMUTABLE0ConnectorContains id of edid blob ptr object.
dpms_property“DPMS”DRM_MODE_PROP_ENUM{ DRM_MODE_DPMS_ON, “On”}, +{ DRM_MODE_DPMS_STANDBY, “Standby”}, +{ DRM_MODE_DPMS_SUSPEND, “Suspend”}, +{ DRM_MODE_DPMS_OFF, “Off”}ConnectorContains DPMS operation mode value.
DVI-I Propertiesdvi_i_subconnector_property“subconnector”DRM_MODE_PROP_ENUM{ DRM_MODE_SUBCONNECTOR_Unknown, “Unknown”}, +{ DRM_MODE_SUBCONNECTOR_DVID, “DVI-D”}, +{ DRM_MODE_SUBCONNECTOR_DVIA, “DVI-A”}ConnectorTBD
dvi_i_select_subconnector_property“select subconnector”DRM_MODE_PROP_ENUM{ DRM_MODE_SUBCONNECTOR_Automatic, “Automatic”}, +{ DRM_MODE_SUBCONNECTOR_DVID, “DVI-D”}, +{ DRM_MODE_SUBCONNECTOR_DVIA, “DVI-A”}ConnectorTBD
TV Propertiestv_subconnector_property“subconnector”DRM_MODE_PROP_ENUM{ DRM_MODE_SUBCONNECTOR_Unknown, "Unknown"}, +{ DRM_MODE_SUBCONNECTOR_Composite, "Composite" }, +{ DRM_MODE_SUBCONNECTOR_SVIDEO, "SVIDEO"}, +{ DRM_MODE_SUBCONNECTOR_Component , "Component"}, +{ DRM_MODE_SUBCONNECTOR_SCART, "SCART"}ConnectorTBD
tv_select_subconnector_property“select subconnector”DRM_MODE_PROP_ENUM{DRM_MODE_SUBCONNECTOR_Automatic, "Automatic"}, +{DRM_MODE_SUBCONNECTOR_Composite, "Composite"}, +{DRM_MODE_SUBCONNECTOR_SVIDEO, "SVIDEO"}, +{DRM_MODE_SUBCONNECTOR_Component, "Component"}, +{DRM_MODE_SUBCONNECTOR_SCART, "SCART"}ConnectorTBD
tv_mode_property“mode”DRM_MODE_PROP_ENUM{0, "NTSC_M"} , {1, "NTSC_J"} , + +{2, "NTSC_443"}, {3, "PAL_B"} etc.ConnectorTBD
tv_left_margin_property“left margin”DRM_MODE_PROP_RANGEMin=0, Max=100ConnectorTBD
tv_right_margin_property“right margin”DRM_MODE_PROP_RANGEMin=0, Max=100ConnectorTBD
tv_top_margin_property“top margin”DRM_MODE_PROP_RANGEMin=0, Max=100ConnectorTBD
tv_bottom_margin_property“bottom margin”DRM_MODE_PROP_RANGEMin=0, Max=100ConnectorTBD
tv_brightness_property“brightness”DRM_MODE_PROP_RANGEMin=0, Max=100ConnectorTBD
tv_contrast_property“contrast”DRM_MODE_PROP_RANGEMin=0, Max=100ConnectorTBD
tv_flicker_reduction_property“flicker reduction”DRM_MODE_PROP_RANGEMin=0, Max=100ConnectorTBD
tv_overscan_property“overscan”DRM_MODE_PROP_RANGEMin=0, Max=100ConnectorTBD
tv_saturation_property“saturation”DRM_MODE_PROP_RANGEMin=0, Max=100ConnectorTBD
tv_hue_property“hue”DRM_MODE_PROP_RANGEMin=0, Max=100ConnectorTBD
Optional Propertiesscaling_mode_property“scaling mode”DRM_MODE_PROP_ENUM{ DRM_MODE_SCALE_NONE, "None" }, +{ DRM_MODE_SCALE_FULLSCREEN, "Full" }, +{ DRM_MODE_SCALE_CENTER, "Center" }, +{ DRM_MODE_SCALE_ASPECT, "Full aspect" }ConnectorTBD
dirty_info_property“dirty”DRM_MODE_PROP_ENUM | DRM_MODE_PROP_IMMUTABLE{ DRM_MODE_DIRTY_OFF, "Off" }, +{ DRM_MODE_DIRTY_ON, "On" }, +{ DRM_MODE_DIRTY_ANNOTATE, "Annotate" }ConnectorTBD
i915Genericbroadcast_rgb_property"Broadcast RGB"DRM_MODE_PROP_ENUM{ INTEL_BROADCAST_RGB_AUTO, "Automatic" }, +{ INTEL_BROADCAST_RGB_FULL, "Full" }, +{ INTEL_BROADCAST_RGB_LIMITED, "Limited 16:235" }ConnectorTBD
force_audio_property“audio”DRM_MODE_PROP_ENUM{ HDMI_AUDIO_OFF_DVI, "force-dvi" }, +{ HDMI_AUDIO_OFF, "off" }, +{ HDMI_AUDIO_AUTO, "auto" }, +{ HDMI_AUDIO_ON, "on" }ConnectorTBD
SDVO-TVtv_format“mode”DRM_MODE_PROP_ENUM{0, "NTSC_M"} , {1, "NTSC_J"} , +{2, "NTSC_443"}, {3, "PAL_B"} etc.ConnectorTBD
left"left_margin"DRM_MODE_PROP_RANGEMin=0, Max= SDVO dependentConnectorTBD
right"right_margin"DRM_MODE_PROP_RANGEMin=0, Max= SDVO dependentConnectorTBD
top"top_margin"DRM_MODE_PROP_RANGEMin=0, Max= SDVO dependentConnectorTBD
bottom"bottom_margin"DRM_MODE_PROP_RANGEMin=0, Max= SDVO dependentConnectorTBD
hpos“hpos”DRM_MODE_PROP_RANGEMin=0, Max= SDVO dependentConnectorTBD
vpos“vpos”DRM_MODE_PROP_RANGEMin=0, Max= SDVO dependentConnectorTBD
contrast“contrast”DRM_MODE_PROP_RANGEMin=0, Max= SDVO dependentConnectorTBD
saturation“saturation”DRM_MODE_PROP_RANGEMin=0, Max= SDVO dependentConnectorTBD
hue“hue”DRM_MODE_PROP_RANGEMin=0, Max= SDVO dependentConnectorTBD
sharpness“sharpness”DRM_MODE_PROP_RANGEMin=0, Max= SDVO dependentConnectorTBD
flicker_filter“flicker_filter”DRM_MODE_PROP_RANGEMin=0, Max= SDVO dependentConnectorTBD
flicker_filter_adaptive“flicker_filter_adaptive”DRM_MODE_PROP_RANGEMin=0, Max= SDVO dependentConnectorTBD
flicker_filter_2d“flicker_filter_2d”DRM_MODE_PROP_RANGEMin=0, Max= SDVO dependentConnectorTBD
tv_chroma_filter“tv_chroma_filter”DRM_MODE_PROP_RANGEMin=0, Max= SDVO dependentConnectorTBD
tv_luma_filter“tv_luma_filter”DRM_MODE_PROP_RANGEMin=0, Max= SDVO dependentConnectorTBD
dot_crawl“dot_crawl”DRM_MODE_PROP_RANGEMin=0, Max=1ConnectorTBD
SDVO-TV/LVDSbrightness“brightness”DRM_MODE_PROP_RANGEMin=0, Max= SDVO dependentConnectorTBD
CDV gma-500Genericbroadcast_rgb_property"Broadcast RGB"DRM_MODE_PROP_ENUM{ 0, “Full”}, +{ 1, “Limited 16:235”}ConnectorTBD
force_audio_property"Broadcast RGB"DRM_MODE_PROP_ENUM{ -1, “off”}, +{ 0, “auto”}, +{ 1, “on”}ConnectorTBD
PoulsboGenericbacklight_property“backlight”DRM_MODE_PROP_RANGEMin=0, Max=100ConnectorTBD
SDVO-TVtv_format“mode”DRM_MODE_PROP_ENUM{0, "NTSC_M"} , {1, "NTSC_J"} , +{2, "NTSC_443"}, {3, "PAL_B"} etc.ConnectorTBD
left"left_margin"DRM_MODE_PROP_RANGEMin=0, Max= SDVO dependentConnectorTBD
right"right_margin"DRM_MODE_PROP_RANGEMin=0, Max= SDVO dependentConnectorTBD
top"top_margin"DRM_MODE_PROP_RANGEMin=0, Max= SDVO dependentConnectorTBD
bottom"bottom_margin"DRM_MODE_PROP_RANGEMin=0, Max= SDVO dependentConnectorTBD
hpos“hpos”DRM_MODE_PROP_RANGEMin=0, Max= SDVO dependentConnectorTBD
vpos“vpos”DRM_MODE_PROP_RANGEMin=0, Max= SDVO dependentConnectorTBD
contrast“contrast”DRM_MODE_PROP_RANGEMin=0, Max= SDVO dependentConnectorTBD
saturation“saturation”DRM_MODE_PROP_RANGEMin=0, Max= SDVO dependentConnectorTBD
hue“hue”DRM_MODE_PROP_RANGEMin=0, Max= SDVO dependentConnectorTBD
sharpness“sharpness”DRM_MODE_PROP_RANGEMin=0, Max= SDVO dependentConnectorTBD
flicker_filter“flicker_filter”DRM_MODE_PROP_RANGEMin=0, Max= SDVO dependentConnectorTBD
flicker_filter_adaptive“flicker_filter_adaptive”DRM_MODE_PROP_RANGEMin=0, Max= SDVO dependentConnectorTBD
flicker_filter_2d“flicker_filter_2d”DRM_MODE_PROP_RANGEMin=0, Max= SDVO dependentConnectorTBD
tv_chroma_filter“tv_chroma_filter”DRM_MODE_PROP_RANGEMin=0, Max= SDVO dependentConnectorTBD
tv_luma_filter“tv_luma_filter”DRM_MODE_PROP_RANGEMin=0, Max= SDVO dependentConnectorTBD
dot_crawl“dot_crawl”DRM_MODE_PROP_RANGEMin=0, Max=1ConnectorTBD
SDVO-TV/LVDSbrightness“brightness”DRM_MODE_PROP_RANGEMin=0, Max= SDVO dependentConnectorTBD