drm/amdgpu: Hardcode virtual DCE vblank / scanout position return values
authorEmily Deng <Emily.Deng@amd.com>
Wed, 17 Aug 2016 06:59:20 +0000 (14:59 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 17 Aug 2016 19:42:50 +0000 (15:42 -0400)
commit041aa65805de1a8af87dab2a26e52ebfe01f1963
tree3829e66af410bf258c2b2c8a227d1d8438f77af0
parent89a8f30900754eb27f8f534f35be49b8202c76cd
drm/amdgpu: Hardcode virtual DCE vblank / scanout position return values

For virtual display feature, by hardcoding 0 for the vblank counter and
-EINVAL for the scanout position return value, we signal to the core DRM code that there are
no hardware counters we can use for these.

Signed-off-by: Emily Deng <Emily.Deng@amd.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/dce_virtual.c