1 /* SPDX-License-Identifier: GPL-2.0+ */
3 #ifndef _AMDGPU_VKMS_H_
4 #define _AMDGPU_VKMS_H_
10 #define YRES_MAX 16384
12 #define drm_crtc_to_amdgpu_vkms_output(target) \
13 container_of(target, struct amdgpu_vkms_output, crtc.base)
15 extern const struct amdgpu_ip_block_version amdgpu_vkms_ip_block;
17 struct amdgpu_vkms_output {
18 struct amdgpu_crtc crtc;
19 struct drm_encoder encoder;
20 struct drm_connector connector;
22 struct drm_pending_vblank_event *event;
25 #endif /* _AMDGPU_VKMS_H_ */