[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201511172129.n0EAEWXE%fengguang.wu@intel.com>
Date: Tue, 17 Nov 2015 21:13:26 +0800
From: kbuild test robot <lkp@...el.com>
To: John Keeping <john@...anate.com>
Cc: kbuild-all@...org, David Airlie <airlied@...ux.ie>,
dri-devel@...ts.freedesktop.org, linux-kernel@...r.kernel.org,
John Keeping <john@...anate.com>
Subject: Re: [PATCH] drm: support hotspot for universal plane cursors
Hi John,
[auto build test WARNING on drm/drm-next]
[also build test WARNING on v4.4-rc1 next-20151117]
url: https://github.com/0day-ci/linux/commits/John-Keeping/drm-support-hotspot-for-universal-plane-cursors/20151117-203428
base: git://people.freedesktop.org/~airlied/linux.git drm-next
reproduce: make htmldocs
All warnings (new ones prefixed by >>):
drivers/gpu/drm/i915/i915_irq.c:2584: warning: No description found for parameter 'wedged'
drivers/gpu/drm/i915/i915_irq.c:2584: warning: No description found for parameter 'fmt'
include/drm/drm_crtc.h:310: warning: No description found for parameter 'mode_blob'
>> include/drm/drm_crtc.h:481: warning: No description found for parameter 'hot_x'
>> include/drm/drm_crtc.h:481: warning: No description found for parameter 'hot_y'
include/drm/drm_crtc.h:741: warning: No description found for parameter 'tile_blob_ptr'
include/drm/drm_crtc.h:780: warning: No description found for parameter 'rotation'
include/drm/drm_crtc.h:876: warning: No description found for parameter 'mutex'
include/drm/drm_crtc.h:876: warning: No description found for parameter 'helper_private'
include/drm/drm_crtc.h:1161: warning: No description found for parameter 'tile_idr'
include/drm/drm_crtc.h:1161: warning: No description found for parameter 'delayed_event'
include/drm/drm_crtc.h:1161: warning: No description found for parameter 'edid_property'
include/drm/drm_crtc.h:1161: warning: No description found for parameter 'dpms_property'
include/drm/drm_crtc.h:1161: warning: No description found for parameter 'path_property'
include/drm/drm_crtc.h:1161: warning: No description found for parameter 'tile_property'
include/drm/drm_crtc.h:1161: warning: No description found for parameter 'plane_type_property'
include/drm/drm_crtc.h:1161: warning: No description found for parameter 'rotation_property'
include/drm/drm_crtc.h:1161: warning: No description found for parameter 'prop_src_x'
include/drm/drm_crtc.h:1161: warning: No description found for parameter 'prop_src_y'
include/drm/drm_crtc.h:1161: warning: No description found for parameter 'prop_src_w'
include/drm/drm_crtc.h:1161: warning: No description found for parameter 'prop_src_h'
include/drm/drm_crtc.h:1161: warning: No description found for parameter 'prop_crtc_x'
include/drm/drm_crtc.h:1161: warning: No description found for parameter 'prop_crtc_y'
include/drm/drm_crtc.h:1161: warning: No description found for parameter 'prop_crtc_w'
include/drm/drm_crtc.h:1161: warning: No description found for parameter 'prop_crtc_h'
include/drm/drm_crtc.h:1161: warning: No description found for parameter 'prop_fb_id'
include/drm/drm_crtc.h:1161: warning: No description found for parameter 'prop_crtc_id'
include/drm/drm_crtc.h:1161: warning: No description found for parameter 'prop_active'
include/drm/drm_crtc.h:1161: warning: No description found for parameter 'prop_mode_id'
include/drm/drm_crtc.h:1161: warning: No description found for parameter 'dvi_i_subconnector_property'
include/drm/drm_crtc.h:1161: warning: No description found for parameter 'dvi_i_select_subconnector_property'
include/drm/drm_crtc.h:1161: warning: No description found for parameter 'tv_subconnector_property'
include/drm/drm_crtc.h:1161: warning: No description found for parameter 'tv_select_subconnector_property'
include/drm/drm_crtc.h:1161: warning: No description found for parameter 'tv_mode_property'
include/drm/drm_crtc.h:1161: warning: No description found for parameter 'tv_left_margin_property'
include/drm/drm_crtc.h:1161: warning: No description found for parameter 'tv_right_margin_property'
include/drm/drm_crtc.h:1161: warning: No description found for parameter 'tv_top_margin_property'
include/drm/drm_crtc.h:1161: warning: No description found for parameter 'tv_bottom_margin_property'
include/drm/drm_crtc.h:1161: warning: No description found for parameter 'tv_brightness_property'
include/drm/drm_crtc.h:1161: warning: No description found for parameter 'tv_contrast_property'
include/drm/drm_crtc.h:1161: warning: No description found for parameter 'tv_flicker_reduction_property'
include/drm/drm_crtc.h:1161: warning: No description found for parameter 'tv_overscan_property'
include/drm/drm_crtc.h:1161: warning: No description found for parameter 'tv_saturation_property'
include/drm/drm_crtc.h:1161: warning: No description found for parameter 'tv_hue_property'
include/drm/drm_crtc.h:1161: warning: No description found for parameter 'scaling_mode_property'
include/drm/drm_crtc.h:1161: warning: No description found for parameter 'aspect_ratio_property'
include/drm/drm_crtc.h:1161: warning: No description found for parameter 'dirty_info_property'
include/drm/drm_crtc.h:1161: warning: No description found for parameter 'suggested_x_property'
include/drm/drm_crtc.h:1161: warning: No description found for parameter 'suggested_y_property'
include/drm/drm_crtc.h:1161: warning: No description found for parameter 'allow_fb_modifiers'
include/drm/drm_fb_helper.h:148: warning: No description found for parameter 'connector_info'
include/drm/drm_dp_helper.h:713: warning: No description found for parameter 'i2c_nack_count'
include/drm/drm_dp_helper.h:713: warning: No description found for parameter 'i2c_defer_count'
drivers/gpu/drm/drm_dp_mst_topology.c:2227: warning: No description found for parameter 'connector'
include/drm/drm_dp_mst_helper.h:97: warning: No description found for parameter 'cached_edid'
include/drm/drm_dp_mst_helper.h:472: warning: No description found for parameter 'max_dpcd_transaction_bytes'
include/drm/drm_dp_mst_helper.h:472: warning: No description found for parameter 'sink_count'
include/drm/drm_dp_mst_helper.h:472: warning: No description found for parameter 'total_slots'
include/drm/drm_dp_mst_helper.h:472: warning: No description found for parameter 'avail_slots'
include/drm/drm_dp_mst_helper.h:472: warning: No description found for parameter 'total_pbn'
include/drm/drm_dp_mst_helper.h:472: warning: No description found for parameter 'qlock'
include/drm/drm_dp_mst_helper.h:472: warning: No description found for parameter 'tx_msg_downq'
include/drm/drm_dp_mst_helper.h:472: warning: No description found for parameter 'tx_msg_upq'
include/drm/drm_dp_mst_helper.h:472: warning: No description found for parameter 'tx_down_in_progress'
include/drm/drm_dp_mst_helper.h:472: warning: No description found for parameter 'tx_up_in_progress'
include/drm/drm_dp_mst_helper.h:472: warning: No description found for parameter 'payload_lock'
include/drm/drm_dp_mst_helper.h:472: warning: No description found for parameter 'proposed_vcpis'
include/drm/drm_dp_mst_helper.h:472: warning: No description found for parameter 'payloads'
include/drm/drm_dp_mst_helper.h:472: warning: No description found for parameter 'payload_mask'
include/drm/drm_dp_mst_helper.h:472: warning: No description found for parameter 'vcpi_mask'
include/drm/drm_dp_mst_helper.h:472: warning: No description found for parameter 'tx_waitq'
include/drm/drm_dp_mst_helper.h:472: warning: No description found for parameter 'work'
include/drm/drm_dp_mst_helper.h:472: warning: No description found for parameter 'tx_work'
include/drm/drm_dp_mst_helper.h:472: warning: No description found for parameter 'destroy_connector_list'
include/drm/drm_dp_mst_helper.h:472: warning: No description found for parameter 'destroy_connector_lock'
include/drm/drm_dp_mst_helper.h:472: warning: No description found for parameter 'destroy_connector_work'
drivers/gpu/drm/drm_dp_mst_topology.c:2227: warning: No description found for parameter 'connector'
drivers/gpu/drm/drm_irq.c:173: warning: No description found for parameter 'flags'
include/drm/drmP.h:168: warning: No description found for parameter 'fmt'
include/drm/drmP.h:184: warning: No description found for parameter 'fmt'
include/drm/drmP.h:202: warning: No description found for parameter 'fmt'
include/drm/drmP.h:247: warning: No description found for parameter 'dev'
include/drm/drmP.h:247: warning: No description found for parameter 'data'
include/drm/drmP.h:247: warning: No description found for parameter 'file_priv'
include/drm/drmP.h:280: warning: No description found for parameter 'ioctl'
include/drm/drmP.h:280: warning: No description found for parameter '_func'
include/drm/drmP.h:280: warning: No description found for parameter '_flags'
include/drm/drmP.h:353: warning: cannot understand function prototype: 'struct drm_lock_data '
include/drm/drmP.h:406: warning: cannot understand function prototype: 'struct drm_driver '
include/drm/drmP.h:656: warning: cannot understand function prototype: 'struct drm_info_list '
include/drm/drmP.h:666: warning: cannot understand function prototype: 'struct drm_info_node '
include/drm/drmP.h:676: warning: cannot understand function prototype: 'struct drm_minor '
include/drm/drmP.h:724: warning: cannot understand function prototype: 'struct drm_device '
drivers/gpu/drm/i915/i915_irq.c:2584: warning: No description found for parameter 'wedged'
drivers/gpu/drm/i915/i915_irq.c:2584: warning: No description found for parameter 'fmt'
drivers/gpu/drm/i915/i915_irq.c:2584: warning: No description found for parameter 'wedged'
drivers/gpu/drm/i915/i915_irq.c:2584: warning: No description found for parameter 'fmt'
drivers/gpu/drm/i915/i915_irq.c:2584: warning: No description found for parameter 'wedged'
drivers/gpu/drm/i915/i915_irq.c:2584: warning: No description found for parameter 'fmt'
drivers/gpu/drm/i915/i915_irq.c:2584: warning: No description found for parameter 'wedged'
drivers/gpu/drm/i915/i915_irq.c:2584: warning: No description found for parameter 'fmt'
drivers/gpu/drm/i915/i915_gem.c:421: warning: No description found for parameter 'dev'
drivers/gpu/drm/i915/i915_gem.c:421: warning: No description found for parameter 'data'
drivers/gpu/drm/i915/i915_gem.c:421: warning: No description found for parameter 'file'
drivers/gpu/drm/i915/i915_gem.c:686: warning: No description found for parameter 'dev'
vim +/hot_x +481 include/drm/drm_crtc.h
99cf4a29f Daniel Stone 2015-05-25 304 /* blob property to expose current mode to atomic userspace */
99cf4a29f Daniel Stone 2015-05-25 305 struct drm_property_blob *mode_blob;
99cf4a29f Daniel Stone 2015-05-25 306
144ecb97c Daniel Vetter 2014-10-27 307 struct drm_pending_vblank_event *event;
144ecb97c Daniel Vetter 2014-10-27 308
144ecb97c Daniel Vetter 2014-10-27 309 struct drm_atomic_state *state;
144ecb97c Daniel Vetter 2014-10-27 @310 };
f453ba046 Dave Airlie 2008-11-07 311
f453ba046 Dave Airlie 2008-11-07 312 /**
3bf0401cd Daniel Vetter 2014-10-27 313 * struct drm_crtc_funcs - control CRTCs for a given device
f453ba046 Dave Airlie 2008-11-07 314 * @save: save CRTC state
3b02ab889 Laurent Pinchart 2012-05-17 315 * @restore: restore CRTC state
715f59cc2 Christopher Harvey 2013-04-05 316 * @reset: reset CRTC after state has been invalidated (e.g. resume)
3b02ab889 Laurent Pinchart 2012-05-17 317 * @cursor_set: setup the cursor
2c0c33d41 Daniel Vetter 2014-10-27 318 * @cursor_set2: setup the cursor with hotspot, superseeds @cursor_set if set
3b02ab889 Laurent Pinchart 2012-05-17 319 * @cursor_move: move the cursor
f453ba046 Dave Airlie 2008-11-07 320 * @gamma_set: specify color ramp for CRTC
bffd9de02 Paulo Zanoni 2012-05-15 321 * @destroy: deinit and free object
bffd9de02 Paulo Zanoni 2012-05-15 322 * @set_property: called when a property is changed
3b02ab889 Laurent Pinchart 2012-05-17 323 * @set_config: apply a new CRTC configuration
3b02ab889 Laurent Pinchart 2012-05-17 324 * @page_flip: initiate a page flip
144ecb97c Daniel Vetter 2014-10-27 325 * @atomic_duplicate_state: duplicate the atomic state for this CRTC
144ecb97c Daniel Vetter 2014-10-27 326 * @atomic_destroy_state: destroy an atomic state for this CRTC
144ecb97c Daniel Vetter 2014-10-27 327 * @atomic_set_property: set a property on an atomic state for this CRTC
40ecc694e Rob Clark 2014-12-18 328 * (do not call directly, use drm_atomic_crtc_set_property())
ac9c92561 Rob Clark 2014-12-18 329 * @atomic_get_property: get a property on an atomic state for this CRTC
ac9c92561 Rob Clark 2014-12-18 330 * (do not call directly, use drm_atomic_crtc_get_property())
f453ba046 Dave Airlie 2008-11-07 331 *
f453ba046 Dave Airlie 2008-11-07 332 * The drm_crtc_funcs structure is the central CRTC management structure
f453ba046 Dave Airlie 2008-11-07 333 * in the DRM. Each CRTC controls one or more connectors (note that the name
f453ba046 Dave Airlie 2008-11-07 334 * CRTC is simply historical, a CRTC may control LVDS, VGA, DVI, TV out, etc.
f453ba046 Dave Airlie 2008-11-07 335 * connectors, not just CRTs).
f453ba046 Dave Airlie 2008-11-07 336 *
f453ba046 Dave Airlie 2008-11-07 337 * Each driver is responsible for filling out this structure at startup time,
f453ba046 Dave Airlie 2008-11-07 338 * in addition to providing other modesetting features, like i2c and DDC
f453ba046 Dave Airlie 2008-11-07 339 * bus accessors.
f453ba046 Dave Airlie 2008-11-07 340 */
f453ba046 Dave Airlie 2008-11-07 341 struct drm_crtc_funcs {
f453ba046 Dave Airlie 2008-11-07 342 /* Save CRTC state */
f453ba046 Dave Airlie 2008-11-07 343 void (*save)(struct drm_crtc *crtc); /* suspend? */
f453ba046 Dave Airlie 2008-11-07 344 /* Restore CRTC state */
f453ba046 Dave Airlie 2008-11-07 345 void (*restore)(struct drm_crtc *crtc); /* resume? */
eb0335566 Chris Wilson 2011-01-24 346 /* Reset CRTC state */
eb0335566 Chris Wilson 2011-01-24 347 void (*reset)(struct drm_crtc *crtc);
f453ba046 Dave Airlie 2008-11-07 348
f453ba046 Dave Airlie 2008-11-07 349 /* cursor controls */
f453ba046 Dave Airlie 2008-11-07 350 int (*cursor_set)(struct drm_crtc *crtc, struct drm_file *file_priv,
f453ba046 Dave Airlie 2008-11-07 351 uint32_t handle, uint32_t width, uint32_t height);
4c813d4d7 Dave Airlie 2013-06-20 352 int (*cursor_set2)(struct drm_crtc *crtc, struct drm_file *file_priv,
4c813d4d7 Dave Airlie 2013-06-20 353 uint32_t handle, uint32_t width, uint32_t height,
4c813d4d7 Dave Airlie 2013-06-20 354 int32_t hot_x, int32_t hot_y);
f453ba046 Dave Airlie 2008-11-07 355 int (*cursor_move)(struct drm_crtc *crtc, int x, int y);
f453ba046 Dave Airlie 2008-11-07 356
f453ba046 Dave Airlie 2008-11-07 357 /* Set gamma on the CRTC */
f453ba046 Dave Airlie 2008-11-07 358 void (*gamma_set)(struct drm_crtc *crtc, u16 *r, u16 *g, u16 *b,
7203425a9 James Simmons 2010-08-03 359 uint32_t start, uint32_t size);
f453ba046 Dave Airlie 2008-11-07 360 /* Object destroy routine */
f453ba046 Dave Airlie 2008-11-07 361 void (*destroy)(struct drm_crtc *crtc);
f453ba046 Dave Airlie 2008-11-07 362
f453ba046 Dave Airlie 2008-11-07 363 int (*set_config)(struct drm_mode_set *set);
d91d8a3f8 Kristian Høgsberg 2009-11-17 364
d91d8a3f8 Kristian Høgsberg 2009-11-17 365 /*
d91d8a3f8 Kristian Høgsberg 2009-11-17 366 * Flip to the given framebuffer. This implements the page
25985edce Lucas De Marchi 2011-03-30 367 * flip ioctl described in drm_mode.h, specifically, the
d91d8a3f8 Kristian Høgsberg 2009-11-17 368 * implementation must return immediately and block all
d91d8a3f8 Kristian Høgsberg 2009-11-17 369 * rendering to the current fb until the flip has completed.
d91d8a3f8 Kristian Høgsberg 2009-11-17 370 * If userspace set the event flag in the ioctl, the event
d91d8a3f8 Kristian Høgsberg 2009-11-17 371 * argument will point to an event to send back when the flip
d91d8a3f8 Kristian Høgsberg 2009-11-17 372 * completes, otherwise it will be NULL.
d91d8a3f8 Kristian Høgsberg 2009-11-17 373 */
d91d8a3f8 Kristian Høgsberg 2009-11-17 374 int (*page_flip)(struct drm_crtc *crtc,
d91d8a3f8 Kristian Høgsberg 2009-11-17 375 struct drm_framebuffer *fb,
ed8d19756 Keith Packard 2013-07-22 376 struct drm_pending_vblank_event *event,
ed8d19756 Keith Packard 2013-07-22 377 uint32_t flags);
bffd9de02 Paulo Zanoni 2012-05-15 378
bffd9de02 Paulo Zanoni 2012-05-15 379 int (*set_property)(struct drm_crtc *crtc,
bffd9de02 Paulo Zanoni 2012-05-15 380 struct drm_property *property, uint64_t val);
144ecb97c Daniel Vetter 2014-10-27 381
144ecb97c Daniel Vetter 2014-10-27 382 /* atomic update handling */
144ecb97c Daniel Vetter 2014-10-27 383 struct drm_crtc_state *(*atomic_duplicate_state)(struct drm_crtc *crtc);
144ecb97c Daniel Vetter 2014-10-27 384 void (*atomic_destroy_state)(struct drm_crtc *crtc,
cc4ceb484 Daniel Vetter 2014-07-25 385 struct drm_crtc_state *state);
144ecb97c Daniel Vetter 2014-10-27 386 int (*atomic_set_property)(struct drm_crtc *crtc,
144ecb97c Daniel Vetter 2014-10-27 387 struct drm_crtc_state *state,
144ecb97c Daniel Vetter 2014-10-27 388 struct drm_property *property,
144ecb97c Daniel Vetter 2014-10-27 389 uint64_t val);
ac9c92561 Rob Clark 2014-12-18 390 int (*atomic_get_property)(struct drm_crtc *crtc,
ac9c92561 Rob Clark 2014-12-18 391 const struct drm_crtc_state *state,
ac9c92561 Rob Clark 2014-12-18 392 struct drm_property *property,
ac9c92561 Rob Clark 2014-12-18 393 uint64_t *val);
f453ba046 Dave Airlie 2008-11-07 394 };
f453ba046 Dave Airlie 2008-11-07 395
f453ba046 Dave Airlie 2008-11-07 396 /**
3bf0401cd Daniel Vetter 2014-10-27 397 * struct drm_crtc - central CRTC control structure
7749163ef Jesse Barnes 2011-11-07 398 * @dev: parent DRM device
2c0c33d41 Daniel Vetter 2014-10-27 399 * @port: OF node used by drm_of_find_possible_crtcs()
7749163ef Jesse Barnes 2011-11-07 400 * @head: list management
51fd371bb Rob Clark 2013-11-19 401 * @mutex: per-CRTC locking
7749163ef Jesse Barnes 2011-11-07 402 * @base: base KMS object for ID tracking etc.
e13161af8 Matt Roper 2014-04-01 403 * @primary: primary plane for this CRTC
e13161af8 Matt Roper 2014-04-01 404 * @cursor: cursor plane for this CRTC
2c0c33d41 Daniel Vetter 2014-10-27 405 * @cursor_x: current x position of the cursor, used for universal cursor planes
2c0c33d41 Daniel Vetter 2014-10-27 406 * @cursor_y: current y position of the cursor, used for universal cursor planes
f453ba046 Dave Airlie 2008-11-07 407 * @enabled: is this CRTC enabled?
7749163ef Jesse Barnes 2011-11-07 408 * @mode: current mode timings
7749163ef Jesse Barnes 2011-11-07 409 * @hwmode: mode timings as programmed to hw regs
f453ba046 Dave Airlie 2008-11-07 410 * @x: x position on screen
f453ba046 Dave Airlie 2008-11-07 411 * @y: y position on screen
f453ba046 Dave Airlie 2008-11-07 412 * @funcs: CRTC control functions
7749163ef Jesse Barnes 2011-11-07 413 * @gamma_size: size of gamma ramp
7749163ef Jesse Barnes 2011-11-07 414 * @gamma_store: gamma ramp values
7749163ef Jesse Barnes 2011-11-07 415 * @helper_private: mid-layer private data
bffd9de02 Paulo Zanoni 2012-05-15 416 * @properties: property tracking for this CRTC
144ecb97c Daniel Vetter 2014-10-27 417 * @state: current atomic state for this CRTC
2c0c33d41 Daniel Vetter 2014-10-27 418 * @acquire_ctx: per-CRTC implicit acquire context used by atomic drivers for
2c0c33d41 Daniel Vetter 2014-10-27 419 * legacy ioctls
f453ba046 Dave Airlie 2008-11-07 420 *
f453ba046 Dave Airlie 2008-11-07 421 * Each CRTC may have one or more connectors associated with it. This structure
f453ba046 Dave Airlie 2008-11-07 422 * allows the CRTC to be controlled.
f453ba046 Dave Airlie 2008-11-07 423 */
f453ba046 Dave Airlie 2008-11-07 424 struct drm_crtc {
f453ba046 Dave Airlie 2008-11-07 425 struct drm_device *dev;
7e435aad3 Russell King 2014-06-15 426 struct device_node *port;
f453ba046 Dave Airlie 2008-11-07 427 struct list_head head;
f453ba046 Dave Airlie 2008-11-07 428
3bf0401cd Daniel Vetter 2014-10-27 429 /*
29494c174 Daniel Vetter 2012-12-02 430 * crtc mutex
29494c174 Daniel Vetter 2012-12-02 431 *
29494c174 Daniel Vetter 2012-12-02 432 * This provides a read lock for the overall crtc state (mode, dpms
29494c174 Daniel Vetter 2012-12-02 433 * state, ...) and a write lock for everything which can be update
29494c174 Daniel Vetter 2012-12-02 434 * without a full modeset (fb, cursor data, ...)
29494c174 Daniel Vetter 2012-12-02 435 */
51fd371bb Rob Clark 2013-11-19 436 struct drm_modeset_lock mutex;
29494c174 Daniel Vetter 2012-12-02 437
f453ba046 Dave Airlie 2008-11-07 438 struct drm_mode_object base;
f453ba046 Dave Airlie 2008-11-07 439
e13161af8 Matt Roper 2014-04-01 440 /* primary and cursor planes for CRTC */
e13161af8 Matt Roper 2014-04-01 441 struct drm_plane *primary;
e13161af8 Matt Roper 2014-04-01 442 struct drm_plane *cursor;
e13161af8 Matt Roper 2014-04-01 443
161d0dc1d Matt Roper 2014-06-10 444 /* position of cursor plane on crtc */
161d0dc1d Matt Roper 2014-06-10 445 int cursor_x;
161d0dc1d Matt Roper 2014-06-10 446 int cursor_y;
161d0dc1d Matt Roper 2014-06-10 447
14ecd586d John Keeping 2015-11-17 448 /* hotspot of cursor */
14ecd586d John Keeping 2015-11-17 449 int hot_x;
14ecd586d John Keeping 2015-11-17 450 int hot_y;
14ecd586d John Keeping 2015-11-17 451
f453ba046 Dave Airlie 2008-11-07 452 bool enabled;
f453ba046 Dave Airlie 2008-11-07 453
27641c3f0 Mario Kleiner 2010-10-23 454 /* Requested mode from modesetting. */
f453ba046 Dave Airlie 2008-11-07 455 struct drm_display_mode mode;
f453ba046 Dave Airlie 2008-11-07 456
27641c3f0 Mario Kleiner 2010-10-23 457 /* Programmed mode in hw, after adjustments for encoders,
27641c3f0 Mario Kleiner 2010-10-23 458 * crtc, panel scaling etc. Needed for timestamping etc.
27641c3f0 Mario Kleiner 2010-10-23 459 */
27641c3f0 Mario Kleiner 2010-10-23 460 struct drm_display_mode hwmode;
27641c3f0 Mario Kleiner 2010-10-23 461
f453ba046 Dave Airlie 2008-11-07 462 int x, y;
f453ba046 Dave Airlie 2008-11-07 463 const struct drm_crtc_funcs *funcs;
f453ba046 Dave Airlie 2008-11-07 464
f453ba046 Dave Airlie 2008-11-07 465 /* CRTC gamma size for reporting to userspace */
f453ba046 Dave Airlie 2008-11-07 466 uint32_t gamma_size;
f453ba046 Dave Airlie 2008-11-07 467 uint16_t *gamma_store;
f453ba046 Dave Airlie 2008-11-07 468
f453ba046 Dave Airlie 2008-11-07 469 /* if you are using the helper */
9a436ee6c Jani Nikula 2015-04-13 470 const void *helper_private;
bffd9de02 Paulo Zanoni 2012-05-15 471
bffd9de02 Paulo Zanoni 2012-05-15 472 struct drm_object_properties properties;
d059f652e Daniel Vetter 2014-07-25 473
144ecb97c Daniel Vetter 2014-10-27 474 struct drm_crtc_state *state;
144ecb97c Daniel Vetter 2014-10-27 475
d059f652e Daniel Vetter 2014-07-25 476 /*
d059f652e Daniel Vetter 2014-07-25 477 * For legacy crtc ioctls so that atomic drivers can get at the locking
d059f652e Daniel Vetter 2014-07-25 478 * acquire context.
d059f652e Daniel Vetter 2014-07-25 479 */
d059f652e Daniel Vetter 2014-07-25 480 struct drm_modeset_acquire_ctx *acquire_ctx;
f453ba046 Dave Airlie 2008-11-07 @481 };
f453ba046 Dave Airlie 2008-11-07 482
144ecb97c Daniel Vetter 2014-10-27 483 /**
144ecb97c Daniel Vetter 2014-10-27 484 * struct drm_connector_state - mutable connector state
:::::: The code at line 481 was first introduced by commit
:::::: f453ba0460742ad027ae0c4c7d61e62817b3e7ef DRM: add mode setting support
:::::: TO: Dave Airlie <airlied@...hat.com>
:::::: CC: Dave Airlie <airlied@...ux.ie>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Download attachment ".config.gz" of type "application/octet-stream" (6122 bytes)
Powered by blists - more mailing lists