summaryrefslogtreecommitdiffstats
path: root/include/drm
diff options
context:
space:
mode:
authorMatt Roper <matthew.d.roper@intel.com>2014-06-10 08:28:09 -0700
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-06-13 17:45:20 +0200
commitb36552b32aa9c69e83a3a20bda56379fb9e52435 (patch)
treef8a1c1e9216d8606ec6a2afdc4d53aec964f2965 /include/drm
parentc394c2b08e247c32ef292b75fd8b34312465f8ae (diff)
downloadblackbird-op-linux-b36552b32aa9c69e83a3a20bda56379fb9e52435.tar.gz
blackbird-op-linux-b36552b32aa9c69e83a3a20bda56379fb9e52435.zip
drm: Refactor setplane to allow internal use (v3)
Refactor DRM setplane code into a new setplane_internal() function that takes DRM objects directly as parameters rather than looking them up by ID. We'll use this in a future patch when we implement legacy cursor ioctls on top of the universal plane interface. v3: - Move integer overflow checking from setplane_internal to setplane ioctl. The upcoming legacy cursor support via universal planes needs to maintain current cursor ioctl semantics and not return error for these extreme values (found via intel-gpu-tools kms_cursor_crc test). v2: - Allow planes to be disabled without a valid crtc again (and add mention of this to setplane's kerneldoc, since it doesn't seem to be mentioned anywhere else). - Reformat some parameter line wrap Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Matt Roper <matthew.d.roper@intel.com> Reviewed-by: Pallavi G<pallavi.g@intel.com> Acked-by: Dave Airlie <airlied@linux.ie> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'include/drm')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud