version 1.34, 2021/04/24 23:36:24 |
version 1.35, 2021/06/15 08:53:47 |
Line 1041 amidisplaycc_ioctl(void *dp, void *vs, u |
|
Line 1041 amidisplaycc_ioctl(void *dp, void *vs, u |
|
return (0); |
return (0); |
|
|
case WSDISPLAYIO_SMODE: |
case WSDISPLAYIO_SMODE: |
if (INTDATA == WSDISPLAYIO_MODE_EMUL) |
switch (INTDATA) { |
|
case WSDISPLAYIO_MODE_EMUL: |
return amidisplaycc_setgfxview(adp, 0); |
return amidisplaycc_setgfxview(adp, 0); |
if (INTDATA == WSDISPLAYIO_MODE_MAPPED) |
case WSDISPLAYIO_MODE_MAPPED: |
|
case WSDISPLAYIO_MODE_DUMBFB: |
return amidisplaycc_setgfxview(adp, 1); |
return amidisplaycc_setgfxview(adp, 1); |
return (EINVAL); |
default: |
|
return (EINVAL); |
|
} |
|
|
case WSDISPLAYIO_GINFO: |
case WSDISPLAYIO_GINFO: |
FBINFO.width = adp->gfxwidth; |
FBINFO.width = adp->gfxwidth; |