sna: Add a DBG option to control native rotations for testing
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
2c5063938c
commit
b549b4fd38
|
|
@ -132,6 +132,8 @@ struct local_mode_obj_get_properties {
|
|||
#define __DBG(x)
|
||||
#endif
|
||||
|
||||
#define DBG_NATIVE_ROTATION ~0 /* minimum RR_Rotate_0 */
|
||||
|
||||
extern XF86ConfigPtr xf86configptr;
|
||||
|
||||
struct sna_cursor {
|
||||
|
|
@ -2832,6 +2834,8 @@ static int plane_details(struct sna *sna, struct plane *p)
|
|||
}
|
||||
}
|
||||
|
||||
p->rotation.supported &= DBG_NATIVE_ROTATION;
|
||||
|
||||
if (props != (uint32_t *)stack_props)
|
||||
free(props);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue