linux-hardened/drivers/gpu/drm/vmwgfx
Ville Syrjälä 0d45d79de2 drm/vmwgfx: Stop using plane->fb in atomic_enable()
Instead of looking at the (soon to be deprecated) plane->fb we'll
examing plane->state->fb instead. We can do this because
vmw_du_crtc_atomic_check() prevents us from enabling a crtc
without the primary plane also being enabled.

Due to that same reason, I'm actually not sure what the checks here are
for NULL fb. If we can't enable the crtc without an enabled plane
we should always have an fb. But I'll leave that for someone else
to figure out.

Cc: Deepak Rawat <drawat@vmware.com>
Cc: Thomas Hellstrom <thellstrom@vmware.com>
Cc: Sinclair Yeh <syeh@vmware.com>
Cc: VMware Graphics <linux-graphics-maintainer@vmware.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Deepak Rawat <drawat@vmware.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180525185045.29689-6-ville.syrjala@linux.intel.com
Reviewed-by: Sinclair Yeh <syeh@vmware.com>
2018-06-11 20:22:44 +03:00
..
device_include drm/vmwgfx: Fix multiple command buffer context use 2018-03-22 12:08:23 +01:00
Kconfig
Makefile drm/vmwgfx: Add a cpu blit utility that can be used for page-backed bos 2018-03-22 12:08:23 +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_blit.c drm/vmwgfx: Add a cpu blit utility that can be used for page-backed bos 2018-03-22 12:08:23 +01:00
vmwgfx_buffer.c drm/vmwgfx: Avoid pinning fbdev framebuffers 2018-03-22 12:08:23 +01:00
vmwgfx_cmdbuf.c drm/vmwgfx: Fix multiple command buffer context use 2018-03-22 12:08:23 +01:00
vmwgfx_cmdbuf_res.c drm/vmwgfx: Fix NULL pointer comparison 2017-07-17 23:40:34 -07: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/vmwgfx: Avoid pinning fbdev framebuffers 2018-03-22 12:08:23 +01:00
vmwgfx_drv.c drm/vmwgfx: Drop DRM_CONTROL_ALLOW 2018-05-03 11:28:02 +02:00
vmwgfx_drv.h Linux 4.16-rc7 2018-03-28 14:30:41 +10:00
vmwgfx_execbuf.c Linux 4.15-rc8 2018-01-18 09:32:15 +10:00
vmwgfx_fb.c Merge branch 'vmwgfx-next' of git://people.freedesktop.org/~thomash/linux into drm-next 2018-03-23 06:18:48 +10:00
vmwgfx_fence.c drm/vmwgfx: use monotonic event timestamps 2018-03-22 12:08:24 +01: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/vmwgfx: replace drm_*_unreference with drm_*_put 2018-03-14 14:52:05 +01: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: Stop using plane->fb in vmw_kms_update_implicit_fb() 2018-06-11 20:22:44 +03:00
vmwgfx_kms.h Linux 4.16-rc7 2018-03-28 14:30:41 +10:00
vmwgfx_ldu.c drm/vmwgfx: Remove no-op prepare/cleanup_fb callbacks 2018-04-24 13:57:11 +02:00
vmwgfx_marker.c
vmwgfx_mob.c drm/ttm: drop persistent_swap_storage from ttm_bo_init and co 2018-02-26 23:09:45 -05:00
vmwgfx_msg.c drm/vmwgfx: Use kasprintf 2018-03-22 12:08:24 +01:00
vmwgfx_msg.h
vmwgfx_overlay.c
vmwgfx_prime.c
vmwgfx_reg.h
vmwgfx_resource.c drm/vmwgfx: Avoid pinning fbdev framebuffers 2018-03-22 12:08:23 +01:00
vmwgfx_resource_priv.h
vmwgfx_scrn.c drm/vmwgfx: Stop updating plane->fb 2018-06-11 20:22:44 +03: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: Stop using plane->fb in atomic_enable() 2018-06-11 20:22:44 +03:00
vmwgfx_surface.c drm/vmwgfx: Stricter count of legacy surface device resources 2018-03-22 12:08:24 +01:00
vmwgfx_ttm_glue.c
vmwgfx_va.c