linux/drivers/gpu/drm/vmwgfx
Ville Syrjälä 4f4becef17 drm/vmwgfx: Use drm_mode_get_hv_timing() to populate plane clip rectangle
Use drm_mode_get_hv_timing() to fill out the plane clip rectangle.

Note that this replaces crtc_state->adjusted_mode usage with
crtc_state->mode. The latter is the correct choice since that's the
mode the user provided and it matches the plane crtc coordinates
the user also provided.

Once everyone agrees on this we can move the clip handling into
drm_atomic_helper_check_plane_state().

Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: VMware Graphics <linux-graphics-maintainer@vmware.com>
Cc: Sinclair Yeh <syeh@vmware.com>
Cc: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171123190502.28449-14-ville.syrjala@linux.intel.com
Reviewed-by: Sinclair Yeh <syeh@vmware.com>
Reviewed-by: Thierry Reding <treding@nvidia.com>
2018-01-23 17:59:13 +02:00
..
device_include License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Kconfig
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
vmwgfx_binding.c drm/ttm: use an operation ctx for ttm_mem_global_alloc 2017-12-27 11:38:54 -05:00
vmwgfx_binding.h
vmwgfx_buffer.c drm/ttm: use an operation ctx for ttm_tt_populate in ttm_bo_driver (v2) 2017-12-28 09:48:19 -05:00
vmwgfx_cmdbuf_res.c drm/vmwgfx: Fix NULL pointer comparison 2017-07-17 23:40:34 -07:00
vmwgfx_cmdbuf.c drm/vmwgfx: Fix incorrect command header offset at restart 2017-08-28 17:40:51 +02:00
vmwgfx_context.c drm/ttm: use an operation ctx for ttm_mem_global_alloc 2017-12-27 11:38:54 -05:00
vmwgfx_cotable.c drm/ttm: use an operation ctx for ttm_mem_global_alloc 2017-12-27 11:38:54 -05:00
vmwgfx_dmabuf.c drm/ttm: add operation ctx to ttm_bo_validate v2 2017-12-06 12:48:01 -05:00
vmwgfx_drv.c drm/vmwgfx: Fix Ubuntu 17.10 Wayland black screen issue 2017-11-01 10:56:53 -07:00
vmwgfx_drv.h drm/vmwgfx: Bump the version for fence FD support 2017-08-28 17:53:32 +02:00
vmwgfx_execbuf.c Linux 4.15-rc8 2018-01-18 09:32:15 +10:00
vmwgfx_fb.c drm/<drivers>: Drop fbdev info flags 2017-07-26 13:22:40 +02:00
vmwgfx_fence.c drm/ttm: use an operation ctx for ttm_mem_global_alloc 2017-12-27 11:38:54 -05:00
vmwgfx_fence.h drm/vmwgfx: Add support for imported Fence File Descriptor 2017-08-28 17:51:38 +02:00
vmwgfx_fifo.c drm/vmwgfx: Handle vmalloc() failure in vmw_local_fifo_reserve() 2017-06-07 12:07:35 +02:00
vmwgfx_gmr.c
vmwgfx_gmrid_manager.c drm/ttm: make ttm_mem_type_manager_func debug more useful 2017-08-17 15:45:59 -04:00
vmwgfx_ioctl.c drm: Pass struct drm_file * to __drm_mode_object_find [v2] 2017-10-12 10:03:04 +10:00
vmwgfx_irq.c drm/vmwgfx: Move irq bottom half processing to threads 2017-08-28 17:40:43 +02:00
vmwgfx_kms.c drm/vmwgfx: Use drm_mode_get_hv_timing() to populate plane clip rectangle 2018-01-23 17:59:13 +02:00
vmwgfx_kms.h drm/vmwgfx: Don't cache framebuffer maps 2018-01-09 15:33:42 +01:00
vmwgfx_ldu.c drm: Plumb modifiers through plane init 2017-08-01 17:50:06 +01:00
vmwgfx_marker.c
vmwgfx_mob.c drm/ttm: use an operation ctx for ttm_tt_populate in ttm_bo_driver (v2) 2017-12-28 09:48:19 -05:00
vmwgfx_msg.c Merge branch 'drm-vmwgfx-fixes' of git://people.freedesktop.org/~syeh/repos_linux into drm-fixes 2017-07-24 15:57:28 +10:00
vmwgfx_msg.h
vmwgfx_overlay.c
vmwgfx_prime.c dma-buf: Rename dma-ops to prevent conflict with kunmap_atomic macro 2017-04-20 13:47:46 +05:30
vmwgfx_reg.h
vmwgfx_resource_priv.h drm/vmwgfx: Introduce a simple resource type 2017-03-31 15:21:17 -07:00
vmwgfx_resource.c drm/ttm: add operation ctx to ttm_bo_validate v2 2017-12-06 12:48:01 -05:00
vmwgfx_scrn.c drm: Reorganize drm_pending_event to support future event types [v2] 2017-10-21 07:23:40 +10:00
vmwgfx_shader.c drm/ttm: use an operation ctx for ttm_mem_global_alloc 2017-12-27 11:38:54 -05:00
vmwgfx_simple_resource.c drm/ttm: use an operation ctx for ttm_mem_global_alloc 2017-12-27 11:38:54 -05:00
vmwgfx_so.c drm/ttm: use an operation ctx for ttm_mem_global_alloc 2017-12-27 11:38:54 -05:00
vmwgfx_so.h
vmwgfx_stdu.c drm/vmwgfx: Don't cache framebuffer maps 2018-01-09 15:33:42 +01:00
vmwgfx_surface.c drm/ttm: use an operation ctx for ttm_mem_global_alloc 2017-12-27 11:38:54 -05:00
vmwgfx_ttm_glue.c
vmwgfx_va.c drm/vmwgfx: Re-implement the stream resource as a simple resource. 2017-03-31 15:21:17 -07:00