search for: drm_printf

Displaying 16 results from an estimated 16 matches for "drm_printf".

Did you mean: drm_print
2020 Feb 18
5
[PATCH 8/8] drm/ttm: do not keep GPU dependent addresses
..._bo.c >>> index 151edfd8de77..d5885cd609a3 100644 >>> --- a/drivers/gpu/drm/ttm/ttm_bo.c >>> +++ b/drivers/gpu/drm/ttm/ttm_bo.c >>> @@ -85,7 +85,6 @@ static void ttm_mem_type_debug(struct >>> ttm_bo_device *bdev, struct drm_printer *p >>> ????? drm_printf(p, "??? has_type: %d\n", man->has_type); >>> ????? drm_printf(p, "??? use_type: %d\n", man->use_type); >>> ????? drm_printf(p, "??? flags: 0x%08X\n", man->flags); >>> -??? drm_printf(p, "??? gpu_offset: 0x%08llX\n", man-&gt...
2020 Feb 18
2
[PATCH 8/8] drm/ttm: do not keep GPU dependent addresses
...5885cd609a3 100644 >>>>> --- a/drivers/gpu/drm/ttm/ttm_bo.c >>>>> +++ b/drivers/gpu/drm/ttm/ttm_bo.c >>>>> @@ -85,7 +85,6 @@ static void ttm_mem_type_debug(struct >>>>> ttm_bo_device *bdev, struct drm_printer *p >>>>> ????? drm_printf(p, "??? has_type: %d\n", man->has_type); >>>>> ????? drm_printf(p, "??? use_type: %d\n", man->use_type); >>>>> ????? drm_printf(p, "??? flags: 0x%08X\n", man->flags); >>>>> -??? drm_printf(p, "??? gpu_offset:...
2020 Feb 18
2
[PATCH 8/8] drm/ttm: do not keep GPU dependent addresses
...t;> --- a/drivers/gpu/drm/ttm/ttm_bo.c >>>>>>> +++ b/drivers/gpu/drm/ttm/ttm_bo.c >>>>>>> @@ -85,7 +85,6 @@ static void ttm_mem_type_debug(struct >>>>>>> ttm_bo_device *bdev, struct drm_printer *p >>>>>>> ?????? drm_printf(p, "??? has_type: %d\n", man->has_type); >>>>>>> ?????? drm_printf(p, "??? use_type: %d\n", man->use_type); >>>>>>> ?????? drm_printf(p, "??? flags: 0x%08X\n", man->flags); >>>>>>> -??? drm_print...
2019 Aug 21
2
[PATCH v2] drm: Bump encoder limit from 32 to 64
...insertions(+), 9 deletions(-) diff --git a/drivers/gpu/drm/drm_atomic.c b/drivers/gpu/drm/drm_atomic.c index 419381abbdd1..27ce988ef0cc 100644 --- a/drivers/gpu/drm/drm_atomic.c +++ b/drivers/gpu/drm/drm_atomic.c @@ -392,7 +392,7 @@ static void drm_atomic_crtc_print_state(struct drm_printer *p, drm_printf(p, "\tcolor_mgmt_changed=%d\n", state->color_mgmt_changed); drm_printf(p, "\tplane_mask=%x\n", state->plane_mask); drm_printf(p, "\tconnector_mask=%x\n", state->connector_mask); - drm_printf(p, "\tencoder_mask=%x\n", state->encoder_mask); + dr...
2019 Aug 15
1
[RFC] drm: Bump encoder limit from 32 to 64
...insertions(+), 9 deletions(-) diff --git a/drivers/gpu/drm/drm_atomic.c b/drivers/gpu/drm/drm_atomic.c index 419381abbdd1..27ce988ef0cc 100644 --- a/drivers/gpu/drm/drm_atomic.c +++ b/drivers/gpu/drm/drm_atomic.c @@ -392,7 +392,7 @@ static void drm_atomic_crtc_print_state(struct drm_printer *p, drm_printf(p, "\tcolor_mgmt_changed=%d\n", state->color_mgmt_changed); drm_printf(p, "\tplane_mask=%x\n", state->plane_mask); drm_printf(p, "\tconnector_mask=%x\n", state->connector_mask); - drm_printf(p, "\tencoder_mask=%x\n", state->encoder_mask); + dr...
2020 Feb 18
0
[PATCH 8/8] drm/ttm: do not keep GPU dependent addresses
...ndex 151edfd8de77..d5885cd609a3 100644 >>>> --- a/drivers/gpu/drm/ttm/ttm_bo.c >>>> +++ b/drivers/gpu/drm/ttm/ttm_bo.c >>>> @@ -85,7 +85,6 @@ static void ttm_mem_type_debug(struct >>>> ttm_bo_device *bdev, struct drm_printer *p >>>> ????? drm_printf(p, "??? has_type: %d\n", man->has_type); >>>> ????? drm_printf(p, "??? use_type: %d\n", man->use_type); >>>> ????? drm_printf(p, "??? flags: 0x%08X\n", man->flags); >>>> -??? drm_printf(p, "??? gpu_offset: 0x%08llX\n&qu...
2020 Feb 18
0
[PATCH 8/8] drm/ttm: do not keep GPU dependent addresses
...index 151edfd8de77..d5885cd609a3 100644 >>>> --- a/drivers/gpu/drm/ttm/ttm_bo.c >>>> +++ b/drivers/gpu/drm/ttm/ttm_bo.c >>>> @@ -85,7 +85,6 @@ static void ttm_mem_type_debug(struct >>>> ttm_bo_device *bdev, struct drm_printer *p >>>> ????? drm_printf(p, "??? has_type: %d\n", man->has_type); >>>> ????? drm_printf(p, "??? use_type: %d\n", man->use_type); >>>> ????? drm_printf(p, "??? flags: 0x%08X\n", man->flags); >>>> -??? drm_printf(p, "??? gpu_offset: 0x%08llX\n&qu...
2020 Feb 18
0
[PATCH 8/8] drm/ttm: do not keep GPU dependent addresses
...gt;>>>>> --- a/drivers/gpu/drm/ttm/ttm_bo.c >>>>>> +++ b/drivers/gpu/drm/ttm/ttm_bo.c >>>>>> @@ -85,7 +85,6 @@ static void ttm_mem_type_debug(struct >>>>>> ttm_bo_device *bdev, struct drm_printer *p >>>>>> ?????? drm_printf(p, "??? has_type: %d\n", man->has_type); >>>>>> ?????? drm_printf(p, "??? use_type: %d\n", man->use_type); >>>>>> ?????? drm_printf(p, "??? flags: 0x%08X\n", man->flags); >>>>>> -??? drm_printf(p, "???...
2020 Feb 18
0
[PATCH 8/8] drm/ttm: do not keep GPU dependent addresses
...t; > > > > > > > +++ b/drivers/gpu/drm/ttm/ttm_bo.c > > > > > > > > @@ -85,7 +85,6 @@ static void ttm_mem_type_debug(struct > > > > > > > > ttm_bo_device *bdev, struct drm_printer *p > > > > > > > > ?????? drm_printf(p, "??? has_type: %d\n", man->has_type); > > > > > > > > ?????? drm_printf(p, "??? use_type: %d\n", man->use_type); > > > > > > > > ?????? drm_printf(p, "??? flags: 0x%08X\n", man->flags); > > > > &...
2019 Aug 21
0
[PATCH v2] drm: Bump encoder limit from 32 to 64
...> diff --git a/drivers/gpu/drm/drm_atomic.c b/drivers/gpu/drm/drm_atomic.c > index 419381abbdd1..27ce988ef0cc 100644 > --- a/drivers/gpu/drm/drm_atomic.c > +++ b/drivers/gpu/drm/drm_atomic.c > @@ -392,7 +392,7 @@ static void drm_atomic_crtc_print_state(struct drm_printer *p, > drm_printf(p, "\tcolor_mgmt_changed=%d\n", state->color_mgmt_changed); > drm_printf(p, "\tplane_mask=%x\n", state->plane_mask); > drm_printf(p, "\tconnector_mask=%x\n", state->connector_mask); > - drm_printf(p, "\tencoder_mask=%x\n", state->enco...
2019 Sep 03
0
[PATCH v2 07/27] drm/dp_mst: Add sideband down request tracing + selftests
...of testing that any of this worked, I ended up writing simple selftests that lightly test sideband message encoding and decoding as well. Enjoy! Changes since v1: * Clean up DO_TEST() and sideband_msg_req_encode_decode() - danvet * Get rid of pr_fmt(), just define a prefix string instead and use drm_printf() * Check highest bit of VCPI in drm_dp_decode_sideband_req() - danvet * Make the switch case order between drm_dp_decode_sideband_req() and drm_dp_encode_sideband_req() the same - danvet * Only check DRM_UT_DP - danvet * Clean up sideband_msg_req_equal() from selftests a bit, and add comments...
2019 Sep 03
0
[PATCH v2 27/27] drm/dp_mst: Add topology ref history tracking for debugging
..., GFP_KERNEL); + int i; + + if (!buf) + return; + + if (!history->len) + goto out; + + /* First, sort the list so that it goes from oldest to newest + * reference entry + */ + sort(history->entries, history->len, sizeof(*history->entries), + topology_ref_history_cmp, NULL); + + drm_printf(&p, + "%s (%p/%px) topology count reached 0, dumping history:\n", + type_str, ptr, ptr); + + for (i = 0; i < history->len; i++) { + const struct drm_dp_mst_topology_ref_entry *entry = + &history->entries[i]; + ulong *entries; + uint nr_entries; + u64 ts_nsec...
2019 Oct 22
0
[PATCH v5 14/14] drm/dp_mst: Add topology ref history tracking for debugging
..., GFP_KERNEL); + int i; + + if (!buf) + return; + + if (!history->len) + goto out; + + /* First, sort the list so that it goes from oldest to newest + * reference entry + */ + sort(history->entries, history->len, sizeof(*history->entries), + topology_ref_history_cmp, NULL); + + drm_printf(&p, + "%s (%p/%px) topology count reached 0, dumping history:\n", + type_str, ptr, ptr); + + for (i = 0; i < history->len; i++) { + const struct drm_dp_mst_topology_ref_entry *entry = + &history->entries[i]; + ulong *entries; + uint nr_entries; + u64 ts_nsec...
2019 Sep 03
0
[PATCH v2 05/27] drm/print: Add drm_err_printer()
A simple convienence function that returns a drm_printer which prints using pr_err() Changes since v1: * Make __drm_printfn_err() more consistent with DRM_ERROR() - danvet Cc: Juston Li <juston.li at intel.com> Cc: Imre Deak <imre.deak at intel.com> Cc: Ville Syrjälä <ville.syrjala at linux.intel.com> Cc: Harry Wentland <hwentlan at amd.com> Reviewed-by: Daniel Vetter <daniel.vetter at ffwll...
2019 Sep 03
50
[PATCH v2 00/27] DP MST Refactors + debugging tools + suspend/resume reprobing
This is the large series for adding MST suspend/resume reprobing that I've been working on for quite a while now. In addition, I: - Refactored and cleaned up any code I ended up digging through in the process of understanding how some parts of these helpers worked. - Added some debugging tools along the way that I ended up needing to figure out some issues in my own code Note that
2019 Oct 22
17
[PATCH v5 00/14] DP MST Refactors + debugging tools + suspend/resume reprobing
This is the final portion of the large series for adding MST suspend/resume reprobing that I've been working on for quite a while now. In addition, I: * Refactored and cleaned up any code I ended up digging through in the process of understanding how some parts of these helpers worked. * Added some debugging tools along the way that I ended up needing to figure out some issues in my own