diff options
author | Thomas Hellstrom <thellstrom@vmware.com> | 2012-02-09 16:56:47 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-02-13 12:01:36 +0000 |
commit | 67d4a87b0a6bf7225aacc2c14e3542ec2f6b803f (patch) | |
tree | 2055686de4dad4e38d8a74d4bf743e5a3afb71ea /lib/find_last_bit.c | |
parent | eb4f923b1ceac8a618469c51ff249bd89bc0dfa4 (diff) |
drm/vmwgfx: Treat out-of-range initial width and height as host errors
And assign the initial width and height to the minimum in that case.
Strange values (-1) from these registers have been reported by users.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'lib/find_last_bit.c')
0 files changed, 0 insertions, 0 deletions