diff options
| author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2017-01-24 09:57:18 -0800 | 
|---|---|---|
| committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2017-01-24 09:57:18 -0800 | 
| commit | 62ed8ceda1699acae01b666497f004bfd3d67a6f (patch) | |
| tree | fe38c83c49dfd568b540666948ef78cb9d082c38 /drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h | |
| parent | 1c3415a06b1016a596bfe59e0cfee56c773aa958 (diff) | |
| parent | 7a308bb3016f57e5be11a677d15b821536419d36 (diff) | |
Merge tag 'v4.10-rc5' into for-linus
Sync up with mainline to apply fixup to a commit that came through
power supply tree.
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h | 15 | 
1 files changed, 9 insertions, 6 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h index 6b1d7d306564..202b4176b74e 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h @@ -39,6 +39,8 @@  #include <drm/drm_plane_helper.h>  #include <linux/i2c.h>  #include <linux/i2c-algo-bit.h> +#include <linux/hrtimer.h> +#include "amdgpu_irq.h"  struct amdgpu_bo;  struct amdgpu_device; @@ -269,8 +271,6 @@ struct amdgpu_display_funcs {  	u32 (*vblank_get_counter)(struct amdgpu_device *adev, int crtc);  	/* wait for vblank */  	void (*vblank_wait)(struct amdgpu_device *adev, int crtc); -	/* is dce hung */ -	bool (*is_display_hung)(struct amdgpu_device *adev);  	/* set backlight level */  	void (*backlight_set_level)(struct amdgpu_encoder *amdgpu_encoder,  				    u8 level); @@ -409,6 +409,9 @@ struct amdgpu_crtc {  	u32 wm_high;  	u32 lb_vblank_lead_lines;  	struct drm_display_mode hw_mode; +	/* for virtual dce */ +	struct hrtimer vblank_timer; +	enum amdgpu_interrupt_state vsync_timer_enabled;  };  struct amdgpu_encoder_atom_dig { @@ -587,10 +590,10 @@ int amdgpu_align_pitch(struct amdgpu_device *adev, int width, int bpp, bool tile  void amdgpu_print_display_setup(struct drm_device *dev);  int amdgpu_modeset_create_props(struct amdgpu_device *adev);  int amdgpu_crtc_set_config(struct drm_mode_set *set); -int amdgpu_crtc_page_flip(struct drm_crtc *crtc, -			  struct drm_framebuffer *fb, -			  struct drm_pending_vblank_event *event, -			  uint32_t page_flip_flags); +int amdgpu_crtc_page_flip_target(struct drm_crtc *crtc, +				 struct drm_framebuffer *fb, +				 struct drm_pending_vblank_event *event, +				 uint32_t page_flip_flags, uint32_t target);  extern const struct drm_mode_config_funcs amdgpu_mode_funcs;  #endif  | 
