Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/gpu/drm/radeon/evergreen_cs.c evergreen_surface_check() -> r600_fmt_get_blocksize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | format | 0-56 |
| LOCK2 | &rdev->exclusive_lock | ||
| TYPE_LOCK | (struct radeon_device)->exclusive_lock |
drivers/gpu/drm/radeon/r600_cs.c r600_check_texture_resource() -> r600_fmt_get_blocksize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | format | 0-63 |
| USER_DATA | 0 | format | 0-63[c] |
| LOCK2 | &rdev->exclusive_lock | ||
| TYPE_LOCK | (struct radeon_device)->exclusive_lock |
drivers/gpu/drm/radeon/r600_cs.c r600_cs_track_validate_cb() -> r600_fmt_get_blocksize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | format | 0-56 |
| HARD_MAX | 0 | format | 56 |
| LOCK2 | &rdev->exclusive_lock | ||
| TYPE_LOCK | (struct radeon_device)->exclusive_lock |
drivers/gpu/drm/radeon/r600_cs.c r600_cs_track_validate_cb() -> r600_fmt_get_blocksize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | format | 0-56 |
| HARD_MAX | 0 | format | 56 |
| LOCK2 | &rdev->exclusive_lock | ||
| TYPE_LOCK | (struct radeon_device)->exclusive_lock |
drivers/gpu/drm/radeon/r600_cs.c r600_cs_track_validate_cb() -> r600_fmt_get_blocksize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | format | 0-56 |
| HARD_MAX | 0 | format | 56 |
| LOCK2 | &rdev->exclusive_lock | ||
| TYPE_LOCK | (struct radeon_device)->exclusive_lock |
drivers/gpu/drm/radeon/r600_cs.c r600_texture_size() -> r600_fmt_get_blocksize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | format | 0-56 |
| DATA_SOURCE | 0 | format | $7 |
| HARD_MAX | 0 | format | 56 |
| USER_DATA | 0 | format | 0-56[c] |
| LOCK2 | &rdev->exclusive_lock | ||
| TYPE_LOCK | (struct radeon_device)->exclusive_lock |