@ -789,6 +789,7 @@ static int
crtc_add_prop ( drmModeAtomicReq * req , struct drm_crtc * crtc ,
crtc_add_prop ( drmModeAtomicReq * req , struct drm_crtc * crtc ,
enum wdrm_crtc_property prop , uint64_t val )
enum wdrm_crtc_property prop , uint64_t val )
{
{
struct drm_backend * b = crtc - > backend ;
struct drm_property_info * info = & crtc - > props_crtc [ prop ] ;
struct drm_property_info * info = & crtc - > props_crtc [ prop ] ;
int ret ;
int ret ;
@ -797,7 +798,7 @@ crtc_add_prop(drmModeAtomicReq *req, struct drm_crtc *crtc,
ret = drmModeAtomicAddProperty ( req , crtc - > crtc_id , info - > prop_id ,
ret = drmModeAtomicAddProperty ( req , crtc - > crtc_id , info - > prop_id ,
val ) ;
val ) ;
drm_debug ( crtc - > backend , " \t \t \t [CRTC:%lu] %lu (%s) -> %llu (0x%llx) \n " ,
drm_debug ( b , " \t \t \t [CRTC:%lu] %lu (%s) -> %llu (0x%llx) \n " ,
( unsigned long ) crtc - > crtc_id ,
( unsigned long ) crtc - > crtc_id ,
( unsigned long ) info - > prop_id , info - > name ,
( unsigned long ) info - > prop_id , info - > name ,
( unsigned long long ) val , ( unsigned long long ) val ) ;
( unsigned long long ) val , ( unsigned long long ) val ) ;
@ -808,6 +809,7 @@ static int
connector_add_prop ( drmModeAtomicReq * req , struct drm_connector * connector ,
connector_add_prop ( drmModeAtomicReq * req , struct drm_connector * connector ,
enum wdrm_connector_property prop , uint64_t val )
enum wdrm_connector_property prop , uint64_t val )
{
{
struct drm_backend * b = connector - > backend ;
struct drm_property_info * info = & connector - > props [ prop ] ;
struct drm_property_info * info = & connector - > props [ prop ] ;
uint32_t connector_id = connector - > connector_id ;
uint32_t connector_id = connector - > connector_id ;
int ret ;
int ret ;
@ -816,7 +818,7 @@ connector_add_prop(drmModeAtomicReq *req, struct drm_connector *connector,
return - 1 ;
return - 1 ;
ret = drmModeAtomicAddProperty ( req , connector_id , info - > prop_id , val ) ;
ret = drmModeAtomicAddProperty ( req , connector_id , info - > prop_id , val ) ;
drm_debug ( connector - > backend , " \t \t \t [CONN:%lu] %lu (%s) -> %llu (0x%llx) \n " ,
drm_debug ( b , " \t \t \t [CONN:%lu] %lu (%s) -> %llu (0x%llx) \n " ,
( unsigned long ) connector_id ,
( unsigned long ) connector_id ,
( unsigned long ) info - > prop_id , info - > name ,
( unsigned long ) info - > prop_id , info - > name ,
( unsigned long long ) val , ( unsigned long long ) val ) ;
( unsigned long long ) val , ( unsigned long long ) val ) ;
@ -827,6 +829,7 @@ static int
plane_add_prop ( drmModeAtomicReq * req , struct drm_plane * plane ,
plane_add_prop ( drmModeAtomicReq * req , struct drm_plane * plane ,
enum wdrm_plane_property prop , uint64_t val )
enum wdrm_plane_property prop , uint64_t val )
{
{
struct drm_backend * b = plane - > backend ;
struct drm_property_info * info = & plane - > props [ prop ] ;
struct drm_property_info * info = & plane - > props [ prop ] ;
int ret ;
int ret ;
@ -835,7 +838,7 @@ plane_add_prop(drmModeAtomicReq *req, struct drm_plane *plane,
ret = drmModeAtomicAddProperty ( req , plane - > plane_id , info - > prop_id ,
ret = drmModeAtomicAddProperty ( req , plane - > plane_id , info - > prop_id ,
val ) ;
val ) ;
drm_debug ( plane - > backend , " \t \t \t [PLANE:%lu] %lu (%s) -> %llu (0x%llx) \n " ,
drm_debug ( b , " \t \t \t [PLANE:%lu] %lu (%s) -> %llu (0x%llx) \n " ,
( unsigned long ) plane - > plane_id ,
( unsigned long ) plane - > plane_id ,
( unsigned long ) info - > prop_id , info - > name ,
( unsigned long ) info - > prop_id , info - > name ,
( unsigned long long ) val , ( unsigned long long ) val ) ;
( unsigned long long ) val , ( unsigned long long ) val ) ;
@ -1021,7 +1024,7 @@ drm_output_apply_state_atomic(struct drm_output_state *state,
if ( plane_state - > fb & & plane_state - > fb - > format )
if ( plane_state - > fb & & plane_state - > fb - > format )
pinfo = plane_state - > fb - > format ;
pinfo = plane_state - > fb - > format ;
drm_debug ( plane - > backend , " \t \t \t [PLANE:%lu] FORMAT: %s \n " ,
drm_debug ( b , " \t \t \t [PLANE:%lu] FORMAT: %s \n " ,
( unsigned long ) plane - > plane_id ,
( unsigned long ) plane - > plane_id ,
pinfo ? pinfo - > drm_format_name : " UNKNOWN " ) ;
pinfo ? pinfo - > drm_format_name : " UNKNOWN " ) ;