diff options
author | Dave Airlie <airlied@redhat.com> | 2017-10-13 02:52:01 +0300 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2017-10-17 04:32:29 +0300 |
commit | 40d86701a625eed9e644281b9af228d6a52d8ed9 (patch) | |
tree | 8d561e332d5aca9553427a420dcfe793a6cd79b7 /include/drm | |
parent | f8d4710458a7e22fa4df2e8b1358c17b985ef86c (diff) | |
download | linux-40d86701a625eed9e644281b9af228d6a52d8ed9.tar.xz |
drm/plane: drop num_overlay_planes (v3)
In order to implement plane leasing we need to count things,
just make the code consistent with the counting code currently
used for counting crtcs/encoders/connectors and drop the need
for num_overlay_planes.
v2: don't forget to assign plane_ptr. (keithp)
v3: use correct bounds check, found by igt.
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/drm')
-rw-r--r-- | include/drm/drm_mode_config.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/include/drm/drm_mode_config.h b/include/drm/drm_mode_config.h index 1b37368416c8..0b4ac2ebc610 100644 --- a/include/drm/drm_mode_config.h +++ b/include/drm/drm_mode_config.h @@ -430,19 +430,6 @@ struct drm_mode_config { struct list_head encoder_list; /** - * @num_overlay_plane: - * - * Number of overlay planes on this device, excluding primary and cursor - * planes. - * - * Track number of overlay planes separately from number of total - * planes. By default we only advertise overlay planes to userspace; if - * userspace sets the "universal plane" capability bit, we'll go ahead - * and expose all planes. This is invariant over the lifetime of a - * device and hence doesn't need any locks. - */ - int num_overlay_plane; - /** * @num_total_plane: * * Number of universal (i.e. with primary/curso) planes on this device. |